/* =========================================================================
   Baltic Design — site-wide layer for balticpeptides.com
   ========================================================================= */
:root {
  --bpd-navy: #00447c;
  --bpd-navy-2: #05355f;
  --bpd-sky: #3d8fd0;
  --bpd-ink: #0d2031;
  --bpd-muted: #4d6171;
  --bpd-faint: #6f8190;
  --bpd-line: rgba(0, 68, 124, 0.12);
  --bpd-soft: #f4f7fb;
  --bpd-radius: 16px;
  --bpd-shadow: 0 12px 32px rgba(5, 32, 61, 0.08);
  --bpd-font: 'BPD Montserrat', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --bpd-admin: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- 1. One typeface everywhere (replaces the DM Sans / Montserrat mix) */
body,
body :where(h1, h2, h3, h4, h5, h6, p, a, li, span, b, strong, em, small, label, button, input, select, textarea, td, th, div, section, article, aside, nav, figcaption, blockquote, dt, dd, bdi) {
  font-family: var(--bpd-font) !important;
}
/* …except icon fonts: WooCommerce draws rating stars with its "star" font */
.star-rating, .star-rating span, .star-rating::before, .star-rating span::before,
.woocommerce .star-rating, .woocommerce .star-rating span, .woocommerce p.stars a { font-family: star !important; }
.woocommerce p.stars a::before { font-family: WooCommerce !important; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* Buttons/links styled as buttons should never be underlined */
a[class*="btn"], a[class*="button"], a.button, .elementor-button, a[class*="cta"],
a[class*="btn"]:hover, a[class*="button"]:hover { text-decoration: none !important; }

/* Pages that carried their own sticky "topbar" header (About, Contact) — one header only */
.entry-content header.topbar,
.elementor header.topbar,
.elementor-widget-html header.topbar { display: none !important; }

/* ---------- 2. Announcement bar */
.bpd-announce {
  background: linear-gradient(90deg, var(--bpd-navy-2), var(--bpd-navy));
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
  z-index: 1000;
}
.bpd-announce-track {
  max-width: 1240px; margin: 0 auto; padding: 8px 16px;
  display: flex; justify-content: center; gap: 34px;
}
.bpd-announce-item { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.bpd-announce-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7cc4ff; }
@media (max-width: 921px) {
  .bpd-announce-track { display: grid; padding: 7px 14px; }
  .bpd-announce-item { grid-area: 1 / 1; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 300ms; }
  .bpd-announce-item.is-active { opacity: 1; transform: none; }
}

/* ---------- 3. Header: sticky, single row, cleaner menu */
#masthead.site-header {
  position: sticky;
  top: var(--bpd-admin);
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow 200ms;
}
#masthead.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 32, 61, 0.08); }
#masthead .main-header-bar { border-bottom: 1px solid var(--bpd-line) !important; background: transparent !important; }
#masthead .ast-primary-header-bar .site-primary-header-wrap { min-height: 72px; }

@media (min-width: 922px) {
  #masthead .main-header-menu { flex-wrap: nowrap !important; }
  #masthead .main-header-menu > .menu-item > .menu-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bpd-ink) !important;
    padding: 0 13px !important;
    white-space: nowrap;
    position: relative;
  }
  #masthead .main-header-menu > .menu-item > .menu-link::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 20px; height: 2px;
    background: var(--bpd-navy); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 200ms;
  }
  #masthead .main-header-menu > .menu-item:hover > .menu-link::after,
  #masthead .main-header-menu > .current-menu-item > .menu-link::after { transform: scaleX(1); }

  /* Smaller laptops: tighter spacing and hide lower-priority links (they live in the footer + drawer) */
  @media (max-width: 1279px) {
    #masthead .main-header-menu > .menu-item > .menu-link { padding: 0 9px !important; font-size: 13.5px !important; }
    #masthead .main-header-menu > .menu-item > a[href*="affiliate"],
    #masthead .main-header-menu > .menu-item > a[href*="track-your-order"],
    #masthead .main-header-menu > .menu-item > a[href*="/shipping/"] { display: none !important; }
  }

  /* Dropdown (Shop ▾) as a card */
  #masthead .main-header-menu .sub-menu {
    border: 1px solid var(--bpd-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--bpd-shadow) !important;
    padding: 8px !important;
    min-width: 220px;
    background: #fff !important;
  }
  #masthead .main-header-menu .sub-menu .menu-link {
    border-radius: 10px; padding: 10px 14px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--bpd-ink) !important;
  }
  #masthead .main-header-menu .sub-menu .menu-link:hover { background: var(--bpd-soft) !important; color: var(--bpd-navy) !important; }
}

/* Cart: FunnelKit side cart is the cart. The header icon opens it (design.js); Astra's hover mini-cart is off. */
#masthead .ast-site-header-cart .widget_shopping_cart,
#masthead .ast-site-header-cart .ast-site-header-cart-data { display: none !important; }
body.bpd-sticky-on #fkcart-floating-toggler { transform: translateY(-78px); transition: transform 260ms; }
#masthead .site-header-section-right { padding-right: 6px; }
#masthead .ast-site-header-cart, #masthead .ast-header-woo-cart { overflow: visible !important; }

/* ---------- 4. Mobile drawer menu */
.bpd-drawer-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(5, 20, 38, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 250ms;
}
.bpd-drawer-overlay[hidden] { display: block; pointer-events: none; }
body.bpd-menu-open .bpd-drawer-overlay { opacity: 1; pointer-events: auto; }

.bpd-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100001;
  width: min(390px, 88vw);
  background: #fff;
  box-shadow: 20px 0 60px rgba(5, 32, 61, 0.2);
  transform: translateX(-102%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 18px 28px;
  display: flex; flex-direction: column;
  color: var(--bpd-ink);
  visibility: hidden;
}
body.bpd-menu-open .bpd-drawer { transform: none; visibility: visible; }
body.bpd-menu-open { overflow: hidden; }

.bpd-drawer-head {
  position: sticky; top: 0; z-index: 2; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--bpd-line);
}
.bpd-drawer-brand img, .bpd-drawer-logo { height: 38px !important; width: auto !important; display: block; }
.bpd-drawer-brand { font-weight: 800; color: var(--bpd-ink); text-decoration: none; }
.bpd-drawer-x {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--bpd-line) !important; background: #fff !important; color: var(--bpd-ink) !important;
  display: grid; place-items: center; padding: 0 !important; cursor: pointer;
}

.bpd-drawer-search {
  margin: 14px 0 6px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--bpd-line); border-radius: 12px; padding: 0 12px; background: var(--bpd-soft);
  color: var(--bpd-faint);
}
.bpd-drawer-search input {
  flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important;
  padding: 12px 0 !important; font-size: 15px !important; color: var(--bpd-ink) !important; outline: none;
}

.bpd-drawer-label { margin: 16px 0 10px !important; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bpd-faint); }

.bpd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bpd-tile {
  display: grid; gap: 2px; padding: 14px; border-radius: 14px;
  background: linear-gradient(160deg, #f6f9fd, #edf3fa);
  border: 1px solid var(--bpd-line);
  color: var(--bpd-ink) !important; text-decoration: none !important;
  transition: transform 160ms, border-color 160ms;
}
.bpd-tile:active { transform: scale(0.98); }
.bpd-tile:hover { border-color: rgba(0, 68, 124, 0.3); }
.bpd-tile-ic {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 8px;
  display: grid; place-items: center; background: #fff; color: var(--bpd-navy);
  box-shadow: 0 4px 12px rgba(0, 68, 124, 0.08);
}
.bpd-tile-name { font-weight: 800; font-size: 15px; }
.bpd-tile-meta { font-size: 12px; color: var(--bpd-faint); font-weight: 600; }

.bpd-links { margin-top: 16px; display: grid; }
.bpd-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--bpd-line);
  font-size: 15.5px; font-weight: 600; color: var(--bpd-ink) !important; text-decoration: none !important;
}
.bpd-links a svg { width: 18px; height: 18px; color: var(--bpd-faint); }
.bpd-links a:active { background: var(--bpd-soft); }

.bpd-account {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: 14px; border: 1px solid var(--bpd-line);
  font-weight: 700; color: var(--bpd-ink) !important; text-decoration: none !important;
}
.bpd-account svg { color: var(--bpd-navy); }

.bpd-drawer-contact { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--bpd-navy); color: #fff; }
.bpd-drawer-contact p { margin: 0 0 10px !important; font-weight: 700; color: #fff !important; }
.bpd-drawer-contact div { display: flex; gap: 8px; }
.bpd-chip {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 10px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: #fff !important; text-decoration: none !important;
}
.bpd-chip svg { width: 18px; height: 18px; }
.bpd-chip--tg { background: #229ed9; }
.bpd-chip--wa { background: #25d366; }
.bpd-drawer-note { margin: 16px 0 0 !important; font-size: 12px; color: var(--bpd-faint); text-align: center; }

@media (min-width: 922px) { .bpd-drawer, .bpd-drawer-overlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .bpd-drawer, .bpd-drawer-overlay, .bpd-announce-item { transition: none !important; } }

/* ---------- 5. Product cards (shop, related, upsells) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--bpd-line);
  border-radius: var(--bpd-radius);
  padding: 12px 12px 16px !important;
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
  display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--bpd-shadow); transform: translateY(-2px); border-color: rgba(0, 68, 124, 0.22); }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { border-radius: 12px; overflow: hidden; background: var(--bpd-soft); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--bpd-ink) !important; margin-top: 10px !important;
}
.woocommerce ul.products li.product .price { color: var(--bpd-navy) !important; font-weight: 800 !important; font-size: 15.5px !important; }
.woocommerce ul.products li.product .button {
  margin-top: auto !important; width: 100%; text-align: center; border-radius: 999px !important;
  background: var(--bpd-navy) !important; color: #fff !important; font-weight: 700 !important; padding: 11px 14px !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--bpd-navy-2) !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product .astra-shop-summary-wrap .review-rating { order: 0 !important; margin: 4px 0 2px; }
.woocommerce ul.products li.product .cfvsw_variations_form { margin-bottom: 12px; }
ul.products li.product .wpced { display: none !important; } /* delivery estimate belongs on the product page, not every card */
.woocommerce ul.products li.product .ast-woo-product-category { font-size: 11.5px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bpd-faint) !important; }

/* ---------- 6. Product page */
.single-product div.product .product_title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem) !important; font-weight: 800 !important; letter-spacing: -0.02em; line-height: 1.15 !important; color: var(--bpd-ink) !important; }
.single-product .summary > p.price { font-size: 1.7rem !important; font-weight: 800 !important; color: var(--bpd-navy) !important; margin: 6px 0 14px !important; }
.single-product .summary .woocommerce-product-rating { margin-bottom: 6px !important; }

@media (min-width: 922px) {
  .bpd-product-top { display: flex; align-items: flex-start; gap: 48px; margin-bottom: 8px; }
  .bpd-product-top > .woocommerce-product-gallery { flex: 0 0 calc(50% - 24px); width: auto !important; float: none !important; margin: 0 !important; }
  .bpd-product-top > .summary { flex: 1 1 0; width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
  .single-product div.product .bpd-product-top > .woocommerce-product-gallery { position: sticky !important; top: calc(var(--bpd-admin) + 110px); align-self: flex-start; }
  .single-product div.product .woocommerce-product-gallery .flex-viewport,
  .single-product div.product .woocommerce-product-gallery__image img { border-radius: 18px; }
}

/* Variation price duplicates the main price → JS moves it to the top */
.single-product.bpd-js .single_variation .woocommerce-variation-price { display: none !important; }

/* Size swatches */
.single-product .cfvsw-swatches-option {
  border-radius: 10px !important; min-width: 64px; min-height: 42px !important; font-weight: 700 !important; font-size: 14px !important;
  border: 1.5px solid var(--bpd-line) !important; background: #fff !important; color: var(--bpd-ink) !important;
}
.single-product .cfvsw-swatches-option.cfvsw-selected-swatch { border-color: var(--bpd-navy) !important; box-shadow: 0 0 0 3px rgba(0, 68, 124, 0.12) !important; color: var(--bpd-navy) !important; }
.single-product table.variations th.label label { font-size: 12px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bpd-faint) !important; }
.single-product .reset_variations { font-size: 12px !important; color: var(--bpd-faint) !important; }

/* Quantity deals: big table → compact chips (JS builds .bpd-tiers) */
.single-product.bpd-js .wpcpq-wrap .wpcpq-table { display: none !important; }
.bpd-tiers { margin: 4px 0 14px; }
.bpd-tiers-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bpd-faint); margin-bottom: 8px; }
.bpd-tiers-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bpd-tier {
  position: relative; display: grid; gap: 1px; justify-items: center; text-align: center;
  padding: 10px 6px 9px !important; border-radius: 12px !important; cursor: pointer; box-shadow: none;
  border: 1.5px solid var(--bpd-line) !important; background: #fff !important; color: var(--bpd-ink) !important; text-transform: none !important; letter-spacing: 0 !important;
  font: inherit; line-height: 1.25; transition: border-color 150ms, box-shadow 150ms, background 150ms;
}
.bpd-tier:hover, .bpd-tier:focus { border-color: rgba(0, 68, 124, 0.35) !important; background: #fff !important; color: var(--bpd-ink) !important; }
.bpd-tier.is-active, .bpd-tier.is-active:hover, .bpd-tier.is-active:focus { border-color: var(--bpd-navy) !important; background: #eef4fa !important; box-shadow: 0 0 0 3px rgba(0, 68, 124, 0.1); }
.bpd-tier-qty { font-size: 13px; font-weight: 800; }
.bpd-tier-qty, .bpd-tier-price { color: var(--bpd-ink) !important; }
.bpd-tier-price { font-size: 12.5px; font-weight: 600; color: var(--bpd-muted) !important; }
@media (max-width: 480px) {
  .bpd-tiers-row { gap: 6px; }
  .bpd-tier { padding: 10px 2px 8px !important; }
  .bpd-tier-qty { font-size: 12.5px; }
  .bpd-tier-price { font-size: 11.5px; }
  .bpd-tier-ea { display: none; }
  .bpd-stepper { height: 52px; }
  .bpd-stepper button { width: 38px; }
  .bpd-stepper input.qty { width: 34px !important; }
  .single-product .single_add_to_cart_button { font-size: 15px !important; padding: 0 14px !important; }
}
.bpd-tier-save {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  padding: 2px 7px; border-radius: 999px; background: #1f9d55; color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap;
}

/* Quantity stepper + big add-to-cart */
.single-product form.cart .variations_button,
.single-product form.cart:not(.variations_form) { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.single-product form.cart .quantity { margin: 0 !important; }
.bpd-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--bpd-line); border-radius: 999px; overflow: hidden; background: #fff; height: 54px; }
.bpd-stepper { flex: 0 0 auto; }
.bpd-stepper button {
  width: 44px; min-width: 0 !important; height: auto !important; min-height: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline-offset: -3px;
  background: transparent !important; color: var(--bpd-ink) !important;
  font-size: 20px !important; font-weight: 600 !important; cursor: pointer; padding: 0 !important; line-height: 1; margin: 0 !important;
}
.bpd-stepper button:hover { background: var(--bpd-soft) !important; }
.bpd-stepper input.qty {
  width: 42px !important; border: 0 !important; text-align: center; font-weight: 700 !important; font-size: 16px !important;
  padding: 0 !important; background: transparent !important; -moz-appearance: textfield; box-shadow: none !important; height: 100% !important;
}
.bpd-stepper input.qty::-webkit-outer-spin-button, .bpd-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .single_add_to_cart_button {
  flex: 1 1 140px; min-height: 54px; border-radius: 999px !important; margin: 0 !important;
  background: var(--bpd-navy) !important; color: #fff !important;
  font-size: 16px !important; font-weight: 800 !important; letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(0, 68, 124, 0.22); transition: background 160ms, transform 160ms;
}
.single-product .single_add_to_cart_button:hover:not(.disabled) { background: var(--bpd-navy-2) !important; transform: translateY(-1px); }
.single-product .single_add_to_cart_button.disabled { opacity: 0.55 !important; box-shadow: none; }
.bpd-atc-sep { opacity: 0.55; margin: 0 8px; }

/* Out-of-stock "email me" form: compact card instead of a big panel */
.single-product .cwginstock-subscribe-form .panel { border: 1px solid var(--bpd-line) !important; border-radius: 14px !important; box-shadow: none !important; overflow: hidden; margin: 6px 0 12px !important; }
.single-product .cwginstock-subscribe-form .panel-heading { background: var(--bpd-soft) !important; color: var(--bpd-ink) !important; padding: 10px 14px !important; border: 0 !important; }
.single-product .cwginstock-subscribe-form .panel-heading h4 { font-size: 14px !important; font-weight: 800 !important; margin: 0 !important; color: var(--bpd-ink) !important; text-align: left !important; }
.single-product .cwginstock-subscribe-form .panel-body { padding: 12px 14px 14px !important; }
.single-product .cwginstock-subscribe-form input[type="text"],
.single-product .cwginstock-subscribe-form input[type="email"] { border-radius: 10px !important; min-height: 44px; border: 1px solid var(--bpd-line) !important; text-align: left !important; }
.single-product .cwginstock-subscribe-form .cwgstock_button { border-radius: 999px !important; background: var(--bpd-navy) !important; min-height: 44px; font-weight: 700 !important; }

/* Full-width description, open by default with "Show less" */
.bpd-desc-section { clear: both; max-width: 1240px; margin: 40px auto 10px; padding: 0; }
.bpd-desc-section .bp-desc { border: 1px solid var(--bpd-line) !important; border-radius: 20px !important; background: #fff; overflow: hidden; box-shadow: none !important; }
.bpd-desc-section .bp-desc-toggle {
  width: 100%; display: flex !important; align-items: center; justify-content: space-between;
  padding: 18px 22px !important; background: var(--bpd-soft) !important; border: 0 !important; border-bottom: 1px solid var(--bpd-line) !important;
  color: var(--bpd-ink) !important; font-size: 17px !important; font-weight: 800 !important; cursor: pointer; text-align: left;
}
.bpd-desc-section .bp-desc-toggle .chev { transition: transform 200ms; }
.bpd-desc-section .bp-desc.is-collapsed .bp-desc-toggle .chev { transform: rotate(-90deg); }
.bpd-desc-section .bp-desc-body { max-height: none !important; overflow: hidden; position: relative; transition: none !important; }
.bpd-desc-section .bp-desc.is-collapsed .bp-desc-body { max-height: 260px !important; }
.bpd-desc-section .bp-desc.is-collapsed .bp-desc-body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none;
}
.bpd-desc-section .bp-desc-inner { padding: 22px !important; }
.bpd-desc-more {
  display: flex; margin: 0 auto 18px; align-items: center; gap: 8px;
  padding: 10px 18px !important; border-radius: 999px !important; border: 1px solid var(--bpd-line) !important;
  background: #fff !important; color: var(--bpd-navy) !important; font-weight: 700 !important; font-size: 14px !important; cursor: pointer;
}
.bpd-desc-more:hover { background: var(--bpd-soft) !important; }
.bpd-desc-section .bp-revs { margin-top: 24px; }

/* Reviews tab etc. */
.single-product .woocommerce-tabs ul.tabs li a { font-weight: 700 !important; }

/* Mobile sticky add-to-cart bar */
.bpd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--bpd-line); box-shadow: 0 -10px 30px rgba(5, 32, 61, 0.08);
  transform: translateY(110%); transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.bpd-sticky-on .bpd-sticky { transform: none; }
.bpd-sticky-info { flex: 1; min-width: 0; }
.bpd-sticky-name { font-size: 13px; font-weight: 700; color: var(--bpd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpd-sticky-price { font-size: 15px; font-weight: 800; color: var(--bpd-navy); }
.bpd-sticky-btn {
  border: 0 !important; border-radius: 999px !important; background: var(--bpd-navy) !important; color: #fff !important;
  font-weight: 800 !important; font-size: 15px !important; padding: 13px 22px !important; white-space: nowrap; cursor: pointer;
}
body.bpd-sticky-on .bpsw { bottom: 92px !important; }
@media (min-width: 922px) { .bpd-sticky { display: none !important; } }

/* ---------- 7. Small global polish */
:where(.woocommerce, .entry-content) input[type="text"],
:where(.woocommerce, .entry-content) input[type="email"],
:where(.woocommerce, .entry-content) input[type="tel"],
:where(.woocommerce, .entry-content) input[type="password"],
:where(.woocommerce, .entry-content) select,
:where(.woocommerce, .entry-content) textarea { border-radius: 10px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--bpd-faint); }
::selection { background: rgba(0, 68, 124, 0.16); }

/* ---------- 8. v1.1 additions */
/* Sold-out size/product: the notify form is the call to action, not a dead button */
body.bpd-oos .bpd-tiers,
body.bpd-oos .bpd-stepper,
body.bpd-oos .single_variation_wrap .single_add_to_cart_button { display: none !important; }
body.bpd-oos .bpd-sticky-btn { background: var(--bpd-ink) !important; }
.single-product .cwginstock-subscribe-form .panel-heading h4::before { content: "\1F514"; margin-right: 6px; }
.single-product .cwginstock-subscribe-form .panel-body .row,
.single-product .cwginstock-subscribe-form .panel-body form { display: grid; gap: 10px; }
.single-product .cwginstock-subscribe-form .panel-body .form-group,
.single-product .cwginstock-subscribe-form .panel-body .col-md-12 { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.single-product .cwginstock-subscribe-form .cwgstock_button { width: 100%; }

/* Icons restored where emoji had been lost */
.bpd-fix-ic { display: inline-block; vertical-align: -3px; color: currentColor; }

/* Related products heading */
.single-product .related.products > h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem) !important; font-weight: 800 !important; letter-spacing: -0.02em; margin: 34px 0 18px !important; }

/* ---------- Footer: research peptides across Europe (country pages) */
.bpd-countries{background:#f4f7fb!important;border-top:1px solid rgba(0,68,124,.1);padding:22px 0!important;margin:0!important}
.bpd-countries-in{width:min(1120px,calc(100% - 40px));margin:0 auto;display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}
.bpd-countries-t{display:block;font:700 12px/1.2 var(--bpd-font)!important;letter-spacing:.12em;text-transform:uppercase;color:#5a6778!important}
.bpd-countries-l{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px}
.bpd-countries-l a{display:inline-block!important;padding:7px 12px!important;border:1px solid rgba(0,68,124,.16)!important;border-radius:999px!important;background:#fff!important;color:#00447c!important;font:600 13px/1.2 var(--bpd-font)!important;text-decoration:none!important;white-space:nowrap}
.bpd-countries-l a:hover,.bpd-countries-l a:focus{background:#00447c!important;color:#fff!important}
@media (max-width:600px){.bpd-countries-in{width:calc(100% - 32px)}.bpd-countries-l{gap:6px}.bpd-countries-l a{padding:6px 10px!important;font-size:12.5px!important}}
