/*
Theme Name:   Generate Press Child Theme
Theme URI:    http://your-child-theme-website.com
Description:  Child theme for Generate Press
Author:       Piolo Calubayan
Author URI:   http://your-website.com
Template:     generatepress
Version:      1.2.0
*/

/* =====================================================================
   TABLE OF CONTENTS
   ---------------------------------------------------------------------
   1.  Utilities & helpers
   2.  Layout & containers
   3.  Navigation & search
   4.  Breadcrumbs
   5.  WooCommerce — product loop (global: home, related, category)
   6.  WooCommerce — shop / product archive (scoped .shop-page)
   7.  Single product
   7.1. Single product - radio buttons 
   8.  Cart / checkout / bundles
   9.  Account / registration / login / modals
   10. Blog / posts
   11. Conventions gallery
   12. Carousels & sliders
   13. Misc / widgets
   ===================================================================== */


/* =====================================================================
   1. UTILITIES & HELPERS
   ===================================================================== */
.icon {
  width: 18px;
  height: 18px;
  fill: none !important;
  stroke: none !important;
  vertical-align: middle;
  color: #ae6a3f !important;
}

.desktop-only { display: block !important; }
.mobile-only  { display: none !important; }

mark.count,
.hide,
.wcsatt-sub-options { display: none; }

.align-items-center { align-items: top !important; }

.truncate-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  position: relative;
  line-height: 1.5em;
}
.truncate-read-more {
  color: #000;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* Gated/blurred content + login prompt */
.blurred-part {
  filter: blur(20px);
  pointer-events: none;
  user-select: none;
  position: relative;
}
.blur-login-link {
  text-align: center;
  margin: 20px 0;
  font-size: 1.1rem;
}
.blur-login-link a {
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}
.blur-login-link a:hover { background: #005e8a; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }
}


/* =====================================================================
   2. LAYOUT & CONTAINERS
   ===================================================================== */
.site-header { box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }

.inside-header,
.inside-content-footer,
.single-product .inside-article { padding: 20px 10% !important; }

.grid-container,
.gb-element-471b1313 { max-width: 100vw; }

.archive .site-content { margin: 50px 10% !important; }

@media (max-width: 768px) {
  .inside-header,
  .inside-content-footer { padding: 20px !important; }

  .archive .site-content { margin: 20px !important; }
}


/* =====================================================================
   3. NAVIGATION & SEARCH
   ===================================================================== */

/* --- Hamburger vs. inline menu switch (overrides WP's core 600px breakpoint) --- */
@media (max-width: 1024px) {
    .gb-element-b0991654 .wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }
    .gb-element-b0991654 .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
        display: block !important;
    }
}

@media (min-width: 1025px) {
    .gb-element-b0991654 .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
    .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
      min-width: max-content;
      padding: 0px !important;
    }
    li .wp-block-navigation-item .wp-block-navigation-link {
      padding: 0px !important;
    }
}

/* --- General nav text --- */
.parent-menu span { color: #012042; }

.wp-block-navigation ul,
.wp-block-navigation ul li { padding: 0 20px 0 0; }

.main-navigation ul ul {
  width: auto !important;
  min-width: 100% !important;
  white-space: nowrap;
}

/* --- Search block --- */
.wp-block-search__button svg {
  min-height: 26px;
  min-width: 26px;
}
.wp-block-search__inside-wrapper { border-radius: 12px !important; }
input#wp-block-search__input-1 {
  border: 0;
  border-radius: 12px !important;
  background: #fff;
  color: #444;
}
.wp-block-search__button.has-icon {
  border: 0;
  border-radius: 0 12px 12px 0;
  background: transparent;
  color: #444;
}
input[type="search"] { border-radius: 12px; }

/* --- Desktop-only submenu styling (true desktop, matches nav breakpoint) --- */
@media (min-width: 1025px) {
  li.wp-block-navigation-item.wp-block-navigation-link { border-radius: 12px !important; }

  ul.wp-block-navigation__submenu-container.parent-menu.wp-block-navigation-submenu {
    background-color: #fff;
    border-radius: 12px;
    min-width: max-content !important;
    padding-right: 0;
  }

  .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background: #fff;
    box-shadow: 0px 0px 5px 7px rgba(216, 216, 216, 0.5);
    border-radius: 12px;
    border: none;
  }
}

/* --- Mobile/tablet overlay styling (matches nav breakpoint) --- */
@media screen and (max-width: 1024px) {
  input[type="search"] { width: 170px; }

  .parent-menu > a { font-weight: 700; }

  .wp-block-navigation__responsive-container-close {
    top: 30px;
    right: 30px;
    color: #fff;
    background: #006db0;
    border-radius: 50px;
    padding: 2px;
  }

  div#modal-1-content { padding: 50px 20px 50px 20px; }

  .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: .5em 0; }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
    padding-left: 0;
    padding-right: 0;
  }

  div#fkcart-mini-toggler,
  nav.wp-block-navigation { padding-left: 20px; }

  .fkcart-shortcode-price,
  .fkcart-shortcode-count .fkcart-item-count { display: none !important; }

  .wp-block-search__button.has-icon {
    padding-left: 20px;
    padding-right: 0;
  }

  /* Strip desktop card/shadow look from submenus inside the overlay */
  .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 15px;
  }

  .wp-block-navigation__responsive-container-content .wp-block-navigation-item.has-child > a {
    font-weight: 700;
  }

  .wp-block-navigation__responsive-container-content > ul > li.has-child {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}


/* =====================================================================
   4. BREADCRUMBS
   ===================================================================== */
.yoast-breadcrumbs {
  margin: 0 0 1em 0;
  font-size: .92em;
}
.yoast-breadcrumbs span,
.yoast-breadcrumbs a {
  color: #767676;
  font-family: var(--gp-font--inter);
  margin-top: 20px;
}


/* =====================================================================
   5. WOOCOMMERCE — PRODUCT LOOP (GLOBAL)
   Styles product cards everywhere they appear: homepage
   "our-products" grids, related/upsell/cross-sell on single
   products, and category/shop archives (the archive then layers
   the upgraded look from section 6 on top).
   ===================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products::before { display: none; }

.our-products-section ul.products,
.woocommerce-shop.woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; }

/* Card shell */
ul.products li.product {
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  overflow: hidden; /* keeps the shadow clean around images */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 20px !important;
}
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
}
.woocommerce ul.products li.product {
  background: #f8f3ee !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card image */
ul.products li.product img { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.woocommerce ul.products li.product a img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  display: block;
  position: relative;
}
.woocommerce ul.products li.product:hover img {
  transform: translateY(-4px) scale(1.05); /* slight lift & zoom */
  filter: drop-shadow(-2px 4px 15px rgba(0, 0, 0, 0.15));
}

/* Card title / price / button */
h2.woocommerce-loop-product__title { color: #012042 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 0;
  font-size: 1.25em;
  margin-top: 0px;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title { font-size: 1.5em; }
.woocommerce ul.products li.product .price {
  font-size: 20px !important;
  color: #333;
}
.woocommerce ul.products li.product .button {
  background: #ae6a3f;
  color: #fff !important;
  display: block;
  border-radius: 12px;
  align-self: stretch;
  text-align: center;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button {
  background: #006db0;
  color: #fff;
}
.woocommerce ul.products li.product .merged-product-variants {
  width: 100%;
  border-radius: 12px;
  padding: 5px;
}

/* Sale flash hidden site-wide */
.woocommerce span.onsale { display: none !important; }

/* ── Hover overlays inside cards (CBD profile + benefits) ── */
.product-cbd-profile-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  max-width: 150px;
  display: none;
  background-color: #f6ede3;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(126, 126, 126, 0.25);
}
.product-cbd-profile-left .cbd-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #012042;
}
.product-cbd-profile-left .cbd-icon svg {
  width: 30px;
  height: 30px;
  fill: #ae6a3f;
  padding: 3px;
  background-color: #ae6a3f;
  border-radius: 25px;
  vertical-align: middle;
}
.cbd-icon,
.cbd-label { display: block; }
.cbd-label {
  margin-top: 0px;
  font-size: 12px;
  padding: 6px 12px 6px 6px;
  font-weight: 600;
  border: none;
  background-color: transparent;
  text-transform: uppercase;
}

.product-benefits-right {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #f6ede3;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(126, 126, 126, 0.25);
  z-index: 10;
  width: 100px;
  display: none;
}
.product-benefits-right .benefit-item {
  display: block;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #333;
}
.product-benefits-right .benefit-icon svg {
  width: 25px;
  height: 25px;
  fill: #ae6a3f;
}
.benefit-icon,
.benefit-label { display: block; }
.benefit-label {
  font-size: 12px;
  margin: 0 0 10px 0;
  color: #012042;
}

ul.products li.product:hover .product-benefits-right,
ul.products li.product:hover .product-cbd-profile-left { display: block; }

/* ── Product loop responsive ── */
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-shop.woocommerce ul.products,
  .our-products-section ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 10px;
    row-gap: 10px;
  }
  .woocommerce ul.products li.product { height: 100%; }
  ul.products li.product { padding: 10px !important; }
  .woocommerce ul.products li.product .price { font-size: initial !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { height: auto; }
  .woocommerce ul.products li.product .woocommerce-loop-category__title { font-size: 1em; }

  .woocommerce-loop-product__title,
  p, ul, ol, body { font-size: 14px !important; }
  ul, ol { margin: 0 0 20px 20px; }
  .hide-price { font-size: 12px !important; }

  /* Overlays */
  .benefit-label { display: none; }
  .product-benefits-right {
    width: auto;
    top: 20px;
    right: 10px;
  }
  .product-benefits-right .benefit-icon svg {
    width: 18px;
    height: 18px;
  }
  .cbd-icon { display: none; }
  .product-cbd-profile-left {
    top: 10px;
    left: 10px;
  }
  .cbd-label {
    margin-top: 0;
    padding: 3px;
    border: 1px solid #00000029;
    color: #333;
  }
}

.woocommerce ul.products li.product .star-rating{
    display: inline-block;
    vertical-align: middle;
    margin: 4px 8px 6px 0 !important;
}
.sp-loop-review-count{
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    color: #353535;
    font-weight: 400;
}


/* =====================================================================
   6. WOOCOMMERCE — SHOP / PRODUCT ARCHIVE  (scoped .shop-page)
   Pairs with the custom archive-product.php template. Everything is
   scoped to .shop-page and specific enough to override the global
   product-loop rules above on the archive only.
   ===================================================================== */
.shop-page {
  --navy:#012042; --copper:#ae6a3f; --copper-deep:#95562f;
  --cream:#fdf8f4; --tint:#f5eadb; --line:#ece4d8;
  --ink:#2a2118; --muted:#6b6256;
  padding-bottom:64px;
  color:var(--ink);
}

/* Hero */
.shop-page .shop-hero {
  margin:8px 0 22px;
  padding:30px clamp(20px,4vw,44px);
  border-radius:20px;
  border:1px solid var(--line);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(214,162,92,.22) 0%, rgba(214,162,92,0) 60%),
    linear-gradient(135deg, var(--cream) 0%, var(--tint) 100%);
}
.shop-page .shop-hero__crumbs { font-size:12px; letter-spacing:.3px; color:var(--muted); margin-bottom:14px; }
.shop-page .shop-hero__crumbs a { color:var(--copper-deep); text-decoration:none; }
.shop-page .shop-hero__crumbs a:hover { text-decoration:underline; }
.shop-page .shop-hero__title { margin:0; font-size:clamp(28px,4.4vw,46px); font-weight:700; letter-spacing:-.5px; line-height:1.05; color:var(--navy); }
.shop-page .shop-hero__intro { margin-top:12px; max-width:70ch; font-size:15px; line-height:1.65; color:var(--muted); }

/* Trust bar */
.shop-page .shop-trustbar {
  list-style:none; margin:0 0 28px; padding:14px 18px;
  display:flex; flex-wrap:wrap; gap:10px 30px;
  justify-content:center; align-items:center;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.shop-page .shop-trustbar li { display:inline-flex; align-items:center; gap:9px; margin:0; font-size:12.5px; font-weight:600; letter-spacing:.2px; color:var(--navy); }
.shop-page .shop-trustbar svg { width:20px; height:20px; fill:none; stroke:var(--copper); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }

/* Layout (flex → collapses cleanly when sidebar is hidden) */
.shop-page .shop-layout { display:flex; gap:36px; margin-top:0; align-items:flex-start; flex-wrap:wrap; --cols:4; }
.shop-page .shop-layout.has-sidebar { --cols:3; }
.shop-page .shop-products { flex:1 1 0; min-width:0; }

/* Sidebar (desktop, sticky) */
.shop-page #woocommerce-sidebar { flex:0 0 270px; max-width:270px; position:sticky; top:24px; background:none; border:0; padding:0; }
.shop-page #woocommerce-sidebar .sidebar-inner { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; }
.shop-page #woocommerce-sidebar .sidebar-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.shop-page #woocommerce-sidebar .sidebar-head h2 { margin:0; font-size:16px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:1px; }
.shop-page .sidebar-close { display:none; background:none; border:0; font-size:28px; line-height:1; color:var(--muted); cursor:pointer; }

/* Mobile filter toggle (#id beats the old #filter-toggle-btn rule) */
.shop-page .mobile-filter-toggle { display:none; }
.shop-page #filter-toggle-btn { display:inline-flex; align-items:center; gap:9px; background:var(--navy); color:#fff; border:0; border-radius:10px; padding:12px 20px; font-size:14px; font-weight:600; cursor:pointer; }
.shop-page #filter-toggle-btn:hover { background:var(--navy); opacity:.92; }
.shop-page #filter-toggle-btn svg { width:18px; height:18px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.shop-page .sidebar-overlay { position:fixed; inset:0; background:rgba(1,32,66,.45); z-index:998; }

/* Filter form (inside the sidebar) */
.stirling-attribute-filters-form { margin-bottom: 2rem; }
.stirling-attribute-filters-form fieldset { margin-bottom: 1rem; border: none; }
.stirling-attribute-filters-form legend { font-weight: bold; margin-bottom: 0.5rem; }
.stirling-attribute-filters-form label { display: block; margin: 2px 0; }
.stirling-attribute-filters-form button,
.stirling-attribute-filters-form .reset-filters { margin-top: 10px; display: inline-block; }

/* Toolbar (result count + sort) */
.shop-page .shop-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.shop-page .woocommerce-result-count { margin:0; font-size:13.5px; color:var(--muted); }
.shop-page .woocommerce-ordering { margin:0; }
.shop-page .shop-toolbar select {
  appearance:none; -webkit-appearance:none;
  background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2395562f' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat right 14px center;
  border:1px solid var(--line); border-radius:10px; padding:10px 38px 10px 14px;
  font-size:14px; color:var(--navy); cursor:pointer; min-width:210px;
}
.shop-page .shop-toolbar select:focus { outline:2px solid var(--copper); outline-offset:1px; }

/* Product grid (overrides the global .woocommerce ul.products) */
.shop-page ul.products {
  display:grid !important;
  grid-template-columns:repeat(var(--cols,4),1fr) !important;
  gap:24px !important; margin:0 !important; padding:0 !important; list-style:none;
}
.shop-page ul.products::before,
.shop-page ul.products::after { content:none !important; display:none !important; }

/* Cards */
.shop-page ul.products li.product {
  background:#fff !important; border:1px solid var(--line) !important; border-radius:16px;
  padding:16px 16px 18px !important; margin:0 !important; width:auto !important;
  display:flex; flex-direction:column; text-align:center; position:relative;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-page ul.products li.product:hover {
  transform:translateY(-4px); box-shadow:0 16px 34px rgba(1,32,66,.10);
  border-color:rgba(174,106,63,.45); background:#fff !important;
}
.shop-page ul.products li.product a img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:11px; margin:0 0 12px; background:var(--cream); }
.shop-page ul.products li.product h2.woocommerce-loop-product__title { margin:0; padding:0 2px 6px; font-size:16px; font-weight:800; letter-spacing: 0.2px; line-height:1.35; color:var(--navy) !important; }
.shop-page ul.products li.product .price { margin:0 0 12px; color:var(--copper-deep) !important; font-weight:700; font-size:16px !important; }
.shop-page ul.products li.product .price del { color:var(--muted); font-weight:400; opacity:.7; margin-right:6px; }
.shop-page ul.products li.product .price ins { text-decoration:none; }
ul.products li.product .star-rating { color:#FFBC00 !important; font-size:13px !important; }
.shop-page ul.products li.product .button {
  margin-top:auto; align-self:stretch; width:100%; display:block; text-align:center;
  background:var(--copper) !important; color:#fff !important; border:0; border-radius:9px;
  padding:11px 16px; font-size:13.5px; font-weight:600; letter-spacing:.3px; text-decoration:none;
  transition:background .15s ease, transform .1s ease;
}
.shop-page ul.products li.product .button:hover { background:var(--copper-deep) !important; }
.shop-page ul.products li.product .button:active { transform:scale(.98); }

/* Pagination */
.shop-page .woocommerce-pagination { margin-top:40px; text-align:center; }
.shop-page .woocommerce-pagination ul { display:inline-flex; gap:6px; border:0 !important; padding:0; margin:0; }
.shop-page .woocommerce-pagination ul li { border:0 !important; margin:0; }
.shop-page .woocommerce-pagination ul li a,
.shop-page .woocommerce-pagination ul li span {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 12px;
  border:1px solid var(--line) !important; border-radius:10px;
  color:var(--navy); background:#fff; font-weight:600; text-decoration:none;
}
.shop-page .woocommerce-pagination ul li span.current { background:var(--navy); color:#fff; border-color:var(--navy) !important; }
.shop-page .woocommerce-pagination ul li a:hover { border-color:var(--copper) !important; color:var(--copper-deep); }

/* Empty state */
.shop-page .shop-empty { text-align:center; padding:60px 20px; background:#fff; border:1px dashed var(--line); border-radius:16px; color:var(--muted); }

/* Description + FAQ */
.shop-page .archive-description,
.shop-page .category-faqs { margin-top:54px; padding-top:36px; border-top:1px solid var(--line); }
.shop-page .archive-description { max-width:78ch; line-height:1.7; color:var(--ink); }
.shop-page .archive-description h2,
.shop-page .category-faqs h2 { color:var(--navy); }

/* Hide the filter toggle on terms where the sidebar is hidden */
.term-gummy-sample-packs aside#woocommerce-sidebar,
.term-lotion-sample-packs aside#woocommerce-sidebar,
.term-close-out-deals aside#woocommerce-sidebar,
.term-merchandizing-materials aside#woocommerce-sidebar,
.term-discounted-products aside#woocommerce-sidebar,
.term-memorialbogo aside#woocommerce-sidebar,
.term-mixmatch aside#woocommerce-sidebar { display:none !important; }

.term-gummy-sample-packs .mobile-filter-toggle,
.term-lotion-sample-packs .mobile-filter-toggle,
.term-close-out-deals .mobile-filter-toggle,
.term-merchandizing-materials .mobile-filter-toggle,
.term-discounted-products .mobile-filter-toggle,
.term-memorialbogo .mobile-filter-toggle,
.term-mixmatch .mobile-filter-toggle { display:none !important; }

/* Shop archive responsive */
@media (max-width:980px) {
  .shop-page .shop-layout { display:block; --cols:3; }
  .shop-page .shop-layout.has-sidebar { --cols:3; }
  .shop-page .mobile-filter-toggle { display:block; margin-bottom:18px; }
  .shop-page #woocommerce-sidebar {
    display:block;
    position:fixed; top:0; left:0; bottom:0;
    width:min(86vw,340px); max-width:none; z-index:999;
    transform:translateX(-100%); transition:transform .28s ease; overflow-y:auto;
  }
  .shop-page #woocommerce-sidebar.is-open { transform:translateX(0); }
  .shop-page #woocommerce-sidebar .sidebar-inner { border-radius:0; min-height:100%; }
  .shop-page .sidebar-close { display:block; }
  body.sidebar-locked { overflow:hidden; }
}
@media (min-width:981px) {
  .shop-page .sidebar-overlay { display:none !important; }
}
@media (max-width:768px) {
  .shop-page .shop-layout { --cols:2; }
  .shop-page .shop-layout.has-sidebar { --cols:2; }
  .shop-page ul.products { gap:14px !important; }
  .shop-page ul.products li.product { padding:12px !important; border-radius:13px; }
  .shop-page ul.products li.product h2.woocommerce-loop-product__title { font-size:14px; }
  .shop-page .shop-trustbar { gap:8px 18px; font-size:11.5px; }
  .shop-page .shop-toolbar select { min-width:0; width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .shop-page ul.products li.product,
  .shop-page #woocommerce-sidebar { transition:none; }
}

/* =====================================================================
   7. SINGLE PRODUCT — Stirling Professional
   Palette: navy #012042 · terracotta #ae6a3f · cream #fdf8f4
            taupe #eae2d9 · line #d9e0ea · muted #9aa4b2
   ===================================================================== */

/* ---------------------------------------------------------------------
   Layout & base
   --------------------------------------------------------------------- */
.single-product .entry-content { margin-top: 0; }

.single-product-column { padding: 20px; }

.featured-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .tiered-pricing-wrapper { width: 60%; }
}

@media (max-width: 768px) {
  .single-product-column { padding: 0; }
  .column2 { padding: 20px 0 0 0; }
  .custom-product-image,
  .custom-product-details {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* ---------------------------------------------------------------------
   Quantity input
   (single_add_to_cart row overrides width below; this is the fallback)
   --------------------------------------------------------------------- */
.quantity .qty,
input.qty {
  padding-left: 6px !important;
  padding-right: 6px !important;
  text-align: center;
}
.wp-block-woocommerce-single-product .input-text.qty.text { width: 5em !important; }

/* ---------------------------------------------------------------------
   Hidden prices / elements on specific products
   --------------------------------------------------------------------- */
.post-665103 span.price,
.post-665093 span.price,
.post-665054 span.price,
.post-690311 .woocommerce-tabs.wc-tabs-wrapper { display: none !important; }

a.reset_variations,
p.price,
.woocommerce-variation-price > span.price,
.post-667668 table.variations,
.post-681659 table.variations { display: none !important; }

/* ---------------------------------------------------------------------
   Description lists
   --------------------------------------------------------------------- */
.woocommerce-product-details__short-description ul { margin: 0 0 1.5em 1.25em !important; }
.wc-block-components-product-summary ul,
.product-tabs ul,
.product-tabs ol { margin: 0 0 1.5em 1em; }

/* =====================================================================
   Title rating
   ===================================================================== */
.single-product .sp-title-rating { margin: 4px 0 12px; }
.single-product .sp-title-rating a {
  box-shadow: none;
  text-decoration: none;
  color: #012042;
}

/* =====================================================================
   Benefits strip (icons under short description)
   ===================================================================== */
.sp-benefits-strip {
  margin: 4px 0 20px;
  padding: 24px;
  border: 1px solid #eae2d9;
  border-radius: 16px;
  background: #fdf8f4;          /* cream panel */
}
.sp-benefits-headline {
  font-size: 1.05rem;
  font-weight: 800;
  color: #012042;
  margin: 0 0 16px;
  line-height: 1.2;
}
.sp-benefits-headline:empty { display: none; }  /* hide when no headline set */

.sp-benefits-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* two columns */
  gap: 18px 24px;
}
.sp-benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* the rounded white chip holding the icon */
.sp-benefit-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eae2d9;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(1, 32, 66, .05);
}
.sp-benefit-icon .icon {
  width: 22px;
  height: 22px;
  display: block;
  color: #ae6a3f;              /* terracotta icons */
  fill: none;                  /* line-style icons: stroke only */
  stroke: currentColor;
}
.sp-benefit-label {
  font-size: .95rem;
  font-weight: 700;
  color: #012042;
  line-height: 1.3;
  white-space: normal;         /* allow wrapping in the column */
}

@media (max-width: 640px) {
  .sp-benefits-strip { padding: 18px; }
  .sp-benefits-row {
    grid-template-columns: 1fr;   /* single column on mobile */
    gap: 14px;
  }
  .sp-benefit-icon { width: 40px; height: 40px; border-radius: 10px; }
  .sp-benefit-label { font-size: .88rem; }
}

/* =====================================================================
   Variation swatches (Woo Variation Swatches)
   ===================================================================== */
.single-product .wvs-style-squared.button-variable-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.single-product .wvs-style-squared .button-variable-item {
  border: 1.5px solid #d9e0ea !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 0 !important;
  min-width: 120px;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.single-product .wvs-style-squared .button-variable-item .variable-item-span-button {
  display: block;
  padding: 16px 20px !important;
  font-weight: 800;
  font-size: 1rem;
  color: #012042 !important;
  line-height: 1.3;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
}
.single-product .wvs-style-squared .button-variable-item:hover {
  border-color: #ae6a3f !important;
}
.single-product .wvs-style-squared .button-variable-item.selected,
.single-product .wvs-style-squared .button-variable-item[aria-checked="true"] {
  border-color: #012042 !important;
  box-shadow: 0 2px 14px rgba(1, 32, 66, .12) !important;
}

/* Attribute label rows */
table.variations th.label { padding: 0 !important; }
.single-product table.variations th.label label {
  font-weight: 600;
  color: #1a2230;
}
.single-product table.variations .woo-selected-variation-item-name,
.single-product table.variations td.value {
  font-weight: 800;
  color: #012042;
}

/* Two attribute rows side-by-side as cards on desktop */
@media (min-width: 768px) {
  .single-product table.variations,
  .single-product table.variations tbody { display: block; }

  .single-product table.variations tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;                       /* spacing between the two boxes */
  }
  .single-product table.variations tr {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(50% - 8px);
    min-width: 220px;
    background: #fff;                /* same as dropdown */
    border: 1.5px solid #d9e0ea;     /* same as dropdown */
    border-radius: 14px;             /* same as dropdown */
    padding: 16px 18px;
  }
  .single-product table.variations tr th.label,
  .single-product table.variations tr td.value {
    display: block;
    width: auto;
    padding: 0;
    background: transparent;
  }
  .single-product table.variations tr th.label {
    margin-bottom: 10px;
    font-weight: 700;
    color: #012042;
  }
  .single-product table.variations .wvs-style-squared {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* =====================================================================
   Availability + MSRP capsules
   ===================================================================== */
.stock::before {
  content: 'Availability:\00a0';
  font-weight: 800;
}
.single-product .woocommerce-variation-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 4px 0 12px;
}
.single-product .woocommerce-variation-availability .stock, .single-product .stock {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem !important;
  font-weight: 700;
  line-height: 1;
  background: #fdf8f4;               /* cream */
  color: #012042 !important;                    /* navy */
  border: 1px solid #eae2d9;         /* taupe */
}
.single-product .woocommerce-variation-availability .stock.out-of-stock, .single-product .stock.out-of-stock {
  background: #fdecec;
  color: #b4232a !important;
  border-color: #f2c9c9;
}

.single-product .stock {
margin-bottom: 10px !important;
}
/* MSRP pill (nested inside .woocommerce-variation-availability) */
.single-product .sp-msrp-under-availability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem !important;
  font-weight: 600;
  line-height: 1;
  background: #fdf8f4;
  color: #012042;
  border: 1px solid #eae2d9;
}
.single-product .sp-msrp-under-availability strong {
  font-weight: 800;
  color: #012042;
  font-size: revert;
}
.single-product .sp-msrp-under-availability .amount { font-weight: 700; }

/* =====================================================================
   Variation price
   ===================================================================== */
.single-product .woocommerce-variation-price .price,
.single-product .woocommerce-variation-price .amount {
  color: #012042;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}
.single-product span.subscription-price {
  color: revert !important;
  font-size: revert !important;
  font-weight: 700;
}
@media (max-width: 640px){
    .single-product .wcsatt-options-prompt-label,
    .single-product .wcsatt-options-prompt-label *{
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* =====================================================================
   Subscribe / one-time options (WCSATT)
   ===================================================================== */
.single-product .wcsatt-options-prompt-label:hover { border-color: #ae6a3f; }

.single-product .wcsatt-options-prompt-action-input:checked
  + .wcsatt-options-prompt-action { color: #012042; }

.single-product .wcsatt-options-prompt-label:has(input:checked) {
  border-color: #012042;
  background: rgba(1, 32, 66, .04);
  box-shadow: 0 2px 10px rgba(1, 32, 66, .08);
}
.single-product .wcsatt-options-prompt-action .subscription-price,
.single-product .wcsatt-options-prompt-action .one-time-price { font-weight: 700; }

/* =====================================================================
   Quantity + Add to cart row
   ===================================================================== */
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0px;
  margin-top: 16px;
}
.single-product .quantity  { flex: 0 0 auto; }
.single-product .quantity .qty {
  height: 100%;
  min-height: 52px;
  width: 84px !important;
  border: 1.5px solid #d9e0ea;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #012042;
  background: #fff;
}
.single-product .single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 52px;
  border-radius: 12px !important;
  background: #012042 !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  letter-spacing: .01em;
  border: 0 !important;
  transition: background .15s, transform .05s;
}
/* Don't let the button stretch in either layout on desktop */
.single-product .single_add_to_cart_button {
  flex: 0 0 auto;
  width: auto !important;
  margin-left: 5px !important;
}

/* Full-width add to cart on mobile only */
@media (max-width: 640px) {
  .single-product .single_add_to_cart_button {
    flex: 1 1 auto;
    width: auto !important;
  }
}
.single-product .single_add_to_cart_button:hover {
  background: #ae6a3f !important;    /* terracotta on hover */
}
.single-product .single_add_to_cart_button:active { transform: translateY(1px); }
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button.wc-variation-selection-needed {
  background: #9aa4b2 !important;
  cursor: not-allowed;
}

/* =====================================================================
   Tiered Pricing dropdown → match variation swatch design
   ===================================================================== */
.single-product .tpt__tiered-pricing {
  --sp-navy: #012042;
  --sp-terra: #ae6a3f;
  --sp-line: #d9e0ea;
  --sp-cream: #fdf8f4;
  margin: 4px 0 18px;
}

/* select box + list containers (override plugin's near-invisible inline border) */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__select-box,
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list {
  border: 1.5px solid var(--sp-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* closed select box = one big swatch card */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__select-box:hover {
  border-color: var(--sp-terra) !important;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__select-box-arrow svg {
  fill: var(--sp-navy) !important;
  width: 20px;
  height: 20px;
}

/* labels + prices */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown-option__quantity strong {
  font-weight: 800;
  color: var(--sp-navy);
  font-size: .95rem;
  line-height: 1.3;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown-option-price__discounted .amount {
  font-weight: 800;
  color: var(--sp-navy);
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown-option-price__discounted::after {
  content: '/ unit';
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown-option-price__original del .amount {
  color: #9aa4b2;
  font-weight: 600;
}

/* open list */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list {
  margin-top: 8px !important;
  overflow: hidden;
  padding: 6px !important;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* each option = mini rounded card */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list .tiered-pricing-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px !important;
  border: 1.5px solid transparent !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin: 0 0 4px !important;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list .tiered-pricing-dropdown-option:last-child {
  margin-bottom: 0 !important;
}
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list .tiered-pricing-dropdown-option:hover {
  background: rgba(174, 106, 63, .06) !important;
}

/* selected / active tier (override plugin's washed-out cream states) */
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown__list .tiered-pricing--active,
.single-product .tpt__tiered-pricing .tiered-pricing-dropdown-option--selected {
  background: rgba(1, 32, 66, .05) !important;
  border-color: var(--sp-navy) !important;
}
.single-product .tpt__tiered-pricing .tiered-pricing--active .tiered-pricing-option-checkbox::after {
  background: var(--sp-navy) !important;
}

/* =====================================================================
   Product gallery — main image w/ arrows, capped 5-thumbnail row
   ===================================================================== */
.single-product .woocommerce-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* main image — rounded, bordered, positioned for arrows */
.single-product .flex-viewport {
  position: relative;
  border: 1.5px solid #d9e0ea;
  border-radius: 12px;
  overflow: hidden;
}
.single-product .woocommerce-product-gallery__image img {
  border-radius: 12px;
}

/* arrows on the main image — subtle */
.single-product .sp-main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, .55);
  color: #012042;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  opacity: .55;
  transition: opacity .15s, background .15s;
}
.single-product .sp-main-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .9);
  color: #012042;   /* stays navy, no dark fill */
}
.single-product .sp-main-prev { left: 10px; }
.single-product .sp-main-next { right: 10px; }

/* hide WooCommerce's native direction arrows (we trigger them invisibly) */
.single-product .flex-direction-nav { position: absolute; width: 0; height: 0; overflow: hidden; }

/* thumbnail row — 5 across, no wrap */
.single-product .flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px;
}
.single-product .flex-control-thumbs li {
  flex: 0 0 calc((100% - 40px) / 5) !important;
  width: calc((100% - 40px) / 5) !important;
  margin: 0 !important;
  float: none !important;
  position: relative;
}
.single-product .flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  opacity: 1 !important;
  filter: none !important;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs .flex-active img {
  border-color: #ae6a3f;
}

/* hide 6th+ thumbnails (still in DOM so FlexSlider works) */
.single-product .flex-control-thumbs li.sp-thumb-hidden { display: none !important; }

/* the "+N" tile: dim the 5th thumb + overlay badge */
.single-product .flex-control-thumbs li.sp-thumb-more-tile img {
  filter: brightness(.55) !important;
}
.single-product .sp-thumb-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  pointer-events: none;      /* clicks pass through to the thumbnail img */
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* =====================================================================
   Notices (subscription minimum / box quantity)
   ===================================================================== */
.subscription-minimum-notice,
.box-quantity-notice {
  margin: 4rem 0 20px;
  padding: 12px 14px;
  border-radius: 6px;
  background-color: #f4f7f9;
  border: 1px solid #d8e1e8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  max-width: max-content;
}
.subscription-minimum-notice .notice-icon,
.box-quantity-notice .notice-icon {
  font-size: 16px;
  margin-top: 2px;
  color: #5c6b77;
}
.subscription-minimum-notice strong,
.box-quantity-notice strong { font-weight: 600; }

/* ---- Eyebrow ---- */
.single-product .sp-eyebrow {
  margin: 0 0 6px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ae6a3f;            /* terracotta */
  line-height: 1.2;
}

/* ---- Badges row ---- */
.single-product .sp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}
.single-product .sp-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  color: #012042;            /* navy text */
  background: #eef1f6;       /* soft grey-blue pill */
  white-space: nowrap;
}

/* every 2nd badge gets the cream/terracotta accent (like "6000 mg") */
.single-product .sp-badge:nth-child(2) {
  background: #fdf0e6;       /* soft cream */
  color: #ae6a3f;            /* terracotta text */
}

@media (max-width: 640px) {
  .single-product .sp-badge { font-size: .82rem; padding: 6px 13px; }
  .single-product .sp-eyebrow { font-size: .72rem; }
}

h1.product_title.entry-title {
    color: var(--navy);
}

/* =====================================================================
   7b. SINGLE PRODUCT — INFO ACCORDION
   REPLACES the previous 7b block. Paste into Section 7 of style.css.
   Pairs with single-product/tabs/tabs.php.
   Brand: navy #012042 · copper #ae6a3f
   ===================================================================== */

.single-product .sp-accordion {
  clear: both;          /* drop below the floated gallery + summary columns */
  width: 100%;
  margin: 12px 0 0;
  border-top: 1px solid #ece4d8;
}
.single-product .sp-accordion__item { border-bottom: 1px solid #ece4d8; }

/* Header / trigger row */
.single-product .sp-accordion__header { margin: 0; padding: 0; font: inherit; }
.single-product .sp-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #012042;
  text-align: left;
}
.single-product .sp-accordion__trigger:hover { color: #ae6a3f; }
.single-product .sp-accordion__trigger:focus-visible {
  outline: 2px solid #ae6a3f;
  outline-offset: 2px;
  border-radius: 6px;
}
.single-product .sp-accordion__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: #ae6a3f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.single-product .sp-accordion__trigger[aria-expanded="true"] .sp-accordion__icon { transform: rotate(180deg); }

/* Closed panels are fully hidden (nothing peeks through).
   Collapse only kicks in once JS adds .is-js, so it degrades to
   "all open" if JS ever fails. */
.single-product .sp-accordion.is-js .sp-accordion__panelwrap { display: none; }
.single-product .sp-accordion.is-js .sp-accordion__item.is-open .sp-accordion__panelwrap {
  display: block;
  animation: sp-acc-reveal .28s ease;
}
@keyframes sp-acc-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel content */
.single-product .sp-accordion__panel {
  padding: 2px 4px 28px;
  color: #2a2118;
  line-height: 1.7;
  font-size: 15px;
}
.single-product .sp-accordion__panel > .sp-tab > :first-child,
.single-product .sp-accordion__panel > :first-child { margin-top: 0; }
.single-product .sp-accordion__panel h2 {
  font-size: 20px;
  color: #012042;
  margin: 0 0 14px;
}
.single-product .sp-accordion__panel ul,
.single-product .sp-accordion__panel ol { margin: 0 0 1.2em 1.25em; }

/* Compare-chart image */
.single-product .sp-compare-chart {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #ece4d8;
}

@media (max-width: 768px) {
  .single-product .sp-accordion__trigger { padding: 17px 2px; font-size: 15.5px; }
  .single-product .sp-accordion__panel { padding: 2px 2px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .single-product .sp-accordion.is-js .sp-accordion__item.is-open .sp-accordion__panelwrap { animation: none; }
  .single-product .sp-accordion__icon { transition: none; }
}

/* =====================================================================
   7.1. Single Product - radio buttons
   ===================================================================== */

.wcsatt-options-prompt-radios {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Put Subscribe FIRST, One-time SECOND */
.wcsatt-options-prompt-radio:has(.wcsatt-options-prompt-label-subscription) {
    order: 1;
}
.wcsatt-options-prompt-radio:has(.wcsatt-options-prompt-label-one-time) {
    order: 2;
}

/* Both option cards */
.wcsatt-options-prompt-label {
    display: block;
    border: 1px solid #d8cdb5;
    border-radius: 10px;
    padding: 18px 18px 18px 46px;
    position: relative;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

/* Custom radio dot */
.wcsatt-options-prompt-label .wcsatt-options-prompt-action-input {
    position: absolute;
    left: 16px;
    top: 20px;
    width: 18px;
    height: 18px;
    accent-color: #012042;
    margin: 0;
}

/* Subscribe card: cream fill, copper border */
.wcsatt-options-prompt-label-subscription {
    border-color: #ae6a3f;
}

/* Selected-state: white fill, elevated */
.wcsatt-options-prompt-label:has(.wcsatt-options-prompt-action-input:checked) {
    background: #fff1e9;
    border-color: #ae6a3f;
    box-shadow: 0 4px 14px rgba(1, 32, 66, 0.15);
    transform: translateY(-2px);
}

/* Title row */
.wcsatt-options-prompt-label .wcsatt-options-prompt-action {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
    font-size: 17px;
    color: #012042;
}

/* Price styling on subscribe option */
.wcsatt-options-prompt-label-subscription .subscription-price del {
    color: #8a7d63;
    font-weight: 400;
    margin-right: 6px;
}
.wcsatt-options-prompt-label-subscription .subscription-price ins {
    text-decoration: none;
    font-weight: 700;
    color: #012042;
}

/* Benefit bullets under Subscribe title */
.wcsatt-options-prompt-label-subscription::after {
    content: "• Never run out\A • Free Shipping & 33% Off Every Order\A • Cancel anytime after 3 months";
    white-space: pre-line;
    display: block;
    margin-top: 6px;
    padding-left: 2px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.9;
    color: #012042;
}

@media (max-width: 768px) {
  .wcsatt-options-prompt-label-subscription::after {
    font-size: 14px;
  }
}

/* =====================================================================
   8. CART / CHECKOUT / BUNDLES
   ===================================================================== */
.woocommerce form .show-password-input::before { display: none; }

a.button.wc-forward { display: none !important; }

.wfacp-order-place-btn-wrap.processing:after {
  content: "Please wait… We're already processing your order.";
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}
span.wfacp-pro-count { font-size: 10px !important; }

.post-684404 .wcsatt-options-wrapper { display: none; }

.bundled_item_70.bundled_product.bundled_product_summary.product::before {
  content: '\AProduct #1 (Mandatory):\A\A';
  font-size: 25px;
  font-weight: 700;
  white-space: pre;
  color: #006db0;
}
.bundled_item_71.bundled_product.bundled_product_summary.product::before {
  content: '\AProduct #2 (Select one):\A\A';
  font-size: 25px;
  font-weight: 700;
  white-space: pre;
  color: #006db0;
}
.bundled_item_76.bundled_product.bundled_product_summary.product::before {
  content: '\AProduct #3 (Select one):\A\A';
  font-size: 25px;
  font-weight: 700;
  white-space: pre;
  color: #006db0;
}


/* =====================================================================
   9. ACCOUNT / REGISTRATION / LOGIN / MODALS
   ===================================================================== */
.woocommerce-account .woocommerce > h2 { display: none; }
.woocommerce form.login { margin: 0 0; }
.yith-wcaf-registration-form .register-form { padding: 0; margin: 0; }

button.user-registration-modal-link {
  background-color: #006db0;
  border-radius: 12px;
}

/* Custom registration / wholesaler forms */
#custom-registration-form,
#wholesaler-registration-form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: "Segoe UI", sans-serif;
}
#custom-registration-form p,
#wholesaler-registration-form p { margin-bottom: 1.2rem; }
#custom-registration-form input[type="text"],
#wholesaler-registration-form input[type="text"],
#custom-registration-form input[type="email"],
#wholesaler-registration-form input[type="email"],
#custom-registration-form input[type="password"],
#wholesaler-registration-form input[type="password"],
#custom-registration-form input[type="date"],
#wholesaler-registration-form input[type="date"],
#custom-registration-form textarea,
#wholesaler-registration-form textarea,
#wholesaler-registration-form select#wh_field_practice,
#custom-login-form input {
  width: 100% !important;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border 0.3s;
}
#custom-registration-form input:focus,
#wholesaler-registration-form input:focus,
#custom-registration-form textarea:focus,
#wholesaler-registration-form textarea:focus {
  border-color: #0073aa;
  outline: none;
}
#custom-registration-form textarea,
#wholesaler-registration-form textarea {
  resize: vertical;
  min-height: 100px;
}
#custom-registration-form label,
#wholesaler-registration-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
}
#custom-registration-form button[type="submit"],
#wholesaler-registration-form button[type="submit"],
#custom-login-form button[type="submit"] {
  display: block;
  margin: 20px 0;
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  width: 150px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
#custom-registration-form button[type="submit"]:hover,
#wholesaler-registration-form button[type="submit"]:hover { background-color: #005f8d; }

#wholesaler-form,
#customer-patient-form { display: none; }

/* Registration modal */
.registration-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.registration-modal-content {
  background: white;
  max-width: 600px;
  margin: 5% auto;
  padding: 30px;
  position: relative;
  border-radius: 10px;
}
.registration-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}
.registration-close:hover { color: #000; }
.form-heading {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

/* Chiropractor partner form + dashboard modal */
#chiropractor-partner-form { margin-top: 20px; }
#chiropractor-partner-form p { margin-bottom: 18px; }
#chiropractor-partner-form input,
#chiropractor-partner-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fafafa;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
#chiropractor-partner-form input:focus,
#chiropractor-partner-form select:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}
#chiropractor-partner-form button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
#chiropractor-partner-form button:hover { opacity: 0.9; }

.cpp-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.cpp-modal-content {
  background: #fff;
  width: 520px;
  max-width: 95%;
  margin: 6% auto;
  padding: 40px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
  animation: cppFadeIn 0.2s ease-in-out;
}
@keyframes cppFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cpp-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}
body.cpp-modal-open { overflow: hidden; }
.cpp-dashboard {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.cpp-card {
  flex: 1;
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.cpp-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #777;
}
.cpp-card p {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.cpp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.cpp-table th,
.cpp-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.cpp-table th {
  background: #f8f8f8;
  font-weight: 600;
}
.cpp-table tr:hover { background: #fafafa; }


/* =====================================================================
   10. BLOG / POSTS
   ===================================================================== */
.blog-archive-page,
article.type-post,
body:not(.home):not(.single-product) .inside-article { padding: 50px 10% !important; }

h2.entry-title {
  margin: 20px 0;
  font-size: 20px;
}
span.posted-on { font-size: 14px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.post-item {
  border-radius: 10px;
  padding: 15px;
  background-color: #dfefff;
  transition: transform 0.3s ease;
}
.post-item img { width: 100%; }
.post-item:hover { transform: translateY(-5px); }

@media screen and (max-width: 1200px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-sidebar { max-width: 100%; }
  .blog-content { max-width: 100%; }
}
@media screen and (max-width: 768px) {
  .blog-archive-page,
  article.type-post,
  body:not(.home) .inside-article { padding: 25px 20px !important; }

  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid img { width: 100%; }
  .blog-container { display: block; }
  .blog-content { max-width: 100%; }
}


/* =====================================================================
   11. CONVENTIONS GALLERY
   ===================================================================== */
.convention-photos {
  column-count: 3;
  column-gap: 1rem;
  margin-bottom: 2rem;
}
.convention-photo {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.convention-photo img {
  border-radius: 12px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .convention-photos { column-count: 2; }
}
@media (max-width: 600px) {
  .convention-photos { column-count: 1; }
}


/* =====================================================================
   12. CAROUSELS & SLIDERS
   ===================================================================== */
/* Drag-scroll row */
.parent-scroll {
  display: flex !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 0 0 20px 0;
  max-width: 100%;
  box-sizing: border-box;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
}
.parent-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.chiropractor-carousel .child-scroll {
  flex: 0 0 calc((100% - (20px * 3)) / 4); /* 4 items + 3 gaps */
  box-sizing: border-box;
}

/* Generic carousel */
.carousel-wrapper {
  position: relative;
  width: 100%;
}
.carousel-container {
  overflow: hidden;
  width: 100%;
}
.carousel {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel-item {
  flex: 0 0 100%; /* 1 item per view on mobile */
  box-sizing: border-box;
  padding: 10px !important;
  text-align: center;
  border-radius: 8px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(142, 176, 245, 0.479) !important;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(30, 87, 197, 0.9) !important; }
.carousel-btn.left  { left: -10px; }
.carousel-btn.right { right: -10px; }

/* Slick slider (hidden until initialised to avoid flash) */
.stirling-slick-slider {
  visibility: hidden;
  opacity: 0;
}
.stirling-slick-slider.slick-initialized {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 768px) {
  .carousel-item { flex: 0 0 25%; }
}
@media (max-width: 768px) {
  .chiropractor-carousel .child-scroll { flex: 0 0 100%; } /* 1 item per slide */
  .stirling-slick-slider > div { position: relative; }
}


/* =====================================================================
   13. MISC / WIDGETS
   ===================================================================== */
.footer-area li::marker { color: #af6740; }

div.stamped-container[data-widget-style] { max-width: unset !important; }
#stamped-main-widget { margin: 0 !important; }

.qr-video video { border-radius: 12px; }

video { max-height: 500px; }
.wp-video {
  background: #000;
  max-width: 100% !important;
  width: 100% !important;
}
/* .shop-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  contain: paint;            
}
.shop-hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42%;
  background-image: url('https://stirlingprofessional.com/wp-content/uploads/2023/03/gummies.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 15%, #000 60%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 15%, #000 60%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
} */