/* Surekha single-product CSS chunk. Loaded conditionally from functions.php. */

/* ===== HIDE THEME BREADCRUMBS ON SINGLE PRODUCT PAGES ===== */
.single-product .archive-header,
.single-product .woocommerce-breadcrumb,
.single-product .archive-header .col-full {
    display: none !important;
}

/* Keep product-page off-canvas/floating elements from creating page-wide horizontal scroll. */
html:has(body.single-product),
body.single-product {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html:has(body.single-product),
  body.single-product {
    overflow-x: hidden;
  }
}

/* ===== PLANT PRODUCT PAGE â€” KYARI-STYLE TOP SECTION ===== */

/* 1. Benefits badges (product tags) */
.sa-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px 0;
}

.sa-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #EEF4EE;
    color: var(--sa-green);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    line-height: 1.3;
    border: 1px solid rgba(47, 93, 58, 0.15);
}

/* Alternating tag colors â€” every 2nd tag uses terracotta tint */
.sa-tag-pill:nth-child(2n) {
    background: #FBEFE7;
    color: var(--sa-terracotta-dark);
    border-color: rgba(201, 123, 74, 0.2);
}

/* 2. Kyari-style rating row */
.sa-rating-kyari {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 6px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.sa-rating-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 16px;
    line-height: 1;
}

.sa-star-full {
    color: #F5A623;
}

.sa-star-half {
    color: #F5A623;
    background: linear-gradient(90deg, #F5A623 50%, #E0E0E0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sa-star-empty {
    color: #E0E0E0;
}

.sa-rating-number {
    font-weight: 600;
    color: var(--sa-text);
}

.sa-rating-divider {
    color: var(--sa-border);
    font-weight: 300;
}

.sa-rating-count {
    color: var(--sa-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sa-rating-count:hover {
    color: var(--sa-terracotta);
    text-decoration: underline;
}

/* 3. "X+ bought in last week" */
.sa-bought-last-week {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--sa-muted);
}

.sa-bought-icon {
    font-size: 15px;
    line-height: 1;
}

.sa-bought-text strong {
    color: var(--sa-text);
    font-weight: 600;
}


/* ===========================================
   STICKY PRODUCT IMAGE ON SCROLL (Elementor build)
   The gallery is wrapped 2-3 layers deep inside an Elementor column.
   We make the COLUMN that contains the gallery sticky.
   =========================================== */

@media (min-width: 768px) {

  /* Find any Elementor column-wrapper that contains the product gallery
     and make it stick to the top while scrolling */
  .single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }

  /* Safety: ensure the two-column row aligns from the top, not stretch */
  .single-product .e-con-inner {
    align-items: flex-start;
  }

}

/*@media (max-width: 767px) {*/
/*  .single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {*/
/*    position: static;*/
/*  }*/
/*}*/
/* ===========================================
   VARIATION SWATCHES â€” Variation Swatches for WooCommerce plugin
   - Size:  round circles with letter inside (B / M / S)
   - Shape: bordered pills (Oval / Round / Square)
   - Color: pure color circles, no text
   - Only the .selected item is highlighted
   - Out-of-stock variations are hidden
   =========================================== */

/* --- Reset bullet list & layout the row --- */
.single-product ul.variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.single-product ul.variable-items-wrapper li.variable-item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}
.single-product ul.variable-items-wrapper li.variable-item::before,
.single-product ul.variable-items-wrapper li.variable-item::marker {
  content: none !important;
  display: none !important;
}

/* --- Label styling (Pot Size / Pot Shape / Pot Color) --- */
.single-product table.variations th.label,
.single-product table.variations td.label,
.single-product .reset-variations-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--sa-green) !important;
  padding-bottom: 8px !important;
}
.single-product table.variations tr { margin-bottom: 18px; }

/* ----- BUTTON-TYPE swatches (used for both Pot Size and Pot Shape) ----- */
.single-product li.button-variable-item .variable-item-contents {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--sa-border);
  color: var(--sa-text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  transition: all .15s ease;
  box-shadow: none !important;
  cursor: pointer;
  line-height: 1;
  padding: 0 18px;
  height: 38px;
  min-width: 72px;
  border-radius: 22px;
}
.single-product li.button-variable-item:hover .variable-item-contents {
  border-color: var(--sa-terracotta);
}
/* Selected state â€” only the .selected li gets the terracotta fill */
.single-product li.button-variable-item.selected .variable-item-contents {
  background: var(--sa-terracotta);
  border-color: var(--sa-terracotta);
  color: #fff;
}

/* ----- POT SIZE â€” override the button-type to be a round circle with letter inside ----- */
.single-product ul.variable-items-wrapper[data-attribute_name="attribute_pa_size"] li .variable-item-contents {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;            /* hide the full word */
  position: relative;
}
/* Print only the first letter using ::after + attribute selector per term */
.single-product li.button-variable-item-big   .variable-item-contents::after { content: "B"; }
.single-product li.button-variable-item-medium .variable-item-contents::after { content: "M"; }
.single-product li.button-variable-item-small .variable-item-contents::after { content: "S"; }
.single-product ul.variable-items-wrapper[data-attribute_name="attribute_pa_size"] li .variable-item-contents::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: inherit;
}

/* ----- POT COLOR â€” pure color circles, no text ----- */
.single-product ul.color-variable-items-wrapper {
  gap: 12px !important;
}
.single-product li.color-variable-item .variable-item-contents {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--sa-border);
  cursor: pointer;
  transition: box-shadow .15s ease, border-color .15s ease;
  /* Plugin sets background-color inline from the hex you set per term */
}
.single-product li.color-variable-item:hover .variable-item-contents {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sa-muted);
}
/* Color selected: double-ring (NOT terracotta fill, since that would hide the color) */
.single-product li.color-variable-item.selected .variable-item-contents {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sa-terracotta) !important;
  border-color: #fff !important;
}
/* Special: White color needs a visible border (otherwise invisible on cream background) */
.single-product li.color-variable-item-white .variable-item-contents {
  border-color: #c0c0c0;
}

/* ----- DIM disabled variations instead of hiding them ----- */
.single-product li.variable-item.disabled,
.single-product li.variable-item.wvs-disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  position: relative;
}
.single-product li.variable-item.disabled .variable-item-contents,
.single-product li.variable-item.wvs-disabled .variable-item-contents {
  pointer-events: auto;
}

/* Diagonal strikethrough on disabled color circles for extra clarity */
.single-product li.color-variable-item.disabled .variable-item-contents::after,
.single-product li.color-variable-item.wvs-disabled .variable-item-contents::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255,255,255,0.9) calc(50% - 1px), rgba(255,255,255,0.9) calc(50% + 1px), transparent calc(50% + 1px));
  border-radius: 50%;
  pointer-events: none;
}

/* Only fully HIDE items that are completely out of stock across all combos */
.single-product li.variable-item.out-of-stock {
  display: none !important;
}

/* ----- "Clear" link cleanup ----- */
.single-product .reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--sa-terracotta);
}
.single-product .reset_variations:hover {
  color: var(--sa-terracotta-dark);
}
/* ===========================================
   Hide CommerceKit sticky add-to-cart bar
   until JS finishes positioning it (kills initial flash)
   =========================================== */

/* The sticky ATC wrapper renders briefly visible in the page flow
   before JS reveals/positions it. Hide it until the JS adds its
   "active" or "ready" class. */
/*.cgkit-sticky-atc-elm-wrap {*/
/*  visibility: hidden;*/
/*}*/

/* Once CommerceKit's JS marks the sticky bar as ready/active,
   make it visible. CommerceKit adds these classes after init. */
/*.cgkit-sticky-atc-elm-wrap.cgkit-sticky-active,*/
/*.cgkit-sticky-atc-elm-wrap.is-active,*/
/*.cgkit-sticky-atc-elm-wrap[style*="position"] {*/
/*  visibility: visible;*/
/*}*/

/* Failsafe: after 1 second, definitely show the sticky bar
   even if CommerceKit's class names changed in an update */
/*@keyframes show-sticky-atc {*/
/*  to { visibility: visible; }*/
/*}*/
/*.cgkit-sticky-atc-elm-wrap {*/
/*  animation: show-sticky-atc 0s linear 1s forwards;*/
/*}*/
/* ===========================================
   FIX: Pot Color swatches not displaying color
   The plugin places background-color on an inner <span>
   that is display:inline (so it collapses to 0x0).
   Make the span fill the parent circle.
   =========================================== */
.single-product li.color-variable-item .variable-item-contents {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
}
.single-product li.color-variable-item .variable-item-span,
.single-product li.color-variable-item .variable-item-span-color {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  /* The plugin sets background-color inline on this element */
}

/* ===========================================
   MOBILE: Stack product gallery & summary into a single column
   The Elementor template's two-column row doesn't reflow on mobile
   by default. Force it here so the gallery image becomes visible.
   =========================================== */

@media (max-width: 767px) {

  /* The 2-column row that holds Gallery + Summary */
  .single-product .e-con-inner {
    flex-direction: column !important;
    max-width: 100% !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  /* Each column inside the row â†’ full width on mobile */
  .single-product .e-con-inner > .elementor-element {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* Override the desktop sticky on mobile (and also turn off the inherited 100px top) */
  .single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {
    position: static !important;
    top: auto !important;
  }

  /* Gallery image: scale to viewport width */
  .single-product .woocommerce-product-gallery,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .single-product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
  }

  /* Wider Elementor ancestors: don't let anything force > viewport width */
  .single-product .elementor-element,
  .single-product .elementor-section,
  .single-product .e-con {
    max-width: 100% !important;
  }

  /* Safety net: kill horizontal scroll on the product page */
  body.single-product {
    overflow-x: hidden !important;
  }
}
/* ===========================================
   COMPACT PRODUCT SUMMARY â€” tighten vertical spacing
   =========================================== */

/* 1. Hide the redundant "Selected value name" line under each variation label */
.single-product .woo-selected-variation-item-name,
.single-product .variations .woo-selected-variation-item-name,
.single-product th.label .woo-selected-variation-item-name {
  display: none !important;
}

/* 2. Kill default <p> margins inside the summary column */
.single-product .summary p,
.single-product .product-summary p,
.single-product .e-con-inner > div p {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* 3. Kill paddings on Elementor widgets in the right column */
.single-product .e-con-inner > .elementor-element:has(form.cart) .elementor-widget,
.single-product .e-con-inner .elementor-widget:not(:has(.woocommerce-product-gallery)) {
  margin-bottom: 8px !important;
}
.single-product .elementor-widget:not(:last-child) {
  margin-block: 0 !important;
}

/* 4. Compact variation row spacing */
.single-product table.variations tr {
  margin-bottom: 10px !important;
}
.single-product table.variations th.label,
.single-product table.variations td.label {
  padding-bottom: 4px !important;
  padding-top: 0 !important;
  margin-bottom: 4px !important;
}
.single-product table.variations td.value {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 5. Compact title */
.single-product .product_title,
.single-product h1.product_title {
  margin: 0 0 8px 0 !important;
  line-height: 1.15 !important;
}

/* 6. Compact rating and "bought" rows */
.single-product .sa-rating-kyari,
.single-product .sa-rating-row,
.single-product .star-rating {
  margin: 4px 0 !important;
}
.single-product .sa-bought-last-week,
.single-product .sa-bought-row {
  margin: 4px 0 8px 0 !important;
}

/* 7. Compact price */
.single-product p.price,
.single-product .price,
.single-product .woocommerce-Price-amount {
  margin: 4px 0 !important;
}

/* 8. Compact "You Save" badge / discount area â€” target any plausible class */
.single-product .sa-save-badge,
.single-product .sa-you-save,
.single-product [class*="save"],
.single-product .sa-discount-row,
.single-product .sa-savings {
  margin: 4px 0 10px 0 !important;
}

/* 9. Variations container â€” pull the whole block up */
.single-product .variations,
.single-product .variations_form .variations {
  margin: 6px 0 8px 0 !important;
}

/* 10. Single-variation price display (after a variation is matched) */
.single-product .single_variation_wrap .woocommerce-variation-price,
.single-product .single_variation_wrap .price {
  margin: 4px 0 !important;
}

/* 11. Compact the quantity + button stack */
.single-product .quantity {
  margin: 6px 0 !important;
}
.single-product .single_add_to_cart_button {
  margin-top: 6px !important;
}
.single-product .woocommerce-variation-add-to-cart {
  margin-top: 6px !important;
}

/* 12. The "Clear" link â€” pull it tight to the swatches above it */
.single-product .reset_variations {
  margin-top: 2px !important;
}

/* 13. Kill stray <br> tags inside summary that add unwanted gaps */
.single-product .summary br,
.single-product .product-summary br {
  display: none;
}
/* ===========================================
   COMPACT FIX â€” reduce flex gap between summary widgets
   The Elementor row inside .e-con-inner uses a flex `gap`
   that creates ~20px space between EVERY widget. Override it.
   =========================================== */

@media (min-width: 768px) {

  /* Find the column that does NOT contain the gallery â€” that's the summary col.
     Reduce the flex gap between its child widgets. */
  .single-product .e-con-inner > .elementor-element:not(:has(.woocommerce-product-gallery)) {
    gap: 6px !important;
    row-gap: 6px !important;
  }

  /* Also tighten direct widget margins inside the summary column */
  .single-product .e-con-inner > .elementor-element:not(:has(.woocommerce-product-gallery)) > .elementor-element,
  .single-product .e-con-inner > .elementor-element:not(:has(.woocommerce-product-gallery)) .elementor-widget {
    margin-bottom: 0 !important;
  }

  /* Title: tighter top space */
  .single-product .product_title,
  .single-product h1.product_title {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.15 !important;
  }
}

/* ===========================================
   Hide SKU + Categories meta box on single product page
   AND tighten the gap between Plant Care row and Trust Strip
   =========================================== */

/* 1. Hide the WooCommerce product meta (SKU, Categories, Tags) block */
.single-product .elementor-element-1de1b24,
.single-product .product_meta,
.single-product .elementor-widget-woocommerce-product-meta {
  display: none !important;
}

/* 2. Tighten spacing immediately after Plant Care row â†’ Trust Strip
      (the wrapper now sits right above the trust strip) */
.single-product .elementor-element-83c037d {
  margin-bottom: 0 !important;
}
.single-product .elementor-element-4befb06 {
  margin-top: 8px !important;
}
/* ===========================================
   PLANT CARE CARDS - Ugaoo-style accordion
   =========================================== */

.single-product .elementor-element-83c037d {
  display: block !important;
  background: #ffffff;
  padding: 0 !important;
  border-radius: 12px;
  border: 0;
  margin: 8px 0 12px !important;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  column-gap: 10px;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 60px;
  margin: 0 0 8px !important;
  padding: 13px 14px !important;
  background: #ffffff !important;
  border: 1px solid #E3E8E2;
  border-radius: 8px;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card:hover {
  border-color: var(--sa-green);
  background: #FBFEF9 !important;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card:last-child {
  margin-bottom: 0 !important;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card::before {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  line-height: 1;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card::after {
  content: "\203A";
  grid-column: 3;
  grid-row: 1;
  color: var(--sa-muted);
  font-size: 22px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card.sa-care-open::after {
  transform: rotate(-90deg);
}

.single-product .elementor-element-5d812bd.sa-care-card::before { content: "\1F4A7"; }
.single-product .elementor-element-4038a3c.sa-care-card::before { content: "\2600"; }
.single-product .elementor-element-567bef1.sa-care-card::before { content: "\1F436"; }
.single-product .elementor-element-d938d58.sa-care-card::before { content: "\1F331"; }

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card > :not(.sa-care-body) {
  display: none !important;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card .sa-care-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card .sa-care-title {
  display: block;
  color: var(--sa-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card .sa-care-desc {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--sa-muted);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transition: max-height .22s ease, margin-top .22s ease, opacity .18s ease;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card.sa-care-open {
  align-items: flex-start !important;
}

.single-product .elementor-element-83c037d > .elementor-element.sa-care-card.sa-care-open .sa-care-desc {
  max-height: 140px;
  margin-top: 6px;
  opacity: 1;
}
/* ===========================================
   TRUST BANNER (Free Shipping / Easy Replacement / Safe Packaging)
   Single highlighted green banner
   =========================================== */

.single-product .elementor-element-4befb06 {
  background: linear-gradient(135deg, #F0F8E8 0%, #E5F3D9 100%) !important;
  border: 1px solid #C5E5A3;
  border-radius: 12px;
  padding: 14px 18px !important;
  margin: 8px 0 16px !important;
}

.single-product .elementor-element-4befb06 .elementor-element,
.single-product .elementor-element-4befb06 > div > .elementor-element {
  background: transparent !important;
  border: none !important;
  padding: 0 12px !important;
  margin: 0 !important;
}

.single-product .elementor-element-4befb06 .elementor-icon-box-title,
.single-product .elementor-element-4befb06 h3,
.single-product .elementor-element-4befb06 strong {
  color: var(--sa-green) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.single-product .elementor-element-4befb06 .elementor-icon-box-description,
.single-product .elementor-element-4befb06 p {
  font-size: 12px !important;
  color: var(--sa-muted) !important;
  margin: 2px 0 0 0 !important;
  line-height: 1.3 !important;
}

/* ===========================================
   TRUST STRIP — animated premium cards
   =========================================== */
.sa-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.sa-trust-item {
  position: relative;
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: sa-trust-rise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  will-change: transform, box-shadow;
}

/* Staggered entrance — each card appears after the previous */
.sa-trust-item:nth-child(1) { animation-delay: 0.05s; }
.sa-trust-item:nth-child(2) { animation-delay: 0.2s; }
.sa-trust-item:nth-child(3) { animation-delay: 0.35s; }

@keyframes sa-trust-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft tinted background per category */
.sa-trust-item--shipping {
  background: linear-gradient(135deg, #fffaf3 0%, #ffeed8 100%);
  border-color: #f5d9b0;
}
.sa-trust-item--replacement {
  background: linear-gradient(135deg, #f4faff 0%, #d8ecfb 100%);
  border-color: #b8d6ea;
}
.sa-trust-item--packaging {
  background: linear-gradient(135deg, #f5fbf3 0%, #d8ecd2 100%);
  border-color: #b8d4ae;
}

/* Diagonal shine sweep on hover */
.sa-trust-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sa-trust-item:hover::before {
  left: 130%;
}

/* Pulsing "live" dot in top right corner */
.sa-trust-item::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e8b4a;
  box-shadow: 0 0 0 0 rgba(46, 139, 74, 0.5);
  animation: sa-trust-pulse 2.4s ease-in-out infinite;
}
.sa-trust-item--shipping::after    { background: #e88a3c; box-shadow: 0 0 0 0 rgba(232, 138, 60, 0.5); }
.sa-trust-item--replacement::after { background: #2a87c8; box-shadow: 0 0 0 0 rgba(42, 135, 200, 0.5); }
.sa-trust-item--packaging::after   { background: #2e8b4a; box-shadow: 0 0 0 0 rgba(46, 139, 74, 0.5); }

@keyframes sa-trust-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%      { box-shadow: 0 0 0 8px transparent; opacity: 0.7; }
}

/* Hover lift + colored glow */
.sa-trust-item:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.sa-trust-item--shipping:hover    { box-shadow: 0 8px 20px rgba(232, 138, 60, 0.22); }
.sa-trust-item--replacement:hover { box-shadow: 0 8px 20px rgba(42, 135, 200, 0.22); }
.sa-trust-item--packaging:hover   { box-shadow: 0 8px 20px rgba(46, 139, 74, 0.22); }

/* Icon container */
.sa-trust-icon {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sa-trust-item--shipping .sa-trust-icon    { background: #FFE1C2; }
.sa-trust-item--replacement .sa-trust-icon { background: #CFE6F5; }
.sa-trust-item--packaging .sa-trust-icon   { background: #D2EAC9; }

.sa-trust-item:hover .sa-trust-icon {
  transform: scale(1.08);
}

/* Per-icon idle animations */
.sa-trust-item--shipping .sa-trust-icon {
  animation: sa-truck-drift 3.2s ease-in-out infinite;
}
.sa-trust-item--replacement .sa-trust-icon {
  animation: sa-refresh-spin 5s linear infinite;
}
.sa-trust-item--packaging .sa-trust-icon {
  animation: sa-box-bounce 2.6s ease-in-out infinite;
}

@keyframes sa-truck-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
@keyframes sa-refresh-spin {
  to { transform: rotate(360deg); }
}
@keyframes sa-box-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Pause idle animations on hover so the hover scale wins cleanly */
.sa-trust-item:hover .sa-trust-icon {
  animation-play-state: paused;
}

/* Text styling */
.sa-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.sa-trust-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--sa-green);
  letter-spacing: -0.01em;
}
.sa-trust-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--sa-muted);
  margin-top: 2px;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sa-trust-item,
  .sa-trust-item .sa-trust-icon,
  .sa-trust-item::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .sa-trust-item::before { display: none; }
}

/* ===========================================
   BULK DISCOUNT CALL-TO-ACTION BAR
   =========================================== */
.sa-bulk-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sa-green);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 999px;
  margin: 8px 0 16px;
  transition: background .15s ease, transform .15s ease;
  text-align: center;
  line-height: 1.3;
}
.sa-bulk-cta:hover {
  background: var(--sa-green-dark, #143728);
  color: #fff !important;
  transform: translateY(-1px);
}
.sa-bulk-cta strong {
  font-weight: 700;
  color: #fff;
}
.sa-bulk-cta .sa-bulk-phone {
  font-weight: 700;
  white-space: nowrap;
}


/* ===========================================
   GENERIC ACCORDION (used by Refund + FAQ)
   High-specificity overrides to beat global button styles
   =========================================== */
.single-product .sa-accordion {
  border-top: 1px solid var(--sa-border);
  margin: 16px 0;
}
.single-product .sa-accordion__item {
  border-bottom: 1px solid var(--sa-border);
}
.single-product button.sa-accordion__header,
.single-product .sa-accordion__header {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 16px 4px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--sa-text) !important;
  text-align: left !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  transition: color .15s ease;
  min-width: 0;
  min-height: auto !important;
  line-height: 1.3 !important;
  transform: none !important;
}
.single-product button.sa-accordion__header:hover,
.single-product .sa-accordion__header:hover {
  color: var(--sa-green) !important;
  background: transparent !important;
  background-color: transparent !important;
  transform: none !important;
}
.single-product .sa-accordion__toggle {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-muted);
  transition: transform .25s ease;
  font-size: 14px;
}
.single-product .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle {
  transform: rotate(180deg);
  color: var(--sa-green);
}
.single-product .sa-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.single-product .sa-accordion__body-inner {
  padding: 0 4px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sa-muted);
}
.single-product .sa-accordion__body-inner p { margin: 0 0 10px; }
.single-product .sa-accordion__body-inner p:last-child { margin-bottom: 0; }
.single-product .sa-accordion__body-inner ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.single-product .sa-accordion__body-inner li { margin-bottom: 4px; }
.single-product .sa-accordion__item.is-open > .sa-accordion__body {
  max-height: 3000px;
}

/* Nested accordion (used inside FAQs) — slightly smaller header, no uppercase */
.single-product .sa-accordion--nested {
  margin: 0;
  border-top: none;
}
.single-product .sa-accordion--nested .sa-accordion__item:first-child {
  border-top: 1px solid var(--sa-border);
}
.single-product .sa-accordion--nested .sa-accordion__item:last-child {
  border-bottom: none;
}
.single-product .sa-accordion__header--sub {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 12px 4px !important;
}

/* ===========================================
   POLICIES + FAQS - refined product-page accordion
   =========================================== */
.single-product .sa-accordion {
  border-top: 0 !important;
  margin: 14px 0 18px !important;
  font-family: 'Inter', sans-serif;
}

.single-product .sa-accordion > .sa-accordion__item {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E5E0D7 !important;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(28, 42, 34, 0.05);
}

.single-product button.sa-accordion__header,
.single-product .sa-accordion__header {
  min-height: 52px !important;
  padding: 15px 18px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--sa-text) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.single-product button.sa-accordion__header:hover,
.single-product .sa-accordion__header:hover {
  background: #FBF8F3 !important;
  background-color: #FBF8F3 !important;
  color: var(--sa-green-dark) !important;
}

.single-product .sa-accordion__toggle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  background: #EEF4EE;
  color: transparent !important;
  font-size: 0 !important;
  position: relative;
  transform: none !important;
}

.single-product .sa-accordion__toggle::before,
.single-product .sa-accordion__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--sa-green);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.single-product .sa-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.single-product .sa-accordion__item.is-open > .sa-accordion__header {
  background: #F7FBF3 !important;
  background-color: #F7FBF3 !important;
  color: var(--sa-green-dark) !important;
}

.single-product .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle {
  background: var(--sa-green);
  transform: none !important;
}

.single-product .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle::before,
.single-product .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle::after {
  background: #ffffff;
}

.single-product .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle::after {
  opacity: 0;
}

.single-product .sa-accordion__body {
  background: #ffffff;
}

.single-product .sa-accordion__body-inner {
  padding: 2px 18px 18px !important;
  color: var(--sa-muted);
  font-size: 14px;
  line-height: 1.65;
}

.single-product .sa-accordion__body-inner strong {
  color: var(--sa-green-dark);
  font-weight: 700;
}

.single-product .sa-accordion__body-inner a {
  color: var(--sa-green);
  font-weight: 600;
  text-decoration: none;
}

.single-product .sa-accordion__body-inner a:hover {
  color: var(--sa-terracotta-dark);
  text-decoration: underline;
}

.single-product .sa-accordion__body-inner ul {
  padding-left: 0 !important;
  list-style: none;
}

.single-product .sa-accordion__body-inner li {
  position: relative;
  margin: 7px 0 !important;
  padding-left: 20px;
}

.single-product .sa-accordion__body-inner li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sa-green);
}

.single-product .sa-accordion--nested {
  display: grid;
  gap: 8px;
  margin: 2px 0 0 !important;
  border-top: 0 !important;
}

.single-product .sa-accordion--nested .sa-accordion__item,
.single-product .sa-accordion--nested .sa-accordion__item:first-child,
.single-product .sa-accordion--nested .sa-accordion__item:last-child {
  overflow: hidden;
  background: #FBFAF7;
  border: 1px solid #ECE6DC !important;
  border-radius: 8px;
  box-shadow: none;
}

.single-product .sa-accordion--nested .sa-accordion__header--sub {
  min-height: 48px !important;
  padding: 13px 14px !important;
  background: #FBFAF7 !important;
  background-color: #FBFAF7 !important;
  color: var(--sa-text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.single-product .sa-accordion--nested .sa-accordion__header--sub:hover,
.single-product .sa-accordion--nested .sa-accordion__item.is-open > .sa-accordion__header--sub {
  background: #F2F7EF !important;
  background-color: #F2F7EF !important;
}

.single-product .sa-accordion--nested .sa-accordion__body-inner {
  padding: 0 14px 14px !important;
  font-size: 13.5px;
}

@media (max-width: 767px) {
  .single-product .sa-accordion {
    margin: 12px 0 14px !important;
  }

  .single-product button.sa-accordion__header,
  .single-product .sa-accordion__header {
    padding: 14px 14px !important;
    font-size: 14px !important;
  }

  .single-product .sa-accordion__body-inner {
    padding: 0 14px 16px !important;
  }
}

/* Keep FAQ questions visually quieter than the main FAQ heading */
.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close),
.single-product .sa-accordion .sa-accordion--nested .sa-accordion__header.sa-accordion__header--sub {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--sa-text) !important;
  border: 1px solid #E8E2D8 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  padding: 13px 16px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  background: #F7FBF3 !important;
  background-color: #F7FBF3 !important;
  color: var(--sa-green-dark) !important;
  border-color: #CADCC4 !important;
}

.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.single-product .sa-accordion .sa-accordion--nested .sa-accordion__body {
  margin-top: -8px;
  background: #ffffff;
  border: 1px solid #E8E2D8;
  border-top: 0;
  border-radius: 0 0 9px 9px;
}

/* Compact the trust, bulk, policy, and FAQ stack */
.single-product .sa-trust-strip {
  gap: 10px !important;
  margin: 8px 0 10px !important;
}

.single-product .sa-trust-item {
  gap: 10px !important;
  padding: 12px 13px !important;
  border-radius: 10px !important;
}

.single-product .sa-trust-icon {
  width: 38px !important;
  height: 38px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.single-product .sa-trust-title {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.single-product .sa-trust-sub {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin-top: 1px !important;
}

.single-product .sa-bulk-cta {
  margin: 8px 0 10px !important;
  padding: 12px 20px !important;
}

.single-product .sa-accordion {
  margin: 10px 0 12px !important;
}

.single-product .sa-accordion + .sa-accordion {
  margin-top: 10px !important;
}

.single-product .sa-accordion > .sa-accordion__item {
  box-shadow: 0 3px 12px rgba(28, 42, 34, 0.04) !important;
}

.single-product button.sa-accordion__header,
.single-product .sa-accordion__header {
  min-height: 50px !important;
  padding: 13px 18px !important;
}

/* FAQ question rows: light cream, not pure white */
.single-product .sa-accordion .sa-accordion--nested {
  gap: 7px !important;
}

.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close),
.single-product .sa-accordion .sa-accordion--nested .sa-accordion__header.sa-accordion__header--sub {
  min-height: 46px !important;
  background: #FCF8F1 !important;
  background-color: #FCF8F1 !important;
  border-color: #EEE5D8 !important;
  color: var(--sa-text) !important;
}

.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  background: #F3F8EE !important;
  background-color: #F3F8EE !important;
  border-color: #CADCC4 !important;
}

.single-product .sa-accordion .sa-accordion--nested .sa-accordion__body {
  background: #FCF8F1 !important;
  border-color: #EEE5D8 !important;
}
/* ===========================================
   Description / Additional Info / Reviews accordion bodies
   The accordion shell already styled. This is just the content inside.
   =========================================== */

/* Rich-text accordion body — for Description and Reviews */
.single-product .sa-accordion__body-inner--rich {
  color: var(--sa-text);
  font-size: 14px;
  line-height: 1.65;
}
.single-product .sa-accordion__body-inner--rich h2,
.single-product .sa-accordion__body-inner--rich h3,
.single-product .sa-accordion__body-inner--rich h4 {
  color: var(--sa-green);
  font-family: 'Inter', sans-serif;
  margin: 16px 0 8px;
  line-height: 1.3;
}
.single-product .sa-accordion__body-inner--rich h2 { font-size: 18px; font-weight: 700; }
.single-product .sa-accordion__body-inner--rich h3 { font-size: 16px; font-weight: 600; }
.single-product .sa-accordion__body-inner--rich h4 { font-size: 15px; font-weight: 600; }
.single-product .sa-accordion__body-inner--rich p { margin: 0 0 10px; }
.single-product .sa-accordion__body-inner--rich ul,
.single-product .sa-accordion__body-inner--rich ol {
  margin: 0 0 12px;
  padding-left: 22px;
}
.single-product .sa-accordion__body-inner--rich li { margin-bottom: 4px; }
.single-product .sa-accordion__body-inner--rich a {
  color: var(--sa-terracotta);
  text-decoration: underline;
}
.single-product .sa-accordion__body-inner--rich strong { color: var(--sa-text); }

/* Additional Information table */
.single-product .sa-attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.single-product .sa-attributes-table tr {
  border-bottom: 1px solid var(--sa-border);
}
.single-product .sa-attributes-table tr:last-child {
  border-bottom: none;
}
.single-product .sa-attributes-table th {
  text-align: left;
  padding: 10px 12px 10px 0;
  font-weight: 600;
  color: var(--sa-green);
  width: 35%;
  vertical-align: top;
}
.single-product .sa-attributes-table td {
  padding: 10px 0;
  color: var(--sa-muted);
  vertical-align: top;
}

/* For longer accordion content (Description, Reviews), allow more height */
.single-product .sa-accordion__item.is-open > .sa-accordion__body {
  max-height: 8000px;
}

/* Reviews-specific styling fixes within accordion */
.single-product .sa-accordion__body-inner #reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-product .sa-accordion__body-inner #reviews .comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--sa-border);
}
.single-product .sa-accordion__body-inner #review_form {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sa-border);
}
.single-product .sa-accordion__body-inner h2 + .comment_count,
.single-product .sa-accordion__body-inner .woocommerce-Reviews-title {
  display: none; /* hide redundant "Reviews" title — accordion header already shows it */
}
/* ===========================================
   REVIEWS — Ugaoo-style standalone section
   =========================================== */
.single-product .sa-reviews {
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  font-family: 'Inter', sans-serif;
}
.single-product .sa-reviews__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--sa-green);
}

/* Summary header row */
.single-product .sa-reviews__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sa-border);
  margin-bottom: 20px;
}

/* Average score block */
.single-product .sa-reviews__score {
  text-align: center;
}
.single-product .sa-reviews__score-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--sa-text);
  line-height: 1;
}
.single-product .sa-reviews__score-stars {
  margin: 6px 0 4px;
  font-size: 18px;
  letter-spacing: 2px;
}
.single-product .sa-reviews__score-count {
  font-size: 12px;
  color: var(--sa-muted);
}

/* Stars */
.single-product .sa-star {
  display: inline-block;
  color: #E0E0E0;
  line-height: 1;
}
.single-product .sa-star--full  { color: #F5A623; }
.single-product .sa-star--half  {
  position: relative;
  color: #E0E0E0;
}
.single-product .sa-star--half::before {
  content: '★';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #F5A623;
}

/* Star breakdown bars */
.single-product .sa-reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.single-product .sa-bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 32px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sa-muted);
}
.single-product .sa-bar-label {
  color: var(--sa-text);
  font-weight: 500;
}
.single-product .sa-bar-track {
  height: 8px;
  background: #F0F0F0;
  border-radius: 4px;
  overflow: hidden;
}
.single-product .sa-bar-fill {
  height: 100%;
  background: #F5A623;
  border-radius: 4px;
  transition: width .4s ease;
}
.single-product .sa-bar-count {
  text-align: right;
  font-size: 12px;
}

/* Write a Review CTA */
.single-product .sa-reviews__cta {
  display: inline-block;
  padding: 12px 22px;
  background: var(--sa-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.single-product .sa-reviews__cta:hover {
  background: var(--sa-green-dark, #143728);
  transform: translateY(-1px);
}

/* Review cards */
.single-product .sa-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.single-product .sa-review-card {
  padding: 16px;
  background: #FAFAFA;
  border-radius: 10px;
  border: 1px solid #ECEFF1;
}
.single-product .sa-review-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.single-product .sa-review-card__avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.single-product .sa-review-card__meta {
  flex: 1 1 auto;
  min-width: 0;
}
.single-product .sa-review-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--sa-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.single-product .sa-verified {
  font-size: 11px;
  font-weight: 500;
  color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 8px;
  border-radius: 999px;
}
.single-product .sa-review-card__sub {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  font-size: 12px;
  color: var(--sa-muted);
}
.single-product .sa-review-card__stars {
  font-size: 14px;
  letter-spacing: 1px;
}
.single-product .sa-review-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sa-text);
}
.single-product .sa-review-card__body p { margin: 0 0 8px; }
.single-product .sa-review-card__body p:last-child { margin-bottom: 0; }

/* Load more button */
.single-product .sa-reviews__loadmore-wrap {
  text-align: center;
  margin-top: 16px;
}
.single-product .sa-reviews__loadmore {
  background: transparent !important;
  border: 1.5px solid var(--sa-green) !important;
  color: var(--sa-green) !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.single-product .sa-reviews__loadmore:hover {
  background: var(--sa-green) !important;
  color: #fff !important;
}

/* Review form wrapper */
.single-product .sa-review-form-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sa-border);
}
.single-product .sa-review-form-wrap #reviews .commentlist {
  display: none; /* hide native comment list, we render our own cards above */
}

/* Mobile: stack summary cleanly */
@media (max-width: 767px) {
  .single-product .sa-reviews {
    padding: 16px;
  }
  .single-product .sa-reviews__summary {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .single-product .sa-reviews__score-number { font-size: 36px; }
  .single-product .sa-reviews__cta-wrap { text-align: center; }
}
/* ===========================================
   FINAL HAMMER: force accordion buttons to white
   Beats any global button styles via maximum specificity
   =========================================== */
html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: var(--sa-text) !important;
  border: 1px solid var(--sa-border) !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
  margin: 0 0 8px 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  width: 100% !important;
  transition: border-color .15s ease, color .15s ease !important;
}
html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover {
  background: #fff !important;
  background-color: #fff !important;
  color: var(--sa-green) !important;
  border-color: var(--sa-green) !important;
  transform: none !important;
}
html body.single-product .sa-accordion {
  border-top: none !important;
}
html body.single-product .sa-accordion__item {
  border-bottom: none !important;
}
/* Plus-sign toggle look (matches Ugaoo's "+ / -" style) */
html body.single-product .sa-accordion__toggle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #F5F5F5 !important;
  color: var(--sa-text) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
html body.single-product .sa-accordion__toggle::before {
  content: '+';
}
html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle::before {
  content: '−';
}
html body.single-product .sa-accordion__toggle {
  font-size: 0 !important;
}
html body.single-product .sa-accordion__toggle::before {
  font-size: 18px;
  display: block;
}
html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle {
  transform: none !important; /* override the rotate from earlier rule, since we're using +/- swap instead */
}

/* ===========================================
   FINAL PRODUCT INFO REDESIGN - modern cards + chevrons
   =========================================== */
html body.single-product .sa-accordion {
  margin: 12px 0 14px !important;
  border: 0 !important;
}

html body.single-product .sa-accordion > .sa-accordion__item {
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #E8E2D8 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(28, 42, 34, 0.06) !important;
}

html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 16px 18px 16px 20px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%) !important;
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%) !important;
  color: var(--sa-text) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.25 !important;
}

html body.single-product button.sa-accordion__header > span:first-child,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

html body.single-product button.sa-accordion__header > span:first-child::before,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child::before {
  content: "";
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: var(--sa-green);
  box-shadow: 0 0 0 4px rgba(47, 93, 58, 0.08);
}

html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header {
  background: #F6FAF2 !important;
  background-color: #F6FAF2 !important;
  background-image: none !important;
  color: var(--sa-green-dark) !important;
  border: 0 !important;
  transform: none !important;
}

html body.single-product .sa-accordion__toggle {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #EEF5EA !important;
  border: 1px solid #D7E5D1 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}

html body.single-product .sa-accordion__toggle::before {
  content: "" !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid var(--sa-green-dark) !important;
  border-bottom: 2px solid var(--sa-green-dark) !important;
  transform: translateY(-2px) rotate(45deg) !important;
  transition: transform .18s ease !important;
}

html body.single-product .sa-accordion__toggle::after {
  display: none !important;
  content: none !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle {
  background: var(--sa-green) !important;
  border-color: var(--sa-green) !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle::before {
  border-color: #ffffff !important;
  transform: translateY(2px) rotate(225deg) !important;
}

html body.single-product .sa-accordion__body {
  background: #ffffff !important;
  border-top: 1px solid #EEF0EA !important;
}

html body.single-product .sa-accordion__body-inner {
  padding: 18px 22px 22px !important;
  color: var(--sa-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

html body.single-product .sa-accordion__body-inner--rich {
  color: var(--sa-text) !important;
}

html body.single-product .sa-accordion__body-inner--rich p,
html body.single-product .sa-accordion__body-inner p {
  margin-bottom: 10px !important;
}

html body.single-product .sa-accordion .sa-accordion--nested {
  gap: 8px !important;
  margin: 0 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub {
  min-height: 48px !important;
  padding: 13px 14px 13px 16px !important;
  background: #FBF6EC !important;
  background-color: #FBF6EC !important;
  background-image: none !important;
  border: 1px solid #EEE2D1 !important;
  border-radius: 11px !important;
  color: var(--sa-text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub > span:first-child::before {
  display: none !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  background: #F2F8ED !important;
  background-color: #F2F8ED !important;
  border-color: #CFE0C8 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__body {
  margin: -9px 0 0 !important;
  background: #FFFCF6 !important;
  border: 1px solid #EEE2D1 !important;
  border-top: 0 !important;
  border-radius: 0 0 11px 11px !important;
}

html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__body-inner {
  padding: 14px 16px 16px !important;
  font-size: 13.5px !important;
}

html body.single-product .sa-review-card--hidden {
  display: none !important;
}

html body.single-product .sa-reviews__loadmore {
  min-width: 190px;
  background: var(--sa-green) !important;
  border-color: var(--sa-green) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(47, 93, 58, 0.14) !important;
}

html body.single-product .sa-reviews__loadmore:hover {
  background: var(--sa-green-dark) !important;
  border-color: var(--sa-green-dark) !important;
}

@media (max-width: 767px) {
  html body.single-product button.sa-accordion__header,
  html body.single-product .sa-accordion button.sa-accordion__header {
    min-height: 54px !important;
    padding: 14px 14px 14px 16px !important;
  }

  html body.single-product .sa-accordion__body-inner {
    padding: 16px !important;
  }
}

/* Readability reset: product info accordions, no terracotta treatment */
html body.single-product .sa-accordion > .sa-accordion__item {
  background: #ffffff !important;
  border: 1px solid #DDE8D8 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(28, 42, 34, 0.05) !important;
}

html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header,
html body.single-product button.sa-accordion__header:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #1C2A22 !important;
  border: 0 !important;
  border-radius: 10px !important;
  min-height: 54px !important;
  padding: 15px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html body.single-product button.sa-accordion__header *,
html body.single-product .sa-accordion button.sa-accordion__header * {
  color: #1C2A22 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body.single-product button.sa-accordion__header > span:first-child,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child {
  color: #1C2A22 !important;
  gap: 0 !important;
}

html body.single-product button.sa-accordion__header > span:first-child::before,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child::before {
  display: none !important;
  content: none !important;
}

html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header {
  background: #F4FAF1 !important;
  background-color: #F4FAF1 !important;
  color: var(--sa-green-dark) !important;
}

html body.single-product button.sa-accordion__header:hover *,
html body.single-product .sa-accordion button.sa-accordion__header:hover *,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header * {
  color: var(--sa-green-dark) !important;
}

html body.single-product .sa-accordion__toggle,
html body.single-product button.sa-accordion__header .sa-accordion__toggle {
  background: #EEF7EA !important;
  border: 1px solid #CFE0C8 !important;
  color: transparent !important;
}

html body.single-product .sa-accordion__toggle::before {
  border-color: var(--sa-green-dark) !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle {
  background: var(--sa-green) !important;
  border-color: var(--sa-green) !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle::before {
  border-color: #ffffff !important;
}

/* Final visual direction: modern terracotta accordions + readable ratings */
html body.single-product .sa-accordion {
  margin: 12px 0 14px !important;
}

html body.single-product .sa-accordion > .sa-accordion__item {
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(201, 123, 74, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(28, 42, 34, 0.07) !important;
}

html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header,
html body.single-product button.sa-accordion__header:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close) {
  min-height: 58px !important;
  margin: 0 !important;
  padding: 16px 18px 16px 20px !important;
  background: linear-gradient(135deg, #C97B4A 0%, #B96E43 100%) !important;
  background-color: #C97B4A !important;
  background-image: linear-gradient(135deg, #C97B4A 0%, #B96E43 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.12) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html body.single-product button.sa-accordion__header *,
html body.single-product .sa-accordion button.sa-accordion__header * {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header {
  background: linear-gradient(135deg, #B96E43 0%, #A9603B 100%) !important;
  background-color: #B96E43 !important;
  background-image: linear-gradient(135deg, #B96E43 0%, #A9603B 100%) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body.single-product button.sa-accordion__header:hover *,
html body.single-product .sa-accordion button.sa-accordion__header:hover *,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header * {
  color: #ffffff !important;
}

html body.single-product button.sa-accordion__header > span:first-child::before,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child::before {
  display: none !important;
  content: none !important;
}

html body.single-product .sa-accordion__toggle,
html body.single-product button.sa-accordion__header .sa-accordion__toggle {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: transparent !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

html body.single-product .sa-accordion__toggle::before {
  border-color: #ffffff !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

html body.single-product .sa-accordion__body {
  background: #FFFCF7 !important;
  border-top: 1px solid rgba(201, 123, 74, 0.16) !important;
}

html body.single-product .sa-accordion__body-inner {
  color: var(--sa-text) !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub {
  background: #FDF3EA !important;
  background-color: #FDF3EA !important;
  background-image: none !important;
  color: #1C2A22 !important;
  border: 1px solid rgba(201, 123, 74, 0.22) !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub * {
  color: #1C2A22 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub .sa-accordion__toggle {
  background: #ffffff !important;
  border-color: rgba(201, 123, 74, 0.3) !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub .sa-accordion__toggle::before {
  border-color: var(--sa-terracotta-dark) !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  background: #F8E8D9 !important;
  background-color: #F8E8D9 !important;
  border-color: rgba(201, 123, 74, 0.36) !important;
}

html body.single-product .star-rating,
html body.single-product .star-rating::before,
html body.single-product .star-rating span::before,
html body.single-product .woocommerce .star-rating,
html body.single-product .woocommerce .star-rating::before,
html body.single-product .woocommerce .star-rating span::before {
  color: #F5A623 !important;
}

html body.single-product .sa-rating-stars,
html body.single-product .sa-star-full,
html body.single-product .sa-star-half,
html body.single-product .sa-reviews__score-stars,
html body.single-product .sa-review-card__stars,
html body.single-product .sa-star--full {
  color: #F5A623 !important;
}

html body.single-product .sa-star-empty {
  color: #D8D2C8 !important;
}

html body.single-product .sa-rating-number {
  color: var(--sa-text) !important;
  font-weight: 700 !important;
}

html body.single-product .sa-rating-count {
  color: var(--sa-muted) !important;
  font-weight: 500 !important;
}

/* Match Add to Cart treatment: terracotta headers with pure white text */
html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header {
  background: var(--sa-terracotta) !important;
  background-color: var(--sa-terracotta) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html body.single-product button.sa-accordion__header > span:first-child,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child,
html body.single-product button.sa-accordion__header span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion button.sa-accordion__header span:not(.sa-accordion__toggle) {
  color: #ffffff !important;
  font-weight: 700 !important;
}

html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header {
  background: var(--sa-terracotta-dark) !important;
  background-color: var(--sa-terracotta-dark) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html body.single-product button.sa-accordion__header:hover span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion button.sa-accordion__header:hover span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header span:not(.sa-accordion__toggle) {
  color: #ffffff !important;
}

/* Compact spacing + white plus/minus icon for terracotta accordions */
html body.single-product .sa-bulk-cta {
  margin: 6px 0 8px !important;
}

html body.single-product .sa-accordion {
  margin: 8px 0 10px !important;
}

html body.single-product .sa-accordion + .sa-accordion {
  margin-top: 8px !important;
}

html body.single-product .sa-accordion > .sa-accordion__item {
  border-radius: 12px !important;
  box-shadow: 0 5px 14px rgba(28, 42, 34, 0.06) !important;
}

html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header {
  min-height: 50px !important;
  padding: 13px 14px 13px 18px !important;
  border-radius: 12px !important;
}

html body.single-product .sa-accordion__toggle,
html body.single-product button.sa-accordion__header .sa-accordion__toggle {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: transparent !important;
  font-size: 0 !important;
}

html body.single-product .sa-accordion__toggle::before,
html body.single-product .sa-accordion__toggle::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 12px !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
}

html body.single-product .sa-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle::after {
  opacity: 0 !important;
}

html body.single-product .sa-accordion__body-inner {
  padding: 14px 18px 18px !important;
}

html body.single-product .sa-reviews {
  margin-top: 10px !important;
}

/* Nested FAQ questions stay dark on hover/open */
html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub,
html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  color: #1C2A22 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub span:not(.sa-accordion__toggle) {
  color: #1C2A22 !important;
}

/* ===========================================
   COMPARISON TABLE — "Why Choose Surekha?"
   Surekha vs Local Nurseries vs Others
   =========================================== */
.single-product .sa-compare {
  margin: 24px 0;
  font-family: 'Inter', sans-serif;
}
.single-product .sa-compare__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--sa-green);
  margin: 0 0 20px;
}

.single-product .sa-compare__table {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: visible; /* allow hero column to overflow the top */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 14px; /* room for hero tab to lift */
}

/* Header row */
.single-product .sa-compare__header {
  display: grid;
  grid-template-columns: minmax(110px, 1.1fr) 1.4fr 1.4fr 1.4fr;
  background: var(--sa-green);
  color: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  position: relative;
}
.single-product .sa-compare__head {
  padding: 18px 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.single-product .sa-compare__head--row-label {
  background: transparent;
}
.single-product .sa-compare__head--side {
  background: var(--sa-green);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
}

/* Hero header (Surekha) — raised + brighter */
.single-product .sa-compare__head--hero {
  background: #2E8B49; /* brighter green */
  position: relative;
  margin-top: -14px;       /* lift above */
  margin-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.06);
  padding: 22px 14px 18px;
  z-index: 2;
}
.single-product .sa-compare__hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.single-product .sa-compare__hero-leaf {
  font-size: 18px;
}
.single-product .sa-compare__hero-name {
  letter-spacing: 0.02em;
}

/* Data rows */
.single-product .sa-compare__row {
  display: grid;
  grid-template-columns: minmax(110px, 1.1fr) 1.4fr 1.4fr 1.4fr;
  border-bottom: 1px solid #F0EDE3;
  background: #FAF9F6;
}
.single-product .sa-compare__row:nth-child(even) {
  background: #fff;
}
.single-product .sa-compare__row--last {
  border-bottom: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

/* Cells */
.single-product .sa-compare__cell {
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--sa-text);
}
.single-product .sa-compare__cell--label {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--sa-text);
  padding-left: 24px;
}

/* Surekha (hero) cells — green tint */
.single-product .sa-compare__cell--hero {
  background: #43A05A;
  color: #fff;
  font-weight: 500;
}
.single-product .sa-compare__row:nth-child(even) .sa-compare__cell--hero {
  background: #4DAE65; /* slightly lighter for alternating */
}
.single-product .sa-compare__cell--hero .sa-compare__text {
  color: #fff;
  font-weight: 600;
}

/* Icons */
.single-product .sa-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.single-product .sa-icon--check {
  background: #FFD93D;
  color: var(--sa-green);
}
.single-product .sa-icon--x {
  background: transparent;
  color: #C45656;
  font-size: 16px;
}
.single-product .sa-icon--tilde,
.single-product .sa-icon--\~,
.single-product .sa-compare__cell .sa-icon[class*="--~"] {
  background: transparent;
  color: var(--sa-muted);
  font-size: 18px;
  font-weight: 400;
}

/* Yellow badge under Surekha cells */
.single-product .sa-compare__badge {
  display: inline-block;
  background: #FFD93D;
  color: var(--sa-green);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
  /* Price row — emphasize text since there's no icon */
.single-product .sa-compare__row:last-child .sa-compare__text {
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.single-product .sa-compare__row:last-child .sa-compare__cell--side .sa-compare__text {
  color: var(--sa-muted);
}
.single-product .sa-compare__row:last-child .sa-compare__cell--hero .sa-compare__text {
  color: #fff;
}

/* Rows with only an icon (e.g. One-stop garden shop) — center the icon */
.single-product .sa-compare__cell--side:has(.sa-icon:only-child) {
  justify-content: center;
}
}

/* ===========================================
   MOBILE: stack into 3 mini-tables OR keep horizontal scroll
   For simplicity, keep grid but reduce gap & font
   =========================================== */
@media (max-width: 767px) {
  .single-product .sa-compare__title {
    font-size: 18px;
  }
  .single-product .sa-compare__header,
  .single-product .sa-compare__row {
    grid-template-columns: minmax(80px, 1fr) 1fr 1.2fr 1fr;
  }
  .single-product .sa-compare__head {
    padding: 14px 6px;
    font-size: 13px;
  }
  .single-product .sa-compare__head--hero {
    padding: 18px 8px 14px;
  }
  .single-product .sa-compare__hero-inner {
    font-size: 14px;
    flex-direction: column;
    gap: 2px;
  }
  .single-product .sa-compare__cell {
    padding: 14px 6px;
    font-size: 12px;
    gap: 6px;
  }
  .single-product .sa-compare__cell--label {
    padding-left: 8px;
    font-size: 13px;
    text-align: left;
    line-height: 1.3;
  }
  .single-product .sa-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .single-product .sa-compare__badge {
    font-size: 10px;
    padding: 3px 6px;
  }
}


/* ===========================================================
   MOBILE ONLY — fix tags & title overlapping product image
   + in-place animated pulse for product tag pills
   =========================================================== */
@media (max-width: 768px) {

    .single-product .e-con:has(.woocommerce-product-gallery),
    .single-product .e-con-inner:has(.woocommerce-product-gallery) {
        overflow: visible !important;
    }

    /* 1. Keep the gallery sticky on mobile while preserving its page space. */
    .single-product .elementor-element-e264f5e,
    .single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {
        position: sticky !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        display: block !important;
        clear: both !important;
        align-self: flex-start !important;
        margin-bottom: 18px !important;
        overflow: visible !important;
        z-index: 5 !important;
        background: #FAF9F6 !important;
    }

    .single-product .woocommerce-product-gallery {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        clear: both !important;
        overflow: hidden !important;
        z-index: 5 !important;
        background: #FAF9F6 !important;
    }

    .single-product .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .single-product .woocommerce-product-gallery__wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .single-product .woocommerce-product-gallery__image {
        position: relative !important;
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        overflow: hidden !important;
        clear: both !important;
    }

    .single-product .woocommerce-product-gallery__image a,
    .single-product .woocommerce-product-gallery__image img,
    .single-product .woocommerce-product-gallery img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .single-product .elementor-element-a0510b7,
    .single-product .e-con-inner:has(> .elementor-element .woocommerce-product-gallery) > .elementor-element:not(:has(.woocommerce-product-gallery)) {
        position: relative !important;
        transform: none !important;
        inset: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        display: block !important;
        clear: both !important;
        margin-top: 0 !important;
        z-index: 3 !important;
        background: #FAF9F6 !important;
    }

    .single-product .elementor-widget-shortcode:has(.sa-product-tags) {
        position: relative !important;
        transform: none !important;
        inset: auto !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px 0 !important;
        z-index: 4 !important;
    }

    /* 2. Tags wrapper — kill any absolute positioning, force flow below image,
          allow wrapping if too wide. */
    .single-product .sa-product-tags,
    .sa-product-tags {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        align-items: center !important;
        margin: 0 0 14px 0 !important;
        padding: 4px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
        z-index: 4 !important;
    }

    /* 3. Each pill — in-place pulse + glow animation.
          Each pill pulses on a stagger so the row "breathes" alive. */
    .sa-product-tags .sa-tag-pill {
        position: relative;
        flex: 0 0 auto;
        max-width: calc(100vw - 32px);
        white-space: nowrap;
        animation: sa-pill-pulse 2.6s ease-in-out infinite;
        transform-origin: center;
        will-change: transform, box-shadow;
    }
    .sa-product-tags .sa-tag-pill:nth-child(1) { animation-delay: 0s; }
    .sa-product-tags .sa-tag-pill:nth-child(2) { animation-delay: 0.35s; }
    .sa-product-tags .sa-tag-pill:nth-child(3) { animation-delay: 0.7s; }
    .sa-product-tags .sa-tag-pill:nth-child(4) { animation-delay: 1.05s; }
    .sa-product-tags .sa-tag-pill:nth-child(5) { animation-delay: 1.4s; }
    .sa-product-tags .sa-tag-pill:nth-child(6) { animation-delay: 1.75s; }

    @keyframes sa-pill-pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 1px 2px rgba(47, 93, 58, 0.08);
        }
        50% {
            transform: scale(1.06);
            box-shadow: 0 4px 12px rgba(47, 93, 58, 0.22);
        }
    }

    /* 4. Title — kill any absolute positioning, force flow below tags,
          give it breathing room and a solid background so nothing shows through. */
    .single-product .product_title,
    .single-product h1.product_title,
    .single-product .elementor-widget-woocommerce-product-title h1 {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        top: auto !important;
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin: 6px 0 10px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        z-index: 2;
        clear: both;
    }
}

/* ===========================================================
   KYARI-STYLE PRODUCT INFO ACCORDIONS
   Refund/Replacement, FAQs, and Product Description
   =========================================================== */
html body.single-product .sa-accordion {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  background: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
}

html body.single-product .elementor-widget-shortcode:has(.sa-accordion),
html body.single-product .elementor-widget-html:has(.sa-accordion),
html body.single-product .elementor-widget-text-editor:has(.sa-accordion),
html body.single-product .elementor-element:has(> .elementor-widget-container > .sa-accordion) {
  margin: 0 !important;
  padding: 0 !important;
}

html body.single-product .sa-bulk-cta + .sa-accordion {
  margin-top: 8px !important;
}

html body.single-product .sa-accordion + .sa-accordion {
  margin-top: 0 !important;
}

html body.single-product .sa-accordion > .sa-accordion__item {
  overflow: hidden !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #D9DED8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.single-product .sa-accordion:first-of-type > .sa-accordion__item:first-child {
  border-top: 1px solid #D9DED8 !important;
}

html body.single-product button.sa-accordion__header,
html body.single-product .sa-accordion button.sa-accordion__header,
html body.single-product button.sa-accordion__header:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close) {
  min-height: 48px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #526E68 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.035em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  transform: none !important;
}

html body.single-product button.sa-accordion__header:hover,
html body.single-product .sa-accordion button.sa-accordion__header:hover,
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #315A50 !important;
  transform: none !important;
}

@media all {
html body.single-product button.sa-accordion__header > span:first-child,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child,
html body.single-product button.sa-accordion__header span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion button.sa-accordion__header span:not(.sa-accordion__toggle),
html body.single-product button.sa-accordion__header:hover span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion button.sa-accordion__header:hover span:not(.sa-accordion__toggle),
html body.single-product .sa-accordion__item.is-open > button.sa-accordion__header span:not(.sa-accordion__toggle) {
  color: inherit !important;
  font-weight: 800 !important;
  letter-spacing: inherit !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html body.single-product button.sa-accordion__header > span:first-child::before,
html body.single-product .sa-accordion button.sa-accordion__header > span:first-child::before {
  display: none !important;
  content: none !important;
}

html body.single-product .sa-accordion__toggle,
html body.single-product button.sa-accordion__header .sa-accordion__toggle {
  position: relative !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  transform: none !important;
}

html body.single-product .sa-accordion__toggle::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 45% !important;
  width: 11px !important;
  height: 11px !important;
  border: solid #1C2A22 !important;
  border-width: 0 2px 2px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: block !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
  transition: transform .2s ease, top .2s ease !important;
}

html body.single-product .sa-accordion__toggle::after {
  display: none !important;
  content: none !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle {
  background: transparent !important;
  border: 0 !important;
}

html body.single-product .sa-accordion__item.is-open .sa-accordion__toggle::before {
  top: 58% !important;
  border-color: #1C2A22 !important;
  transform: translate(-50%, -50%) rotate(225deg) !important;
}

html body.single-product .sa-accordion__body {
  background: #ffffff !important;
  border-top: 0 !important;
}

html body.single-product .sa-accordion__body-inner,
html body.single-product .sa-accordion__body-inner--rich {
  padding: 0 2px 12px !important;
  color: #34423D !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid #E3E7E2 !important;
  background: #ffffff !important;
}

html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item:first-child,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item:last-child {
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #E3E7E2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub,
html body.single-product .sa-accordion .sa-accordion--nested button.sa-accordion__header.sa-accordion__header--sub:hover,
html body.single-product .sa-accordion .sa-accordion--nested .sa-accordion__item.is-open > button.sa-accordion__header.sa-accordion__header--sub {
  min-height: 44px !important;
  padding: 10px 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  color: #1C2A22 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 767px) {
  html body.single-product .sa-bulk-cta + .sa-accordion {
    margin-top: 8px !important;
  }

  html body.single-product button.sa-accordion__header,
  html body.single-product .sa-accordion button.sa-accordion__header,
  html body.single-product button.sa-accordion__header:not(.menu-toggle):not(.dropdown-toggle):not(.sub-menu-toggle):not(.close-drawer):not(.drawer-close):not(.menu-close):not(.mobile-menu-close):not(.close) {
    min-height: 48px !important;
    padding: 12px 0 !important;
    font-size: 17px !important;
  }

  html body.single-product .sa-accordion__body-inner,
  html body.single-product .sa-accordion__body-inner--rich {
    padding: 0 0 12px !important;
  }
}

html body.single-product .woo-selected-variation-item-name,
html body.single-product table.variations .woo-selected-variation-item-name,
html body.single-product .variations .woo-selected-variation-item-name,
html body.single-product th.label .woo-selected-variation-item-name,
html body.single-product label .woo-selected-variation-item-name,
html body.single-product .reset-variations-label .woo-selected-variation-item-name {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

    /* 5. The whole summary column — make sure it sits cleanly under the gallery */
}

html body.single-product .elementor-section:has(.sa-accordion),
html body.single-product .elementor-container:has(.sa-accordion),
html body.single-product .e-con:has(.sa-accordion),
html body.single-product .e-con-inner:has(.sa-accordion),
html body.single-product .elementor-element:has(.sa-accordion) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  row-gap: 0 !important;
}

html body.single-product .elementor-element:has(.sa-accordion) + .elementor-element:has(.sa-accordion),
html body.single-product .elementor-widget:has(.sa-accordion) + .elementor-widget:has(.sa-accordion),
html body.single-product .sa-accordion + .sa-accordion {
  margin-top: 0 !important;
}

html body.single-product .sa-accordion .sa-accordion--nested > .sa-accordion__item:not(.is-open) > button.sa-accordion__header .sa-accordion__toggle::before,
html body.single-product .sa-accordion .sa-accordion--nested > .sa-accordion__item:not(.is-open) > .sa-accordion__header .sa-accordion__toggle::before {
  top: 45% !important;
  border-color: #1C2A22 !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

html body.single-product .sa-accordion .sa-accordion--nested > .sa-accordion__item.is-open > button.sa-accordion__header .sa-accordion__toggle::before,
html body.single-product .sa-accordion .sa-accordion--nested > .sa-accordion__item.is-open > .sa-accordion__header .sa-accordion__toggle::before {
  top: 58% !important;
  border-color: #1C2A22 !important;
  transform: translate(-50%, -50%) rotate(225deg) !important;
}

/* ===========================================================
   Review Drawer (bottom-sheet on mobile, side-drawer on desktop)
   + thumbnails on review cards + Amazon-style lightbox
   =========================================================== */

/* --- Overlay --- */
.sa-review-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 20, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9998;
}
.sa-review-drawer-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

/* --- Drawer base --- */
.sa-review-drawer {
    position: fixed;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.32, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* --- Mobile: bottom sheet --- */
@media (max-width: 768px) {
    .sa-review-drawer {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(100%);
    }
    .sa-review-drawer[aria-hidden="false"] {
        transform: translateY(0);
    }
    .sa-drawer__handle {
        width: 44px;
        height: 4px;
        background: #d4dcd6;
        border-radius: 4px;
        margin: 10px auto 4px;
    }
}

/* --- Desktop: side drawer from right --- */
@media (min-width: 769px) {
    .sa-review-drawer {
        top: 0;
        bottom: 0;
        right: 0;
        width: min(440px, 90vw);
        transform: translateX(100%);
    }
    .sa-review-drawer[aria-hidden="true"] {
        visibility: hidden;
    }
    .sa-review-drawer[aria-hidden="false"] {
        visibility: visible;
        transform: translateX(0);
    }
    .sa-drawer__handle { display: none; }
}

/* --- Drawer header --- */
.sa-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 12px;
    border-bottom: 1px solid #ecefe9;
    flex-shrink: 0;
}
.sa-drawer__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f3a26;
    font-family: 'Fraunces', serif;
}
.sa-drawer__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #6a7669;
    cursor: pointer;
    padding: 4px 8px;
}
.sa-drawer__close:hover { color: #1f3a26; }

/* --- Drawer body (scrollable) --- */
.sa-drawer__body {
    padding: 16px 20px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

/* --- Success notice --- */
.sa-drawer__success {
    background: #eaf6ec;
    border: 1px solid #c0e0c8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: center;
}
.sa-drawer__success-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2e8b4a;
    color: #fff;
    line-height: 36px;
    margin: 0 auto 6px;
    font-size: 20px;
}
.sa-drawer__success h4 { margin: 0 0 4px; color: #1f3a26; font-size: 15px; }
.sa-drawer__success p  { margin: 0; color: #4a5b4e; font-size: 13px; }

/* --- Form layout --- */
.sa-drawer-form__group { margin-bottom: 18px; }
.sa-drawer-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2a3a2e;
    margin-bottom: 6px;
}
.sa-drawer-form__hint { font-weight: 400; color: #8a9489; font-size: 12px; }

.sa-drawer-form input[type="text"],
.sa-drawer-form input[type="email"],
.sa-drawer-form textarea {
    width: 100%;
    border: 1px solid #d4dcd6;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 15px;
    color: #1f3a26;
    background: #fafcf9;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
    -webkit-appearance: none;
}
.sa-drawer-form input:focus,
.sa-drawer-form textarea:focus {
    outline: 0;
    border-color: #2e8b4a;
    background: #fff;
}
.sa-drawer-form textarea { resize: vertical; min-height: 110px; }

/* --- Star rating (reversed for proper hover effect) --- */
.sa-drawer-form__stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.sa-drawer-form__stars input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sa-drawer-form__stars label {
    font-size: 32px;
    line-height: 1;
    color: #d4dcd6;
    cursor: pointer;
    transition: color 0.12s ease, transform 0.12s ease;
}
.sa-drawer-form__stars label:hover,
.sa-drawer-form__stars label:hover ~ label,
.sa-drawer-form__stars input:checked ~ label {
    color: #f5a623;
}
.sa-drawer-form__stars label:active { transform: scale(1.15); }

/* --- File upload zone --- */
.sa-drawer-form__upload { position: relative; }
.sa-drawer-form__upload input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
.sa-drawer-form__upload-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #c5d2c9;
    border-radius: 12px;
    padding: 20px 14px;
    background: #f8fbf6;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.sa-drawer-form__upload-trigger:hover {
    border-color: #2e8b4a;
    background: #f0f7ed;
}
.sa-drawer-form__upload-icon { font-size: 26px; margin-bottom: 4px; }
.sa-drawer-form__upload-text { font-size: 14px; color: #1f3a26; font-weight: 600; }
.sa-drawer-form__upload-sub  { font-size: 12px; color: #8a9489; margin-top: 2px; }

.sa-drawer-form__previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.sa-drawer-form__preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d4dcd6;
}
.sa-drawer-form__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sa-drawer-form__preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.sa-drawer-form__upload-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

/* --- Submit button --- */
.sa-drawer-form__actions { margin-top: 22px; }
.sa-drawer-form__submit {
    width: 100%;
    background: #2e8b4a;
    color: #fff;
    border: 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}
.sa-drawer-form__submit:hover { background: #246d3a; }
.sa-drawer-form__submit:active { transform: scale(0.99); }
.sa-drawer-form__legal {
    font-size: 11px;
    color: #8a9489;
    margin: 10px 0 0;
    text-align: center;
}

/* --- Body scroll lock when drawer open --- */
body.sa-drawer-open,
body.sa-lightbox-open {
    overflow: hidden;
}

/* ===========================================================
   Review-card image thumbnails (Amazon style)
   =========================================================== */
.sa-review-card__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.sa-review-card__image {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e6e0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: zoom-in;
}
.sa-review-card__image:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.sa-review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .sa-review-card__image {
        width: 64px;
        height: 64px;
    }
}

/* ===========================================================
   Lightbox
   =========================================================== */
.sa-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.sa-lightbox[aria-hidden="false"] { display: flex; }

.sa-lightbox__stage {
    max-width: 92vw;
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sa-lightbox__img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.sa-lightbox__close,
.sa-lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s ease;
}
.sa-lightbox__close:hover,
.sa-lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.sa-lightbox__close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 26px;
    line-height: 42px;
}
.sa-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 30px;
    line-height: 1;
}
.sa-lightbox__nav--prev { left: 18px; }
.sa-lightbox__nav--next { right: 18px; }
.sa-lightbox__counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .sa-lightbox__close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 22px; line-height: 38px; }
    .sa-lightbox__nav   { width: 40px; height: 40px; font-size: 26px; }
    .sa-lightbox__nav--prev { left: 8px; }
    .sa-lightbox__nav--next { right: 8px; }
}

/* ===========================================================
   CUSTOMERS ALSO BOUGHT — horizontal carousel
   =========================================================== */
.sa-cab {
    margin: 36px 0 8px;
    position: relative;
}
.sa-cab__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}
.sa-cab__title {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--sa-green, #1f3a26);
    letter-spacing: -0.01em;
}
.sa-cab__arrows {
    display: flex;
    gap: 8px;
}
.sa-cab__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--sa-border, #e0e6e0);
    background: #fff;
    color: var(--sa-green, #1f3a26);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}
.sa-cab__arrow:hover {
    background: var(--sa-green, #1f3a26);
    color: #fff;
    border-color: var(--sa-green, #1f3a26);
    transform: scale(1.05);
}
.sa-cab__arrow.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Track = horizontal scrolling container */
.sa-cab__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 14px;
    margin: 0 -4px;
    scrollbar-width: thin;
    scrollbar-color: #c5d2c9 transparent;
}
.sa-cab__track::-webkit-scrollbar { height: 6px; }
.sa-cab__track::-webkit-scrollbar-track { background: transparent; }
.sa-cab__track::-webkit-scrollbar-thumb {
    background: #c5d2c9;
    border-radius: 3px;
}

/* Card */
.sa-cab__card {
    flex: 0 0 auto;
    width: 200px;
    background: #fff;
    border: 1px solid var(--sa-border, #e0e6e0);
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sa-cab__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(31, 58, 38, 0.12);
    border-color: transparent;
}

.sa-cab__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f8f5;
    overflow: hidden;
}
.sa-cab__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.sa-cab__card:hover .sa-cab__media img {
    transform: scale(1.04);
}
.sa-cab__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e36a3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    z-index: 2;
}

.sa-cab__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}
.sa-cab__name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--sa-green, #1f3a26);
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.sa-cab__name:hover { color: #2e8b4a; }

/* Star rating using CSS variable for fill width */
.sa-cab__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}
.sa-cab__stars {
    --r: 0;
    position: relative;
    display: inline-block;
    color: #d4dcd6;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1;
}
.sa-cab__stars::before {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    top: 0; left: 0;
    width: calc(var(--r) / 5 * 100%);
    color: #f5a623;
    overflow: hidden;
    white-space: nowrap;
}
.sa-cab__rcount { color: var(--sa-muted, #8a9489); font-size: 11px; }

.sa-cab__price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--sa-green, #1f3a26);
    line-height: 1.2;
}
.sa-cab__price del {
    font-weight: 500;
    color: var(--sa-muted, #8a9489);
    margin-right: 4px;
    font-size: 12px;
}
.sa-cab__price ins { text-decoration: none; }

/* Add button — also handles the variable-product "View Options" link variant */
.sa-cab__add {
    position: relative;
    margin-top: auto;
    background: var(--sa-green, #2e8b4a);
    color: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    overflow: hidden;
    transition: background 0.18s ease, transform 0.1s ease;
}
.sa-cab__add:hover { background: #246d3a; }
.sa-cab__add:active { transform: scale(0.98); }

.sa-cab__add-spinner,
.sa-cab__add-done { display: none; }
.sa-cab__add.is-loading .sa-cab__add-text { visibility: hidden; }
.sa-cab__add.is-loading .sa-cab__add-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sa-cab-spin 0.7s linear infinite;
    position: absolute;
    top: 50%; left: 50%;
    margin: -8px 0 0 -8px;
}
@keyframes sa-cab-spin { to { transform: rotate(360deg); } }

.sa-cab__add.is-done {
    background: #246d3a;
}
.sa-cab__add.is-done .sa-cab__add-text { display: none; }
.sa-cab__add.is-done .sa-cab__add-done { display: inline-block; }

.sa-cab__add.is-error {
    background: #c0392b;
    animation: sa-cab-shake 0.4s ease;
}
@keyframes sa-cab-shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.sa-cab__add--view { background: #1f3a26; }
.sa-cab__add--view:hover { background: #142719; }

/* ===========================================================
   MOBILE — swipe carousel, narrower cards, hide arrows
   =========================================================== */
@media (max-width: 768px) {
    .sa-cab { margin: 24px 0 4px; }
    .sa-cab__title { font-size: 18px; }
    .sa-cab__arrows { display: none; }
    .sa-cab__card { width: 160px; border-radius: 12px; }
    .sa-cab__body { padding: 10px; gap: 5px; }
    .sa-cab__name { font-size: 13px; }
    .sa-cab__price { font-size: 13px; }
    .sa-cab__add { padding: 8px 10px; font-size: 12px; }
    .sa-cab__badge { font-size: 10px; padding: 2px 6px; }
    .sa-cab__track {
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 -16px;
    }
}
/* ===========================================================
   CUSTOMERS ALSO BOUGHT — inline color swatches
   =========================================================== */
.sa-cab__swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 4px 0 2px;
}
.sa-cab__swatch {
    --swatch-bg: #ccc;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1.5px solid #d4dcd6;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
}
.sa-cab__swatch-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--swatch-bg);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: block;
}
.sa-cab__swatch:hover {
    transform: scale(1.1);
    border-color: #8a9489;
}
.sa-cab__swatch.is-selected {
    border-color: var(--sa-green, #1f3a26);
    border-width: 2px;
    transform: scale(1.1);
}
.sa-cab__swatch.is-selected .sa-cab__swatch-dot {
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(0,0,0,0.1);
}

/* "+N" more pill */
.sa-cab__swatch--more {
    background: #f3f5f1;
    color: var(--sa-green, #1f3a26);
    font-size: 11px;
    font-weight: 700;
    width: auto;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    border-color: #e0e6e0;
    line-height: 1;
}
.sa-cab__swatch--more:hover {
    background: #e8ece5;
    transform: scale(1.05);
}

/* Disabled add button (no color picked yet) */
.sa-cab__add[disabled] {
    background: #cfd6cf !important;
    color: #6a7669 !important;
    cursor: not-allowed;
}
.sa-cab__add[disabled]:hover { background: #cfd6cf !important; }

/* Smooth image transition when swatch changes */
.sa-cab__media img[data-sa-cab-img] {
    transition: opacity 0.2s ease, transform 0.45s ease;
}

/* Mobile tweaks for swatches */
@media (max-width: 768px) {
    .sa-cab__swatch { width: 20px; height: 20px; }
    .sa-cab__swatch-dot { width: 12px; height: 12px; }
    .sa-cab__swatch--more { height: 20px; font-size: 10px; min-width: 22px; }
}

/* ===========================================================
   Bullet-proof swatch styles
   (override any theme/Woo button styles)
   =========================================================== */
.sa-cab__card .sa-cab__swatches .sa-cab__swatch,
.sa-cab__swatches .sa-cab__swatch {
    --swatch-bg: #ccc;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px;
    max-height: 22px;
    padding: 0 !important;
    margin: 0 !important;
    border: 1.5px solid #d4dcd6 !important;
    background: #fff !important;
    color: inherit !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
    text-decoration: none !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.sa-cab__card .sa-cab__swatches .sa-cab__swatch-dot {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: var(--swatch-bg) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sa-cab__card .sa-cab__swatches .sa-cab__swatch:hover {
    transform: scale(1.12) !important;
    border-color: #8a9489 !important;
    background: #fff !important;
}
.sa-cab__card .sa-cab__swatches .sa-cab__swatch.is-selected {
    border-color: var(--sa-green, #1f3a26) !important;
    border-width: 2px !important;
    transform: scale(1.12) !important;
}
.sa-cab__card .sa-cab__swatches .sa-cab__swatch.is-selected .sa-cab__swatch-dot {
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(0,0,0,0.12) !important;
}

/* "+N" more pill */
.sa-cab__card .sa-cab__swatches .sa-cab__swatch--more {
    background: #f3f5f1 !important;
    color: var(--sa-green, #1f3a26) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 26px !important;
    height: 22px !important;
    padding: 0 8px !important;
    border-radius: 11px !important;
    border-color: #e0e6e0 !important;
}
.sa-cab__card .sa-cab__swatches .sa-cab__swatch--more:hover {
    background: #e8ece5 !important;
}

@media (max-width: 768px) {
    .sa-cab__card .sa-cab__swatches .sa-cab__swatch {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px;
        max-height: 20px;
    }
    .sa-cab__card .sa-cab__swatches .sa-cab__swatch-dot {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ==============================================================
   COMMERCEKIT SWIPER GALLERY — fix arrows, sticky, thumbnails
   ============================================================== */

/* Swiper navigation arrows: clean white round buttons */
.single-product .cg-main-swiper .swiper-button-next,
.single-product .cg-main-swiper .swiper-button-prev,
.single-product .cg-thumb-swiper .swiper-button-next,
.single-product .cg-thumb-swiper .swiper-button-prev {
  background: rgba(255,255,255,0.95) !important;
  background-image: none !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
  z-index: 20 !important;
  opacity: 1 !important;
  color: #2d6a4f !important;
  transition: all 0.2s ease !important;
}
.single-product .cg-main-swiper .swiper-button-next:hover,
.single-product .cg-main-swiper .swiper-button-prev:hover {
  background: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
}

/* Replace broken mask/icon-font arrows with pure CSS chevrons */
.single-product .cg-main-swiper .swiper-button-next::after,
.single-product .cg-main-swiper .swiper-button-prev::after,
.single-product .cg-thumb-swiper .swiper-button-next::after,
.single-product .cg-thumb-swiper .swiper-button-prev::after {
  content: "" !important;
  display: block !important;
  background: transparent !important;
  -webkit-mask: none !important;
          mask: none !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  box-sizing: content-box !important;
  border: 0 !important;
  border-top: 2.5px solid #2d6a4f !important;
  border-right: 2.5px solid #2d6a4f !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.single-product .cg-main-swiper .swiper-button-next::after,
.single-product .cg-thumb-swiper .swiper-button-next::after {
  transform: rotate(45deg) translate(-1px, 1px) !important;
}

.single-product .cg-main-swiper .swiper-button-prev::after,
.single-product .cg-thumb-swiper .swiper-button-prev::after {
  transform: rotate(225deg) translate(-1px, 1px) !important;
}

/* Hide disabled arrows */
.single-product .cg-main-swiper .swiper-button-disabled,
.single-product .cg-thumb-swiper .swiper-button-disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* PhotoSwipe lightbox arrows */
.pswp__button.pswp__button--arrow--left,
.pswp__button.pswp__button--arrow--right {
  background: rgba(0,0,0,0.4) !important;
  background-image: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  margin: -25px 12px 0 !important;
}

/* STICKY GALLERY — works with CommerceKit's ckit-shortcode-gallery */
@media (min-width: 768px) {
  .single-product .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery),
  .single-product .e-con-inner > .elementor-element:has(.cg-main-swiper) {
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
  }
  .single-product .e-con-inner:has(.ckit-shortcode-gallery) {
    align-items: flex-start !important;
  }
}

/* Thumbnail polish */
.single-product .cg-thumb-swiper .swiper-slide {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.single-product .cg-thumb-swiper .swiper-slide.swiper-slide-thumb-active,
.single-product .cg-thumb-swiper .swiper-slide-active {
  border-color: #2d6a4f;
}

/* ===========================================================
   MOBILE PRODUCT PAGE — viewport width + sticky CommerceKit gallery
   Fixes Chrome mobile zooming the page out because one Elementor/CommerceKit
   ancestor is wider than the screen, and applies sticky to the real gallery
   shortcode classes used on the product page.
   =========================================================== */
@media (max-width: 768px) {
  html,
  body,
  body.single-product {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.single-product #page,
  body.single-product .site,
  body.single-product .site-content,
  body.single-product .content-area,
  body.single-product .site-main,
  body.single-product .col-full,
  body.single-product .product,
  body.single-product .elementor,
  body.single-product .elementor-location-single,
  body.single-product .elementor-section,
  body.single-product .elementor-container,
  body.single-product .e-con,
  body.single-product .e-con-inner,
  body.single-product .elementor-element,
  body.single-product .elementor-widget-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-product .e-con-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  body.single-product .e-con-inner > .elementor-element {
    flex: 0 0 auto !important;
  }

  body.single-product img,
  body.single-product video,
  body.single-product iframe {
    max-width: 100% !important;
  }

  body.single-product .ckit-shortcode-gallery,
  body.single-product .cg-main-swiper,
  body.single-product .cg-thumb-swiper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .elementor-element-e264f5e,
  body.single-product .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery),
  body.single-product .e-con-inner > .elementor-element:has(.cg-main-swiper),
  body.single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
    align-self: stretch !important;
    overflow: visible !important;
    background: var(--sa-cream, #FAF7F2) !important;
  }

  body.admin-bar.single-product .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery),
  body.admin-bar.single-product .e-con-inner > .elementor-element:has(.cg-main-swiper),
  body.admin-bar.single-product .e-con-inner > .elementor-element:has(.woocommerce-product-gallery) {
    top: 46px !important;
  }
}

/* Mobile sticky gallery fallback.
   JS adds this class so the gallery is no longer limited by Elementor's first
   product-row height, which is what makes the image slide away on phones. */
@media (max-width: 768px) {
  body.single-product .sa-mobile-gallery-spacer {
    display: block !important;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
  }

  body.single-product .elementor-element-e264f5e.sa-mobile-gallery-fixed,
  body.single-product .e-con-inner > .elementor-element.sa-mobile-gallery-fixed {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 10040 !important;
    max-width: calc(100vw - 30px) !important;
    margin: 0 !important;
    transform: none !important;
    background: var(--sa-cream, #FAF7F2) !important;
    box-shadow: 0 8px 22px rgba(28, 42, 34, 0.12) !important;
  }

  body.single-product .elementor-element-e264f5e.sa-mobile-gallery-released,
  body.single-product .e-con-inner > .elementor-element.sa-mobile-gallery-released {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  body.single-product .sa-mobile-gallery-fixed .ckit-shortcode-gallery,
  body.single-product .sa-mobile-gallery-fixed .cg-main-swiper,
  body.single-product .sa-mobile-gallery-fixed .cg-thumb-swiper,
  body.single-product .sa-mobile-gallery-fixed .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

