/* GastroGear product-category filters and single-product pricing styles */

/* STAGING 2026-04-11: pilot category filters */
body.tax-product_cat .wd-sticky-container-lg:has(.gg-pilot-sidebar) {
  position: sticky;
  top: 132px;
  align-self: flex-start;
}

body.tax-product_cat .gg-pilot-sidebar {
  margin-bottom: 18px;
}

body.tax-product_cat .gg-pilot-sidebar .bapf_sfilter {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

body.tax-product_cat .gg-pilot-sidebar .bapf_head {
  margin-bottom: 12px;
}

body.tax-product_cat .gg-pilot-sidebar .bapf_head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #111111;
}

body.tax-product_cat .gg-pilot-sidebar .bapf_body ul {
  margin: 0;
  padding: 0;
}

body.tax-product_cat .gg-pilot-sidebar .bapf_body ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  padding: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
}

body.tax-product_cat .gg-pilot-sidebar .bapf_body label {
  flex: 1 1 auto;
  color: #222222;
}

body.tax-product_cat .gg-pilot-sidebar .pcs {
  margin-left: auto;
  color: #666666;
  font-size: 12px;
}

body.tax-product_cat .gg-filter-search-control {
  margin-bottom: 12px;
}

body.tax-product_cat .gg-filter-search-control input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.2;
  background: #ffffff;
  color: #111111;
}

body.tax-product_cat .gg-filter-more-toggle,
body.tax-product_cat .gg-pilot-reset .bapf_reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 6px;
  padding: 8px 12px;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

body.tax-product_cat .gg-pilot-selected .bapf_body {
  border-radius: 6px;
  background: #f6f6f6;
  padding: 10px 12px;
}

body.tax-product_cat .gg-pilot-selected .bapf_body ul li {
  padding-bottom: 6px;
}

body.tax-product_cat .gg-pilot-selected .bapf_body a {
  color: #111111;
  font-size: 13px;
}

body.tax-product_cat .gg-pilot-reset .bapf_sfilter {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 1024px) {
  body.tax-product_cat .wd-sticky-container-lg:has(.gg-pilot-sidebar) {
    position: static;
    top: auto;
  }
}

body.single-product .gg-single-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 24px;
  color: #2b2d30 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-align: left;
}

body.single-product .gg-single-price,
body.single-product .gg-single-price * {
  letter-spacing: 0 !important;
}

body.single-product .gg-single-price__advice {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: #303236 !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

body.single-product .gg-single-price__advice-label {
  white-space: nowrap;
}

body.single-product .gg-single-price__advice-value {
  position: relative;
  display: inline-block;
  color: #8b8d91 !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

body.single-product .gg-single-price__advice-value::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 48%;
  height: 3px;
  border-radius: 999px;
  background: #e36b72;
  transform: rotate(-8deg);
  transform-origin: center;
}

body.single-product .gg-single-price__current-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

body.single-product .gg-single-price__current {
  color: #2b2d30 !important;
  font-size: clamp(46px, 3.9vw, 62px) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
}

body.single-product .gg-single-price__current .woocommerce-Price-amount,
body.single-product .gg-single-price__current .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

body.single-product .gg-single-price__current .woocommerce-Price-currencySymbol {
  margin-right: .12em;
}

body.single-product .gg-single-price__incl {
  color: #2b2d30 !important;
  font-size: clamp(18px, 1.45vw, 24px) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

body.single-product .gg-single-price__incl .woocommerce-Price-amount,
body.single-product .gg-single-price__incl .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

body.single-product .gg-single-price__saving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin: 2px 0 0;
  padding: 6px 16px 7px;
  border-radius: 9px;
  background: #fff200 !important;
  color: #e00000 !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

body.single-product .gg-single-price__saving .woocommerce-Price-amount,
body.single-product .gg-single-price__saving .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

@media (max-width: 767px) {
  body.single-product .gg-single-price {
    gap: 8px;
    margin: 16px 0 20px;
  }

  body.single-product .gg-single-price__advice {
    flex-wrap: wrap;
    gap: 5px 7px;
    font-size: 17px !important;
  }

  body.single-product .gg-single-price__advice-value {
    font-size: 21px !important;
  }

  body.single-product .gg-single-price__current-row {
    gap: 8px 12px;
  }

  body.single-product .gg-single-price__current {
    font-size: 42px !important;
  }

  body.single-product .gg-single-price__incl {
    font-size: 18px !important;
    white-space: normal;
  }

  body.single-product .gg-single-price__saving {
    min-height: 36px;
    padding: 6px 13px 7px;
    font-size: 19px !important;
  }
}
