/*
Theme Name: SweetVia BD
Theme URI: https://sweetviabd.com
Author: SweetVia BD
Description: Mobile-first WooCommerce theme for SweetVia BD skincare — Bangladesh ready (Cash on Delivery, district delivery charge, WhatsApp ordering, Bangla friendly fonts).
Version: 1.10.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sweetvia
Tags: e-commerce, woocommerce, one-column, custom-logo, custom-menu, featured-images
*/

/* =========================================================
   1. Tokens & base
   ========================================================= */
:root {
  --cream: #FBF6EF;
  --paper: #FFFDFA;
  --sand: #F1E7DA;
  --line: #E7DACB;
  --cocoa: #2B2019;
  --soft: #6E5F54;
  --sage: #97A58B;
  --sage-d: #5E7255;
  --peach: #E8B9A0;
  --rose: #D68C78;
  --wa: #1FA855;
  --grad-a: #EFE3D4;
  --grad-b: #E8D2BF;
  --on-dark: #F3E8DB;
  --btn: var(--cocoa);
  --btn-h: var(--sage-d);
  --bar: var(--cocoa);
  --foot: var(--cocoa);
  --bar-text: var(--on-dark);
  --star: #E0A63B;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 10px 30px rgba(43, 32, 25, .08);
  --serif: 'Fraunces', 'Hind Siliguri', Georgia, serif;
  --sans: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sv-lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* bottom nav */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sage-d); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage-d); outline-offset: 2px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.sv-hp { position: absolute; left: -9999px; }

@media (min-width: 768px) { :root { --gutter: 28px; } body { padding-bottom: 0; } }

/* =========================================================
   2. Buttons & small parts
   ========================================================= */
.sv-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 24px;
  background: var(--btn); color: #fff !important;
  border: 1px solid var(--btn); border-radius: 999px;
  font-size: .95rem; font-weight: 500; line-height: 1.2; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.sv-btn:hover, .woocommerce .button:hover { background: var(--btn-h); border-color: var(--btn-h); color: #fff !important; transform: translateY(-1px); }
.sv-btn--ghost { background: transparent; color: var(--cocoa) !important; border-color: var(--cocoa); }
.sv-btn--ghost:hover { background: var(--cocoa); }
.sv-btn--line { background: transparent; color: var(--cocoa) !important; border-color: var(--cocoa); min-height: 40px; padding: 8px 20px; }
.sv-btn--line:hover { background: var(--cocoa); }
.sv-btn--wa { background: var(--wa); border-color: var(--wa); }
.sv-btn--wa:hover { background: #17894a; border-color: #17894a; }
.sv-btn--ghost-l { background: transparent; border-color: rgba(255,255,255,.6); }
.sv-btn--block { width: 100%; }
.sv-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sv-eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-d); font-weight: 600; margin-bottom: 10px; }
.sv-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.sv-iconbtn:hover { background: var(--sand); }
.sv-i { flex: none; }
.sv-stars { display: flex; gap: 2px; color: var(--star); }

.sv-cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--rose); color: #fff; border-radius: 999px; font: 600 11px/18px var(--sans); text-align: center; font-style: normal;
}
.sv-cart-count[data-count="0"] { display: none; }

/* =========================================================
   3. Header / drawer / bottom nav
   ========================================================= */
.sv-announce { background: var(--bar); color: var(--bar-text); font-size: .8rem; text-align: center; padding: 8px 0; }
.sv-announce--run { overflow: hidden; white-space: nowrap; text-align: left; }
.sv-announce__track { display: flex; width: max-content; animation: sv-marquee var(--sv-ann-speed, 30s) linear infinite; }
.sv-announce__group { display: flex; flex-shrink: 0; min-width: 100vw; justify-content: space-around; }
.sv-announce__group span { padding: 0 28px; position: relative; flex: none; }
.sv-announce__group span::after { content: "\2726"; position: absolute; right: -6px; opacity: .6; }
.sv-announce--run:hover .sv-announce__track { animation-play-state: paused; }
@keyframes sv-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sv-announce__track { animation: none; } }
.sv-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.sv-header.is-stuck { border-color: var(--line); box-shadow: 0 4px 18px rgba(43,32,25,.05); }
.sv-header__in { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; min-height: 64px; }
.sv-logo { display: inline-flex; align-items: baseline; gap: 4px; justify-self: center; }
.sv-logo__txt { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.sv-logo__bd { font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--sage-d); border: 1px solid var(--sage); border-radius: 999px; padding: 1px 7px; transform: translateY(-6px); }
.sv-logo img { max-height: 44px; width: auto; }
.sv-nav { display: none; }
.sv-actions { display: flex; align-items: center; }
.sv-account { display: none; }
.sv-search { border-top: 1px solid var(--line); padding: 12px 0; background: var(--paper); }
.sv-search[hidden] { display: none; }

.sv-searchform { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; }
.sv-searchform input { flex: 1; border: 0; background: transparent; min-height: 40px; outline: none; min-width: 0; }
.sv-searchform button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cocoa); color: #fff; display: grid; place-items: center; cursor: pointer; }

.sv-menu { list-style: none; display: flex; gap: 6px; }
.sv-menu a { display: block; padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.sv-menu a:hover, .sv-menu .current-menu-item > a { background: var(--sand); color: var(--cocoa); }
.sv-menu li { position: relative; }
.sv-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; list-style: none; box-shadow: var(--shadow); }
.sv-menu li:hover > .sub-menu, .sv-menu li:focus-within > .sub-menu { display: block; }

.sv-overlay { position: fixed; inset: 0; background: rgba(43,32,25,.45); z-index: 90; }
.sv-overlay[hidden] { display: none; }
.sv-drawer { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: var(--cream); transform: translateX(-102%); transition: transform .28s ease; padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.sv-drawer.is-open { transform: none; }
.sv-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.sv-menu--drawer { flex-direction: column; gap: 0; }
.sv-menu--drawer a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
.sv-menu--drawer a:hover { background: none; }
.sv-menu--drawer .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; background: none; }
.sv-drawer__foot { margin-top: auto; display: grid; gap: 14px; }

.sv-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); }
.sv-social a:hover { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.sv-social--light a { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.sv-social--light a:hover { background: #fff; color: var(--cocoa); }
.sv-social--lg a { width: 46px; height: 46px; }

.sv-bottomnav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.sv-bottomnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--soft); padding: 4px 0; }
.sv-bottomnav a:hover { color: var(--cocoa); }
.sv-bn-cart .sv-cart-count { top: 0; right: 50%; margin-right: -22px; }
.sv-wa-float { position: fixed; z-index: 55; right: 14px; bottom: 80px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31,168,85,.4); }
.sv-wa-float:hover { color: #fff; transform: scale(1.06); }
body.sv-sticky-on .sv-wa-float { bottom: 150px; }
body.single-product .sv-bottomnav { display: none; }
body.single-product { padding-bottom: 0; }
body.single-product .sv-wa-float { bottom: 84px; }

@media (min-width: 992px) {
  .sv-header__in { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .sv-menu-toggle { display: none; }
  .sv-logo { justify-self: start; }
  .sv-nav { display: block; justify-self: center; }
  .sv-account { display: inline-flex; }
  .sv-bottomnav { display: none; }
  .sv-wa-float, body.single-product .sv-wa-float, body.sv-sticky-on .sv-wa-float { bottom: 24px; right: 24px; }
  .sv-drawer, .sv-overlay { display: none; }
}

/* =========================================================
   4. Home page
   ========================================================= */
.sv-main { min-height: 50vh; }
.sv-section { padding-block: 40px; }
.sv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.sv-reveal.is-in { opacity: 1; transform: none; }
.sv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.sv-head h2 { margin: 0; }
.sv-head--center { justify-content: center; text-align: center; }

.sv-hero { padding-top: 12px; }
.sv-hero__card { display: grid; background: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%); border-radius: 28px; overflow: hidden; }
.sv-hero__copy { padding: 32px 22px 12px; display: flex; flex-direction: column; align-items: flex-start; }
.sv-hero__copy h1 { margin-bottom: 14px; }
.sv-hero__copy p { color: var(--soft); max-width: 46ch; }
.sv-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sv-hero__review { margin: 22px 0 0; padding: 14px 16px; background: color-mix(in srgb, var(--paper) 80%, transparent); border-radius: 16px; max-width: 340px; font-size: .88rem; }
.sv-hero__review blockquote { margin: 0 0 4px; font-style: italic; }
.sv-hero__review figcaption { color: var(--soft); font-size: .8rem; }
.sv-hero__media { position: relative; align-self: end; display: flex; justify-content: center; }
.sv-hero__media { padding: 24px 16px 0; }
.sv-hero__media > img { width: auto; height: auto; max-width: 100%; max-height: 440px; object-fit: contain; border-radius: 22px 22px 0 0; box-shadow: 0 18px 40px rgba(43,32,25,.12); }
.sv-hero__float { position: absolute; right: 12px; top: 10px; width: 150px; background: color-mix(in srgb, var(--paper) 95%, transparent); border-radius: 18px; padding: 10px 12px 12px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.sv-hero__float small { font-size: .68rem; color: var(--soft); }
.sv-hero__float img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.sv-hero__float strong { font-size: .82rem; font-weight: 500; line-height: 1.3; padding-right: 26px; }
.sv-hero__go { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--cocoa); color: #fff; display: grid; place-items: center; }

.sv-trust ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 18px 0; }
.sv-trust li { display: flex; gap: 10px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--sage-d); }
.sv-trust strong { display: block; color: var(--cocoa); font-size: .85rem; line-height: 1.25; }
.sv-trust span { display: block; color: var(--soft); font-size: .72rem; line-height: 1.35; }

.sv-cats { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
.sv-cats::-webkit-scrollbar { display: none; }
.sv-cats .sv-cat { flex: 0 0 44%; scroll-snap-align: start; }
.sv-cat { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--sand); }
.sv-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sv-cat:hover img { transform: scale(1.05); }
.sv-cat__name { position: absolute; z-index: 1; left: 14px; top: 12px; font-size: .9rem; }
.sv-cat__arrow { position: absolute; z-index: 1; right: 12px; top: 10px; }

.sv-best { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.sv-best__label { position: absolute; top: 18px; left: 20px; margin: 0; z-index: 3; font-size: 1rem; letter-spacing: .1em; padding: 8px 18px; border-radius: 999px; background: var(--rose); color: #fff; box-shadow: 0 6px 16px rgba(43,32,25,.18); }
.sv-best__tags { position: absolute; top: 52px; left: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.sv-best__tags span { background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 4px 12px; border-radius: 999px; font-size: .75rem; }
.sv-best__word { position: absolute; left: 50%; top: 110px; transform: translateX(-50%); font-family: var(--serif); font-weight: 600; font-size: clamp(3.6rem, 17vw, 11.5rem); letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: var(--cocoa); }
.sv-best__imglink { position: absolute; right: 4%; bottom: -10px; width: min(52%, 340px); aspect-ratio: 1; display: block; z-index: 1; transition: transform .25s; }
.sv-best__imglink:hover { transform: translateY(-4px); }
.sv-best__imglink .sv-best__img { position: static; right: auto; bottom: auto; width: 100%; height: 100%; }
.sv-best__img { position: absolute; right: 4%; bottom: -10px; width: min(52%, 340px); aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 40px rgba(43,32,25,.18); }
.sv-best__buy { position: relative; z-index: 2; width: min(58%, 300px); background: color-mix(in srgb, var(--paper) 95%, transparent); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.sv-best__buy small { color: var(--soft); font-size: .75rem; }
.sv-best__buy h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 500; margin: 2px 0 6px; }
.sv-best__price { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.sv-best__price del { color: var(--soft); font-size: .9rem; font-weight: 400; margin-right: 4px; }
.sv-best__price ins { text-decoration: none; }
.sv-best__btns .sv-btn { min-height: 40px; padding: 8px 18px; font-size: .85rem; }

.sv-brand { display: grid; gap: 14px; }
.sv-brand__body h2 { max-width: 18ch; }
.sv-brand__body p { color: var(--soft); max-width: 56ch; }

.sv-band { background: var(--sand); }
.sv-ing { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sv-ing > div { background: var(--paper); border-radius: var(--r); padding: 20px 16px; color: var(--sage-d); }
.sv-ing h3 { color: var(--cocoa); margin: 12px 0 4px; font-size: 1.1rem; }
.sv-ing p { margin: 0; color: var(--soft); font-size: .88rem; line-height: 1.55; }

.sv-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.sv-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.sv-steps span { font-family: var(--serif); font-size: 2rem; color: var(--peach); line-height: 1; }
.sv-steps h3 { margin: 8px 0 4px; }
.sv-steps p { margin: 0; color: var(--soft); }

.sv-reviews { display: grid; gap: 12px; }
.sv-review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.sv-review blockquote { margin: 10px 0; }
.sv-review figcaption { color: var(--soft); font-size: .88rem; }

.sv-faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.sv-faq details, .sv-content details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; }
.sv-faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--sage-d); }
.sv-faq details[open] summary::after { content: '−'; }
.sv-faq p { color: var(--soft); padding-bottom: 8px; }

.sv-cta { background: var(--cta, var(--cocoa)); color: var(--on-dark); border-radius: 28px; padding: 32px 22px; display: grid; gap: 18px; justify-items: start; }
.sv-cta h2 { color: #fff; margin: 0; }
.sv-cta p { margin: 0; opacity: .85; }
.sv-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.sv-adminnote { font-size: .8rem; color: var(--soft); background: var(--sand); padding: 10px 14px; border-radius: 10px; margin-top: 14px; }

@media (min-width: 768px) {
  .sv-section { padding-block: 64px; }
  .sv-hero__card { grid-template-columns: 1.05fr 1fr; min-height: 560px; }
  .sv-hero__copy { padding: 56px 48px; justify-content: center; }
  .sv-hero__media { padding: 40px 24px 0; }
  .sv-hero__media > img { max-height: 600px; max-width: 86%; }
  .sv-hero__float { right: 6%; top: 36px; width: 190px; }
  .sv-trust ul { grid-template-columns: repeat(4, 1fr); }
  .sv-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; margin-inline: 0; padding: 0; }
  .sv-cats .sv-cat { flex: none; }
  .sv-best { min-height: 560px; padding: 32px; }
  .sv-best__tags { left: auto; right: 24px; top: 20px; }
  .sv-best__buy { width: 320px; }
  .sv-brand { grid-template-columns: 1fr 1.4fr; gap: 40px; }
  .sv-ing { grid-template-columns: repeat(4, 1fr); }
  .sv-steps, .sv-reviews { grid-template-columns: repeat(3, 1fr); }
  .sv-cta { grid-template-columns: 1fr auto; align-items: center; padding: 44px; }
  .sv-cta .sv-social { grid-column: 1 / -1; }
}

/* =========================================================
   5. Generic pages / blog
   ========================================================= */
.sv-page { padding-block: 32px 56px; }
.sv-page--narrow { max-width: 820px; }
.sv-pagehead { margin-bottom: 20px; }
.sv-pagehead h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.sv-content { font-size: 1.02rem; }
.sv-content h2, .sv-content h3 { margin-top: 1.4em; }
.sv-content a:not(.button):not(.sv-btn) { text-decoration: underline; text-underline-offset: 3px; }
.sv-content ul, .sv-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.sv-content img { border-radius: var(--r-sm); }
.sv-posts { display: grid; gap: 22px; }
.sv-post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sv-post__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sv-post__body { padding: 18px; }
.sv-post__body time, .sv-pagehead time { font-size: .8rem; color: var(--soft); }
.sv-post__body h2 { font-size: 1.3rem; margin: 4px 0 8px; }
.sv-post__hero { margin-bottom: 20px; }
.sv-post__hero img { border-radius: var(--r); width: 100%; }
.sv-pagination { margin-top: 28px; text-align: center; }
.sv-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; border-radius: 999px; }
.sv-pagination .current { background: var(--cocoa); color: #fff; }
.sv-404 { text-align: center; }
.sv-404 h1 { font-size: 6rem; color: var(--peach); }
.sv-comments { margin-top: 40px; }
.sv-comment-list { list-style: none; padding: 0; }
@media (min-width: 768px) { .sv-posts { grid-template-columns: repeat(3, 1fr); } }

.sv-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.sv-contact-card { display: grid; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; color: var(--sage-d); }
.sv-contact-card strong { color: var(--cocoa); }
.sv-contact-card span { color: var(--soft); font-size: .9rem; }

.sv-form { display: grid; gap: 14px; }
.sv-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.sv-form__row { display: grid; gap: 14px; }
.sv-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; }
.sv-notice--ok { background: #E7F1E4; color: #2E5A27; }
.sv-notice--err { background: #FBE6E1; color: #8C2F1F; }
@media (min-width: 640px) { .sv-form__row { grid-template-columns: 1fr 1fr; } }

/* Inputs */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea,
.select2-container--default .select2-selection--single {
  width: 100%; min-height: 48px; padding: 10px 16px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; font-size: 16px; /* 16px stops iOS zoom */
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }

/* =========================================================
   6. Footer
   ========================================================= */
.sv-footer { background: var(--foot); color: var(--on-dark); margin-top: 40px; }
.sv-footer a:hover { color: #fff; }
.sv-footer__grid { display: grid; gap: 28px; padding-block: 44px 24px; }
.sv-footer .sv-logo__txt { color: #fff; }
.sv-footer .sv-logo__bd { color: var(--peach); border-color: var(--peach); }
.sv-footer__brand p { opacity: .8; max-width: 40ch; margin-block: 12px 16px; }
.sv-footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
.sv-flist { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.sv-footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.sv-footer__contact .sv-i { margin-top: 5px; color: var(--peach); }
.sv-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .9; }
.sv-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-pay b { font-weight: 500; font-size: .72rem; padding: 3px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
@media (min-width: 768px) { .sv-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; } }

/* =========================================================
   7. WooCommerce
   ========================================================= */
.woocommerce-breadcrumb { font-size: .82rem; color: var(--soft); margin: 16px 0 14px; }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }
.sv-woo { padding-block: 8px 56px; }
.woocommerce-products-header__title, .sv-woo .page-title { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 6px 0 14px; }
.woocommerce-result-count { color: var(--soft); font-size: .88rem; float: left; margin: 10px 0 18px; }
.woocommerce-ordering { float: right; margin: 0 0 18px; }
.woocommerce-ordering select { min-height: 42px; padding: 6px 14px; border-radius: 999px; width: auto; }
ul.products::before { content: none; }
ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; clear: both; padding: 0; margin: 0 0 24px; }
@media (min-width: 640px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 992px) { ul.products { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

ul.products li.product { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s; }
ul.products li.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); margin: 0; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans); font-size: .95rem; font-weight: 500; line-height: 1.35; padding: 12px 14px 0; margin: 0; }
ul.products li.product .price { display: block; padding: 4px 14px 12px; font-weight: 600; }
ul.products li.product .price del { color: var(--soft); font-weight: 400; font-size: .85em; margin-right: 4px; }
ul.products li.product .price ins { text-decoration: none; color: var(--rose); }
ul.products li.product .star-rating { margin: 4px 14px 0; }
ul.products li.product .button { margin: 0 12px 14px; min-height: 42px; padding: 8px 14px; font-size: .88rem; }
ul.products li.product .added_to_cart { margin: 0 12px 14px; text-align: center; font-size: .85rem; text-decoration: underline; }
.onsale { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--rose); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.star-rating { position: relative; display: block; overflow: hidden; width: 80px; height: 16px; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E7DACB' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") left center / 16px 16px repeat-x; }
.star-rating span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E0A63B' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") left center / 16px 16px repeat-x; }
p.stars { margin: 6px 0; }
p.stars span { display: inline-flex; }
p.stars a { display: block; width: 28px; height: 28px; text-indent: -999px; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E7DACB' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") center / 24px 24px no-repeat; }
p.stars:hover a, p.stars.selected a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E0A63B' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E"); }
p.stars a:hover ~ a, p.stars.selected a.active ~ a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E7DACB' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E"); }
.woocommerce-pagination { text-align: center; margin-top: 10px; }
.woocommerce-pagination ul { list-style: none; display: inline-flex; gap: 6px; padding: 0; }
.woocommerce-pagination .page-numbers { display: block; min-width: 42px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.woocommerce-pagination .current { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }

/* Notices */
.woocommerce-notices-wrapper { margin-bottom: 14px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; margin: 0 0 14px; border-radius: 14px; background: #E7F1E4; color: #2E5A27; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-info { background: var(--sand); color: var(--cocoa); }
.woocommerce-error { background: #FBE6E1; color: #8C2F1F; flex-direction: column; align-items: flex-start; }
.woocommerce-message .button { min-height: 38px; padding: 6px 16px; order: 2; }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; position: relative; max-width: 100%; }
.single-product div.product > * { min-width: 0; }
.single-product main { overflow-x: clip; }
.woocommerce-tabs, .woocommerce-Tabs-panel { max-width: 100%; overflow-wrap: anywhere; }
.woocommerce-Tabs-panel table { display: block; max-width: 100%; overflow-x: auto; }
.woocommerce-Tabs-panel img, .woocommerce-Tabs-panel iframe, .woocommerce-Tabs-panel video { max-width: 100%; height: auto; }
.single-product div.product > .onsale { top: 12px; left: 12px; z-index: 6; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; padding: 0; }
.woocommerce-product-gallery__image img { width: 100%; border-radius: var(--r); background: var(--sand); }
.woocommerce-product-gallery__trigger { position: absolute; z-index: 5; top: 12px; right: 12px; width: 38px; height: 38px; background: color-mix(in srgb, var(--paper) 90%, transparent); border-radius: 50%; text-indent: -999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: '⤢'; position: absolute; inset: 0; text-indent: 0; display: grid; place-items: center; font-size: 18px; }
.flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0 0; padding: 0; }
.flex-control-thumbs img { border-radius: 10px; cursor: pointer; opacity: .6; aspect-ratio: 1; object-fit: cover; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; outline: 2px solid var(--cocoa); }
.summary .product_title { font-size: clamp(1.35rem, 5.2vw, 2.5rem); line-height: 1.25; margin-bottom: 8px; overflow-wrap: anywhere; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .85rem; color: var(--soft); }
.summary .price { font-size: 1.7rem; font-weight: 600; margin: 4px 0 14px; display: block; }
.summary .price del { font-size: 1.05rem; color: var(--soft); font-weight: 400; margin-right: 6px; }
.summary .price ins { text-decoration: none; color: var(--rose); }
.woocommerce-product-details__short-description { color: var(--soft); margin-bottom: 18px; }
form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
form.cart .variations { width: 100%; border: 0; margin-bottom: 6px; }
form.cart .variations th, form.cart .variations td { display: block; text-align: left; padding: 0 0 6px; }
form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
form.cart .single_add_to_cart_button { flex: 1; min-width: 150px; background: var(--paper); color: var(--cocoa) !important; border-color: var(--cocoa); }
form.cart .single_add_to_cart_button:hover { background: var(--btn); color: #fff !important; }
form.cart .sv-buy-now { flex: 1; min-width: 150px; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.quantity input.qty { width: 48px; min-height: 44px; border: 0; background: transparent; text-align: center; padding: 0; -moz-appearance: textfield; border-radius: 0; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sv-qbtn { width: 42px; height: 44px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; }
.sv-qbtn:hover { background: var(--sand); }
.stock { font-size: .85rem; color: var(--sage-d); margin-bottom: 8px; }
.out-of-stock { color: var(--rose); }
.product_meta { font-size: .85rem; color: var(--soft); display: grid; gap: 2px; margin-top: 14px; overflow-wrap: anywhere; }
.sv-pdp-extra { display: grid; gap: 14px; margin-top: 8px; }
.sv-pdp-trust { list-style: none; display: grid; gap: 8px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .88rem; }
.sv-pdp-trust li { display: flex; gap: 10px; align-items: center; color: var(--sage-d); }
.sv-pdp-trust span { color: var(--soft); }
.sv-pdp-trust b { color: var(--cocoa); font-weight: 600; }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 12px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 2px; margin: 0 0 18px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.woocommerce-tabs ul.tabs li { flex: none; }
.woocommerce-tabs ul.tabs a { display: block; padding: 10px 16px; color: var(--soft); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--cocoa); border-color: var(--cocoa); font-weight: 500; }
.woocommerce-Tabs-panel h2 { font-size: 1.3rem; }
.woocommerce-Reviews-title { font-size: 1.3rem; }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
#reviews .avatar { border-radius: 50%; width: 44px; height: 44px; }
.comment-form-rating select { max-width: 200px; }
.related.products, .upsells.products, .cross-sells { grid-column: 1 / -1; margin-top: 24px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: 1.6rem; margin-bottom: 16px; }
@media (min-width: 900px) {
  .single-product div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .single-product div.product .summary { position: static; }
}

/* Sticky buy bar (mobile) */
.sv-stickybuy { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43,32,25,.08); }
.sv-stickybuy[hidden] { display: none; }
.sv-stickybuy__info { flex: 1; min-width: 0; line-height: 1.25; }
.sv-stickybuy__info strong { display: block; font-size: .85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-stickybuy__info span { font-weight: 600; }
.sv-stickybuy__info del { color: var(--soft); font-weight: 400; font-size: .85em; }
.sv-stickybuy__info ins { text-decoration: none; }
@media (min-width: 900px) { .sv-stickybuy { display: none !important; } }

/* Free delivery bar */
.sv-freeship { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 16px; font-size: .9rem; }
.sv-freeship p { margin: 0 0 8px; }
.sv-freeship__bar { height: 6px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.sv-freeship__bar i { display: block; height: 100%; background: var(--sage-d); border-radius: 99px; transition: width .4s; }

/* Cart */
.sv-page--wide { max-width: 1120px; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 20px; }
table.shop_table th, table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table tr:last-child > * { border-bottom: 0; }
table.shop_table thead th { background: var(--sand); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
td.product-thumbnail img { width: 72px; border-radius: 10px; }
td.product-remove a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--cocoa) !important; font-size: 1.1rem; line-height: 1; }
td.product-remove a:hover { background: var(--rose); color: #fff !important; }
td.actions { text-align: left; }
.coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.coupon input { width: 180px; flex: 1; }
.cart-collaterals { max-width: 480px; margin-left: auto; }
.cart_totals h2 { font-size: 1.4rem; }
.cart_totals table { margin-bottom: 14px; }
.wc-proceed-to-checkout .button, #place_order { width: 100%; min-height: 54px; font-size: 1.05rem; }
.sv-delivery-hint td { font-size: .8rem; color: var(--soft); background: var(--sand); }
.cart-empty { text-align: center; padding: 30px 0; }
.return-to-shop { text-align: center; }

@media (max-width: 767px) {
  table.shop_table_responsive thead { display: none; }
  table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.shop_table_responsive tr:last-child { border-bottom: 0; }
  table.shop_table_responsive td, table.shop_table_responsive th { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 8px 14px; text-align: right; }
  table.shop_table_responsive td::before { content: attr(data-title); font-weight: 500; color: var(--soft); text-align: left; }
  table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { content: none; }
  table.shop_table_responsive td.product-remove { justify-content: flex-end; padding-bottom: 0; }
  table.shop_table_responsive td.product-thumbnail { justify-content: center; }
  table.shop_table_responsive td.actions { display: block; text-align: left; }
  .coupon .button, .actions > .button { width: 100%; margin-top: 8px; }
  .cart-collaterals { max-width: none; }
  .sv-delivery-hint td { display: block; text-align: left; }
}

/* Checkout */
form.checkout { display: grid; gap: 22px; }
#customer_details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; }
#customer_details h3, #order_review_heading { font-size: 1.35rem; margin-bottom: 14px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; gap: 12px; }
.form-row { margin: 0; display: grid; gap: 6px; }
.form-row label { font-size: .88rem; font-weight: 500; }
.form-row .required { color: var(--rose); text-decoration: none; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--rose); }
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--cocoa); }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px; right: 10px; }
.select2-dropdown { border-color: var(--line); border-radius: 12px; overflow: hidden; }
.select2-search--dropdown .select2-search__field { min-height: 40px; }
#order_review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
#order_review table.shop_table { border: 0; border-radius: 0; margin-bottom: 14px; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 10px 0; }
#order_review .product-name { font-weight: 400; }
#order_review .product-quantity { color: var(--soft); }
#order_review tfoot td { text-align: right; }
#order_review .order-total th, #order_review .order-total td { font-size: 1.15rem; font-weight: 600; }
#payment { background: transparent; }
#payment ul.payment_methods { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0 0 14px; }
#payment .wc_payment_method { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--cream); }
#payment .wc_payment_method label { font-weight: 500; margin-left: 6px; cursor: pointer; }
#payment .payment_box { margin-top: 8px; font-size: .88rem; color: var(--soft); }
#payment .payment_box p { margin: 0; }
.sv-cod-note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--sage-d); background: #EEF3EA; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.sv-cod-note .sv-i { margin-top: 3px; flex: none; }
.woocommerce-privacy-policy-text { font-size: .8rem; color: var(--soft); }
.woocommerce-checkout-review-order-table .cart-subtotal th { font-weight: 400; }
.woocommerce form.checkout_coupon, form.checkout_coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.woocommerce-form-coupon-toggle { margin-bottom: 8px; }
@media (min-width: 992px) {
  form.checkout { grid-template-columns: 1.15fr .85fr; grid-template-areas: "cust head" "cust rev"; column-gap: 32px; row-gap: 0; align-items: start; }
  #customer_details { grid-area: cust; padding: 28px; }
  #order_review_heading { grid-area: head; margin: 4px 0 14px; }
  #order_review { grid-area: rev; position: sticky; top: 96px; }
}

/* Order received / account */
.woocommerce-order { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.woocommerce-thankyou-order-received { font-size: 1.15rem; color: var(--sage-d); font-weight: 500; }
ul.woocommerce-order-overview { list-style: none; display: grid; gap: 8px; padding: 0; margin: 16px 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 8px; margin: 0 0 18px; }
.woocommerce-MyAccount-navigation a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-EditAccountForm { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; max-width: 520px; }
.u-columns { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
  .woocommerce-MyAccount-navigation ul { flex-direction: column; }
  .u-columns { grid-template-columns: 1fr 1fr; }
}
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }

/* Widgets & misc */
.sv-widget { margin-bottom: 24px; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sv-reveal { opacity: 1; transform: none; }
}
@media print { .sv-header, .sv-footer, .sv-bottomnav, .sv-wa-float, .sv-announce { display: none; } }

/* Product details box + FBT */
.sv-specs { margin: 0 0 16px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .88rem; display: grid; gap: 6px; }
.sv-specs > div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.sv-specs dt { color: var(--soft); }
.sv-specs dd { margin: 0; font-weight: 500; }
.sv-fbt { grid-column: 1 / -1; margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.sv-fbt h2 { font-size: 1.4rem; margin-bottom: 14px; }
.sv-fbt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.sv-fbt__plus { display: none; font-size: 1.6rem; color: var(--soft); text-align: center; }
.sv-fbt__item { position: relative; display: grid; gap: 4px; align-content: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); cursor: pointer; font-size: .85rem; }
.sv-fbt__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.sv-fbt__item input { position: absolute; top: 14px; left: 14px; width: 20px; height: 20px; accent-color: var(--cocoa); }
.sv-fbt__name { font-weight: 500; line-height: 1.3; }
.sv-fbt__price del { color: var(--soft); margin-right: 4px; }
.sv-fbt__price ins { text-decoration: none; }
.sv-fbt__total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sv-fbt__total b { font-size: 1.3rem; margin-left: 4px; }
@media (min-width: 768px) {
  .sv-fbt__row { display: flex; flex-wrap: nowrap; }
  .sv-fbt__item { flex: 0 1 200px; }
  .sv-fbt__plus { display: block; flex: none; }
}

/* Cart: suggestions next to totals */
.cart-collaterals { display: flex; flex-direction: column; }
.cart-collaterals .cart_totals { order: 1; width: 100%; }
.sv-cartsug { order: 2; margin-top: 28px; }
.sv-cartsug h2 { font-size: 1.3rem; margin-bottom: 12px; }
.sv-cartsug ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-cartsug li { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; }
.sv-cartsug__img { flex: 0 0 64px; }
.sv-cartsug__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sv-cartsug__info { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .9rem; line-height: 1.35; }
.sv-cartsug__info a { font-weight: 500; }
.sv-cartsug__price { color: var(--soft); font-size: .85rem; }
.sv-cartsug .sv-btn { min-height: 38px; padding: 6px 16px; flex-shrink: 0; }
@media (min-width: 900px) {
  .cart-collaterals { max-width: none; display: grid; grid-template-columns: 1fr 480px; gap: 32px; align-items: start; }
  .cart-collaterals .cart_totals { grid-column: 2; grid-row: 1; }
  .sv-cartsug { grid-column: 1; grid-row: 1; order: 0; margin-top: 0; }
}

/* Banner slider */
.sv-slider { padding-top: 12px; position: relative; }
.sv-slider__track { display: flex; align-items: flex-start; transition: height .3s; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); scrollbar-width: none; scroll-behavior: smooth; }
.sv-slider__track::-webkit-scrollbar { display: none; }
.sv-slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.sv-slider__slide img, .sv-slider__slide a, .sv-slider__slide picture { display: block; width: 100%; }
.sv-slider__slide img { height: auto; border-radius: var(--r); }
.sv-slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.sv-slider__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; }
.sv-slider__dots button.is-on { background: var(--cocoa); box-shadow: 0 0 0 1px #fff; width: 22px; border-radius: 6px; }

/* Plain illustrated categories */
.sv-cats--plain .sv-cat { background: transparent; aspect-ratio: auto; display: flex; flex-direction: column; text-align: center; overflow: visible; }
.sv-cats--plain .sv-cat__name { position: static; order: -1; font-family: var(--serif); font-size: 1.15rem; color: var(--rose); padding: 4px 0 8px; }
.sv-cats--plain .sv-cat__arrow { display: none; }
.sv-cats--plain .sv-cat img { height: auto; aspect-ratio: 1; object-fit: contain; border-radius: var(--r-sm); }

/* Floating cart (desktop, right side) */
.sv-fcart { position: fixed; right: 0; top: 46%; z-index: 60; display: flex; flex-direction: column; align-items: center; min-width: 78px; text-align: center; border-radius: 12px 0 0 12px; overflow: hidden; background: var(--cocoa); color: #fff; font-size: .72rem; letter-spacing: .02em; box-shadow: var(--shadow); padding-top: 10px; }
.sv-fcart:hover { color: #fff; }
.sv-fcart .sv-i { margin-bottom: 2px; }
.sv-fcart__n { padding: 0 10px 8px; font-weight: 500; }
.sv-fcart__t { align-self: stretch; background: var(--rose); padding: 5px 8px; font-weight: 600; font-size: .78rem; }
.sv-fcart__t * { color: #fff; background: none; text-decoration: none; }


/* Checkout: payment methods as tiles */
#payment ul.payment_methods { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
#payment .wc_payment_method { background: var(--paper); border-style: dashed; }
#payment .wc_payment_method .payment_box { grid-column: 1 / -1; }
.woocommerce-terms-and-conditions-wrapper { margin: 12px 0; font-size: .88rem; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--sage-d); text-decoration: underline; }
.woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: flex-start; }

/* Checkout: name + phone on one line, order items with photo */
.woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
  .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
}
.sv-ritem { display: flex; align-items: center; gap: 12px; }
.sv-ritem img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
#order_review td.product-name { display: table-cell; }

/* Announcement text options */
.sv-announce--small { font-size: .72rem; }
.sv-announce--large { font-size: .95rem; padding: 10px 0; }
.sv-announce--bold { font-weight: 600; }

/* Section background images */
.sv-hasbg { background-image: var(--bg, none); background-size: cover; background-position: var(--bgpos, center); background-repeat: no-repeat; position: relative; isolation: isolate; }
.sv-hasbg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov, transparent); pointer-events: none; }
.sv-bg--light { --ov: rgba(251,246,239,.62); }
.sv-bg--dark { --ov: rgba(20,12,8,.52); }
.sv-bg--dark .sv-hero__copy, .sv-bg--dark .sv-hero__copy h1, .sv-bg--dark .sv-hero__copy p, .sv-bg--dark .sv-hero__copy .sv-eyebrow,
.sv-bg--dark .sv-best__word, .sv-bg--dark .sv-head h2, .sv-bg--dark .sv-head .sv-eyebrow { color: #fff; }
.sv-bg--dark .sv-hero__copy .sv-btn--ghost { color: #fff !important; border-color: #fff; }

/* Mobile: own background image, tidier Best Seller + Hero card */
@media (max-width: 767px) {
  .sv-hasbg--m { background-image: var(--bg-m, var(--bg, none)); }
  .sv-best.sv-hasbg { min-height: 420px; }
  .sv-best__label { font-size: .85rem; padding: 6px 14px; top: 14px; left: 14px; }
  .sv-best__tags { top: 58px; left: 14px; right: 14px; }
  .sv-best__tags span { font-size: .72rem; padding: 3px 10px; }
  .sv-hero__float { width: 128px; padding: 8px 10px 10px; right: 8px; top: 8px; }
  .sv-hero__float img { display: none; }
  .sv-hero__float strong { font-size: .74rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Device visibility */
@media (max-width: 767px) { .sv-only-d { display: none !important; } }
@media (min-width: 768px) { .sv-only-m { display: none !important; } }
.sv-best__imglink picture, .sv-hero__media picture { display: contents; }

/* ===== Mobile layout (phones) ===== */
@media (max-width: 767px) {
  .sv-best { min-height: 0; padding: 14px; justify-content: flex-start; gap: 12px; }
  .sv-best__label { position: static !important; align-self: flex-start; }
  .sv-best__tags { position: static !important; }
  .sv-best__word { position: static !important; transform: none !important; text-align: center; font-size: 15vw !important; margin: -4px 0; }
  .sv-best__imglink { position: relative !important; right: auto !important; bottom: auto !important; width: 66% !important; margin: 0 auto; }
  .sv-best__buy { width: 100% !important; }
  .sv-best.sv-hasbg { min-height: 420px; }
  .sv-best.sv-hasbg .sv-best__buy { margin-top: auto; }
  .sv-hasbg[style*="--mr"] { min-height: calc((100vw - 32px) * var(--mr)) !important; }
}

/* Floating cart bag: all screens; sits above the bottom bar on phones */
.sv-fcart.is-empty, body.woocommerce-cart .sv-fcart, body.woocommerce-checkout .sv-fcart { display: none; }
@media (max-width: 767px) {
  .sv-fcart { top: auto; bottom: 150px; min-width: 64px; font-size: .72rem; }
  .sv-fcart .sv-i { width: 20px; height: 20px; }
  .sv-fcart__n { padding: 0 8px 6px; }
  .sv-fcart__t { font-size: .7rem; padding: 4px 6px; }
}
.sv-fcart.sv-bump { animation: sv-bump .6s ease; }
@keyframes sv-bump { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 70% { transform: scale(.96); } 100% { transform: scale(1); } }

/* Hero image size (Customizer: Hero image size) */
.sv-hero { --hh-m: 380px; --hh-d: 500px; }
.sv-hero--small { --hh-m: 300px; --hh-d: 420px; }
.sv-hero--large { --hh-m: 440px; --hh-d: 600px; }
.sv-hero__img { width: auto; height: auto; max-width: 100%; max-height: var(--hh-m); object-fit: contain; border-radius: 22px 22px 0 0; box-shadow: 0 18px 40px rgba(43,32,25,.12); }
.sv-hero__imglink { display: flex; justify-content: center; max-width: 100%; }
@media (min-width: 768px) {
  .sv-hero__img { max-height: var(--hh-d); max-width: 86%; }
  .sv-hero--small .sv-hero__card { min-height: 440px; }
  .sv-hero--medium .sv-hero__card { min-height: 500px; }
  .sv-hero--large .sv-hero__card { min-height: 560px; }
}

/* Product page - phones */
@media (max-width: 600px) {
  .single-product .summary .price { font-size: 1.45rem; }
  form.cart { gap: 8px; }
  form.cart .single_add_to_cart_button, form.cart .sv-buy-now { flex: 1 1 100%; min-width: 0; }
  .sv-specs > div { grid-template-columns: 96px minmax(0, 1fr); }
  .sv-pdp-trust { padding: 12px; font-size: .84rem; }
  .woocommerce-tabs ul.tabs a { padding: 9px 12px; font-size: .9rem; }
  .flex-control-thumbs { grid-template-columns: repeat(4, 1fr); }
  .single-product main { padding-bottom: 84px; }
}

/* Mobile: side-scrolling product rows + compact cards */
@media (max-width: 639px) {
  ul.products li.product .woocommerce-loop-product__title { font-size: .85rem; padding: 10px 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  ul.products li.product .price { padding: 4px 10px 10px; font-size: .9rem; }
  ul.products li.product .button { margin: 0 10px 12px; min-height: 38px; font-size: .82rem; padding: 6px 10px; }
  ul.products li.product img { aspect-ratio: 1; }
  .sv-pscroll .sv-section ul.products, .sv-pscroll .related ul.products, .sv-pscroll .upsells ul.products,
  .sv-pscroll-shop ul.products {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 16px 8px; margin-inline: -16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .sv-pscroll-shop ul.products { grid-template-rows: repeat(2, auto); }
  .sv-pscroll .sv-section ul.products::-webkit-scrollbar, .sv-pscroll .related ul.products::-webkit-scrollbar, .sv-pscroll .upsells ul.products::-webkit-scrollbar, .sv-pscroll-shop ul.products::-webkit-scrollbar { display: none; }
  .sv-pscroll .sv-section ul.products li.product, .sv-pscroll .related ul.products li.product, .sv-pscroll .upsells ul.products li.product, .sv-pscroll-shop ul.products li.product { scroll-snap-align: start; margin: 0; width: auto; }
}

/* Video / podcast section */
.sv-head__sub { color: var(--soft); margin: 8px auto 0; max-width: 560px; }
.sv-vidgrid { display: grid; gap: 18px; justify-content: center; }
.sv-vid { margin: 0; min-width: 0; }
.sv-vid__play, .sv-vid iframe:not(.sv-vid__spotify), .sv-vid__file { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r); background: var(--cocoa) center/cover no-repeat; overflow: hidden; }
.sv-vid__play { position: relative; cursor: pointer; padding: 0; }
.sv-vid__btn { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--cocoa); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); transition: transform .2s; }
.sv-vid__btn svg { margin-left: 3px; }
.sv-vid__play:hover .sv-vid__btn { transform: scale(1.08); }
.sv-vid__spotify { width: 100%; border: 0; border-radius: var(--r); }
.sv-vid figcaption { margin-top: 10px; font-weight: 500; text-align: center; }
.sv-vid-n1 { grid-template-columns: minmax(0, 760px); }
@media (min-width: 768px) {
  .sv-vid-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-vid-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sv-vid-n2, .sv-vid-n3 { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .sv-vid-n2 .sv-vid, .sv-vid-n3 .sv-vid { scroll-snap-align: start; }
}

.sv-cancelbox { margin: 18px 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; gap: 10px; justify-items: start; }
.sv-cancelbox p { margin: 0; color: var(--soft); font-size: .92rem; }

/* Live Support button */
.sv-live { position: fixed; z-index: 58; bottom: 80px; display: flex; align-items: center; gap: 10px; }
.sv-live--right { right: 14px; flex-direction: row; }
.sv-live--left { left: 14px; flex-direction: row-reverse; }
body.sv-sticky-on .sv-live { bottom: 150px; }
body.single-product .sv-live { bottom: 84px; }
body.single-product.sv-sticky-on .sv-live { bottom: 84px; }
.sv-live__btn { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--cocoa); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s; }
.sv-live__btn:hover { transform: scale(1.06); }
.sv-live__btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.sv-live__ico { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s, transform .2s; }
.sv-live__ico--x { opacity: 0; transform: rotate(-60deg); }
.sv-live.is-open .sv-live__ico--chat { opacity: 0; transform: rotate(60deg); }
.sv-live.is-open .sv-live__ico--x { opacity: 1; transform: none; }
.sv-live__label { background: var(--paper); color: var(--cocoa); font-size: .85rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.12); white-space: nowrap; }
.sv-live.is-open .sv-live__label { display: none; }
.sv-live__panel { position: absolute; bottom: 66px; width: min(300px, calc(100vw - 28px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.2); display: grid; gap: 8px; }
.sv-live--right .sv-live__panel { right: 0; }
.sv-live--left .sv-live__panel { left: 0; }
.sv-live__panel[hidden] { display: none; }
.sv-live__panel strong { font-size: 1rem; color: var(--cocoa); }
.sv-live__panel small { color: var(--soft); margin-bottom: 4px; }
.sv-live__opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--cream); color: var(--cocoa); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; overflow-wrap: anywhere; }
.sv-live__opt:hover { background: var(--sand); color: var(--cocoa); }
.sv-live__opt--whatsapp svg { color: var(--wa); }
@media (max-width: 767px) { .sv-live__label { display: none; } }
@media (min-width: 992px) {
  .sv-live, body.single-product .sv-live, body.sv-sticky-on .sv-live { bottom: 24px; }
  .sv-live--right { right: 24px; } .sv-live--left { left: 24px; }
}
@media print { .sv-live { display: none; } }

/* My Account: login / sign up card */
.woocommerce-account:not(.logged-in) .woocommerce > h2 { display: none; }
.sv-auth { max-width: 460px; margin: 8px 0 24px; }
.sv-auth__card { display: grid; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.sv-auth__card h2 { margin: 0; font-size: 1.5rem; }
.sv-auth__sub { margin: 0 0 8px; color: var(--soft); font-size: .92rem; }
.sv-auth label { font-size: .88rem; font-weight: 500; }
.sv-auth input[type=text], .sv-auth input[type=tel], .sv-auth input[type=password] { width: 100%; min-height: 46px; }
.sv-auth__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sv-auth__row a { font-size: .85rem; text-decoration: underline; }
.sv-auth__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sv-auth__two > div { display: grid; gap: 8px; min-width: 0; }
.sv-auth__remember { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.sv-auth .sv-btn { width: 100%; margin-top: 6px; }
.sv-auth__switch { text-align: center; margin: 8px 0 0; font-size: .92rem; }
.sv-auth__switch a { text-decoration: underline; font-weight: 500; }
.sv-auth__register { display: none; }
.sv-auth.is-signup .sv-auth__register { display: grid; }
.sv-auth.is-signup .sv-auth__login { display: none; }

.sv-cat--photo img { object-fit: contain !important; background: #fff; padding: 10px; }
.sv-cats--plain .sv-cat--photo img { border: 1px solid var(--line); border-radius: var(--r-sm); aspect-ratio: 1; }

/* ---------- Shop Assistant chat ---------- */
.sv-chat { position: fixed; z-index: 58; bottom: 80px; }
.sv-chat--right { right: 14px; }
.sv-chat--left { left: 14px; }
body.sv-sticky-on .sv-chat { bottom: 150px; }
body.single-product .sv-chat, body.single-product.sv-sticky-on .sv-chat { bottom: 84px; }
.sv-chat__btn { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--cocoa); color: #fff; padding: 7px 18px 7px 7px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.25); font: 500 .92rem/1 inherit; font-family: inherit; }
.sv-chat__btn:hover { transform: translateY(-1px); }
.sv-chat__btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.sv-chat__ico, .sv-chat__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--cocoa); flex: none; }
.sv-chat__btn:not(:has(.sv-chat__lbl)) { padding: 7px; }
.sv-chat.is-open .sv-chat__btn { display: none; }
.sv-chat__panel { position: fixed; bottom: 0; right: 0; left: 0; top: 12%; z-index: 90; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); overflow: hidden; }
.sv-chat__panel[hidden] { display: none; }
.sv-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--cocoa); color: #fff; }
.sv-chat__head strong { flex: 1; font-size: 1rem; }
.sv-chat__av { background: #fff; width: 36px; height: 36px; }
.sv-chat__x { border: 0; background: transparent; color: #fff; cursor: pointer; padding: 6px; display: grid; }
.sv-chat__log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.sv-chat__m { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.55; overflow-wrap: anywhere; display: grid; gap: 4px; }
.sv-chat__m--bot { background: var(--paper); border: 1px solid var(--line); color: var(--cocoa); border-bottom-left-radius: 4px; align-self: flex-start; }
.sv-chat__m--me { background: var(--btn); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.sv-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-chat__chips button { border: 1px solid var(--line); background: var(--paper); color: var(--cocoa); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; }
.sv-chat__chips button:hover { background: var(--sand); }
.sv-chat__prods { display: grid; gap: 8px; align-self: stretch; }
.sv-chat__p { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px; color: var(--cocoa); }
.sv-chat__p:hover { border-color: var(--btn); color: var(--cocoa); }
.sv-chat__p img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--sand); flex: none; }
.sv-chat__p span { display: grid; gap: 2px; min-width: 0; font-size: .9rem; font-weight: 500; }
.sv-chat__p small { color: var(--btn); font-weight: 600; }
.sv-chat__wa { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--wa); color: #fff !important; padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.sv-chat__human { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px; font-size: .82rem; color: var(--soft); background: var(--cream); border-top: 1px solid var(--line); }
.sv-chat__form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.sv-chat__form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 16px; background: var(--cream); color: var(--cocoa); }
.sv-chat__form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--btn); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.sv-chat__typing { opacity: .6; }
@media (min-width: 768px) {
  .sv-chat, body.single-product .sv-chat, body.sv-sticky-on .sv-chat { bottom: 24px; }
  .sv-chat--right { right: 24px; } .sv-chat--left { left: 24px; }
  .sv-chat__panel { position: absolute; top: auto; left: auto; bottom: 0; width: 380px; height: min(580px, calc(100vh - 60px)); border-radius: 20px; }
  .sv-chat--right .sv-chat__panel { right: 0; } .sv-chat--left .sv-chat__panel { left: 0; }
}
@media print { .sv-chat { display: none; } }

/* Chat v1.7.2: smaller on mobile, draggable button */
.sv-chat__btn { touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; padding: 5px 14px 5px 5px; font-size: .84rem; gap: 8px; }
.sv-chat__btn.is-drag { cursor: grabbing; }
.sv-chat__ico { width: 32px; height: 32px; }
.sv-chat__btn:not(:has(.sv-chat__lbl)) { padding: 5px; }
.sv-chat__panel { top: auto; left: auto; right: 12px; bottom: 76px; width: min(340px, calc(100vw - 24px)); height: min(430px, calc(100dvh - 170px)); border-radius: 18px; box-shadow: 0 12px 36px rgba(0,0,0,.28); }
.sv-chat--left .sv-chat__panel { left: 12px; right: auto; }
.sv-chat__head { padding: 9px 12px; }
.sv-chat__av { width: 30px; height: 30px; }
.sv-chat__log { padding: 12px; gap: 8px; }
.sv-chat__m { font-size: .88rem; padding: 8px 12px; }
.sv-chat__chips button { padding: 6px 12px; font-size: .82rem; }
.sv-chat__p img { width: 44px; height: 44px; }
.sv-chat__form { padding: 8px 10px; }
.sv-chat__form input { padding: 10px 14px; }
.sv-chat__form button { width: 40px; height: 40px; }
@media (min-width: 768px) {
  .sv-chat__panel { position: fixed; right: 24px; bottom: 24px; left: auto; top: auto; width: 360px; height: min(540px, calc(100vh - 60px)); }
  .sv-chat--left .sv-chat__panel { left: 24px; right: auto; }
  .sv-chat__btn { padding: 7px 18px 7px 7px; font-size: .92rem; }
  .sv-chat__ico { width: 38px; height: 38px; }
}

/* Chat button animation (twinkling sparkle + shimmering text) */
.sv-chat__ico svg path, .sv-chat__av svg path { fill: currentColor; stroke: currentColor; stroke-width: 1; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.sv-chat__ico svg path:nth-child(1) { animation: sv-tw1 2.4s ease-in-out infinite; }
.sv-chat__ico svg path:nth-child(2) { animation: sv-tw2 2.4s ease-in-out infinite; }
@keyframes sv-tw1 { 0%,100% { transform: scale(1) rotate(0); } 35% { transform: scale(1.22) rotate(18deg); } 60% { transform: scale(.82) rotate(-10deg); } }
@keyframes sv-tw2 { 0%,100% { transform: scale(1); opacity: 1; } 35% { transform: scale(.6); opacity: .55; } 65% { transform: scale(1.3); opacity: 1; } }
.sv-chat__lbl { color: #fff; background: linear-gradient(100deg, #fff 0%, #fff 38%, #ffd1e6 46%, #bfe9ff 50%, #fff 58%, #fff 100%) 0 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sv-shine 3s ease-in-out infinite; }
@keyframes sv-shine { 0% { background-position: 130% 0; } 55%,100% { background-position: -30% 0; } }
.sv-chat__btn { transition: transform .2s, box-shadow .2s; }
.sv-chat__btn:hover { box-shadow: 0 10px 28px rgba(0,0,0,.32), 0 0 0 3px rgba(255,255,255,.35); }
@media (prefers-reduced-motion: reduce) { .sv-chat__ico svg path, .sv-chat__lbl { animation: none; } }

/* ---------- Product page: proof boxes, watching, stock, order button, + boxes ---------- */
.sv-proof { display: grid; gap: 8px; margin-bottom: 10px; }
.sv-proof__rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--sand); padding: 10px 14px; border-radius: 8px; font-size: .95rem; color: var(--cocoa); }
.sv-stars { display: inline-flex; gap: 2px; }
.sv-stars i { font-style: normal; color: #d9d2c9; font-size: 1.05rem; line-height: 1; }
.sv-stars i.on { color: var(--star, #F5A623); }
.sv-stars i.half { color: var(--star, #F5A623); opacity: .55; }
.sv-proof__sold { background: #FFF1DF; color: #B2570B; padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.onsale--save { position: static !important; display: inline-block; background: #D32F2F; color: #fff; font-weight: 600; font-size: .85rem; padding: 4px 10px; border-radius: 4px; margin: 0 0 8px; }
.sv-watch { display: flex; align-items: center; gap: 12px; background: var(--sand); padding: 14px 16px; border-radius: 8px; margin: 10px 0; color: var(--cocoa); font-size: .95rem; }
.sv-watch[hidden] { display: none; }
.sv-watch svg { color: #D32F2F; flex: none; }
.sv-stockline { display: flex; align-items: center; gap: 10px; margin: 8px 0; color: #138a4a; font-weight: 500; }
.sv-stockline i { width: 14px; height: 14px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.22); flex: none; }
.sv-buy-now--grad { background: linear-gradient(90deg, var(--bn1, #F97316), var(--bn2, #EF4444)) !important; color: #fff !important; border: 0 !important; box-shadow: 0 8px 18px rgba(239,68,68,.28); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sv-buy-now--grad:hover { filter: brightness(1.05); transform: translateY(-1px); }
body.sv-no-atc .product-type-simple form.cart .single_add_to_cart_button { display: none; }
.sv-acc { margin-top: 16px; }
.sv-acc details { border-bottom: 1px solid var(--line); }
.sv-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font-size: 1.15rem; color: var(--cocoa); }
.sv-acc summary::-webkit-details-marker { display: none; }
.sv-acc summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform .2s; }
.sv-acc details[open] summary::after { content: "−"; }
.sv-acc__body { padding: 0 2px 18px; color: var(--soft); font-size: .95rem; line-height: 1.7; }
.sv-acc__body p { margin: 0 0 .7em; }
.sv-acc__body .sv-faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; padding: 0 12px; }
.sv-acc__body .sv-faq summary { font-size: .98rem; padding: 12px 0; }

/* ---------- Home: skincare set / bundle ---------- */
.sv-bundle__wrap { display: grid; gap: 22px; align-items: center; }
.sv-bundle__media { position: relative; border-radius: 22px; overflow: hidden; background: var(--sand); }
.sv-bundle__media img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.sv-bundle__pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--cocoa); display: grid; place-items: center; font-size: .85rem; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.sv-bundle__body { display: grid; gap: 14px; justify-items: center; text-align: center; }
.sv-bundle__body h2 { margin: 0; max-width: 18ch; }
.sv-bundle__list { list-style: none; margin: 4px 0; padding: 0; width: 100%; max-width: 520px; display: grid; text-align: left; }
.sv-bundle__list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sv-bundle__n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; color: var(--cocoa); }
.sv-bundle__item { display: flex; gap: 12px; align-items: center; color: var(--cocoa); font-weight: 500; font-size: .95rem; min-width: 0; }
.sv-bundle__item img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--sand); flex: none; }
.sv-bundle__price { text-align: right; font-size: .9rem; color: #C0392B; font-weight: 600; white-space: nowrap; }
.sv-bundle__price del { display: block; color: var(--soft); font-weight: 400; }
.sv-bundle__price ins { text-decoration: none; }
@media (min-width: 900px) { .sv-bundle__wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; } .sv-bundle__body h2 { font-size: 2.3rem; } }

/* v1.8.1: summary no longer follows the scroll over the description */
.single-product div.product .summary { position: static !important; }
.single-product div.product .woocommerce-tabs { position: relative; z-index: 1; clear: both; }

.sv-stockline { color: var(--sc, #E11D48); }
.sv-stockline i { background: var(--sc, #E11D48); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sc, #E11D48) 22%, transparent); }

/* ---------- Order tracking ---------- */
.sv-track { max-width: 640px; margin: 0 auto; padding: 24px 0 40px; }
.sv-track h2 { margin: 0 0 6px; }
.sv-track__sub { color: var(--soft); margin: 0 0 18px; }
.sv-track__form { display: grid; gap: 12px; }
.sv-track__form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.sv-track__form input { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--cocoa); width: 100%; }
.sv-track__form input:focus { outline: 2px solid var(--btn); outline-offset: 1px; }
.sv-track__err { background: #FDECEC; color: #B3261E; padding: 12px 14px; border-radius: 10px; margin-top: 14px; }
.sv-track__res { margin-top: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 18px; display: grid; gap: 18px; }
.sv-track__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sv-track__head small { display: block; color: var(--soft); margin-top: 2px; }
.sv-track__badge { background: var(--sand); color: var(--cocoa); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.sv-track__badge.is-bad { background: #FDECEC; color: #B3261E; }
.sv-track__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sv-track__steps li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .78rem; color: var(--soft); position: relative; }
.sv-track__steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.sv-track__steps li:first-child::before { display: none; }
.sv-track__steps li i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--soft); display: grid; place-items: center; font-style: normal; font-weight: 600; }
.sv-track__steps li.is-done i, .sv-track__steps li.is-now i { background: var(--btn); color: #fff; }
.sv-track__steps li.is-done::before, .sv-track__steps li.is-now::before { background: var(--btn); }
.sv-track__steps li.is-now { color: var(--cocoa); font-weight: 600; }
.sv-track__ship { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--sand); border-radius: 12px; padding: 12px 14px; }
.sv-track__ship small { display: block; color: var(--soft); font-size: .75rem; }
.sv-track__items { list-style: none; margin: 0; padding: 0; display: grid; }
.sv-track__items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sv-track__items li.is-total { border-bottom: 0; font-weight: 600; }
.sv-track__notes p { margin: 8px 0 0; font-size: .9rem; }
.sv-track__notes small { display: block; color: var(--soft); }
.sv-track__help { color: var(--sage-d); font-weight: 500; text-align: center; }
.sv-track-link { margin: 14px 0; }

/* ---------- Before/After + reviews ---------- */
.sv-ba__head { text-align: center; margin-bottom: 26px; }
.sv-ba__head h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 5vw, 2.8rem); }
.sv-ba__head p { margin: 0; color: var(--soft); font-size: 1.05rem; }
.sv-ba__grid { display: grid; gap: 30px; align-items: start; }
.sv-ba__left { display: grid; gap: 14px; justify-items: center; text-align: center; }
.sv-ba__right { display: grid; gap: 14px; }
.sv-ba__right h3 { margin: 0 0 2px; font-size: 1.5rem; }
.sv-cmp { position: relative; width: 100%; aspect-ratio: 5 / 6; border-radius: 22px; overflow: hidden; background: var(--sand); box-shadow: 0 18px 40px rgba(0,0,0,.14); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.sv-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sv-cmp__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sv-cmp__tag { position: absolute; top: 14px; padding: 5px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; z-index: 3; }
.sv-cmp__tag--b { left: 14px; background: #E5343A; }
.sv-cmp__tag--a { right: 14px; background: #1c1a19; }
.sv-cmp__bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.sv-cmp__bar i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.sv-cmp__bar i::before, .sv-cmp__bar i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.sv-cmp__bar i::before { left: 6px; border-right-color: #444; }
.sv-cmp__bar i::after { right: 6px; border-left-color: #444; }
.sv-cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.sv-cmp:focus-within .sv-cmp__bar i { outline: 3px solid var(--sage); }
.sv-ba__note { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.sv-ba__note i { width: 10px; height: 10px; border-radius: 50%; background: var(--cocoa); }
.sv-ba__cap { margin: 0; color: var(--soft); font-size: .92rem; max-width: 46ch; }
.sv-rv { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.sv-rv__av { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--sage-d); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; overflow: hidden; }
.sv-rv__av img { width: 100%; height: 100%; object-fit: cover; }
.sv-rv__body { min-width: 0; display: grid; gap: 4px; }
.sv-rv__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sv-rv__top strong { font-size: 1.05rem; color: var(--cocoa); }
.sv-rv__ver { background: var(--sand); color: var(--soft); font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.sv-rv__stars { color: var(--star, #F5A623); letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.sv-rv__stars span { color: #d9d2c9; }
.sv-rv p { margin: 4px 0 0; color: var(--cocoa); font-size: .95rem; line-height: 1.65; overflow-wrap: anywhere; }
@media (min-width: 900px) { .sv-ba__grid { grid-template-columns: 1fr 1fr; gap: 56px; } .sv-ba--one .sv-ba__grid { grid-template-columns: minmax(0, 560px); justify-content: center; } }
