/*
Theme Name: Sleep Capital
Description: WooCommerce storefront theme for Sleep Capital. Mattress catalogue organised by collection, construction and firmness, with attribute filters, a mattress finder and a custom product page.
Version: 1.8.0
Author: Digital Logics
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: sleep-capital
*/

/* Minimal reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* Nothing may widen the page: no sideways scrollbar at any screen size. */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
img{max-width:100%;height:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.screen-reader-text:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;background:#fff;padding:10px 14px;z-index:1000}
body.sc-site h1,body.sc-site h2,body.sc-site h3{margin:0}
:where(body.sc-site) :is(button,input,select,textarea){font:inherit;color:inherit}

/* BRAND TOKENS: change the colours and fonts here once the logo colours are confirmed. */
:root{
  /* From the Sleep Capital logo: red and black on white. */
  --sc-bg:#FFFFFF; --sc-surface:#FFFFFF; --sc-ink:#111113; --sc-muted:#5B5B61; --sc-line:#E3E3E6;
  --sc-accent:#C8101C; --sc-accent-dark:#9E0C16; --sc-soft:#F4F4F5; --sc-fabric:#EDEDEF;
  --sc-display:"Marcellus","Iowan Old Style",Georgia,serif;
  --sc-body:"Figtree","Segoe UI",system-ui,-apple-system,sans-serif;
  --sc-wrap:1240px; --sc-gut:clamp(16px,4vw,40px); --sc-r:6px; --sc-r-lg:14px;
  --sc-shadow:0 1px 2px rgba(17,17,19,.06),0 12px 32px -16px rgba(17,17,19,.24);
  --sc-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
body.sc-site{margin:0;background:var(--sc-bg);color:var(--sc-ink);font-family:var(--sc-body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.sc-site h1,body.sc-site h2,body.sc-site h3,body.sc-site .elementor-heading-title{font-family:var(--sc-display);font-weight:400;line-height:1.12;color:var(--sc-ink);text-wrap:balance}
body.sc-site h1{font-size:clamp(2.2rem,5vw,4.2rem)}
body.sc-site h2{font-size:clamp(1.7rem,3.2vw,2.6rem)}
body.sc-site h3{font-size:1.3rem}
:where(body.sc-site) a{color:inherit}
body.sc-site :focus-visible{outline:2px solid var(--sc-accent);outline-offset:3px}
.sc-wrap{max-width:var(--sc-wrap);margin-inline:auto;padding-inline:var(--sc-gut);width:100%;box-sizing:border-box}
.sc-eyebrow,body.sc-site .sc-eyebrow p{font-family:var(--sc-body);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--sc-accent);margin:0}
.sc-lede,body.sc-site .sc-lede p{font-size:1.12rem;color:var(--sc-muted);max-width:56ch;margin:0}
.sc-chip{display:inline-block;font-size:.8rem;font-weight:600;padding:5px 11px;border-radius:99px;background:var(--sc-soft);color:var(--sc-accent-dark);white-space:nowrap}
.sc-chips{display:flex;flex-wrap:wrap;gap:8px}
.sc-link{font-weight:600;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}

/* ---------- Buttons (ours, WooCommerce's and Elementor's) ---------- */
.sc-btn,
body.sc-site.sc-site :is(a.button,button.button,input.button),
body.sc-site #respond input#submit,
body.sc-site .wc-block-components-button:not(.is-link),
body.sc-site .sc-button .elementor-button{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 26px;box-sizing:border-box;
  border-radius:var(--sc-r);border:1px solid var(--sc-accent);background:var(--sc-accent);color:#fff;
  font-family:var(--sc-body);font-weight:600;font-size:.98rem;line-height:1.2;text-decoration:none;cursor:pointer;
  transition:background .25s var(--sc-ease),color .25s,border-color .25s,transform .25s var(--sc-ease)}
.sc-btn:hover,
body.sc-site.sc-site :is(a.button,button.button,input.button):hover,
body.sc-site #respond input#submit:hover,
body.sc-site .wc-block-components-button:not(.is-link):hover,
body.sc-site .sc-button .elementor-button:hover{background:var(--sc-accent-dark);border-color:var(--sc-accent-dark);color:#fff}
.sc-btn:active{transform:translateY(1px)}
.sc-btn.sc-btn-small{min-height:42px;padding:0 18px;font-size:.92rem}
.sc-btn.sc-btn-ghost,
body.sc-site.sc-site.sc-site :is(a.button.sc-view,button.button.sc-buy-now),
body.sc-site .sc-button-ghost .elementor-button{background:transparent;color:var(--sc-ink);border-color:var(--sc-ink)}
.sc-btn.sc-btn-ghost:hover,
body.sc-site.sc-site.sc-site :is(a.button.sc-view,button.button.sc-buy-now):hover,
body.sc-site .sc-button-ghost .elementor-button:hover{background:var(--sc-ink);color:#fff;border-color:var(--sc-ink)}
body.sc-site.sc-site :is(button.button.disabled,button.button:disabled){opacity:.45;cursor:not-allowed}
.sc-icon-btn{width:44px;height:44px;display:grid;place-items:center;border:0;background:none;border-radius:50%;position:relative;color:inherit;cursor:pointer;padding:0;transition:background .2s}
.sc-icon-btn:hover{background:var(--sc-soft)}

/* ---------- Header ---------- */
.sc-header{position:sticky;top:0;z-index:900;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid transparent;transition:border-color .3s,background .3s}
.admin-bar .sc-header{top:32px}
.sc-header-inner{display:flex;align-items:center;gap:20px;min-width:0;height:84px;transition:height .3s var(--sc-ease)}
.sc-header.scrolled{border-color:var(--sc-line);background:rgba(255,255,255,.95)}
.sc-header.scrolled .sc-header-inner{height:64px}
.sc-logo{font-family:var(--sc-display);font-size:1.4rem;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 100 auto}
.sc-header .custom-logo-link{flex:0 100 auto;min-width:0}
.sc-header .custom-logo{max-height:48px;width:auto;display:block;transition:max-height .3s var(--sc-ease)}
.sc-header.scrolled .custom-logo{max-height:38px}
.sc-nav{margin-left:auto;flex:0 1 auto;min-width:0}
.sc-nav-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px clamp(14px,2vw,30px);white-space:nowrap;list-style:none;margin:0;padding:0}
.sc-nav-list a{text-decoration:none;font-weight:500;font-size:.96rem;padding-block:8px;background:linear-gradient(var(--sc-accent),var(--sc-accent)) left bottom/0 1px no-repeat;transition:background-size .3s var(--sc-ease)}
.sc-nav-list a:hover,.sc-nav-list .current-menu-item>a{background-size:100% 1px}
.sc-tools{display:flex;align-items:center;gap:2px;flex:none}
.sc-cart-count{position:absolute;top:4px;right:2px;min-width:18px;height:18px;border-radius:9px;background:var(--sc-accent);color:#fff;font-size:.68rem;font-weight:700;display:grid;place-items:center;padding:0 4px}
.sc-cart-count[hidden]{display:none}
.sc-header-cta{margin-left:10px;white-space:nowrap}
@media (max-width:1260px){.sc-header-cta{display:none}}
.sc-burger{display:none}
.sc-checkout-back{margin-left:auto;font-size:.94rem;font-weight:600}
@media (max-width:1080px){
  .sc-nav,.sc-header-cta,.sc-tools .sc-account{display:none}
  .sc-burger{display:grid;margin-left:-10px}
  .sc-header-inner{gap:6px;height:68px}
  .sc-header .sc-logo,.sc-header .custom-logo-link{margin-right:auto}
  .sc-logo{font-size:1.1rem}
}
@media (max-width:782px){.admin-bar .sc-header{top:46px}}

/* Drawer, search, scrim */
.sc-scrim{position:fixed;inset:0;background:rgba(17,17,19,.45);z-index:950;opacity:0;pointer-events:none;transition:opacity .3s}
.sc-scrim.open{opacity:1;pointer-events:auto}
.sc-drawer{position:fixed;top:0;bottom:0;left:0;width:min(88vw,380px);background:var(--sc-surface);z-index:960;transform:translateX(-102%);visibility:hidden;transition:transform .4s var(--sc-ease),visibility .4s;display:flex;flex-direction:column}
.sc-drawer.open{transform:none;visibility:visible}
.sc-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--sc-line)}
.sc-drawer-body{padding:8px 20px 20px;overflow:auto;flex:1}
.sc-drawer-foot{padding:16px 20px;border-top:1px solid var(--sc-line);color:var(--sc-muted);font-size:.92rem}
.sc-mobile-nav{list-style:none;margin:0;padding:0}
.sc-mobile-nav a{display:block;padding:14px 0;border-bottom:1px solid var(--sc-line);text-decoration:none;font-family:var(--sc-display);font-size:1.45rem}
.sc-search{position:fixed;inset:0 0 auto 0;background:var(--sc-surface);z-index:960;transform:translateY(-102%);visibility:hidden;transition:transform .4s var(--sc-ease),visibility .4s;padding-block:24px}
.sc-search.open{transform:none;visibility:visible}
.sc-search-row{display:flex;gap:12px;align-items:center}
.sc-search-row input[type=search]{flex:1;min-width:0;border:0;border-bottom:1px solid var(--sc-ink);border-radius:0;background:none;font-family:var(--sc-display);font-size:clamp(1.2rem,3vw,1.9rem);padding:10px 0;outline:none}

/* ---------- Footer ---------- */
.sc-footer{background:var(--sc-ink);color:#CFCFD4;padding-block:clamp(40px,6vw,72px) 28px;font-size:.96rem;margin-top:clamp(48px,7vw,96px)}
.sc-is-checkout .sc-footer{padding-top:0}
.sc-footer-cols{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:32px}
body.sc-site .sc-footer h3{font-family:var(--sc-body);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin:0 0 14px}
.sc-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.sc-footer-cols > div{min-width:0}
.sc-footer li,.sc-contact-list dd{overflow-wrap:anywhere}
.sc-footer a{text-decoration:none}
.sc-footer a:hover{color:#fff;text-decoration:underline}
.sc-footer .sc-logo{color:#fff;display:inline-block;margin-bottom:14px}
.sc-footer p{max-width:34ch;margin:0}
.sc-legal{border-top:1px solid rgba(255,255,255,.15);margin-top:36px;padding-top:20px;font-size:.84rem;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}
@media (max-width:960px){.sc-footer-cols{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.sc-footer-cols{grid-template-columns:1fr}}

/* ---------- WooCommerce shell ---------- */
.sc-woo{padding-block:clamp(20px,3vw,36px) 0}
body.sc-site .woocommerce-breadcrumb{font-size:.86rem;color:var(--sc-muted);margin:0 0 18px}
body.sc-site .woocommerce-breadcrumb a{text-decoration:none;color:var(--sc-muted)}
body.sc-site .woocommerce-products-header{margin-bottom:clamp(20px,3vw,32px)}
body.sc-site .woocommerce-products-header .term-description{color:var(--sc-muted);font-size:1.12rem;max-width:56ch;margin-top:12px}
body.sc-site .woocommerce-result-count{color:var(--sc-muted);margin:0 0 20px;float:none;display:inline-block}
body.sc-site .woocommerce-ordering{float:right;margin:0 0 20px}
body.sc-site .woocommerce-ordering select{height:42px;border:1px solid var(--sc-line);border-radius:var(--sc-r);background:var(--sc-surface);padding:0 12px;font-family:var(--sc-body)}
body.sc-site .star-rating span::before,body.sc-site .star-rating::before{color:var(--sc-accent)}

/* Archive layout with filters */
.sc-archive{display:grid;grid-template-columns:250px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.sc-filters{display:grid;gap:26px;position:sticky;top:96px}
.sc-filters-head{display:none}
body.sc-site .sc-filter-group h3{font-family:var(--sc-body);font-weight:600;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 12px}
.sc-filter-group ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sc-check{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:.98rem}
.sc-check .box{width:18px;height:18px;border:1.5px solid var(--sc-muted);border-radius:3px;flex:none;display:grid;place-items:center;transition:background .2s,border-color .2s}
.sc-check.on .box{background:var(--sc-accent);border-color:var(--sc-accent)}
.sc-check.on .box::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.sc-price-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sc-price-form input{width:100%;min-height:42px;border:1px solid var(--sc-line);border-radius:var(--sc-r);padding:0 10px;background:var(--sc-surface);box-sizing:border-box}
.sc-price-form button{grid-column:1/-1}
.sc-active-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.sc-active-chips a{border:1px solid var(--sc-line);background:var(--sc-surface);border-radius:99px;padding:5px 12px;font-size:.84rem;text-decoration:none}
.sc-active-chips a:hover{border-color:var(--sc-ink)}
.sc-filter-open{display:none;margin:0 12px 20px 0}
@media (max-width:900px){
  .sc-archive{grid-template-columns:1fr}
  .sc-filter-open{display:inline-flex}
  .sc-filters{position:fixed;top:0;bottom:0;right:0;width:min(88vw,380px);background:var(--sc-surface);z-index:960;padding:0 20px 24px;overflow:auto;align-content:start;transform:translateX(102%);visibility:hidden;transition:transform .4s var(--sc-ease),visibility .4s}
  .sc-filters.open{transform:none;visibility:visible}
  .sc-filters-head{display:flex;align-items:center;justify-content:space-between;padding-block:14px;border-bottom:1px solid var(--sc-line)}
}

/* ---------- Product grid and card ---------- */
body.sc-site .woocommerce ul.products,body.sc-site ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:clamp(16px,2vw,28px);margin:0 0 40px;padding:0;list-style:none;clear:both}
body.sc-site ul.products::before,body.sc-site ul.products::after{display:none!important}
body.sc-site .woocommerce ul.products li.product,body.sc-site ul.products li.sc-card{width:auto!important;float:none!important;margin:0!important;padding:0;display:grid;grid-template-rows:auto 1fr;background:var(--sc-surface);border-radius:var(--sc-r-lg);overflow:hidden;text-align:left;transition:transform .4s var(--sc-ease),box-shadow .4s var(--sc-ease);min-width:0}
body.sc-site ul.products li.sc-card:hover{transform:translateY(-4px);box-shadow:var(--sc-shadow)}
.sc-card-media{position:relative;display:block;aspect-ratio:4/3;background:var(--sc-soft);overflow:hidden}
body.sc-site ul.products li.sc-card .sc-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;transition:opacity .45s,transform .9s var(--sc-ease)}
.sc-card-media .sc-alt{opacity:0}
.sc-card:hover .sc-card-media .sc-alt{opacity:1}
.sc-card:hover .sc-card-media .sc-main{transform:scale(1.04)}
.sc-tags{position:absolute;top:12px;left:12px;display:flex;gap:6px;z-index:1}
.sc-tag{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--sc-surface);padding:4px 9px;border-radius:4px}
.sc-tag.sale{background:var(--sc-accent);color:#fff}
.sc-card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px;min-width:0}
body.sc-site .sc-card-title{font-size:1.16rem;margin:0;padding:0}
.sc-card-title a{text-decoration:none}
.sc-card-meta{font-size:.88rem;color:var(--sc-muted)}
.sc-firm{display:grid;gap:5px}
.sc-firm-bar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px}
.sc-firm-bar i{height:5px;border-radius:3px;background:var(--sc-line)}
.sc-firm-bar i.on{background:var(--sc-accent)}
.sc-firm-label{display:flex;justify-content:space-between;font-size:.8rem;color:var(--sc-muted)}
.sc-firm-label b{color:var(--sc-ink);font-weight:600}
body.sc-site .sc-card .sc-price,body.sc-site .sc-card .sc-price .amount{font-weight:600;font-size:1.05rem;color:var(--sc-ink);font-variant-numeric:tabular-nums}
body.sc-site .sc-card .sc-price del{color:var(--sc-muted);font-weight:400}
body.sc-site .sc-card .sc-price ins{text-decoration:none}
.sc-card-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;margin-top:auto;padding-top:6px}
.sc-card-actions.single{grid-template-columns:1fr}
.sc-card-actions > .screen-reader-text{position:absolute!important}
.sc-por{font-weight:500;color:var(--sc-muted);font-size:.95rem}
.sc-enquire{display:grid;gap:12px;justify-items:start;background:var(--sc-surface);border-radius:var(--sc-r-lg);padding:20px}
.sc-enquire p{margin:0;color:var(--sc-muted)}
.sc-enquire strong{color:var(--sc-ink)}
.sc-size-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
body.sc-site.sc-site .sc-card-actions .button{min-height:44px;padding:0 8px;font-size:.9rem;margin:0;white-space:nowrap;width:100%;float:none}
body.sc-site .sc-card-actions .added_to_cart{grid-column:1/-1;font-size:.88rem;font-weight:600}
body.sc-site .sc-card .star-rating{margin:0}

/* ---------- Single product ---------- */
body.sc-site.single-product div.product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:start}
body.sc-site.single-product div.product .woocommerce-product-gallery,body.sc-site.single-product div.product .summary{width:auto;float:none;margin:0}
body.sc-site.single-product div.product > .related,body.sc-site.single-product div.product > .upsells{grid-column:1/-1;padding-top:clamp(32px,5vw,64px)}
body.sc-site .woocommerce-product-gallery__wrapper,body.sc-site .woocommerce-product-gallery .flex-viewport{border-radius:var(--sc-r-lg);overflow:hidden;background:var(--sc-soft)}
body.sc-site .woocommerce-product-gallery .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0 0;padding:0}
body.sc-site .woocommerce-product-gallery .flex-control-thumbs li{width:auto;float:none;margin:0;list-style:none}
body.sc-site .woocommerce-product-gallery .flex-control-thumbs img{border-radius:var(--sc-r);border:2px solid transparent;opacity:1}
body.sc-site .woocommerce-product-gallery .flex-control-thumbs img.flex-active{border-color:var(--sc-accent)}
body.sc-site.single-product .summary{display:grid;gap:20px}
body.sc-site.single-product .summary > *{margin:0}
body.sc-site.single-product .product_title{font-size:clamp(2rem,3.6vw,3rem)}
body.sc-site.single-product .woocommerce-product-details__short-description{font-size:1.12rem;color:var(--sc-muted)}
body.sc-site.single-product .woocommerce-product-details__short-description p{margin:0}
body.sc-site.single-product .summary p.price,body.sc-site.single-product .summary span.price{font-family:var(--sc-display);font-size:1.7rem;color:var(--sc-ink)}
body.sc-site.single-product .summary .price del{color:var(--sc-muted);font-size:1.1rem}
body.sc-site.single-product .summary .price ins{text-decoration:none}
body.sc-site.single-product span.onsale{position:absolute;z-index:2;top:12px;left:12px;min-height:0;min-width:0;line-height:1.4;border-radius:4px;background:var(--sc-accent);padding:4px 10px;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase}
body.sc-site.single-product div.product{position:relative}
.sc-opt-group{display:grid;gap:10px}
.sc-opt-label{display:flex;justify-content:space-between;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.sc-opt-label span{letter-spacing:0;text-transform:none;font-weight:400;color:var(--sc-muted);font-size:.92rem}
.sc-scale{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px}
.sc-scale a,.sc-scale span{text-decoration:none;display:grid;gap:8px;font-size:.88rem;color:var(--sc-muted);text-align:center;padding-bottom:4px}
.sc-scale a::before,.sc-scale span::before{content:"";height:8px;border-radius:4px;background:var(--sc-line);transition:background .25s}
.sc-scale a:hover::before{background:var(--sc-muted)}
.sc-scale .current{color:var(--sc-ink);font-weight:600}
.sc-scale .current::before{background:var(--sc-accent)}
.sc-scale .na{opacity:.45}
.sc-scale-ends{display:flex;justify-content:space-between;font-size:.76rem;color:var(--sc-muted);letter-spacing:.08em;text-transform:uppercase}
.sc-seg{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:8px}
.sc-seg a,.sc-seg span,.sc-seg button{min-height:48px;border:1px solid var(--sc-line);background:var(--sc-surface);color:var(--sc-ink);border-radius:var(--sc-r);font-family:var(--sc-body);font-weight:500;font-size:.95rem;text-decoration:none;display:grid;place-items:center;text-align:center;padding:6px 8px;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.sc-seg a:hover,.sc-seg button:hover{border-color:var(--sc-ink)}
.sc-seg .current,.sc-seg button[aria-pressed="true"]{background:var(--sc-ink);border-color:var(--sc-ink);color:#fff}
.sc-seg button:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}

/* Variations form: the size dropdown becomes buttons (sc.js) */
body.sc-site .variations_form table.variations{border:0;margin:0 0 20px;width:100%;border-collapse:collapse}
body.sc-site .variations_form table.variations tr{display:grid;gap:10px;margin-bottom:16px}
body.sc-site .variations_form table.variations th,body.sc-site .variations_form table.variations td{display:block;padding:0;border:0;background:none;text-align:left}
body.sc-site .variations_form table.variations label{font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
body.sc-site .variations_form select.sc-enhanced{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body.sc-site .variations_form select{min-height:48px;border:1px solid var(--sc-line);border-radius:var(--sc-r);background:var(--sc-surface);padding:0 12px;width:100%}
body.sc-site .variations_form .reset_variations{font-size:.86rem;color:var(--sc-muted);display:inline-block;margin-top:8px}
body.sc-site .woocommerce-variation-price{margin-bottom:16px}
body.sc-site .woocommerce-variation-add-to-cart,body.sc-site form.cart:not(.variations_form){display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
body.sc-site form.cart .quantity{float:none;margin:0}
body.sc-site form.cart .quantity .qty{height:50px;width:84px;border:1px solid var(--sc-line);border-radius:var(--sc-r);background:var(--sc-surface);text-align:center;font-family:var(--sc-body);box-sizing:border-box}
body.sc-site form.cart .single_add_to_cart_button{float:none;margin:0}
body.sc-site form.cart .sc-buy-now{grid-column:1/-1}

/* Accordion */
.sc-acc{border-top:1px solid var(--sc-line)}
.sc-acc-item{border-bottom:1px solid var(--sc-line)}
.sc-acc-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;background:none;border:0;border-radius:0;padding:20px 0;text-align:left;font-family:var(--sc-body);font-weight:600;font-size:1.04rem;color:var(--sc-ink);cursor:pointer}
.sc-acc-btn:hover,.sc-acc-btn:focus{background:none;color:var(--sc-ink)}
.sc-acc-btn .pm{flex:none;width:14px;height:14px;position:relative}
.sc-acc-btn .pm::before,.sc-acc-btn .pm::after{content:"";position:absolute;left:0;top:6px;width:14px;height:2px;background:currentColor;transition:transform .35s var(--sc-ease)}
.sc-acc-btn .pm::after{transform:rotate(90deg)}
.sc-acc-btn[aria-expanded="true"] .pm::after{transform:rotate(0)}
.sc-acc-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--sc-ease)}
.sc-acc-panel > div{overflow:hidden;min-height:0}
.sc-acc-btn[aria-expanded="true"] + .sc-acc-panel{grid-template-rows:1fr}
.sc-acc-inner{padding:0 0 22px;color:var(--sc-muted)}
.sc-acc-inner table{width:100%;border-collapse:collapse;border:0}
.sc-acc-inner th,.sc-acc-inner td{text-align:left;padding:8px 12px 8px 0;border:0;border-bottom:1px solid var(--sc-line);background:none;font-style:normal}
.sc-acc-inner th{color:var(--sc-ink);font-weight:600;width:40%}
.sc-acc-inner td p{margin:0;padding:0}

/* Mobile sticky add to cart */
.sc-sticky-buy{position:fixed;left:0;right:0;bottom:0;background:var(--sc-surface);border-top:1px solid var(--sc-line);padding:10px var(--sc-gut);display:none;gap:12px;align-items:center;justify-content:space-between;z-index:800}
.sc-sticky-buy strong{font-size:.92rem;line-height:1.3;min-width:0}
.sc-sticky-buy .sc-btn{flex:none;white-space:nowrap}
@media (max-width:900px){
  body.sc-site.single-product div.product{grid-template-columns:1fr}
  .sc-sticky-buy.show{display:flex}
}

/* ---------- Shortcode components ---------- */
.sc-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.5vw,32px)}
.sc-tier-card{display:grid;grid-template-rows:auto 1fr;border-radius:var(--sc-r-lg);overflow:hidden;background:var(--sc-surface);text-decoration:none;box-shadow:var(--sc-shadow)}
.sc-tier-card .media{aspect-ratio:16/10;overflow:hidden;background:var(--sc-soft)}
.sc-tier-card .media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--sc-ease)}
.sc-tier-card:hover .media img{transform:scale(1.05)}
.sc-tier-card .body{padding:clamp(20px,3vw,34px);display:grid;gap:12px;align-content:start}
body.sc-site .sc-tier-card h3{font-size:clamp(1.6rem,2.6vw,2.1rem);margin:0}
.sc-tier-card p{color:var(--sc-muted);margin:0}
.sc-tier-card ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:720px){.sc-tiers{grid-template-columns:1fr}}

.sc-finder{background:var(--sc-ink);color:#F1F1F3;border-radius:var(--sc-r-lg);padding:clamp(24px,5vw,60px);display:grid;gap:28px}
.sc-finder .sc-eyebrow{color:#F3A3A8}
body.sc-site .sc-finder h2,body.sc-site .sc-finder h3{color:#fff;margin:0}
.sc-finder-steps{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.86rem;color:#A3A3AA;list-style:none;margin:0;padding:0}
.sc-finder-steps .done{color:#fff}
.sc-finder-steps .now{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:6px}
.sc-finder-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.sc-finder-opts button{text-align:left;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:var(--sc-r);padding:18px;font-family:var(--sc-display);font-size:1.3rem;cursor:pointer;transition:background .25s,border-color .25s,transform .25s var(--sc-ease)}
.sc-finder-opts button:hover{background:rgba(255,255,255,.14);border-color:#fff;transform:translateY(-2px)}
.sc-finder-result{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:24px;align-items:center}
.sc-finder-result img{border-radius:var(--sc-r);width:100%;height:auto}
.sc-finder-result > div{display:grid;gap:12px;justify-items:start}
.sc-finder .sc-btn{background:#fff;color:var(--sc-ink);border-color:#fff}
.sc-finder .sc-btn:hover{background:var(--sc-soft)}
.sc-finder-reset{background:none;border:0;color:#C9C9CE;text-decoration:underline;padding:0;font-size:.92rem;cursor:pointer;justify-self:start}
@media (max-width:600px){.sc-finder-result{grid-template-columns:1fr}}

.sc-reviews{display:grid;gap:14px}
.sc-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(20px,3vw,40px);margin-top:20px}
.sc-quote{margin:0;display:grid;gap:14px;align-content:start}
.sc-quote blockquote{margin:0;padding:0;border:0;font-family:var(--sc-display);font-size:1.3rem;line-height:1.4;font-style:normal}
.sc-quote figcaption{font-size:.9rem;color:var(--sc-muted)}
.sc-contact-list{display:grid;gap:22px;margin:0}
.sc-contact-list dt{font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--sc-accent)}
.sc-contact-list dd{margin:4px 0 0;font-size:1.15rem}

/* ---------- Page sections ---------- */
.sc-section{padding-block:clamp(48px,7vw,104px);display:grid;gap:clamp(24px,3.5vw,44px)}
.sc-section-tight{padding-top:0}
.sc-band{background:var(--sc-surface)}
.sc-section-head{display:flex;flex-wrap:wrap;gap:16px 40px;align-items:end;justify-content:space-between}
.sc-stack{display:grid;gap:20px;justify-items:start;align-content:center;min-width:0}
.sc-stack > *{margin:0}
.sc-row{display:flex;flex-wrap:wrap;gap:12px}
.sc-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,5vw,72px);align-items:center;padding-block:clamp(32px,6vw,80px)}
.sc-hero-even{grid-template-columns:repeat(2,minmax(0,1fr))}
.sc-hero-media{border-radius:var(--sc-r-lg);overflow:hidden;background:var(--sc-soft);aspect-ratio:5/4}
.sc-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.sc-facts{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:.92rem;color:var(--sc-muted)}
.sc-facts span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--sc-accent);margin-right:9px;vertical-align:middle}
.sc-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:clamp(20px,3vw,44px)}
.sc-value{display:grid;gap:8px;align-content:start;border-top:1px solid var(--sc-ink);padding-top:18px}
.sc-value p{color:var(--sc-muted);margin:0}
.sc-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:clamp(24px,5vw,80px);align-items:start}
.sc-split-even{grid-template-columns:repeat(2,minmax(0,1fr))}
.sc-cta{background:var(--sc-soft);border-radius:var(--sc-r-lg);padding:clamp(32px,6vw,80px);display:grid;gap:20px;justify-items:start}
.sc-cta > *{margin:0}
.sc-prose{max-width:62ch}
.sc-prose p{color:var(--sc-muted);margin:0 0 16px}
@media (max-width:860px){
  .sc-hero,.sc-hero-even,.sc-split,.sc-split-even{grid-template-columns:1fr}
  .sc-hero > .sc-hero-media{order:-1;aspect-ratio:4/3}
}

/* Standard pages, blog fallback */
.sc-page{padding-block:clamp(28px,5vw,56px)}
.sc-page-title{margin-bottom:clamp(20px,3vw,36px)!important}
.sc-page-head{padding-block:clamp(28px,5vw,56px) clamp(20px,3vw,32px);display:grid;gap:14px}
.sc-page-head > *{margin:0}
.sc-post-list{display:grid;gap:32px;margin-top:24px}
.sc-post h2 a{text-decoration:none}

/* Contact */
.sc-contact{padding-bottom:clamp(32px,5vw,64px)}
.sc-map{width:100%;height:320px;border:0;border-radius:var(--sc-r-lg);background:var(--sc-soft)}
.sc-form{background:var(--sc-surface);border-radius:var(--sc-r-lg);padding:clamp(20px,3vw,32px);display:grid;gap:18px}
.sc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sc-fields p{margin:0;display:grid;gap:6px}
.sc-fields .full{grid-column:1/-1}
.sc-fields label{font-size:.88rem;font-weight:600}
.sc-fields input,.sc-fields textarea{min-height:48px;border:1px solid var(--sc-line);border-radius:var(--sc-r);background:var(--sc-bg);padding:10px 12px;width:100%}
.sc-form .sc-btn{justify-self:start}
.sc-hp{position:absolute;left:-9999px}
.sc-notice{margin:0;padding:12px 16px;border-radius:var(--sc-r);background:var(--sc-soft);color:var(--sc-accent-dark)}
.sc-notice-error{background:#FCEBEC;color:#8E0B14}
@media (max-width:560px){.sc-fields{grid-template-columns:1fr}}

/* ---------- Cart, checkout, account ---------- */
body.sc-site table.shop_table{border:0;border-radius:0;border-collapse:collapse}
body.sc-site table.shop_table th,body.sc-site table.shop_table td{border-top:1px solid var(--sc-line);padding:16px 12px}
body.sc-site table.shop_table th{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase}
body.sc-site .woocommerce-cart table.cart img{width:96px;border-radius:var(--sc-r)}
body.sc-site .cart_totals,body.sc-site #order_review,body.sc-site .wc-block-components-sidebar{background:var(--sc-surface);border-radius:var(--sc-r-lg);padding:clamp(20px,3vw,32px)}
body.sc-site form .form-row input.input-text,body.sc-site form .form-row textarea,body.sc-site form .form-row select{min-height:48px;border:1px solid var(--sc-line);border-radius:var(--sc-r);padding:10px 12px;background:var(--sc-surface)}
body.sc-site .woocommerce-info,body.sc-site .woocommerce-message{border-top-color:var(--sc-accent);background:var(--sc-surface)}
body.sc-site .woocommerce-info::before,body.sc-site .woocommerce-message::before{color:var(--sc-accent)}

@media (prefers-reduced-motion:reduce){
  body.sc-site *,body.sc-site *::before,body.sc-site *::after{transition:none!important;animation:none!important}
}

/* Classic cart and checkout layout */
body.sc-site .woocommerce-ordering{margin-bottom:20px}
body.sc-site .woocommerce::after,.sc-archive-main::after{content:"";display:table;clear:both}
body.sc-site .woocommerce-notices-wrapper{grid-column:1/-1}

/* Illustrations shown until real photos are uploaded */
.sc-card-media img.sc-illus,.sc-tier-card .media img.sc-illus,.sc-hero-media img.sc-illus{object-fit:contain;padding:6%}
body.sc-site .woocommerce-product-gallery img.sc-illus{width:100%;height:auto;display:block}
/* Long words, tables and embeds never push the page wider */
body.sc-site main{min-width:0}
body.sc-site table{max-width:100%}
body.sc-site iframe,body.sc-site video,body.sc-site embed{max-width:100%}
@media (max-width:600px){
  body.sc-site table.shop_table_responsive,body.sc-site .woocommerce-cart table.cart{display:block;width:100%}
  .sc-card-actions{grid-template-columns:1fr 1fr}
}

/* ---------- Product page option steps (1 Size, 2 Firmness, 3 Construction) ---------- */
.sc-step{display:grid;gap:14px;padding-top:24px;margin-bottom:26px;border-top:1px solid var(--sc-line)}
.sc-enquire-wrap .sc-step:last-of-type{margin-bottom:0}
.sc-step-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700}
.sc-step-num{width:28px;height:28px;flex:none;border:1.5px solid var(--sc-accent);color:var(--sc-accent);border-radius:50%;display:grid;place-items:center;font-size:.8rem;letter-spacing:0;font-weight:600}
.sc-step-value{color:var(--sc-muted);font-weight:500}
.sc-step-right{margin-left:auto;color:var(--sc-muted);font-weight:500;letter-spacing:.06em;text-transform:none;font-size:.9rem}
.sc-big-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sc-big-grid-more{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.sc-more-label{font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--sc-muted);margin-top:6px}
.sc-big{min-height:64px;margin:0;border:1.5px solid var(--sc-line);border-radius:8px;background:transparent;color:var(--sc-ink);font-family:var(--sc-body);font-weight:600;font-size:1.02rem;line-height:1.25;display:grid;place-items:center;text-align:center;padding:10px 12px;text-decoration:none;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
a.sc-big:hover,button.sc-big:hover{border-color:var(--sc-ink);background:transparent;color:var(--sc-ink)}
.sc-big[aria-pressed="true"],.sc-big.current,button.sc-big[aria-pressed="true"]:hover{background:var(--sc-ink);border-color:var(--sc-ink);color:#fff}
span.sc-big{cursor:default}
button.sc-big:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.sc-firm-card{place-items:start;align-content:center;text-align:left;gap:4px;padding:16px 20px;min-height:86px}
.sc-firm-card b{font-family:var(--sc-display);font-weight:400;font-size:1.5rem;line-height:1.1}
.sc-firm-card small{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;opacity:.75;font-variant-numeric:tabular-nums}
body.sc-site .variations_form table.variations.sc-table-hidden,body.sc-site .variations_form table.variations tr.sc-row-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
body.sc-site .woocommerce-variation-price{padding-top:22px;border-top:1px solid var(--sc-line)}
@media (max-width:380px){.sc-firm-card b{font-size:1.25rem}.sc-big{font-size:.95rem}}

/* ---------- Homepage v1.4: announcement, full-width hero, strip, collection mosaic, difference cards ---------- */
.sc-announce{background:var(--sc-ink);color:#F1F1F3;font-size:.86rem;text-align:center;letter-spacing:.02em}
.sc-announce .sc-wrap{padding-block:9px}
.sc-hero-full{position:relative;overflow:hidden;background:var(--sc-soft);display:grid;align-items:end;min-height:clamp(440px,62vw,720px)}
.sc-hero-full .sc-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sc-hero-full.has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,19,0) 30%,rgba(17,17,19,.72) 100%)}
.sc-hero-full .sc-hero-art{position:absolute;right:max(var(--sc-gut),calc((100% - var(--sc-wrap))/2));top:50%;transform:translateY(-50%);width:min(52%,680px);height:auto}
.sc-hero-full-inner{position:relative;z-index:1;display:grid;gap:18px;justify-items:start;padding-block:clamp(36px,6vw,80px)}
.sc-hero-full-inner > *{margin:0}
body.sc-site .sc-hero-full h1{font-size:clamp(2.3rem,5.4vw,4.6rem);max-width:15ch}
.sc-hero-full:not(.has-photo) .sc-hero-full-inner{align-self:center;max-width:var(--sc-wrap)}
.sc-hero-full:not(.has-photo) .sc-hero-full-inner > *{max-width:min(46%,560px)}
body.sc-site .sc-hero-full.has-photo h1,.sc-hero-full.has-photo .sc-eyebrow{color:#fff}
.sc-hero-full.has-photo .sc-lede{color:#EDEDF0}
.sc-hero-full.has-photo .sc-btn{background:#fff;border-color:#fff;color:var(--sc-ink)}
.sc-hero-full.has-photo .sc-btn:hover{background:var(--sc-soft);border-color:var(--sc-soft)}
.sc-hero-full.has-photo .sc-btn.sc-btn-ghost{background:transparent;color:#fff;border-color:#fff}
.sc-hero-full.has-photo .sc-btn.sc-btn-ghost:hover{background:#fff;color:var(--sc-ink)}
@media (max-width:860px){
  .sc-hero-full:not(.has-photo){min-height:0;align-items:start}
  .sc-hero-full .sc-hero-art{position:static;transform:none;width:min(86%,420px);margin:28px auto 0;display:block}
  .sc-hero-full:not(.has-photo) .sc-hero-full-inner > *{max-width:none}
  .sc-hero-full.has-photo{min-height:clamp(480px,120vw,640px)}
}
.sc-strip{border-bottom:1px solid var(--sc-line);background:var(--sc-surface)}
.sc-strip ul{list-style:none;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 28px;padding-block:18px;font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--sc-muted)}
@media (max-width:700px){.sc-strip ul{justify-content:center;text-align:center}}
.sc-mosaic{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(12px,1.6vw,22px)}
.sc-tile{position:relative;overflow:hidden;border-radius:var(--sc-r-lg);background:var(--sc-soft);display:grid;align-items:end;min-height:clamp(210px,24vw,330px);text-decoration:none;color:var(--sc-ink)}
.sc-tile:first-child{grid-row:1 / span 2}
.sc-tile:nth-child(3){background:var(--sc-fabric)}
.sc-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .9s var(--sc-ease)}
.sc-tile img.sc-illus{object-fit:contain;padding:8% 10% 22%}
.sc-tile:hover img{transform:scale(1.04)}
.sc-tile.has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,19,0) 45%,rgba(17,17,19,.7) 100%)}
.sc-tile.has-photo{color:#fff}
.sc-tile-text{position:relative;z-index:1;display:grid;gap:4px;padding:clamp(18px,2.4vw,30px)}
.sc-tile-title{font-family:var(--sc-display);font-size:clamp(1.5rem,2.6vw,2.3rem);line-height:1.1}
.sc-tile-note{font-size:.84rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
@media (max-width:760px){.sc-mosaic{grid-template-columns:1fr;grid-template-rows:none}.sc-tile:first-child{grid-row:auto}}
.sc-center{text-align:center}
.sc-diff{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.6vw,36px)}
.sc-diff-card{display:grid;gap:10px;align-content:start}
.sc-diff-card:not(:has(.media)){border-top:1px solid var(--sc-ink);padding-top:18px}
.sc-diff-card .media{aspect-ratio:4/3;border-radius:var(--sc-r-lg);overflow:hidden;background:var(--sc-soft);margin-bottom:8px}
.sc-diff-card .media img{width:100%;height:100%;object-fit:cover;display:block}
.sc-diff-card p{margin:0;color:var(--sc-muted)}
@media (max-width:760px){.sc-diff{grid-template-columns:1fr}}

/* ---------- v1.5: logo, brand colours, photo hero ---------- */
.sc-logo-img{display:block;flex:0 1 auto;min-width:0}
.sc-logo-img img{display:block;height:56px;width:auto;max-width:100%;transition:height .3s var(--sc-ease)}
.sc-header.scrolled .sc-logo-img img{height:44px}
.sc-drawer-head .sc-logo-img img{height:44px}
.sc-footer .sc-logo-img{margin-bottom:16px}
.sc-footer .sc-logo-img img{height:64px}
@media (max-width:1080px){.sc-header .sc-logo-img{margin-right:auto}.sc-header .sc-logo-img img{height:44px}}
/* White surfaces need edges now that the page is white */
.sc-band{background:var(--sc-soft)}
body.sc-site ul.products li.sc-card,.sc-form,.sc-enquire,body.sc-site .cart_totals,body.sc-site #order_review{border:1px solid var(--sc-line)}
.sc-form .sc-fields input,.sc-form .sc-fields textarea{background:var(--sc-surface)}
.sc-strip{background:var(--sc-soft);border-bottom:0}
.sc-card-media,.sc-tier-card .media{background:var(--sc-soft)}
.sc-step-num{border-color:var(--sc-accent);color:var(--sc-accent)}
.sc-nav-list a{background-image:linear-gradient(var(--sc-accent),var(--sc-accent))}
.sc-nav-list a:hover,.sc-nav-list .current-menu-item>a{color:var(--sc-accent)}
.sc-icon-btn:hover{color:var(--sc-accent)}
.sc-link:hover,.sc-tile-note,.sc-card-title a:hover{text-decoration-color:var(--sc-accent)}
.sc-card-title a:hover,.sc-footer a:hover{color:var(--sc-accent)}
.sc-footer a:hover{color:#fff}
.sc-acc-btn:hover{color:var(--sc-accent)}
.sc-diff-card:not(:has(.media)),.sc-value{border-top:2px solid var(--sc-accent)}
.sc-finder .sc-btn{background:var(--sc-accent);border-color:var(--sc-accent);color:#fff}
.sc-finder .sc-btn:hover{background:var(--sc-accent-dark);border-color:var(--sc-accent-dark)}
.sc-announce{border-bottom:3px solid var(--sc-accent)}
/* Hero with the bedroom photo: text on the left over a dark fade, photo anchored right */
.sc-hero-full.has-photo{align-items:center;min-height:clamp(460px,46vw,680px);background:var(--sc-ink)}
.sc-hero-full.has-photo .sc-hero-bg{object-position:70% 55%}
.sc-hero-full.has-photo::after{background:linear-gradient(90deg,rgba(17,17,19,.88) 0%,rgba(17,17,19,.72) 30%,rgba(17,17,19,0) 62%)}
.sc-hero-full.has-photo .sc-hero-full-inner > *{max-width:min(48%,600px)}
.sc-hero-full.has-photo .sc-eyebrow{color:#fff;border-left:3px solid var(--sc-accent);padding-left:10px}
.sc-hero-full.has-photo .sc-btn{background:var(--sc-accent);border-color:var(--sc-accent);color:#fff}
.sc-hero-full.has-photo .sc-btn:hover{background:var(--sc-accent-dark);border-color:var(--sc-accent-dark)}
@media (max-width:860px){
  .sc-hero-full.has-photo{display:block;min-height:0}
  .sc-hero-full.has-photo .sc-hero-bg{position:static;display:block;aspect-ratio:3/2;height:auto;object-position:center}
  .sc-hero-full.has-photo::after{display:none}
  .sc-hero-full.has-photo .sc-hero-full-inner > *{max-width:none}
  .sc-hero-full.has-photo .sc-hero-full-inner{padding-block:28px 36px}
}

/* ---------- v1.6: collections inside collections, "different" grid ---------- */
.sc-subcats{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:clamp(12px,1.6vw,22px);margin-bottom:clamp(28px,4vw,48px)}
.sc-subcats .sc-tile{min-height:clamp(200px,22vw,300px)}
.sc-subcats .sc-tile:first-child{grid-row:auto}
.sc-empty-collection{display:grid;gap:18px;justify-items:start;padding-block:12px 40px}
.sc-empty-collection p{margin:0}
/* Heading takes the first cell; three photo cards follow. Two columns on phones, four on desktop. */
.sc-diff{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:clamp(18px,3vw,44px)}
body.sc-site .sc-diff-title{align-self:center;text-align:center;font-size:clamp(1.6rem,2.8vw,2.5rem);margin:0}
.sc-diff-card,.sc-diff-card:not(:has(.media)){border-top:0;padding-top:0;gap:14px;text-align:center}
.sc-diff-card .media{aspect-ratio:4/5;border-radius:0;margin-bottom:0}
body.sc-site .sc-diff-card h3{font-size:clamp(1.1rem,1.7vw,1.5rem);line-height:1.2;margin:0}
@media (max-width:900px){.sc-diff{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.sc-diff{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}}

/* v1.6.1: "different" cards swap the photo for their description on hover, focus or tap */
.sc-diff-card{cursor:pointer;outline-offset:6px}
.sc-diff-card .media{position:relative;overflow:visible;background:transparent}
.sc-diff-card .media img{transition:opacity .45s var(--sc-ease)}
.sc-diff-card .sc-diff-text{position:absolute;inset:0;margin:0;display:grid;place-items:center;text-align:center;padding:clamp(14px,2vw,28px);background:var(--sc-surface);color:var(--sc-muted);font-size:clamp(.95rem,1.25vw,1.12rem);line-height:1.7;opacity:0;box-shadow:0 18px 44px -18px rgba(17,17,19,.35);transition:opacity .45s var(--sc-ease)}
.sc-diff-card.is-open .sc-diff-text,.sc-diff-card:focus-visible .sc-diff-text{opacity:1}
.sc-diff-card.is-open .media img,.sc-diff-card:focus-visible .media img{opacity:0}
@media (hover:hover){
  .sc-diff-card:hover .sc-diff-text{opacity:1}
  .sc-diff-card:hover .media img{opacity:0}
}

/* v1.7: WhatsApp chat button */
.sc-wa{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:850;display:inline-flex;align-items:center;gap:8px;height:54px;padding:0 20px 0 16px;border-radius:27px;background:#1FA855;color:#fff!important;font-weight:600;font-size:.95rem;text-decoration:none;box-shadow:0 10px 28px -10px rgba(17,17,19,.5);transition:transform .25s var(--sc-ease),background .25s}
.sc-wa:hover{background:#178A45;transform:translateY(-2px)}
@media (max-width:600px){.sc-wa{width:54px;padding:0;justify-content:center}.sc-wa span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media (max-width:900px){body.single-product .sc-wa{bottom:calc(78px + env(safe-area-inset-bottom))}}

/* v1.7.2: buttons keep their label centred even against WooCommerce's own button rules */
body.sc-site.sc-site :is(a.button,button.button,input.button),body.sc-site #respond input#submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center;line-height:1.2!important;float:none!important}
body.sc-site.sc-site ul.products li.product .sc-card-actions .button{display:flex!important;width:100%;min-height:48px;margin:0!important;padding:0 16px!important;font-size:.95rem;letter-spacing:.01em;border-radius:8px;gap:8px}
body.sc-site.sc-site ul.products li.product .sc-card-actions.single .button::after{content:"\2192";font-size:1.05em;transition:transform .3s var(--sc-ease)}
body.sc-site.sc-site ul.products li.product .sc-card-actions.single .button:hover::after{transform:translateX(4px)}
.sc-card-actions{padding-top:10px}
.sc-por{font-size:.9rem;letter-spacing:.02em}
