/* =================================================================
   SC Filter Carousel — FULL CSS (clean replacement)
   - DO NOT change Brands/Attributes (term) sliders behaviour/size
   - Make PRODUCT sliders look like your “normal” product cards
   - FIX: “From” + £ + amount baseline consistency (no top nudges)
   - FIX: stop “From-label” styling leaking onto .woocommerce-Price-amount
   ================================================================= */

/* ===============================
   Core tokens
   =============================== */
.scfc{
  --gap:20px;
  --c-leaf:#AFEA80;
  --c-forest:#1C3A2A;
  --c-gold:#FFD600;
  --c-ink:#111827;
  --c-muted:#6B7280;
  --c-card:#ffffff;
  --c-amber:#FFB224;
  --c-coral:#FF7A7A;
  --c-mint:#D7F7E3;
  --c-teal:#138A6E;
  --c-sage:#EAF5E1;
  --c-slate:#EEF1F4;
  --c-slate-border:#D6DDE3;
  --radius:18px;
  --shadow:0 10px 18px rgba(0,0,0,.08);
}

.scfc__wrap { position:relative; }

/* ===============================
   Native slider container (no Swiper)
   =============================== */
.scfc-swiper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 10px 0 20px;
  cursor: grab;

  /* Hide scrollbar across engines */
  scrollbar-width: none;
  -ms-overflow-style: none;

  /* Keep snap aligned with gutters (15px each side) */
  scroll-padding-left: 15px;
  scroll-padding-right: 15px;
}
.scfc-swiper::-webkit-scrollbar { display: none; }
.scfc.is-dragging .scfc-swiper { cursor: grabbing; }

.scfc-track {
  display: flex;
  gap: 0; /* legacy spacing via slide margins */
  box-sizing: border-box;
  align-items: stretch;
  padding-left: 0;
  padding-right: 0;
}

/* Flex spacers to guarantee scrollable gutters */
.scfc-track::before,
.scfc-track::after {
  content: "";
  flex: 0 0 15px;
}

/* Slides */
.scfc-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;

  /* Legacy spacing */
  margin-right: 20px;
}
.scfc-slide:last-child { margin-right: 0; }

/* Navigation */
.scfc__nav {
  display:flex;
  gap:var(--gap);
  justify-content:flex-end;
  margin-top:8px;
}
.scfc__prev, .scfc__next {
  padding:8px 12px;
  border:1px solid #E5E7EB;
  background:#fff;
  border-radius:10px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, opacity .12s ease;
}
.scfc__prev:hover, .scfc__next:hover { background:#F9FAFB; transform:translateY(-1px); }
.scfc__prev:disabled, .scfc__next:disabled { opacity:.45; cursor:not-allowed; transform:none; }

/* ===============================
   Filters (single-row, horizontally scrollable)
   =============================== */
.scfc__filters{
  display:flex;
  align-items:center;

  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  gap: 12px;
  margin: 0 0 14px 0;
  padding: 2px 2px 2px;

  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scfc__filters::-webkit-scrollbar{ display:none; }

.scfc__filters .scfc__group{
  display:flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items:center;
}

.scfc__filters .scfc__btn,
.scfc__filters .scfc__clear{
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
}

/* Keep Clear at far right when there IS room + gradient “edge” */
.scfc__filters .scfc__group--clear{
  margin-left: auto;
  position: sticky;
  right: 0;
  z-index: 2;
  padding-left: 10px;
  background: linear-gradient(90deg, transparent, var(--c-card, #fff) 35%);
}

/* <1140px: drop Clear down (your existing behaviour) */
@media (max-width: 1139px){
  .scfc__filters{
    position: relative;
    padding-bottom: calc(14px + 34px);
    margin-bottom:-18px;
  }

  .scfc__filters .scfc__group--clear{
    position: sticky;
    right: 0;
    top: 2px;
    transform: translateY(34px);
    z-index: 2;
    padding-left: 10px;
    background: linear-gradient(90deg, transparent, var(--c-card, #fff) 35%);
  }
}

/* Buttons */
.scfc__btn{
  appearance:none;
  border:1px solid color-mix(in srgb, var(--c-leaf) 40%, #E5E7EB);
  background: color-mix(in srgb, var(--c-leaf) 14%, #fff);
  color: var(--c-ink);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: background .15s ease, border-color .15s ease, transform .08s ease, box-shadow .15s ease, color .15s ease;
}

.scfc__btn:hover,.scfc__btn:focus-visible{
  background: color-mix(in srgb, var(--c-gold) 18%, #fff);
  border-color: color-mix(in srgb, var(--c-gold) 45%, #E5E7EB);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-gold) 25%, #fff);
}

/* Active state */
.scfc__btn.is-active,
.scfc__btn.scfc__poolbtn[aria-pressed="true"]{
  background: color-mix(in srgb, var(--c-gold) 30%, #fff);
  border-color: var(--c-forest);
  color: var(--c-forest);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-forest) 18%, #fff);
}

.scfc__clear{
  appearance:none;
  border:1px dashed color-mix(in srgb, var(--c-forest) 45%, #D1D5DB);
  background:#fff;
  color: var(--c-forest);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease, box-shadow .15s ease;
}
.scfc__clear::before{ content:'✕'; margin-right:6px; }
.scfc__clear:hover, .scfc__clear:focus-visible{
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--c-leaf) 14%, #fff);
  border-style: solid;
  outline: none;
}

/* Kill the mobile tap/press highlight flash */
.scfc__filters .scfc__btn,
.scfc__filters .scfc__clear{
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Touch devices: neutralise hover/focus so drag-scrolling doesn't look "active" */
@media (hover: none), (pointer: coarse){
  .scfc__filters .scfc__btn:hover,
  .scfc__filters .scfc__btn:focus-visible{
    background: color-mix(in srgb, var(--c-leaf) 14%, #fff) !important;
    border-color: color-mix(in srgb, var(--c-leaf) 40%, #E5E7EB) !important;
    transform: none !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.02) !important;
  }

  .scfc__filters .scfc__clear:hover,
  .scfc__filters .scfc__clear:focus-visible{
    background: #fff !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .scfc__filters .scfc__btn.is-active:hover,
  .scfc__filters .scfc__btn.is-active:focus-visible,
  .scfc__filters .scfc__btn.scfc__poolbtn[aria-pressed="true"]:hover,
  .scfc__filters .scfc__btn.scfc__poolbtn[aria-pressed="true"]:focus-visible{
    background: color-mix(in srgb, var(--c-gold) 30%, #fff) !important;
    border-color: var(--c-forest) !important;
    color: var(--c-forest) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-forest) 18%, #fff) !important;
  }
}

/* ===============================
   Cards (base)
   =============================== */
.scfc__card{
  width:259px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.scfc__card:hover{ transform: translateY(-2px); box-shadow: 0 14px 26px rgba(0,0,0,.12); }

/* Anchor-cards (term lists) */
a.scfc__card{ text-decoration:none; color:inherit; }

/* ===============================
   PRODUCT sliders: image box + “normal card” look
   (Scoped so it does NOT affect Brands/Attributes sliders)
   =============================== */
.scfc:not(.scfc--terms) .scfc__image{
  position: relative !important;
  display: block !important;
  height: 270px !important;
  overflow: hidden !important;                 /* normal card look */
  background: #fff;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Make Breakdance wrappers stretch on PRODUCT cards only */
.scfc:not(.scfc--terms) .scfc__image .bde-woo-product-image,
.scfc:not(.scfc--terms) .scfc__image picture{
  height: 100% !important;
  width: 100% !important;
  display: block !important;
}

/* Product images: cover */
.scfc:not(.scfc--terms) .scfc__image img,
.scfc:not(.scfc--terms) .scfc-slide .scfc__image img,
.scfc:not(.scfc--terms) .scfc__image img.attachment-woocommerce_thumbnail{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  position:relative !important;
  z-index:1 !important;
}

/* Disallow native image drag in carousels */
.scfc .scfc__image img{
  -webkit-user-drag: none;
  user-select: none;
}

/* optional but recommended to avoid double sale bubbles */
.scfc .onsale { display: none !important; }

/* ===============================
   Term carousels keep their own contained heights
   (DO NOT CHANGE behaviour)
   =============================== */
.scfc--terms .scfc__image{ height:auto !important; }
.scfc--terms .scfc__image img{
  width:100% !important;
  height:160px !important;
  object-fit:contain !important;
  background:#fff;
}

/* Brand vs Attribute fine-tuning (DO NOT CHANGE) */
.scfc--brands .scfc__image img{ margin-top:-25px !important; }
.scfc--attributes .scfc__image img{ height:160px !important; }

/* Tighten navigation spacing for terms (DO NOT CHANGE) */
.scfc--terms .scfc__nav{ gap:12px; }

/* ===============================
   Flags & badges
   =============================== */
/* Make overlays always above the image */
.scfc__brand-badge,
.scfc__flags{
  position:absolute;
  z-index:3;
}

.scfc__flags{
  opacity:90%;
  left:-16px;
  right:0;
  top:8px;
  pointer-events:none;
  padding-right:56px;
}
.scfc__flags--stack .scfc__flag{ display:block; width:max-content; }

.scfc__flag{
  position:relative;
  display:inline-block;
  pointer-events:auto;
  margin:0 10px 8px 10px;
  padding:6px 12px;
  border-radius:8px;
  font-size:12px;
  font-weight:900;
  line-height:1;
  color:#1C1C1C;
  background:#FFF7CC;
  border:1px solid #F2DF7A;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
}
.scfc__flag--sale{ background: color-mix(in srgb, var(--c-coral) 28%, #fff); border-color: color-mix(in srgb, var(--c-coral) 60%, #F7C5C5); color:#6F0F0F; }
.scfc__flag--new{ background: var(--c-mint); border-color:#BCEFD0; color: var(--c-teal); }
.scfc__flag--hot{ background: color-mix(in srgb, var(--c-amber) 42%, #fff); border-color: color-mix(in srgb, var(--c-amber) 62%, #E5E7EB); color:#6B4100; }
.scfc__flag--thc{ background: linear-gradient(90deg, color-mix(in srgb, var(--c-gold) 60%, #fff), color-mix(in srgb, var(--c-amber) 50%, #fff)); border-color: color-mix(in srgb, var(--c-amber) 65%, #E5E7EB); color:#553800; }
.scfc__flag--beginner{ background: color-mix(in srgb, var(--c-leaf) 45%, #fff); border-color: color-mix(in srgb, var(--c-leaf) 65%, #E5E7EB); color:#0D3A1E; }
.scfc__flag--yield{ background: linear-gradient(90deg, color-mix(in srgb, var(--c-leaf) 45%, #fff), color-mix(in srgb, var(--c-gold) 40%, #fff)); border-color: color-mix(in srgb, var(--c-leaf) 55%, #E5E7EB); color:#11351C; }
/* OUT OF STOCK flag (new) */
.scfc .scfc__flag--oos{
  background: var(--c-coral, #FF7A7A) !important;
  color: var(--c-ink, #111827) !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}
/* Brand badge (unchanged look) */
.scfc__brand-badge{
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:999px;
  overflow:hidden;
  background-color:#1C3A2A;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 6px 12px rgba(0,0,0,.12);
  opacity:.7;
  transition:transform .15s ease, box-shadow .15s ease;
}
.scfc__image:hover .scfc__brand-badge{ transform:translateY(-1px); box-shadow:0 8px 16px rgba(0,0,0,.16); }

.scfc__brand-badge img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  margin:0;
}

.scfc__brand-badge--fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  background: color-mix(in srgb, var(--c-gold) 22%, #fff);
  color: var(--c-forest);
  font-weight:800;
  font-size:13px;
  border:1px solid color-mix(in srgb, var(--c-gold) 45%, #E5E7EB);
}

/* ===============================
   Meta
   =============================== */
.scfc__meta{
  background: var(--c-card);
  padding:12px 14px 14px;
  text-align:center;
}

.scfc__title{
  display:block;
  font-size:16px;
  line-height:1.25;
  font-weight:800;
  color: var(--c-forest) !important;
  text-decoration:none;
  margin:0 0 4px 0;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.scfc__title:hover{ text-decoration: underline; text-underline-offset:2px; }

.scfc__brand{
  font-size:13px;
  color:var(--c-muted);
  margin:0 0 6px 0;
}

.scfc__attrs{
  margin-top:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.scfc__seed, .scfc__flower{
  font-size:11px;
  line-height:1;
  padding:5px 7px;
  border-radius:999px;
  background: var(--c-slate);
  color: var(--c-ink);
  border:1px solid var(--c-slate-border);
  white-space:nowrap;
  display:inline-block;
}
.scfc__seed{ background: color-mix(in srgb, var(--c-slate) 80%, #fff); }
.scfc__flower{ background: color-mix(in srgb, var(--c-slate) 72%, #fff); }

/* ===============================
   Price + Stars (match “normal cards” price styling)
   KEY FIXES:
   1) DO NOT make the inner "From …" span flex (the &nbsp; becomes a flex item and breaks alignment)
   2) Hard-reset .woocommerce-Price-amount so "From label" rules cannot leak onto it
   3) Set line-height:1 on bdi + currency + amount for consistent baseline feel
   =============================== */
.scfc__price{
  margin: 15px 0 3px;

  width: 100%;
  display: flex;
  flex-direction: column;          /* stars ABOVE price */
  align-items: center;
  justify-content: center;
  gap: 6px;

  line-height: var(--bde-woo-base-heading-line-height, 1.2);
  font-family: var(--bde-woo-typography__size-large-font-family, var(--bde-heading-font-family, inherit));
  font-size: 20px;
  font-weight: 400;

  color: var(--bde-palette-color-3-438dfbd5-510d-452b-8ba0-535357d1dd27, var(--c-forest, #1C3A2A));
}

/* Outer Woo wrapper inside the carousel price block:
   force non-flex so inner text behaves like normal inline text */
.scfc__price .price{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-align: center;
}

/* If Woo nests .price inside .price */
.scfc__price .price .price{
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Variable price inner span: keep it inline (NOT flex), one line */
.scfc__price .price.sc-price-instock-only{
  display: inline !important;
  white-space: nowrap;
}

/* “From” label */
.scfc__price .sc-varprice-from{
  display:inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--c-muted, #6B7280);
  line-height: 1;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

/* HARD RESET: prevent ANY label rule from shrinking/bolding the numeric amount */
.scfc__price .woocommerce-Price-amount.amount{
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  text-transform: none !important;

  display: inline !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: baseline !important;
}

/* Keep £ + digits aligned in the same line box */
.scfc__price .woocommerce-Price-amount.amount bdi{
  display: inline;
  line-height: 1 !important;
}

.scfc__price .woocommerce-Price-currencySymbol{
  font-size: 1em !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  display: inline;
  vertical-align: baseline;
}

/* Sale formatting (if Woo outputs del/ins) */
.scfc__price del{
  opacity: .65;
  margin-right: 6px;
  color: inherit;
}
.scfc__price del .woocommerce-Price-amount{ font-weight: inherit !important; }
.scfc__price ins{
  background: transparent;
  text-decoration: none;
  color: inherit;
}

/* Stars block */
.scfc__price .bde-woo-ratings{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:2px !important;
  margin:0 !important;
}
.scfc__price .bde-woo-ratings .star-rating{
  float:none !important;
  margin:0 !important;
  margin-top: -2px !important;
  margin-bottom:5px !important;
}
.scfc__price .bde-woo-ratings-count{
  font-size:12px;
  line-height:1.2;
  opacity:.85;
  font-weight:600;
  color: var(--c-muted, #6B7280);
}

.scfc__status{
  min-height:18px;
  padding-top:2px;
  color:#6B7280;
  text-align:center;
}

/* ===============================
   Mobile tweaks
   =============================== */
@media (max-width: 767px){
  .scfc__filters{ gap:8px; }
  .scfc__btn{ padding:7px 10px; font-size:12px; }
  .scfc__clear{ padding:7px 10px; font-size:12px; }

  /* Product image box height on mobile */
  .scfc:not(.scfc--terms) .scfc__image{ height:240px !important; }

  .scfc__brand-badge{ width:32px; height:32px; top:8px; right:8px; }
  .scfc__flag{ margin:0 8px 6px 8px; padding:4px 9px; font-size:11px; }
  .scfc__title{ font-size:15px; }
  .scfc__brand{ font-size:12px; }
  .scfc__seed, .scfc__flower{ font-size:10.5px; padding:4px 6px; }

  /* normal-cards-ish size on mobile */
  .scfc__price{ font-size:18px; }
  .scfc__price .bde-woo-ratings-count{ font-size:11px; }
}

/* ===============================
   Attributes (seed type) slider — DO NOT CHANGE
   =============================== */
.scfc--attributes{
  --tiles-per-view: 8;
  --tile-gap: 10px;
}

.scfc--attributes .scfc__card{
  height:200px;
  width: clamp(
    110px,
    calc((100% - 30px - (var(--tiles-per-view) - 1) * var(--tile-gap)) / var(--tiles-per-view)),
    150px
  ) !important;
  flex: 0 0 clamp(
    110px,
    calc((100% - 30px - (var(--tiles-per-view) - 1) * var(--tile-gap)) / var(--tiles-per-view)),
    150px
  ) !important;
}

.scfc--attributes .scfc-slide{ margin-right: var(--tile-gap) !important; width:110px; }
.scfc--attributes .scfc-slide:last-child{ margin-right: 0 !important; }

@media (max-width: 1100px){ .scfc--attributes{ --tiles-per-view: 6; } }
@media (max-width: 820px){  .scfc--attributes{ --tiles-per-view: 4; } }
@media (max-width: 520px){  .scfc--attributes{ --tiles-per-view: 2; } }

/* ===============================
   Brands carousel ONLY (breeders) — DO NOT CHANGE
   =============================== */
.scfc--brands .scfc__card{
  width:173px !important;
  flex:0 0 173px !important;
}
.scfc--brands .scfc-slide { margin-right: 12px !important; }
.scfc--brands .scfc-slide:last-child { margin-right: 0 !important; }

/* keep term cards’ meta padding consistent (DO NOT CHANGE) */
.scfc--brands .scfc__meta{
  height: 60px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;
  text-align: center;
}

/* Attribute terms: vertically centre the meta text like brands (DO NOT CHANGE) */
.scfc--attributes .scfc__meta{
  height: 60px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0 10px;
  text-align: center;
}

/* Stop the title’s default bottom margin nudging it off-centre (DO NOT CHANGE) */
.scfc--attributes .scfc__title{ margin: 0;font-size:14px; }

/* ==== PATCH: scope 270px to product cards only (DO NOT CHANGE term behaviour) ==== */
.scfc--attributes .scfc__image{
  height: auto !important;
  overflow: visible !important;
  padding-left:10px;
  padding-right:10px;
}
.scfc--brands .scfc__image{
  height: auto !important;
  overflow: visible !important;
}
.scfc--brands .scfc__title{
  line-height: 1.2;
  display: block;
}

/* On term carousels, let wrappers be natural height */
.scfc--terms .scfc__image .bde-woo-product-image,
.scfc--terms .scfc__image picture{
  height: auto !important;
}

/* Term image sizing (DO NOT CHANGE) */
.scfc--brands .scfc__image img{
  height: 162px !important;
  object-fit: contain !important;
}
.scfc--attributes .scfc__image img{
  height: 160px !important;
  object-fit: contain !important;
}

/* ===============================
   Menu list (top brands / top attributes) — unchanged
   =============================== */
.scfc-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scfc-menu-list__item {
  margin: 0;
  padding-bottom:2px;
}
.scfc-menu-list__item--brand {
  margin: 0;
  padding-bottom:15px;
}
.scfc-menu-list__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color:#0F3E18 !important;
}

.scfc-menu-list__icon img {
  width: 30px;
  border-radius: 5px;
  object-fit: cover;
}
li.scfc-menu-list__item.scfc-menu-list__item--all {padding-bottom:10px;}
.scfc-menu-list__link--all {color:#29A34E !important;}
.scfc-menu-list__item--attribute {padding-bottom:15px;}

/* ===============================
   Kill any loop qty / plus-minus / ATC UI that sneaks in on archives
   =============================== */
.woocommerce ul.products li.product form.cart,
.woocommerce ul.products li.product .quantity,
.woocommerce ul.products li.product .qty,
.woocommerce ul.products li.product .plus,
.woocommerce ul.products li.product .minus,
.woocommerce ul.products li.product .bde-woo-add-to-cart{
  display:none !important;
}

/* ===============================
   Overlay buttons row (Quick Stats + Packs) — unchanged
   =============================== */
.scfc__overlay-buttons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  flex-wrap: nowrap;
  margin: 8px 0 6px;
  padding: 0;
  padding-bottom:5px;
}

.scfc__overlay-buttons .sc-qs-wrap,
.scfc__overlay-buttons .sc-po-wrap{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  margin:0 !important;
}

.scfc__overlay-buttons .scfc__quickstats,
.scfc__overlay-buttons .scfc__packs{
  margin:0 !important;
}

.scfc__overlay-buttons a,
.scfc__overlay-buttons button,
.scfc__overlay-buttons [role="button"]{
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;

  appearance: none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  height: 30px;
  padding: 0 11px;

  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--c-leaf) 48%, #E5E7EB);

  color: var(--c-forest) !important;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.2px;
  text-decoration:none !important;
  white-space:nowrap;

  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  cursor:pointer;

  transition: transform .10s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.scfc__overlay-buttons .scfc__quickstats a,
.scfc__overlay-buttons .scfc__quickstats button,
.scfc__overlay-buttons .scfc__quickstats [role="button"]{
  background: color-mix(in srgb, var(--c-leaf) 14%, #fff);
}

.scfc__overlay-buttons .scfc__packs a,
.scfc__overlay-buttons .scfc__packs button,
.scfc__overlay-buttons .scfc__packs [role="button"]{
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--c-gold) 22%, #fff),
    color-mix(in srgb, var(--c-leaf) 14%, #fff)
  );
}

.scfc__overlay-buttons svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
.scfc__overlay-buttons svg *{ fill: currentColor; }
.scfc__overlay-buttons img{
  width:14px;
  height:14px;
  object-fit:contain;
  display:block;
}

.scfc__overlay-buttons a:hover,
.scfc__overlay-buttons button:hover,
.scfc__overlay-buttons [role="button"]:hover,
.scfc__overlay-buttons a:focus-visible,
.scfc__overlay-buttons button:focus-visible,
.scfc__overlay-buttons [role="button"]:focus-visible{
  background: color-mix(in srgb, var(--c-gold) 18%, #fff);
  border-color: color-mix(in srgb, var(--c-gold) 52%, #E5E7EB);
  transform: translateY(-1px);
  outline:none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-gold) 24%, #fff);
}

.scfc__overlay-buttons a:active,
.scfc__overlay-buttons button:active,
.scfc__overlay-buttons [role="button"]:active{
  transform: translateY(0px);
}

@media (max-width: 767px){
  .scfc__overlay-buttons{
    margin: 7px 0 5px;
    gap:8px;
    flex-wrap: nowrap;
  }
  .scfc__overlay-buttons a,
  .scfc__overlay-buttons button,
  .scfc__overlay-buttons [role="button"]{
    height: 29px;
    padding: 0 9px;
    font-size:11px;
  }
}

@media (hover:none), (pointer:coarse){
  .scfc__overlay-buttons a:hover,
  .scfc__overlay-buttons button:hover,
  .scfc__overlay-buttons [role="button"]:hover,
  .scfc__overlay-buttons a:focus-visible,
  .scfc__overlay-buttons button:focus-visible,
  .scfc__overlay-buttons [role="button"]:focus-visible{
    transform:none;
    background: color-mix(in srgb, var(--c-leaf) 14%, #fff);
    border-color: color-mix(in srgb, var(--c-leaf) 48%, #E5E7EB);
    box-shadow: 0 1px 0 rgba(0,0,0,.03);
  }
}

/* ===============================
   “From £12.00” one-line + alignment (site-wide)
   - Breakdance makes OUTER .price flex-wrap; that's fine.
   - The inner .price.sc-price-instock-only must remain INLINE (not flex),
     otherwise the &nbsp; becomes a flex-item and ruins alignment/consistency.
   - Also hard-reset .woocommerce-Price-amount so no "From-label" selector can shrink it.
   =============================== */

/* Keep Breakdance outer .price from doing weird vertical centering */
.breakdance-woocommerce .entry-summary .price,
.breakdance-woocommerce.bde-wooproductprice .price,
.breakdance-woocommerce ul.products li.product .price{
  align-items: baseline !important;
}

/* Inner variable-price span: inline, no wrap */
.price.sc-price-instock-only{
  display: inline !important;
  white-space: nowrap;
}

/* From label */
.price.sc-price-instock-only .sc-varprice-from{
  display:inline-block;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--c-muted, #6B7280);
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

/* HARD RESET: numeric amount must not inherit label styling */
.price.sc-price-instock-only .woocommerce-Price-amount.amount{
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  text-transform: none !important;

  display: inline !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: baseline !important;
}

.price.sc-price-instock-only .woocommerce-Price-amount.amount bdi{
  display: inline;
  line-height: 1 !important;
}

.price.sc-price-instock-only .woocommerce-Price-currencySymbol{
  font-size: 1em !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  display: inline;
  vertical-align: baseline;
}

/* Utility */
.scfc-no-swipe { }
