:root{
  --green:#4d5a4b;
  --cream:#fbf8f1;
  --warm:#f8f2e9;
  --panel:#fffdf8;
  --ink:#2d2a26;
  --body:#514b45;
  --muted:#8a765f;
  --line:#e7ded1;
  --shadow:0 16px 44px rgba(67,52,36,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--body);background:var(--cream);font-size:16px}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit}
.serif,h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--ink);font-weight:400;letter-spacing:-.035em}

/* Announcement + header */
.announcement{height:29px;background:var(--green);color:white;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;text-align:center}
.site-header{height:74px;background:var(--panel);display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(231,222,209,.8);position:sticky;top:0;z-index:50}
.header-inner{width:min(1180px,92vw);display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo{font-family:Georgia,"Times New Roman",serif;font-size:34px;color:var(--ink);line-height:1;position:relative;text-decoration:none;white-space:nowrap}
.logo sup{font-size:12px;margin-left:1px}
.nav{display:flex;gap:34px;align-items:center;font-size:15px;font-weight:800;color:#2e2b28}
.nav a{text-decoration:none}
.nav a:hover{color:var(--muted);text-decoration:none}
.header-icons{display:flex;gap:18px;align-items:center;font-size:22px}
.icon-btn{background:transparent;border:0;cursor:pointer;position:relative;color:var(--ink);line-height:1;text-decoration:none}
.cart-count{position:absolute;right:-10px;top:-9px;background:var(--green);color:white;border-radius:50%;min-width:18px;height:18px;font-size:11px;display:grid;place-items:center}

/* Hero */
.hero{min-height:580px;background:linear-gradient(90deg,#f7efe6 0%,#fbf7ef 40%,rgba(251,248,241,.18) 58%),url("../images/hero-lifestyle.jpg");background-size:cover;background-position:center right;display:flex;align-items:center;border-bottom:1px solid var(--line)}
.hero-content{width:min(1180px,92vw);margin:0 auto;padding:70px 0}
.kicker{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:800;font-size:14px;margin-bottom:14px}
.hero h1{font-size:clamp(44px,5.9vw,72px);line-height:.98;margin:16px 0 22px;max-width:550px}
.hero p{font-size:17px;line-height:1.65;max-width:500px;margin:0 0 28px}
.btn-row{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.btn{border:1px solid var(--muted);background:transparent;color:var(--ink);border-radius:999px;padding:13px 30px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1}
.btn.primary{background:var(--muted);color:white}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(67,52,36,.08);text-decoration:none}
.rating{display:flex;gap:9px;align-items:center;font-size:14px}
.stars{color:#b3874b;letter-spacing:2px;white-space:nowrap}

/* Benefit strip */
.benefit-strip{background:var(--panel);border-bottom:1px solid var(--line)}
.benefit-inner{width:min(1180px,94vw);margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr)}
.benefit{padding:20px 18px;display:flex;align-items:center;gap:12px;border-right:1px solid var(--line);font-size:13px;font-weight:700;color:#2f2b27;min-height:72px}
.benefit:last-child{border-right:0}
.benefit-icon{width:42px;height:42px;border:1px solid #b9a58b;color:#9c7d58;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:0 0 auto}

/* Product */
.product-section{background:#fff;border-bottom:1px solid var(--line)}
.product-grid{display:grid;grid-template-columns:1fr 1fr;width:min(1180px,100%);margin:0 auto}
.gallery{padding:42px 56px;border-right:1px solid var(--line);position:relative}
.main-product{background:#fbf7f1;border-radius:18px;min-height:430px;display:grid;place-items:center;position:relative;overflow:hidden}
.main-product img{max-height:445px;object-fit:contain}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:white;border:1px solid var(--line);box-shadow:var(--shadow);display:grid;place-items:center;color:var(--muted);cursor:pointer;z-index:2}
.carousel-arrow.prev{left:30px}
.carousel-arrow.next{right:30px}
.thumb-row{display:flex;gap:12px;justify-content:center;margin-top:18px;min-height:60px}
.thumb{width:58px;height:58px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;padding:4px;opacity:.82}
.thumb.active{border:2px solid var(--muted);opacity:1}
.product-info{padding:46px 56px}
.product-info h2{font-size:34px;line-height:1.08;margin:7px 0 10px;max-width:520px}
.product-rating{font-size:14px;display:flex;gap:10px;align-items:center;margin-bottom:10px}
.price{font-size:25px;font-weight:900;color:var(--ink);margin:6px 0 14px}
.product-info p{line-height:1.55}
.swatches{display:flex;gap:13px;margin:13px 0 18px;min-height:38px}
.swatch{width:32px;height:32px;border-radius:50%;border:1px solid #ddd0c2;cursor:pointer;position:relative}
.swatch.active:after{content:"";position:absolute;inset:-5px;border:1.5px solid var(--muted);border-radius:50%}
.size-row{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 0;min-height:42px}
.size-btn{border:1px solid #cfc3b4;background:white;border-radius:7px;padding:10px 14px;cursor:pointer;font-size:13px}
.size-btn.active{border-color:var(--muted);background:#f5eee5}
.purchase-row{display:flex;gap:12px;align-items:center;margin-top:24px}
.qty{display:flex;align-items:center;border:1px solid #cfc3b4;border-radius:7px;background:white;overflow:hidden}
.qty button{border:0;background:transparent;width:38px;height:42px;cursor:pointer;font-weight:800}
.qty span{min-width:34px;text-align:center}
.add-cart{min-width:280px}
.guarantee{font-size:13px;margin-top:15px;color:#635e58}

/* Sections */
.section{padding:64px 0;background:var(--panel);border-bottom:1px solid var(--line)}
.section.alt{background:var(--cream)}
.section h2{text-align:center;font-size:36px;margin:0 0 34px}
.container{width:min(1180px,92vw);margin:0 auto}
.feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.feature-card,.color-card,.review-card,.profile-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px rgba(67,52,36,.035);overflow:hidden;text-align:center}
.feature-card img{height:138px;width:100%;object-fit:cover}
.feature-card h3{font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:900;letter-spacing:0;margin:15px 10px 6px}
.feature-card p{font-size:13px;line-height:1.45;margin:0 16px 18px}
.color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.color-card{padding:0 0 14px;position:relative}
.color-card img{height:182px;width:100%;object-fit:contain;background:#faf5ee}
.color-dot{position:absolute;left:12px;bottom:44px;width:30px;height:30px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #cabfad}
.color-card h3{font-family:Georgia,"Times New Roman",serif;font-size:17px;margin:10px 0 0;font-weight:700}

/* Sleep climate profiles */
.profile-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:linear-gradient(90deg,#f2f8fa,#fbf5ed,#fbefef);border-radius:22px;padding:22px 10px;border:1px solid rgba(231,222,209,.7)}
.profile-card{box-shadow:none;background:transparent;border:0;border-right:1px solid #d8cec0;border-radius:0;padding:18px 34px}
.profile-card:last-child{border-right:0}
.profile-icon{font-size:38px;color:var(--muted);line-height:1}
.profile-card h3{font-size:22px;margin:8px 0 8px}
.profile-card p{font-size:13px;line-height:1.45;min-height:38px}
.profile-card .btn{padding:8px 26px;font-size:13px;margin-top:8px}

/* Reviews */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.review-card{text-align:left;padding:22px 28px;min-height:180px}
.review-card p{font-size:14px;line-height:1.45;margin:8px 0 20px}
.reviewer{display:flex;gap:12px;align-items:center}
.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#c68b6f,#efe4d6);display:grid;place-items:center;color:white;font-weight:900;flex:0 0 auto}

/* Microclimate */
.micro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden}
.micro{display:flex;gap:18px;padding:28px;border-right:1px solid var(--line)}
.micro:last-child{border-right:0}
.num{width:24px;height:24px;background:#b4895c;color:white;border-radius:50%;font-size:13px;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.micro-icon{font-size:48px;color:#9a7a55;margin-bottom:8px}
.micro h3{font-family:Inter,system-ui,sans-serif;letter-spacing:0;font-size:15px;font-weight:900;margin:0 0 8px}
.micro p{font-size:13px;margin:0;line-height:1.5}

/* FAQ */
.faq{max-width:820px;margin:0 auto;border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:last-child{border-bottom:0}
.faq-question{width:100%;display:flex;justify-content:space-between;align-items:center;background:white;border:0;padding:15px 18px;text-align:left;font-weight:800;cursor:pointer;color:var(--ink)}
.faq-answer{display:none;padding:0 18px 18px;font-size:14px;line-height:1.55}
.faq-item.open .faq-answer{display:block}

/* Newsletter + footer */
.newsletter{background:linear-gradient(90deg,rgba(77,90,75,.06),rgba(77,90,75,.98)),url("../images/newsletter-cozy.jpg");background-size:cover;background-position:center;min-height:126px;color:white;display:flex;align-items:center}
.newsletter-inner{width:min(1180px,92vw);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}
.newsletter h2{font-size:30px;color:white;margin:0}
.newsletter p{color:white;margin:6px 0 0}
.signup{display:flex;gap:12px;justify-content:flex-end}
.signup input{border:0;border-radius:999px;padding:14px 18px;min-width:290px}
.signup button{border:0;border-radius:999px;background:#b29375;color:white;font-weight:800;padding:13px 24px;cursor:pointer}
.footer{background:#fff;padding:38px 0 22px;border-top:1px solid var(--line)}
.footer-grid{width:min(1180px,92vw);margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1.8fr;gap:36px}
.footer h3{font-size:28px;margin:0 0 8px}
.footer h4{font-weight:900;margin:0 0 10px;color:var(--ink)}
.footer a,.footer p{display:block;font-size:13px;margin:7px 0;color:#5f5b56;text-decoration:none;line-height:1.35}
.footer a:hover{text-decoration:underline}
.socials{display:flex;gap:15px;font-size:18px;margin-top:14px}
.socials a{display:inline-block}
.payments{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.payments span{font-size:11px;font-weight:900;border:1px solid #d8d0c2;border-radius:4px;padding:5px 8px;background:#fff}
.copyright{text-align:center;font-size:12px;margin-top:20px;color:#7a736b}

/* Cart drawer */
.cart-drawer{position:fixed;top:0;right:-430px;width:min(430px,92vw);height:100dvh;background:var(--panel);z-index:100;box-shadow:-18px 0 50px rgba(0,0,0,.16);transition:.28s ease;display:flex;flex-direction:column}
.cart-drawer.open{right:0}
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:90;display:none}
.cart-overlay.open{display:block}
.cart-head{padding:22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.cart-head h2{margin:0;font-size:28px}
.close-cart{background:transparent;border:0;font-size:32px;cursor:pointer}
.cart-items{padding:18px;overflow:auto;flex:1}
.cart-item{display:grid;grid-template-columns:78px 1fr auto;gap:14px;border-bottom:1px solid var(--line);padding:14px 0}
.cart-item img{width:78px;height:78px;object-fit:contain;background:#faf5ee;border-radius:10px}
.cart-item h4{margin:0 0 5px;color:var(--ink)}
.cart-item p{margin:2px 0;font-size:13px}
.remove{background:transparent;border:0;color:#9c573c;cursor:pointer;font-size:12px}
.cart-foot{border-top:1px solid var(--line);padding:18px}
.summary-row{display:flex;justify-content:space-between;margin:7px 0}
.checkout-btn{width:100%;margin-top:14px}
.empty-cart{text-align:center;padding:60px 20px;color:#7b746c}

/* Checkout / legal */
.checkout-layout{width:min(1080px,92vw);margin:42px auto;display:grid;grid-template-columns:1.1fr .9fr;gap:32px}
.checkout-card,.legal-page{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
.legal-page{width:min(920px,92vw);margin:42px auto;padding:38px}
.legal-page h1{font-size:44px;margin-top:0}
.legal-page h2{font-size:26px;margin-top:28px}
.legal-page p,.legal-page li{line-height:1.75}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-field{display:flex;flex-direction:column;gap:6px}
.form-field.full{grid-column:1/-1}
.form-field input,.form-field select,.form-field textarea{border:1px solid #d2c7b8;border-radius:8px;padding:13px;background:white}

/* Responsive */
@media(max-width:1050px){
  .benefit-inner,.feature-grid,.color-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .nav{display:none}
  .hero{background-position:center right;min-height:auto}
  .hero-content{padding:48px 0}
  .product-grid,.profile-wrap,.review-grid,.micro-grid,.footer-grid,.newsletter-inner,.checkout-layout{grid-template-columns:1fr}
  .benefit-inner,.feature-grid,.color-grid{grid-template-columns:1fr}
  .benefit,.profile-card,.micro{border-right:0;border-bottom:1px solid var(--line)}
  .gallery,.product-info{padding:32px 22px;border-right:0}
  .purchase-row,.signup{flex-direction:column;align-items:stretch}
  .add-cart{min-width:auto;width:100%}
  .newsletter{padding:28px 0}
  .section{padding:42px 0}
}


/* Footer/social management patch */
.socials{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:18px}
.socials a{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;display:inline-grid!important;place-items:center;text-decoration:none;color:var(--ink);background:#fff;font-size:16px;transition:.18s ease}
.socials a:hover{background:var(--green);color:#fff;text-decoration:none;transform:translateY(-1px)}
.footer-grid{grid-template-columns:1.6fr repeat(4,1fr) 1.55fr}
.footer a{line-height:1.35;margin:8px 0;word-break:normal;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.footer-grid{grid-template-columns:1fr}.socials a{width:38px;height:38px}}


/* Size guide redesign patch */
.size-guide-page{background:linear-gradient(180deg,#fbf8f1 0%,#f8f1e8 100%);padding:70px 0}
.size-hero{width:min(1180px,92vw);margin:0 auto}
.size-card{background:#fffdf8;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px rgba(67,52,36,.08);padding:56px}
.size-card h1{font-size:clamp(42px,6vw,70px);line-height:.98;margin:0 0 24px}
.size-intro{font-size:20px;line-height:1.65;max-width:960px;margin-bottom:28px}
.size-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:#fff}
.size-table{width:100%;border-collapse:collapse;min-width:720px}
.size-table th,.size-table td{padding:18px 22px;text-align:left;border-bottom:1px solid var(--line);font-size:17px}
.size-table th{background:#f6efe6;color:var(--ink);font-weight:900}
.size-table tr:last-child td{border-bottom:0}
.size-table tbody tr:nth-child(even){background:#fbf7f1}
.size-mobile-cards{display:none}
.fit-notes{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0}
.fit-notes>div{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fbf7f1}
.fit-notes h2{font-size:25px;margin:0 0 8px}
.fit-notes p{line-height:1.6;margin:0}
@media(max-width:760px){
  .size-guide-page{padding:28px 0}
  .size-card{padding:26px 18px;border-radius:18px}
  .size-card h1{font-size:40px}
  .size-intro{font-size:16px}
  .size-table-wrap{display:none}
  .size-mobile-cards{display:grid;grid-template-columns:1fr;gap:14px;margin:18px 0}
  .size-mobile-cards article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 10px 28px rgba(67,52,36,.06)}
  .size-mobile-cards h3{font-size:32px;margin:0 0 10px}
  .size-mobile-cards p{margin:6px 0}
  .fit-notes{grid-template-columns:1fr}
}

.full{grid-column:1/-1}.admin-kpi{font-size:34px;font-weight:800;margin:8px 0}code{background:#f4eee5;border:1px solid #e2d8ca;border-radius:6px;padding:2px 6px}


.checkout-paypal-panel{margin-top:18px}.notice.success{background:#eaf6ee;border-color:#b7dfc2;color:#245a34}.notice.warning{background:#fff7df;border-color:#ead28a;color:#66521a}.notice.error{background:#fdeceb;border-color:#f3c3bd;color:#8a3a31}#sleepweave-paypal-buttons{margin-top:14px;min-height:45px}.checkout-card .small{font-size:13px;color:#746e67}.legal-card .btn{margin-top:12px}
/* v14 checkout + order management */
.checkout-section-title{font-size:1rem;margin:14px 0 4px;color:#2f3a2f}
.checkout-checkbox{display:flex!important;align-items:center;gap:10px;background:#f7f1e8;border:1px solid #e2d6c5;border-radius:12px;padding:12px}
.checkout-checkbox input{width:auto;margin:0}
.billing-panel{background:#fbf8f3;border:1px solid #e6dccd;border-radius:16px;padding:14px;margin:4px 0 14px}
.orders-table td{min-width:150px}
.orders-table td:nth-child(3){min-width:260px}
.orders-table td:nth-child(4){min-width:260px}
/* v15 customer account portal */
.account-page{max-width:1180px;margin:0 auto;padding:54px 22px}
.account-hero{background:linear-gradient(135deg,#2f3a2f,#6f7f69 60%,#a58a6b);color:#fff;border-radius:28px;padding:34px;margin-bottom:20px;box-shadow:0 24px 70px rgba(44,35,20,.12)}
.account-hero h1{margin:0 0 8px;font-size:clamp(2rem,4vw,3.4rem)}
.account-hero p{margin:0;color:rgba(255,255,255,.85)}
.account-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px;background:#fff;border:1px solid #e7ded1;border-radius:999px;padding:8px;box-shadow:0 16px 42px rgba(44,35,20,.07)}
.account-nav a,.account-nav button{border:0;background:transparent;color:#2d2a26;text-decoration:none;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer}
.account-nav a:hover,.account-nav button:hover{background:#f2eadf}
.account-nav form{margin-left:auto}
.account-card{background:#fff;border:1px solid #e7ded1;border-radius:24px;padding:22px;box-shadow:0 18px 48px rgba(44,35,20,.08);margin-bottom:18px}
.account-card h1,.account-card h2{margin-top:0}
.auth-card{max-width:560px;margin:0 auto}
.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.account-grid.two{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
.kpi-grid .account-card span{display:block;color:#746e67;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.kpi-grid .account-card strong{display:block;font-size:34px;margin-top:7px}
.account-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eee5d8;padding:13px 0}
.account-row:last-child{border-bottom:0}
.order-card{border:1px solid #eee5d8;border-radius:18px;padding:16px;margin:14px 0;background:#fbf8f3}
.order-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.order-card-head h2{margin:0}
.account-links{margin-top:16px}
.account-links a{font-weight:800;color:#5c6b55}
.notice.success{background:#e8f6ec;color:#245a34;border:1px solid #b9e0c3;padding:12px 16px;border-radius:14px}
.notice.error{background:#fdeceb;color:#8f3e34;border:1px solid #f4c6bf;padding:12px 16px;border-radius:14px}
@media(max-width:720px){.account-nav{border-radius:22px}.account-nav form{margin-left:0}.account-row,.order-card-head{align-items:flex-start;flex-direction:column}.account-page{padding:32px 14px}}
/* v15c account/customer portal formatting fix */
.auth-page{display:flex;justify-content:center;align-items:flex-start;padding-top:54px;padding-bottom:54px}
.auth-card{width:min(100%,560px);padding:30px 34px}
.auth-card h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.05;margin-bottom:12px}
.auth-intro{color:#6d665e;margin:0 0 18px;line-height:1.45}
.account-form{display:grid;grid-template-columns:1fr;gap:14px}
.account-form.compact{gap:12px}
.account-form .form-field,.account-card .form-field{display:block;width:100%;margin:0}
.account-form .form-field span,.account-card .form-field span{display:block;font-size:.92rem;color:#5e574f;margin:0 0 6px}
.account-form input,.account-form select,.account-form textarea,
.account-card input,.account-card select,.account-card textarea{
  width:100%;max-width:100%;display:block;min-height:44px;border:1px solid #d9cdbc;border-radius:12px;
  padding:11px 13px;background:#fff;color:#2d2a26;font:inherit;box-sizing:border-box;margin:0
}
.account-form textarea,.account-card textarea{min-height:128px;resize:vertical}
.account-form input:disabled,.account-card input:disabled{background:#f4efe7;color:#777}
.account-submit{justify-self:start;margin-top:2px}
.account-check{display:flex;align-items:center;gap:10px;background:#f7f1e8;border:1px solid #e2d6c5;border-radius:12px;padding:12px 14px;margin:0}
.account-check input{width:auto;min-height:auto;margin:0}
.account-links{color:#6d665e}.account-links a{font-weight:800;color:#43533f;text-decoration:none}.account-links a:hover{text-decoration:underline}
.account-grid.two .account-card{min-width:0}
.account-card h2{font-size:1.45rem;margin-bottom:16px}
.account-nav{max-width:1100px;margin-left:auto;margin-right:auto}
.account-hero{max-width:1100px;margin-left:auto;margin-right:auto}
.account-page>.account-grid{max-width:1100px;margin-left:auto;margin-right:auto}
.account-row span,.order-card p{color:#6d665e}

/* Checkout checkbox and account creation fixes */
.checkout-layout .checkout-checkbox{
  display:flex!important;align-items:center;justify-content:flex-start;gap:12px;text-align:left;
  background:#f7f1e8;border:1px solid #e2d6c5;border-radius:14px;padding:13px 15px;margin:4px 0 10px
}
.checkout-layout .checkout-checkbox input{width:auto!important;min-height:auto!important;flex:0 0 auto;margin:0!important;display:inline-block!important}
.checkout-layout .checkout-checkbox span{display:block;margin:0;color:#4f4942;font-weight:700}
.billing-panel.account-password-panel{background:#fffaf3;border-color:#d8c7b1}
.checkout-layout .form-field{display:block;width:100%}
.checkout-layout .form-field span{display:block;margin-bottom:6px}
.checkout-layout .form-field input,.checkout-layout .form-field select,.checkout-layout .form-field textarea{width:100%;box-sizing:border-box}

/* Mobile cleanup */
@media(max-width:760px){
  .auth-card{padding:24px 20px}
  .account-page{padding-left:14px;padding-right:14px}
  .account-nav{border-radius:20px;align-items:stretch}
  .account-nav a,.account-nav button{width:100%;text-align:center}
  .account-nav form{width:100%;margin-left:0}
}
/* v16 admin orders/products search, sort, filter, edit */
.admin-filter-card{position:sticky;top:0;z-index:3}
.admin-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;align-items:end}
.admin-filter-grid label,.admin-edit-grid label,.mini-admin-form label{display:block;font-size:13px;color:#5f574d;font-weight:700}
.admin-filter-grid input,.admin-filter-grid select,
.admin-edit-grid input,.admin-edit-grid select,.admin-edit-grid textarea,
.mini-admin-form input,.mini-admin-form select,
.variant-table input,.variant-table select{
  width:100%;box-sizing:border-box;border:1px solid #d7c9b7;border-radius:12px;background:#fff;padding:10px 12px;margin-top:6px;
}
.admin-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;align-items:end}
.admin-edit-grid.compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.admin-edit-grid .full,.admin-filter-grid .full{grid-column:1/-1}
.filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.admin-check{display:flex!important;align-items:center;gap:8px;background:#f8f1e8;border:1px solid #e3d7c7;border-radius:12px;padding:11px 12px;margin-top:6px}
.admin-check input{width:auto!important;margin:0!important}
.small-check{padding:7px 8px;font-size:12px}
.admin-table-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.sort-link{color:#5b544b;text-decoration:none;font-weight:800;white-space:nowrap}
.sort-link:hover{color:#2f3a2f;text-decoration:underline}
.data-table-wrap{overflow:auto}
.products-table th,.orders-table th,.variant-table th{white-space:nowrap}
.products-table td,.orders-table td,.variant-table td{vertical-align:top}
.variant-table input{min-width:120px}
.variant-table button,.mini-admin-form button{white-space:nowrap}
.mini-admin-form{display:grid;grid-template-columns:1fr;gap:8px;min-width:220px}
.mini-line{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #f1e8dc}
.mini-line:last-child{border-bottom:0}
.product-editor-card{scroll-margin-top:24px}
.pagination-wrap{margin-top:16px}
.pagination-wrap nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pagination-wrap a,.pagination-wrap span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border:1px solid #e3d7c7;border-radius:999px;padding:0 10px;text-decoration:none;color:#453d35;background:#fff}
.pagination-wrap span[aria-current="page"],.pagination-wrap .active span{background:#6f7f69;color:#fff}
button.danger,.btn.danger{background:linear-gradient(180deg,#b85e50,#98493d)!important;color:#fff!important}
@media(max-width:900px){
  .admin-filter-card{position:relative}
  .admin-table-head{align-items:flex-start}
}
/* v17 support ticket notifications and message colors */
.nav-link-with-badge{position:relative}.nav-alert-badge{margin-left:auto;background:#d64235;color:#fff;border-radius:999px;min-width:22px;height:22px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;box-shadow:0 0 0 3px rgba(214,66,53,.18)}
.ticket-dot{display:inline-block;width:10px;height:10px;background:#d64235;border-radius:999px;margin-right:8px;box-shadow:0 0 0 4px rgba(214,66,53,.13)}
.ticket-row-unread{background:#fff8f4}
.ticket-message{box-shadow:none;border-radius:18px;padding:16px;margin:12px 0;border:1px solid #eadfce}
.ticket-message-customer{background:#f7fbff;border-color:#cbdff5}
.ticket-message-staff{background:#eef7ee;border-color:#c2dfc5}
.ticket-message-internal{background:#fff6e8;border-color:#ead4a8}
.staff-badge{background:#e8f6ec;color:#245a34;border-color:#b9e0c3}
.customer-badge{background:#eaf3ff;color:#23527a;border-color:#c8def5}
.customer-ticket-card{position:relative}
.customer-ticket-unread{border-color:#d64235;background:#fff8f4}
.ticket-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ticket-new-badge,.customer-nav-badge{display:inline-flex;align-items:center;justify-content:center;background:#d64235;color:#fff;border-radius:999px;font-size:12px;font-weight:800;padding:4px 9px}
.customer-support-link{display:inline-flex!important;align-items:center;gap:8px}
.customer-ticket-thread{display:flex;flex-direction:column;gap:12px;margin:14px 0}
.customer-ticket-message{max-width:88%;border-radius:18px;padding:13px 15px;border:1px solid #e5dacb}
.customer-ticket-message.from-customer{align-self:flex-end;background:#eef4ff;border-color:#c8d9f5}
.customer-ticket-message.from-staff{align-self:flex-start;background:#eef7ee;border-color:#c2dfc5}
.ticket-message-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:5px;color:#5f574d}
.customer-ticket-message p{margin:0;color:#2d2a26}
.customer-ticket-reply{margin-top:12px;border-top:1px solid #eee5d8;padding-top:12px}
@media(max-width:720px){.customer-ticket-message{max-width:100%}.ticket-message-meta{flex-direction:column;gap:2px}}
/* v18 Hostiso-style customer support ticket portal */
.support-portal-page{max-width:1220px;margin:0 auto}
.support-page-title{margin:10px 0 18px}
.support-page-title h1{font-size:34px;margin:0 0 6px;color:#2d2a26}
.support-page-title p{margin:0;color:#6d665e}
.support-portal-layout{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start}
.support-sidebar{display:grid;gap:16px}
.support-side-card,.support-table-card,.support-open-card{
  background:#fff;border:1px solid #e2d8ca;border-radius:14px;box-shadow:0 14px 34px rgba(44,35,20,.06);overflow:hidden
}
.support-side-head{padding:14px 18px;border-bottom:1px solid #eee5d8;font-weight:800;background:#fbf8f3;display:flex;align-items:center;justify-content:space-between}
.support-filter-row,.support-menu-row{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:#3e3933;padding:13px 18px;border-bottom:1px solid #f0e8dd;font-size:14px}
.support-filter-row:last-child,.support-menu-row:last-child{border-bottom:0}
.support-filter-row span,.support-menu-row{font-weight:650}
.support-filter-row strong{font-size:12px;background:#f2eadf;border-radius:999px;padding:3px 8px;min-width:24px;text-align:center}
.support-filter-row:hover,.support-filter-row.active,.support-menu-row:hover,.support-menu-row.active{background:#f7f1e8}
.support-menu-row{justify-content:flex-start}.support-menu-row i{width:18px;color:#6f7f69}
.support-main{display:grid;gap:18px}
.support-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;border-bottom:1px solid #eee5d8;background:#fff}
.support-toolbar h2{margin:0;font-size:20px}.support-toolbar p{margin:4px 0 0;color:#6d665e}
.support-search{position:relative;min-width:280px}
.support-search i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#9a9085}
.support-search input{width:100%;padding:12px 14px 12px 38px;border:1px solid #d8cbbb;border-radius:10px;margin:0}
.support-table-wrap{overflow:auto}
.support-ticket-table{width:100%;border-collapse:collapse}
.support-ticket-table th,.support-ticket-table td{padding:15px 18px;border-bottom:1px solid #eee5d8;text-align:left;vertical-align:middle}
.support-ticket-table th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#736a61;background:#fbf8f3}
.support-ticket-table tr{cursor:pointer;transition:.15s ease}
.support-ticket-table tbody tr:hover{background:#fbf8f3}
.support-ticket-table tbody tr.has-new-reply{background:#fff8f4}
.support-ticket-table td span{color:#7b7268;font-size:13px}
.status-pill{display:inline-flex;border-radius:999px;padding:5px 10px;font-weight:800;font-size:12px;color:#fff;text-transform:capitalize}
.status-open{background:#2d8c57}.status-pending{background:#7257d5}.status-closed{background:#6d7280}
.ticket-new-badge,.customer-nav-badge{display:inline-flex;align-items:center;justify-content:center;background:#d64235;color:#fff!important;border-radius:999px;font-size:12px;font-weight:800;padding:4px 9px;margin-left:8px}
.customer-support-link{display:inline-flex!important;align-items:center;gap:8px}
.support-pagination{padding:15px 18px}.support-pagination nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.support-open-card{padding:22px}.support-open-card h2{margin:0 0 8px}.support-open-card p{color:#6d665e;margin-top:0}
.support-meta-row{display:flex;justify-content:space-between;gap:10px;padding:13px 18px;border-bottom:1px solid #f0e8dd}.support-meta-row:last-child{border-bottom:0}.support-meta-row span{color:#6d665e}.support-meta-row strong{text-align:right}
.support-thread{padding:20px;display:flex;flex-direction:column;gap:16px;background:#fbf8f3}
.support-message{max-width:82%;border:1px solid #e1d7c8;border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(44,35,20,.04)}
.support-message.customer-message{align-self:flex-end;background:#eaf3ff;border-color:#c9dcf4}
.support-message.staff-message{align-self:flex-start;background:#eaf7ed;border-color:#c2dfc5}
.support-message-head{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;font-size:13px;color:#5f574d}
.support-message p{margin:0;color:#2d2a26;line-height:1.5}
.support-reply-form{padding:20px;border-top:1px solid #eee5d8;background:#fff}
.nav-link-with-badge{position:relative}.nav-alert-badge{margin-left:auto;background:#d64235;color:#fff;border-radius:999px;min-width:22px;height:22px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;box-shadow:0 0 0 3px rgba(214,66,53,.18)}
.ticket-dot{display:inline-block;width:10px;height:10px;background:#d64235;border-radius:999px;margin-right:8px;box-shadow:0 0 0 4px rgba(214,66,53,.13)}
.ticket-row-unread{background:#fff8f4}
.ticket-message{box-shadow:none;border-radius:18px;padding:16px;margin:12px 0;border:1px solid #eadfce}
.ticket-message-customer{background:#f7fbff;border-color:#cbdff5}
.ticket-message-staff{background:#eef7ee;border-color:#c2dfc5}
.ticket-message-internal{background:#fff6e8;border-color:#ead4a8}
.staff-badge{background:#e8f6ec;color:#245a34;border-color:#b9e0c3}.customer-badge{background:#eaf3ff;color:#23527a;border-color:#c8def5}
@media(max-width:980px){.support-portal-layout{grid-template-columns:1fr}.support-search{min-width:0;width:100%}.support-toolbar{align-items:flex-start;flex-direction:column}.support-message{max-width:100%}}
@media(max-width:680px){.support-ticket-table th:nth-child(1),.support-ticket-table td:nth-child(1){display:none}.support-ticket-table th,.support-ticket-table td{padding:12px 10px}.support-message-head{flex-direction:column;gap:2px}}
/* v19 support ticket search/categories/unread highlighting */
.support-admin-table tr.strong-unread-row{background:#fff3f0!important;box-shadow:inset 5px 0 0 #d64235}
.support-admin-table tr.strong-unread-row td{border-bottom-color:#f1c9c3!important}
.unread-pill{display:inline-flex;align-items:center;justify-content:center;background:#d64235;color:#fff;border-radius:999px;font-size:11px;font-weight:900;padding:3px 8px;margin-bottom:5px}
.unread-note{color:#b83b31!important;font-weight:800;margin-top:4px}
.admin-filter-grid input[name="q"]{min-width:280px}
.ticket-row-unread .badge{border-color:#e7b5ad}
.support-filter-category{font-weight:700;color:#5d554d}
@media(max-width:900px){.admin-filter-grid input[name="q"]{min-width:0}}
/* v19b support ticket button/readability improvements */
.support-admin-table .btn,
.support-admin-table button,
.admin-filter-card button,
.admin-filter-card .btn,
.ticket-message button,
.card button,
.card .btn{
  font-weight:800!important;
  letter-spacing:.01em;
  line-height:1.2!important;
  min-height:42px;
  padding:11px 18px!important;
  border-radius:999px!important;
  text-shadow:none!important;
}

.support-admin-table .btn.secondary,
.support-admin-table a.btn.secondary{
  background:#4f674f!important;
  color:#ffffff!important;
  border:1px solid #3d523d!important;
}

.support-admin-table button.danger,
.support-admin-table .danger{
  background:#b55045!important;
  color:#ffffff!important;
  border:1px solid #984239!important;
}

.support-admin-table .actions{
  gap:10px!important;
}

.support-admin-table .actions form{
  display:inline-block;
  margin:0;
}

.unread-ticket-marker{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:6px;
}

.unread-action-btn{
  margin-top:8px;
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  background:#d64235!important;
  color:#ffffff!important;
  border:1px solid #b63127!important;
  box-shadow:0 8px 18px rgba(214,66,53,.18);
  font-size:13px;
  padding:9px 14px!important;
}

.unread-action-btn:hover{
  background:#b63127!important;
  color:#ffffff!important;
  text-decoration:none!important;
}

.support-admin-table tr.strong-unread-row{
  background:#fff3f0!important;
  box-shadow:inset 6px 0 0 #d64235;
}

.support-admin-table tr.strong-unread-row td{
  border-bottom-color:#efc7c0!important;
}

.unread-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#d64235!important;
  color:#ffffff!important;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  padding:4px 9px;
}

.unread-note{
  color:#a83229!important;
  font-weight:900!important;
  margin-top:4px;
}

.support-admin-table th,
.support-admin-table td{
  font-size:14px;
}

.support-admin-table td strong{
  color:#2d2a26;
}

@media(max-width:900px){
  .support-admin-table .actions{
    flex-direction:column;
    align-items:flex-start!important;
  }
  .support-admin-table .btn,
  .support-admin-table button{
    width:100%;
  }
}
/* v19c support ticket status and unread button color fixes */
.support-ticket-table .status-pill,
.support-ticket-table .status-pill.status-open,
.support-ticket-table .status-pill.status-pending,
.support-ticket-table .status-pill.status-closed,
.support-ticket-table .status-open,
.support-ticket-table .status-pending,
.support-ticket-table .status-closed {
  color:#ffffff !important;
}

.support-ticket-table .status-pill * {
  color:#ffffff !important;
}

.unread-action-btn,
.support-admin-table .unread-action-btn,
.card .unread-action-btn,
a.unread-action-btn {
  background:#d64235 !important;
  color:#ffffff !important;
  border:1px solid #b63127 !important;
  box-shadow:0 8px 18px rgba(214,66,53,.18) !important;
}

.unread-action-btn:hover,
.support-admin-table .unread-action-btn:hover,
.card .unread-action-btn:hover,
a.unread-action-btn:hover {
  background:#b63127 !important;
  color:#ffffff !important;
  text-decoration:none !important;
}

.unread-note {
  display:none !important;
}


/* SleepWeave Model Learn More Lightbox v20 */
.sleep-model-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.sleep-model-lightbox.is-open {
  display: block;
}

.sleep-model-lightbox-open {
  overflow: hidden;
}

.sleep-model-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 23, 0.68);
  backdrop-filter: blur(4px);
}

.sleep-model-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100vh - 42px);
  margin: 21px auto;
  background: #fbf7f0;
  border: 1px solid rgba(169, 145, 118, 0.35);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  overflow: auto;
}

.sleep-model-lightbox__close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 5;
  margin: 14px 16px 0 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(160, 137, 111, .35);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #352f2a;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(44,35,20,.12);
}

.sleep-model-lightbox__close:hover {
  background: #9b8267;
  color: #fff;
}

.sleep-model-lightbox__header {
  padding: 28px 34px 0;
}

.sleep-model-lightbox__header h3 {
  margin: 0 56px 8px 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: #2f2925;
}

.sleep-model-lightbox__header p {
  margin: 0 56px 18px 0;
  font-size: 1.08rem;
  color: #665f57;
}

.sleep-model-lightbox__imageWrap {
  padding: 0 22px 22px;
}

.sleep-model-lightbox__imageWrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(44,35,20,.09);
}

@media (max-width: 700px) {
  .sleep-model-lightbox__dialog {
    width: calc(100vw - 18px);
    margin: 9px auto;
    max-height: calc(100vh - 18px);
    border-radius: 18px;
  }

  .sleep-model-lightbox__header {
    padding: 20px 18px 0;
  }

  .sleep-model-lightbox__header h3,
  .sleep-model-lightbox__header p {
    margin-right: 48px;
  }

  .sleep-model-lightbox__imageWrap {
    padding: 0 12px 14px;
  }

  .sleep-model-lightbox__imageWrap img {
    border-radius: 14px;
  }
}


/* SleepWeave Product Model Selector v21 */
.product-model-picker {
  margin: 20px 0 22px;
  padding: 18px;
  border: 1px solid var(--line, #e7ded1);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf8 0%, #fbf7f0 100%);
  box-shadow: 0 12px 28px rgba(67,52,36,.045);
}

.model-picker-label {
  margin: 0 0 12px !important;
}

.model-option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.model-option {
  border: 1px solid #d6c9b8;
  border-radius: 16px;
  background: #fff;
  color: var(--ink, #2d2a26);
  padding: 13px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  transition: .2s ease;
}

.model-option:hover {
  transform: translateY(-1px);
  border-color: var(--muted, #8a765f);
  box-shadow: 0 12px 24px rgba(67,52,36,.08);
}

.model-option.active {
  border-color: var(--muted, #8a765f);
  background: #f5eee5;
  box-shadow: inset 0 0 0 1px var(--muted, #8a765f);
}

.model-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #c7b69e;
  color: var(--muted, #8a765f);
  font-size: 22px;
  flex: 0 0 auto;
}

.model-option-text {
  display: grid;
  gap: 3px;
}

.model-option-text strong {
  font-size: 14px;
  line-height: 1.1;
}

.model-option-text small {
  font-size: 11px;
  color: #7a6d60;
  line-height: 1.2;
}

.model-description {
  margin: 0 !important;
  color: #5f584f;
  font-size: 14px;
  line-height: 1.5;
}

@media(max-width: 760px) {
  .model-option-row {
    grid-template-columns: 1fr;
  }

  .model-option {
    min-height: auto;
  }
}


/* SleepWeave Mobile Right-Side Spacing / Horizontal Overflow Fix v21b
   Fixes the beige/white gap on the right side of mobile screens by preventing
   oversized sections, grids, buttons, and model cards from exceeding viewport width.
*/
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  position: relative;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.announcement,
.announcement-bar,
.top-banner,
.site-header,
.header,
.store-header,
.hero,
.hero-section,
.product-section,
.climate-section,
.sleep-climate-section,
.benefits-section,
.reviews-section,
.size-guide-section,
.faq-section,
.newsletter,
.footer,
.site-footer,
main,
section {
  max-width: 100vw;
}

@media (max-width: 820px) {
  body {
    width: 100%;
  }

  .announcement,
  .announcement-bar,
  .top-banner {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    white-space: normal;
    line-height: 1.35;
  }

  .site-header,
  .header,
  .store-header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-header .container,
  .header .container,
  .store-header .container,
  .nav-container,
  .header-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .brand,
  .logo,
  .site-logo {
    min-width: 0;
    max-width: calc(100vw - 120px);
    overflow-wrap: anywhere;
  }

  .hero,
  .hero-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-content,
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero h1,
  .product-info h1,
  .product-info h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-actions,
  .cta-row,
  .button-row {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .btn,
  .cta-row .btn,
  .button-row .btn {
    flex: 1 1 160px;
    min-width: 0;
  }

  .product-section,
  #shop {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .product-grid,
  .product-layout,
  .product-detail,
  .product-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }

  .product-gallery,
  .product-info,
  .gallery,
  .product-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .product-info {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-main-image,
  .product-image,
  .gallery-main,
  .main-product-image,
  #mainProductImage {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .thumbs,
  #thumbs,
  .thumbnail-row,
  .product-thumbnails {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .thumb,
  .thumbnail {
    flex: 0 0 auto;
  }

  .product-model-picker {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px !important;
    overflow: hidden;
  }

  .model-option-row {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .model-option {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .model-option-text {
    min-width: 0;
  }

  .model-option-text strong,
  .model-option-text small,
  .model-description {
    overflow-wrap: break-word;
  }

  #swatches,
  .swatches,
  .color-row,
  #sizes,
  .sizes,
  .size-row {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .size-btn {
    max-width: 100%;
    white-space: normal;
  }

  .purchase-row,
  .add-to-cart-row,
  .qty-add-row {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  #addToCart,
  .add-to-cart,
  .add-cart,
  .purchase-row .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .sleep-climate-grid,
  .climate-grid,
  .microclimate-grid,
  .benefits-grid,
  .reviews-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .sleep-climate-card,
  .climate-card,
  .benefit-card,
  .review-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .container,
  .page-width,
  .wrap,
  .section-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .header,
  .store-header {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .brand,
  .logo,
  .site-logo {
    max-width: calc(100vw - 112px);
  }

  .hero h1 {
    font-size: clamp(3.05rem, 16vw, 4.4rem);
    line-height: .94;
  }

  .product-info h1,
  .product-info h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1.02;
  }

  .product-section,
  #shop {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .product-model-picker {
    padding: 14px !important;
    border-radius: 18px;
  }

  .model-option {
    padding: 12px;
  }
}


/* v22 variant-level pricing admin improvements */
.variant-price-input{min-width:110px}
.variant-table td .small{display:block;margin-top:4px;color:#7a6d60;font-size:11px;line-height:1.25}
.dynamic-price-note{background:#fff8e8;border:1px solid #e4d2ad;border-radius:12px;padding:10px 12px}


/* v22b Variant Price Selection Fix */
.size-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
}

.size-btn .size-label {
  line-height: 1.15;
}

.size-btn .size-sale-price {
  font-size: 12px;
  font-weight: 900;
  color: #b64238;
  line-height: 1;
}

.size-btn.has-sale-price {
  border-color: #b64238 !important;
  background: #fff4f1 !important;
}

.size-btn.has-sale-price.active {
  background: #b64238 !important;
  color: #ffffff !important;
}

.size-btn.has-sale-price.active .size-sale-price {
  color: #ffffff !important;
}

.variant-price-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b6258;
}

.variant-price-note span {
  display: inline-block;
  margin-left: 8px;
  color: #8a7e71;
}

.variant-price-note.is-sale {
  color: #9e362e;
  font-weight: 800;
}

@media(max-width:760px) {
  .size-btn {
    min-width: 136px;
  }
  .variant-price-note span {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }
}


/* v23 Free Shipping Promo Admin Helpers */
.promo-type-free-shipping {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e9f6ec;
  color:#265d38;
  border:1px solid #bfe4c9;
  border-radius:999px;
  padding:4px 10px;
  font-weight:800;
  font-size:12px;
}


/* v26 Ecommerce completion styles */
.product-detail-page,.comparison-page,.quiz-page{max-width:1180px;margin:0 auto;padding:36px 20px}
.product-detail-hero,.comparison-hero,.quiz-card{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;background:linear-gradient(135deg,#fff,#f7efe5);border:1px solid #eadfce;border-radius:28px;padding:32px;margin-bottom:28px}
.product-detail-hero h1,.comparison-hero h1,.quiz-card h1{font-size:clamp(34px,6vw,64px);line-height:.95;margin:0 0 14px}
.product-detail-card,.review-card,.comparison-section,.reviews-section,.comparison-table-section{background:#fff;border:1px solid #eadfce;border-radius:24px;padding:22px;margin-bottom:18px;box-shadow:0 12px 32px rgba(44,35,20,.06)}
.comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.comparison-grid article{background:#fbf7f0;border:1px solid #eadfce;border-radius:20px;padding:18px}
.comparison-table{width:100%;border-collapse:collapse}.comparison-table th,.comparison-table td{border-bottom:1px solid #eadfce;padding:14px;text-align:left;vertical-align:top}
.trust-row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.trust-row span,.pill{background:#fff;border:1px solid #eadfce;border-radius:999px;padding:7px 11px;font-size:13px}
.review-submit-box{margin-top:18px}.review-submit-box summary{cursor:pointer;width:max-content}.admin-reply{background:#f5efe6;border-radius:14px;padding:12px}
.quiz-card{grid-template-columns:1fr;max-width:760px}.quiz-form{display:grid;gap:16px}.quiz-result{margin-top:18px;background:#fff;border:1px solid #eadfce;border-radius:20px;padding:20px}
.stock-note,.variant-price-note,.free-shipping-progress{font-size:13px;margin:10px 0;color:#5f554c}.stock-note.in{color:#2b7442}.stock-note.low{color:#a06100}.stock-note.out{color:#9c342c;font-weight:800}.free-shipping-progress{background:#f0f7ed;border:1px solid #cbe5c2;border-radius:14px;padding:10px 12px;font-weight:700}
button:disabled,.btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:760px){.product-detail-hero,.comparison-hero{grid-template-columns:1fr;padding:22px}.comparison-table{font-size:13px}}


/* v26b redesigned model pages */
.sw-section-heading{max-width:760px;margin:0 auto 34px;text-align:center}
.sw-section-heading.left{text-align:left;margin-left:0}
.sw-section-heading h2{font-size:clamp(34px,4.5vw,52px);line-height:1.02;margin:8px 0 12px}
.sw-section-heading p{font-size:17px;line-height:1.7;margin:0;color:var(--body)}
.sw-model-page,.sw-compare-page,.sw-quiz-page{background:linear-gradient(180deg,#fbf8f1 0%,#f8f2e9 100%)}
.sw-model-hero,.sw-compare-hero,.sw-quiz-hero{padding:56px 0 34px;border-bottom:1px solid var(--line)}
.sw-model-hero-grid,.sw-compare-hero-grid,.sw-quiz-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:28px;align-items:center}
.sw-model-copy h1,.sw-compare-hero h1,.sw-quiz-hero h1{font-size:clamp(42px,5.3vw,70px);line-height:.98;margin:12px 0 18px;max-width:700px}
.sw-model-subhead,.sw-model-summary,.sw-compare-hero p,.sw-quiz-hero p{font-size:18px;line-height:1.7;max-width:680px;margin:0 0 12px}
.sw-inline-trust{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px}
.sw-inline-trust span,.sw-model-chip,.sw-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:800;color:var(--ink)}
.sw-hero-kicker-wrap{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.sw-model-visual-card,.sw-compare-highlight-card,.sw-quiz-side-card,.sw-overview-card,.sw-benefit-card,.sw-model-mini-card,.sw-review-card,.sw-review-empty,.sw-review-form-wrap,.sw-compare-card,.sw-compare-cta-card,.sw-quiz-card-shell,.sw-quiz-result-card{background:rgba(255,253,248,.92);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}
.sw-model-visual-card{padding:22px}
.sw-model-visual-frame{position:relative;min-height:430px;background:linear-gradient(180deg,#f9f3eb,#fffdf8);border:1px solid #efe4d7;border-radius:22px;display:grid;place-items:center;overflow:hidden}
.sw-model-visual-frame img{max-height:430px;object-fit:contain;position:relative;z-index:2}
.sw-model-glow{position:absolute;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(178,147,117,.18),rgba(178,147,117,0) 70%);z-index:1}
.sw-model-visual-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 8px 4px}
.sw-model-visual-footer strong{display:block;font-size:15px;color:var(--ink);margin-bottom:4px}
.sw-model-visual-footer p{margin:0;color:var(--body);line-height:1.5}
.sw-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sw-overview-card{padding:28px}
.sw-overview-card h2{font-size:30px;margin:0 0 20px}
.sw-score-list{display:grid;gap:14px}
.sw-score-head{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:800;color:var(--ink);margin-bottom:6px}
.sw-score-bar{height:10px;background:#ede4d8;border-radius:999px;overflow:hidden}
.sw-score-bar span{display:block;height:100%;background:linear-gradient(90deg,#b29375,#726f60);border-radius:999px}
.sw-overview-note{margin:18px 0 0;line-height:1.6;font-size:14px}
.sw-bestfor-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.sw-bestfor-list li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.sw-bestfor-list i{color:#b18a61;margin-top:2px}
.sw-bestfor-list.compact{gap:9px}
.sw-model-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sw-benefit-card{padding:26px;text-align:left}
.sw-benefit-icon,.sw-compare-icon,.sw-quiz-result-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;font-size:28px;color:#a07c55;border:1px solid #d8c9b7;background:linear-gradient(180deg,#fff,#f7efe5)}
.sw-benefit-card h3,.sw-compare-card h3{font-family:Inter,system-ui,sans-serif;font-weight:800;letter-spacing:0;color:var(--ink);font-size:21px;margin:18px 0 10px}
.sw-benefit-card p,.sw-compare-card p{margin:0;line-height:1.65}
.sw-model-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.sw-model-mini-card{padding:22px 24px;text-decoration:none;display:flex;justify-content:space-between;gap:18px;align-items:center;transition:.2s ease;border-color:#eadfcf}
.sw-model-mini-card:hover{text-decoration:none;transform:translateY(-2px)}
.sw-model-mini-card.active{background:linear-gradient(180deg,#f8f2e9,#fffdf8);border-color:#b29375}
.sw-model-mini-title strong{display:block;color:var(--ink);font-size:20px;font-family:Georgia,"Times New Roman",serif}
.sw-model-mini-title span,.sw-model-mini-cta{display:block;font-size:13px;color:var(--body);margin-top:6px}
.sw-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sw-review-card,.sw-review-empty{padding:24px}
.sw-review-stars{font-size:18px;letter-spacing:1px;color:#b3874b;margin-bottom:10px}
.sw-review-card h3,.sw-review-empty h3{font-size:24px;margin:0 0 10px}
.sw-review-card p,.sw-review-empty p{line-height:1.65;margin:0 0 12px}
.sw-review-meta{font-size:14px;color:#6d675f}
.sw-review-reply{margin-top:14px;background:#f7f1e8;border:1px solid #eadfce;border-radius:16px;padding:14px;line-height:1.55}
.sw-review-form-wrap{margin-top:26px;padding:22px}
.sw-review-form summary{list-style:none}
.sw-review-form summary::-webkit-details-marker{display:none}
.sw-review-form .form-field label{font-weight:700}
.sw-review-form button{border:none}
.sw-compare-highlight-card,.sw-quiz-side-card{padding:28px 30px;background:linear-gradient(135deg,#fffdf8,#f4ece2)}
.sw-compare-highlight-card h2,.sw-quiz-side-card h2{font-size:30px;margin:0 0 14px}
.sw-compare-highlight-card ul,.sw-quiz-side-card ol{margin:0;padding-left:20px;line-height:1.85}
.sw-compare-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sw-compare-card{padding:24px;display:flex;flex-direction:column;gap:16px}
.sw-compare-card-top{display:flex;gap:16px;align-items:center}
.sw-compare-card h3{margin:0 0 8px}
.sw-compare-intro{min-height:78px}
.sw-compare-actions{margin-top:auto}
.sw-compare-matrix-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.sw-compare-matrix{width:100%;border-collapse:collapse;min-width:880px}
.sw-compare-matrix th,.sw-compare-matrix td{padding:20px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.sw-compare-matrix th{background:#f7f0e7;color:var(--ink);font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.sw-matrix-model strong{display:block;font-size:22px;font-family:Georgia,"Times New Roman",serif;color:var(--ink);margin-bottom:8px}
.sw-matrix-tags{display:flex;gap:8px;flex-wrap:wrap}
.sw-compare-cta-card{padding:30px;display:flex;justify-content:space-between;align-items:center;gap:28px;background:linear-gradient(135deg,#2f3a2f,#667462 60%,#b29375);color:#fff}
.sw-compare-cta-card h2{color:#fff;font-size:40px;line-height:1.02;margin:8px 0 12px}
.sw-compare-cta-card p{margin:0;line-height:1.65;max-width:620px}
.sw-compare-cta-card .kicker{color:#efe4d3}
.sw-compare-cta-card .btn{border-color:rgba(255,255,255,.55);color:#fff}
.sw-compare-cta-card .btn.primary{background:#fff;color:#2f3a2f}
.sw-quiz-section{padding-top:18px}
.sw-quiz-card-shell{padding:28px}
.sw-quiz-form{display:grid;grid-template-columns:1fr;gap:18px}
.sw-quiz-question-card{display:grid;grid-template-columns:70px 1fr;gap:20px;align-items:start;padding:22px;border:1px solid #eadfce;border-radius:22px;background:#fff}
.sw-quiz-number{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#b29375;color:#fff;font-weight:800;font-size:18px;margin-top:6px}
.sw-quiz-question-card h3{font-size:26px;margin:0 0 8px}
.sw-quiz-question-card p{margin:0 0 14px;line-height:1.6}
.sw-quiz-question-card select{width:100%;border:1px solid #d2c7b8;border-radius:12px;padding:14px;background:#fff}
.sw-quiz-submit-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-start;margin-top:6px}
.sw-quiz-result{margin-top:22px}
.sw-quiz-result-card{padding:28px;background:linear-gradient(180deg,#fff,#f8f2e9)}
.sw-quiz-result-top{display:flex;gap:18px;align-items:flex-start;margin-bottom:18px}
.sw-quiz-result-top h2{font-size:38px;line-height:1.02;margin:10px 0 10px}
.sw-quiz-result-top p{margin:0;line-height:1.65}
.theme-air .sw-model-hero{background:linear-gradient(180deg,#f5fafc 0%, #fbf8f1 100%)}
.theme-balance .sw-model-hero{background:linear-gradient(180deg,#f9f5ee 0%, #fbf8f1 100%)}
.theme-warm .sw-model-hero{background:linear-gradient(180deg,#fcf4f0 0%, #fbf8f1 100%)}
@media(max-width:980px){
  .sw-model-hero-grid,.sw-compare-hero-grid,.sw-quiz-hero-grid,.sw-overview-grid,.sw-model-benefit-grid,.sw-model-mini-grid,.sw-review-grid,.sw-compare-card-grid,.sw-compare-cta-card{grid-template-columns:1fr}
  .sw-model-visual-footer,.sw-compare-cta-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:760px){
  .sw-model-hero,.sw-compare-hero,.sw-quiz-hero{padding:34px 0 20px}
  .sw-model-copy h1,.sw-compare-hero h1,.sw-quiz-hero h1{font-size:42px}
  .sw-inline-trust{display:grid;grid-template-columns:1fr;gap:8px}
  .sw-model-visual-card,.sw-compare-highlight-card,.sw-quiz-side-card,.sw-overview-card,.sw-benefit-card,.sw-review-card,.sw-review-empty,.sw-review-form-wrap,.sw-compare-card,.sw-compare-cta-card,.sw-quiz-card-shell{border-radius:20px}
  .sw-model-visual-frame{min-height:300px}
  .sw-model-visual-frame img{max-height:280px}
  .sw-quiz-question-card{grid-template-columns:1fr;gap:12px}
  .sw-quiz-number{margin-top:0}
  .sw-quiz-result-top{flex-direction:column}
}

/* v26c product pages visual/layout fix */
.sw-page-polish{background:linear-gradient(180deg,#fcfaf6 0%,#f8f2e9 100%)}
.sw-page-polish .narrow{max-width:780px}
.sw-polish-hero{padding:52px 0 40px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(248,242,233,.9))}
.sw-polish-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:34px;align-items:center}
.sw-polish-copy h1{font-size:clamp(42px,5vw,68px);line-height:1;margin:12px 0 16px}
.sw-polish-copy .sw-polish-lead{font-size:22px;line-height:1.45;color:#463f39;margin-bottom:14px;max-width:720px}
.sw-polish-copy p{font-size:17px;line-height:1.7;max-width:700px;margin:0 0 10px}
.sw-polish-kicker-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.sw-polish-mini-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:520px;margin-top:24px}
.sw-mini-spec{padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.sw-mini-spec span{display:block;font-size:13px;color:#73695e;margin-bottom:6px}
.sw-mini-spec strong{font-size:24px;font-family:Georgia,"Times New Roman",serif;color:var(--ink)}
.sw-polish-visual{display:flex;justify-content:center}
.sw-polish-product-card{position:relative;padding:28px;background:linear-gradient(180deg,#fbf7f0,#fff);border:1px solid #eadfce;border-radius:30px;box-shadow:0 24px 60px rgba(61,42,22,.10);width:min(100%,560px);min-height:560px;display:grid;place-items:center;overflow:hidden}
.sw-polish-product-bg{position:absolute;inset:auto auto -70px -40px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(178,147,117,.18),rgba(178,147,117,0) 70%)}
.sw-polish-product-card img{position:relative;z-index:2;max-width:100%;max-height:500px;object-fit:contain;filter:drop-shadow(0 14px 20px rgba(88,66,42,.14))}
.sw-graphic-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:28px;align-items:center}
.sw-graphic-copy-card,.sw-graphic-image-card,.sw-model-switch-card,.sw-review-card,.sw-review-empty,.sw-review-form-wrap,.sw-compare-showcase-card,.sw-quiz-preview-panel,.sw-quiz-form-card,.sw-quiz-side-note,.sw-quiz-result-card.polished{background:#fffdf9;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
.sw-graphic-copy-card{padding:28px}
.sw-graphic-copy-card h2{font-size:42px;line-height:1.04;margin:10px 0 14px}
.sw-graphic-copy-card p{font-size:17px;line-height:1.68}
.sw-graphic-points{list-style:none;padding:0;margin:20px 0;display:grid;gap:14px}
.sw-graphic-points li{padding:16px 18px;background:#f9f4ec;border:1px solid #ece2d4;border-radius:18px}
.sw-graphic-points strong{display:block;color:var(--ink);font-size:18px;margin-bottom:4px}
.sw-graphic-points span{display:block;color:#625a53;line-height:1.6}
.sw-bestfor-block{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.sw-bestfor-block h3{margin:0 0 12px;font-size:24px}
.sw-graphic-image-card{padding:12px;background:linear-gradient(135deg,#f7f9fb,#fffaf4);overflow:hidden}
.sw-graphic-image-card img{display:block;width:100%;height:auto;border-radius:20px}
.sw-model-switch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.sw-model-switch-card{padding:20px 22px;text-decoration:none;display:flex;justify-content:space-between;gap:18px;align-items:center;transition:.2s ease}
.sw-model-switch-card:hover{text-decoration:none;transform:translateY(-2px)}
.sw-model-switch-card.active{border-color:#b29375;background:linear-gradient(180deg,#fbf4ea,#fff)}
.sw-model-switch-card strong{display:block;font-size:24px;font-family:Georgia,"Times New Roman",serif;color:var(--ink);margin-bottom:6px}
.sw-model-switch-card span{display:block;color:#6e655c;font-size:14px}
.sw-model-switch-card em{font-style:normal;color:#9a7d5a;font-weight:800;font-size:13px;white-space:nowrap}
.sw-compare-hero-stack{display:grid;gap:32px}
.sw-compare-showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sw-compare-showcase-card{overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff,#fbf5ec)}
.sw-compare-showcase-img{background:#f8f3eb;border-bottom:1px solid var(--line)}
.sw-compare-showcase-img img{display:block;width:100%;height:280px;object-fit:cover;object-position:center}
.sw-compare-showcase-content{padding:20px 22px 24px;display:flex;flex-direction:column;gap:14px;height:100%}
.sw-compare-showcase-content h3{font-size:34px;line-height:1.02;margin:0;color:var(--ink)}
.sw-compare-showcase-content p{margin:0;line-height:1.6}
.sw-compare-showcase-content .btn{margin-top:auto;align-self:flex-start}
.sw-quiz-hero-polish-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.sw-how-list{margin:18px 0 0;padding-left:22px;max-width:700px;line-height:1.8;font-size:16px}
.sw-quiz-preview-panel{padding:24px;background:linear-gradient(180deg,#fff,#f7efe5);display:grid;gap:14px}
.sw-quiz-preview-card{padding:18px 20px;border-radius:20px;border:1px solid #e5d7c7;background:#fff}
.sw-quiz-preview-card strong{display:block;font-size:22px;color:var(--ink);font-family:Georgia,"Times New Roman",serif;margin-bottom:6px}
.sw-quiz-preview-card span{display:block;color:#625a53;line-height:1.5}
.sw-quiz-preview-card.air{box-shadow:inset 4px 0 0 #b7d2ea}
.sw-quiz-preview-card.balance{box-shadow:inset 4px 0 0 #d5c6af}
.sw-quiz-preview-card.warm{box-shadow:inset 4px 0 0 #e0b4aa}
.sw-quiz-shell-2col{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start}
.sw-quiz-form-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);display:grid;gap:18px}
.sw-quiz-field-card{display:grid;grid-template-columns:64px 1fr;gap:18px;padding:18px;border:1px solid #eadfce;border-radius:22px;background:#fcfaf7}
.sw-quiz-num{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#a58a68;color:#fff;font-weight:800;font-size:17px}
.sw-quiz-field-body label{display:block;font-size:24px;line-height:1.12;color:var(--ink);font-family:Georgia,"Times New Roman",serif;margin-bottom:8px}
.sw-quiz-field-body p{margin:0 0 12px;color:#655d56;line-height:1.55}
.sw-quiz-field-body select{width:100%;min-height:52px;border:1px solid #d6c9b9;border-radius:14px;background:#fff;padding:12px 14px;font-size:16px}
.sw-quiz-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:4px}
.sw-quiz-side-note{padding:28px;background:linear-gradient(180deg,#fff,#f8f2e8)}
.sw-quiz-side-note h2{font-size:40px;line-height:1.02;margin:10px 0 14px}
.sw-quiz-side-note p{line-height:1.68;margin:0 0 18px}
.sw-quiz-result{margin-top:22px}
.sw-quiz-result-card.polished{padding:28px;background:linear-gradient(135deg,#fff,#f7efe4)}
.sw-quiz-result-card.polished h2{font-size:38px;line-height:1.04;margin:10px 0}
.sw-quiz-result-card.polished p{line-height:1.65}
@media(max-width:1100px){
  .sw-polish-hero-grid,.sw-graphic-grid,.sw-quiz-hero-polish-grid,.sw-quiz-shell-2col,.sw-compare-showcase-grid,.sw-model-switch-grid{grid-template-columns:1fr}
  .sw-polish-product-card{min-height:420px}
  .sw-compare-showcase-img img{height:240px}
}
@media(max-width:760px){
  .sw-polish-hero{padding:34px 0 24px}
  .sw-polish-copy h1{font-size:42px}
  .sw-polish-copy .sw-polish-lead{font-size:19px}
  .sw-polish-mini-specs{grid-template-columns:1fr}
  .sw-polish-product-card{min-height:320px;padding:20px;border-radius:22px}
  .sw-polish-product-card img{max-height:280px}
  .sw-graphic-copy-card,.sw-graphic-image-card,.sw-model-switch-card,.sw-quiz-preview-panel,.sw-quiz-form-card,.sw-quiz-side-note{border-radius:22px}
  .sw-graphic-copy-card h2,.sw-quiz-side-note h2,.sw-compare-showcase-content h3{font-size:32px}
  .sw-quiz-field-card{grid-template-columns:1fr}
  .sw-quiz-field-body label{font-size:22px}
  .sw-quiz-actions{flex-direction:column}
}


/* v27b restore v26c page design + safe nav/mobile fixes */
.sw-compare-showcase-img img {
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 1180px) and (min-width: 721px) {
  .sw-compare-showcase-grid {
    grid-template-columns: 1fr !important;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .sw-compare-showcase-card {
    display: grid !important;
    grid-template-columns: minmax(280px, 42%) 1fr !important;
    align-items: stretch;
  }

  .sw-compare-showcase-img {
    border-bottom: 0 !important;
    border-right: 1px solid var(--line);
    display: grid;
    place-items: center;
  }

  .sw-compare-showcase-img img {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
  }
}

@media (max-width: 720px) {
  .sw-compare-showcase-card {
    display: flex !important;
    flex-direction: column !important;
  }

  .sw-compare-showcase-img {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .sw-compare-showcase-img img {
    aspect-ratio: 16 / 10 !important;
    width: 100% !important;
    height: auto !important;
  }

  .sw-polish-copy h1,
  .sw-compare-hero h1,
  .sw-quiz-hero h1 {
    font-size: 38px !important;
    line-height: 1.04 !important;
  }

  .btn-row,
  .sw-quiz-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .btn-row .btn,
  .sw-quiz-actions .btn,
  .sw-compare-showcase-content .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .sw-polish-copy h1,
  .sw-compare-hero h1,
  .sw-quiz-hero h1 {
    font-size: 32px !important;
  }
}


/* v27 Next Phase: version badge, care page, cookie consent */
.sw-care-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}

.sw-cookie-consent {
  position: fixed;
  z-index: 9999;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 20px 60px rgba(35, 28, 20, .18);
  backdrop-filter: blur(12px);
}

.sw-cookie-consent[hidden] {
  display: none !important;
}

.sw-cookie-consent strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.sw-cookie-consent p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--body);
}

.sw-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media(max-width:760px) {
  .sw-cookie-consent {
    flex-direction: column;
    align-items: stretch;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .sw-cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .sw-cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* v28 Bundles + Landing Pages */
.sw-bundles-page,
.sw-landing-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}

.sw-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sw-bundle-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sw-bundle-image {
  background: linear-gradient(135deg, #fbf7f0, #fffdf8);
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.sw-bundle-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 18px;
  background: #fffaf4;
}

.sw-bundle-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.sw-bundle-content h3 {
  font-size: 34px;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}

.sw-bundle-content p {
  margin: 0;
  line-height: 1.65;
}

.sw-bundle-price-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.sw-bundle-price-row strong {
  font-size: 30px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.sw-bundle-price-row span {
  color: #86796a;
  text-decoration: line-through;
}

.sw-bundle-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media(max-width:1100px) {
  .sw-bundle-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width:720px) {
  .sw-bundle-card {
    border-radius: 20px;
  }

  .sw-bundle-content h3 {
    font-size: 30px;
  }

  .sw-bundle-content .btn {
    width: 100%;
    justify-content: center;
  }
}


/* v29 Abandoned Cart Recovery */
.sw-cart-recovery-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}

.cart-stats-grid {
  margin-bottom: 18px;
}


/* v31 Post-Purchase Review Automation */
.sw-review-request-page,
.sw-review-thankyou-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}
.sw-review-form-wrap select,
.sw-review-form-wrap input,
.sw-review-form-wrap textarea {
  width: 100%;
}


/* v32 Returns + Exchanges Expansion */
.return-stats,
.return-grid {
  margin-bottom: 18px;
}
.return-thread-msg p,
.return-message p {
  white-space: pre-wrap;
}


/* v33 Profit Analytics */
.profit-stats,
.profit-grid {
  margin-bottom: 18px;
}
.profit-stat {
  min-height: 104px;
}


/* v34 Email Marketing + Customer Segments */
.sw-unsubscribe-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}
.em-stats,
.em-grid {
  margin-bottom: 18px;
}


/* v37 Launch Readiness + Legal Center */
.legal-dynamic-page {
  background: linear-gradient(180deg, #fcfaf6 0%, #f8f2e9 100%);
}
.legal-page-hero {
  padding-bottom: 42px;
}
.legal-content-card {
  max-width: 940px;
  margin: -20px auto 70px;
  background: #fff;
  border: 1px solid rgba(90,72,50,.14);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(44,35,20,.08);
  padding: 34px;
}
.legal-content {
  font-size: 16px;
  line-height: 1.8;
  color: #3a332b;
  white-space: normal;
}
@media(max-width:760px){
  .legal-content-card {
    margin: -10px 16px 48px;
    padding: 22px;
    border-radius: 20px;
  }
}


/* v38 Floating Back To Top */
.back-to-top-floating{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1000;
  width:50px;
  height:50px;
  border-radius:999px;
  border:0;
  background:linear-gradient(180deg,#8f775d,#6f5b44);
  color:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:.2s ease;
  cursor:pointer;
}
.back-to-top-floating.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.back-to-top-floating i{
  font-size:18px;
}
.back-to-top-floating:hover{
  transform:translateY(-2px);
}
@media(max-width:760px){
  .back-to-top-floating{
    right:16px;
    bottom:16px;
    width:46px;
    height:46px;
  }
}


/* v39 Customer Experience + Order Status */
.order-status-page{background:linear-gradient(180deg,#fcfaf6 0%,#f8f2e9 100%)}
.order-status-hero{padding-bottom:44px}
.order-status-shell{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:22px;margin:0 auto 72px;align-items:start}
.order-status-card{background:#fff;border:1px solid rgba(90,72,50,.14);border-radius:26px;box-shadow:0 24px 70px rgba(44,35,20,.08);padding:26px}
.order-status-form{display:grid;gap:14px}.order-status-form label{display:grid;gap:7px;font-weight:700;color:#332a21}.order-status-form input{width:100%;border:1px solid rgba(90,72,50,.18);border-radius:14px;padding:13px 14px;background:#fff;color:#2d2a26}
.order-status-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.order-status-head h2{margin:.2rem 0}.order-status-pill{display:inline-flex;align-items:center;justify-content:center;background:#eef6ec;color:#245239;border:1px solid #c9dec4;border-radius:999px;padding:7px 12px;font-weight:800;text-transform:capitalize}
.status-timeline{display:grid;gap:12px;margin:18px 0}.status-step{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start;padding:12px;border:1px solid rgba(90,72,50,.12);border-radius:18px;background:#fbf8f3}.status-step .dot{width:38px;height:38px;border-radius:999px;display:grid;place-items:center;background:#ece5da;color:#8a755e}.status-step.done{background:#f5fbf4;border-color:#c6dec1}.status-step.done .dot{background:#dff1dd;color:#24603a}.status-step strong{display:block}.status-step p{margin:3px 0 0;color:#6e655d}
.status-timeline.compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.tracking-box{border:1px solid #d8cbb9;background:#fffaf3;border-radius:20px;padding:18px;margin:18px 0}.tracking-box.muted{background:#f8f2e9;color:#6e655d}
.order-help-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.order-help-actions.vertical{display:grid}
.alert.error{background:#fff1ee;border:1px solid #e5b5aa;color:#74382e;border-radius:16px;padding:12px;margin:12px 0}.alert.success{background:#eff9ef;border:1px solid #c1dfc1;color:#24603a;border-radius:16px;padding:12px;margin:12px 0}
@media(max-width:980px){.order-status-shell{grid-template-columns:1fr;margin-left:16px;margin-right:16px}.order-status-head{display:block}.status-timeline.compact{grid-template-columns:1fr}}


/* v41 Public Learn Pages */
.learn-page{background:linear-gradient(180deg,#fcfaf6 0%,#f8f2e9 100%)}
.learn-hero,.learn-article-hero{padding-bottom:44px}
.learn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin:0 auto 72px}
.learn-card,.learn-article,.learn-side-card,.learn-cta-card{background:#fff;border:1px solid rgba(90,72,50,.14);border-radius:26px;box-shadow:0 24px 70px rgba(44,35,20,.08);padding:26px}
.learn-card h2{margin:10px 0}.learn-card h2 a{color:inherit;text-decoration:none}.learn-card h2 a:hover{text-decoration:underline}
.learn-type{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#7b694f;font-weight:800}
.learn-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.learn-meta span{background:#f8f2e9;border:1px solid rgba(90,72,50,.14);border-radius:999px;padding:5px 10px;font-size:12px;color:#665848}
.learn-article-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin:0 auto 72px;align-items:start}
.learn-article{padding:34px}.learn-section{border-bottom:1px solid rgba(90,72,50,.11);padding:10px 0 24px;margin-bottom:18px}.learn-section:last-child{border-bottom:0}
.learn-section h2,.learn-faq h2,.learn-cta-card h2{margin-top:0}.learn-section p{font-size:17px;line-height:1.82;color:#3d362f}
.learn-disclaimer{background:#fff7ed;border:1px solid #e7d2b5;border-radius:18px;padding:14px 16px;margin-bottom:24px;color:#5b4631}
.learn-cta-card{margin:28px 0;background:linear-gradient(135deg,#fff,#f8f2e9)}
.learn-faq details{background:#fbf8f3;border:1px solid rgba(90,72,50,.13);border-radius:18px;margin:10px 0;padding:14px 16px}.learn-faq summary{cursor:pointer;font-weight:800}
.learn-sidebar{position:sticky;top:110px;display:grid;gap:16px}.learn-side-card{padding:20px}.learn-side-card h3{margin-top:0}.learn-side-card a{display:block;color:#3e3429;text-decoration:none;padding:9px 0;border-bottom:1px solid rgba(90,72,50,.1)}.learn-side-card a:last-child{border-bottom:0}.learn-side-card a:hover{text-decoration:underline}
@media(max-width:980px){.learn-article-shell{grid-template-columns:1fr;margin-left:16px;margin-right:16px}.learn-sidebar{position:static}.learn-grid{margin-left:16px;margin-right:16px}.learn-article{padding:24px}}


/* v41b Sticky Header + Mobile Menu Fix */
.announcement{
  position: sticky;
  top: 0;
  z-index: 1200;
}
.site-header{
  position: sticky;
  top: var(--announcement-height, 34px);
  z-index: 1190;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(44,35,20,.08);
}
.header-inner{
  position: relative;
}
.mobile-menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(90,72,50,.18);
  background:#fffaf3;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.mobile-menu-toggle span{
  width:19px;
  height:2px;
  border-radius:999px;
  background:#2f2b27;
  display:block;
}
.mobile-menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(20,18,16,.42);
  z-index:1300;
}
.mobile-menu-drawer{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(88vw,390px);
  background:#fffdf8;
  z-index:1310;
  box-shadow:-24px 0 70px rgba(0,0,0,.24);
  transform:translateX(105%);
  transition:transform .24s ease;
  padding:22px;
  overflow-y:auto;
  border-left:1px solid rgba(90,72,50,.16);
}
.mobile-menu-drawer.open{
  transform:translateX(0);
}
.mobile-menu-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(90,72,50,.14);
  margin-bottom:12px;
}
.mobile-menu-head strong{
  font-size:20px;
}
.mobile-menu-close{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(90,72,50,.18);
  background:#fffaf3;
  color:#2f2b27;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.mobile-nav{
  display:grid;
  gap:8px;
}
.mobile-nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  color:#2f2b27;
  font-weight:800;
  padding:14px 12px;
  border:1px solid rgba(90,72,50,.12);
  border-radius:16px;
  background:#fff;
}
.mobile-nav a:hover{
  background:#f8f2e9;
}
.mobile-menu-open{
  overflow:hidden;
}
@media(max-width:1100px){
  .desktop-nav{
    display:none !important;
  }
  .mobile-menu-toggle{
    display:flex;
  }
  .header-inner{
    min-height:80px;
    padding-left:24px;
    padding-right:16px;
  }
  .logo{
    font-size:clamp(44px,12vw,58px);
    line-height:1;
  }
  .header-icons{
    gap:10px;
  }
}
@media(max-width:760px){
  .announcement{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:6px 12px;
    font-size:17px;
    line-height:1.25;
  }
  .site-header{
    top:52px;
  }
  .header-inner{
    min-height:84px;
    padding:12px 16px;
  }
  .icon-btn{
    width:38px;
    height:38px;
  }
  .mobile-menu-toggle{
    width:38px;
    height:38px;
  }
}


/* v41c Sticky Header + Mobile Logo/Icon Layout Fix */
:root{
  --sw-announcement-height: 0px;
  --sw-header-height: 0px;
}
.announcement{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5000 !important;
  margin: 0 !important;
}
.site-header{
  position: fixed !important;
  top: var(--sw-announcement-height) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 4990 !important;
  background: rgba(255,253,248,.98) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(44,35,20,.10);
}
.site-header-spacer{
  height: calc(var(--sw-announcement-height) + var(--sw-header-height));
}
.site-header .header-inner{
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  box-sizing: border-box;
}
.site-header .logo{
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.site-header .header-icons{
  flex: 0 0 auto;
  margin-left: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px;
  min-width: max-content;
}
.site-header .icon-btn,
.site-header .mobile-menu-toggle{
  flex: 0 0 auto;
}
@media(max-width:1100px){
  .site-header .desktop-nav{
    display:none !important;
  }
  .site-header .header-inner{
    min-height: 76px !important;
    padding: 10px 18px !important;
    gap: 10px !important;
  }
  .site-header .logo{
    font-size: clamp(34px, 10vw, 54px) !important;
    line-height: .95 !important;
    letter-spacing: -.04em !important;
    max-width: calc(100vw - 170px);
  }
  .site-header .logo sup{
    font-size: .22em !important;
    top: -.9em !important;
    position: relative;
  }
  .site-header .header-icons{
    gap: 8px !important;
  }
  .site-header .icon-btn,
  .site-header .mobile-menu-toggle{
    width: 42px !important;
    height: 42px !important;
  }
  .site-header .mobile-menu-toggle{
    display:flex !important;
  }
}
@media(max-width:760px){
  .announcement{
    min-height: 54px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    padding: 7px 12px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    box-sizing:border-box !important;
  }
  .site-header .header-inner{
    min-height: 76px !important;
    padding: 8px 14px !important;
  }
  .site-header .logo{
    font-size: clamp(35px, 11vw, 48px) !important;
    max-width: calc(100vw - 160px);
  }
  .site-header .icon-btn,
  .site-header .mobile-menu-toggle{
    width: 40px !important;
    height: 40px !important;
  }
  .site-header .cart-count{
    top: -7px !important;
    right: -7px !important;
  }
}
@media(max-width:390px){
  .site-header .logo{
    font-size: 33px !important;
    max-width: calc(100vw - 152px);
  }
  .site-header .header-icons{
    gap: 6px !important;
  }
  .site-header .icon-btn,
  .site-header .mobile-menu-toggle{
    width: 38px !important;
    height: 38px !important;
  }
}


/* v42 Product + Checkout Conversion Polish */
.sw-conversion-strip-section{padding:22px 0;background:#fffdf8;border-top:1px solid rgba(90,72,50,.10);border-bottom:1px solid rgba(90,72,50,.10)}
.sw-conversion-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.sw-conversion-strip div{background:#fff;border:1px solid rgba(90,72,50,.14);border-radius:20px;padding:16px;display:grid;gap:5px;box-shadow:0 16px 38px rgba(44,35,20,.06)}
.sw-conversion-strip i{font-size:20px;color:#6b5a43}.sw-conversion-strip strong{font-size:15px}.sw-conversion-strip span{font-size:13px;color:#6b6258;line-height:1.45}
.sw-sticky-buy-bar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:1400;width:min(960px,calc(100vw - 32px));background:rgba(255,253,248,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(90,72,50,.16);box-shadow:0 22px 60px rgba(0,0,0,.18);border-radius:999px;padding:10px 12px 10px 20px;display:flex;align-items:center;gap:10px}
.sw-sticky-buy-bar div{min-width:0;flex:1}.sw-sticky-buy-bar strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sw-sticky-buy-bar span{display:block;font-size:12px;color:#6b6258;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sw-sticky-buy-bar .btn{white-space:nowrap;padding:12px 18px}
.checkout-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:18px 0}
.checkout-trust-grid span{display:flex;align-items:center;gap:8px;background:#f8f2e9;border:1px solid rgba(90,72,50,.14);border-radius:16px;padding:11px 12px;font-weight:800;color:#3f352b}.checkout-trust-grid i{color:#6b5a43}
.checkout-reassurance{margin:18px 0;padding:16px;border-radius:18px;background:#fffaf3;border:1px solid rgba(90,72,50,.14)}.checkout-reassurance h3{margin-top:0}.checkout-reassurance ul{margin:0;padding-left:20px}.checkout-reassurance li{margin:7px 0;color:#5b5148}
.checkout-help-card{margin-top:18px;padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(90,72,50,.14);display:grid;gap:8px}.checkout-help-card h3{margin:0 0 5px}.checkout-help-card a{color:#354d36;font-weight:800;text-decoration:none}.checkout-help-card a:hover{text-decoration:underline}
.cart-trust-mini{display:grid;gap:7px;margin-bottom:12px;padding:12px;border-radius:16px;background:#f8f2e9;border:1px solid rgba(90,72,50,.14)}.cart-trust-mini span{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#453b31}.cart-help-link{display:block;text-align:center;margin-top:10px;color:#354d36;font-weight:800;text-decoration:none}.cart-help-link:hover{text-decoration:underline}
@media(max-width:760px){.sw-sticky-buy-bar{bottom:12px;border-radius:24px;align-items:stretch;padding:12px;display:grid;grid-template-columns:1fr 1fr}.sw-sticky-buy-bar div{grid-column:1/-1}.sw-sticky-buy-bar .btn{width:100%;justify-content:center;text-align:center;padding:12px 10px}.sw-sticky-buy-bar span{white-space:normal}.checkout-trust-grid{grid-template-columns:1fr}}

