/*
Theme Name: Modelbauer Blocksy Child
Version: 1.0
Description: Child theme for Blocksy.
Author: Illumia Limited
Template: blocksy
*/

/* --------------- Theme customization starts here ----------------- */
/* font-face declaration */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/urbanist-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/urbanist-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/urbanist-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* questrial-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/questrial-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --theme-font-stack-default: 'urbanist';
}

/* Apply the Urbanist font to headlines*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Questrial', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 600 !important;
}

/* 调整产品页 summary 区域的左右内边距, mobile only */
@media (max-width: 768px) {
  .single-product .summary.entry-summary.entry-summary-items {
    padding: 0 24px !important;
  }
  .single-product .woocommerce-tabs {
    padding: 0 24px !important;
  }
  .single-product .product-entry-wrapper .woocommerce-tabs {
    padding: 0px !important;
  }
  .ct-footer{
    padding: 0 24px !important;
  }
  .woocommerce-product-gallery {
    margin-bottom: 32px !important;
  }
  .woocommerce-product-details__short-description p {
    margin-bottom: 0px !important;
  }
}

/* 处理滑动箭头的圆角 */
.single-product [class*="flexy-arrow"] {
  border-radius: 0 !important;
}

.ct-accordion-tab .tab-description p {
    font-size: 16px !important;
}

/* 自定义圆点导航（条形风） */
.mb-horizontal_bar {
  display: flex;
  background: var(--theme-palette-color-5, #E6E8E7);
  width: 100%;
  height: 3px;
  flex-direction: row;
}

.mb_horizontal_bar_active {
  background: var(--theme-palette-color-3, #525B59);
}
