/* ============================================================
   The Tender Journal — Storefront styles
   Mobile-first, responsive, accessible. No external frameworks.
   ============================================================ */
:root{
  /* warm, low-glare tones (deeper than before for sensitive eyes) */
  /* The Tender Journal brand palette: maroon, coral, mustard-gold, warm taupe */
  --cream:#EADDCD; --surface:#F4EADC; --surface-2:#D6C1AE; --card2:#F8EFE2;
  --ink:#2B211E; --muted:#8a7969; --line:#DAC8B6;
  --plum:#7A1F2B; --plum-d:#5E1620; --rose:#C25A54; --rose-soft:#F6E2DF;
  --sage:#7E9080; --gold:#D48910; --gold-soft:#F7E9CF;
  --green:#3F7D5B; --red:#B4524B; --amber:#C8902F; --blue:#3B6FA0;
  --radius:16px; --radius-sm:10px; --radius-lg:26px;
  --shadow:0 1px 2px rgba(63,40,30,.04),0 8px 28px rgba(63,40,30,.07);
  --shadow-lg:0 24px 60px rgba(63,40,30,.16);
  --container:1180px;
  --font:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --serif:'Cormorant Garamond','Georgia',serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--cream);
  line-height:1.6;-webkit-font-smoothing:antialiased;font-size:16px}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.12;margin:0 0 .4em;letter-spacing:.2px}
h1{font-size:clamp(2.1rem,5vw,3.6rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.5rem)}
h3{font-size:1.3rem}
p{margin:0 0 1rem}
.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
.center{text-align:center}
.hidden{display:none!important}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font:inherit;font-weight:600;font-size:.95rem;padding:.8rem 1.4rem;border-radius:999px;
  border:1.5px solid transparent;cursor:pointer;transition:.18s ease;white-space:nowrap;line-height:1}
.btn .icon{width:18px;height:18px}
.btn-primary{background:var(--plum);color:#fff}
.btn-primary:hover{background:var(--plum-d);transform:translateY(-1px)}
.btn-rose{background:var(--rose);color:#fff}
.btn-added{background:#E2F0E8;color:#2e6b47;border:1.5px solid #bcdcc9}
.btn-added:hover{background:#d5e9dd}
/* customer dashboard */
.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin-top:1.4rem}
.dash-stat{display:flex;align-items:center;gap:.7rem;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem;text-decoration:none;color:var(--ink)}
a.dash-stat:hover{border-color:var(--rose)}
.dash-stat .ds-ic{width:40px;height:40px;flex:none;border-radius:11px;background:var(--rose-soft);color:var(--rose);display:grid;place-items:center}
.dash-stat .ds-ic .icon{width:19px;height:19px}
.dash-stat b{display:block;font-size:1.15rem;font-family:var(--serif);line-height:1.1}
.dash-stat span{font-size:.78rem;color:var(--muted)}
.dash-recs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.1rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .9rem;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:.85rem;text-decoration:none}
.chip:hover{border-color:var(--rose);color:var(--rose)}
.chip .icon{width:16px;height:16px}
@media(max-width:820px){.dash-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.dash-stats{grid-template-columns:1fr}.dash-recs{grid-template-columns:1fr 1fr}}
.btn-rose:hover{filter:brightness(.95);transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:#3a2c14}
.btn-gold:hover{filter:brightness(.96)}
.btn-wa{background:#25D366;color:#fff}
.btn-wa:hover{filter:brightness(.95);transform:translateY(-1px)}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-light{background:var(--card2);border-color:var(--line)}
.btn-light:hover{background:var(--surface-2)}
.btn-block{width:100%}
.btn-sm{padding:.5rem .9rem;font-size:.85rem}
.btn-lg{padding:1rem 1.9rem;font-size:1.05rem}
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}

/* ---------- Badges ---------- */
.badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:700;
  letter-spacing:.4px;text-transform:uppercase;padding:.28rem .6rem;border-radius:999px}
.badge-sale{background:var(--gold-soft);color:#8a6a16}
.badge-new{background:var(--rose-soft);color:var(--rose)}
.badge-low{background:#FBE6C8;color:#92590f}
.badge-out{background:#F0DDDB;color:var(--red)}
.pill{display:inline-flex;align-items:center;gap:.35rem;padding:.32rem .75rem;border-radius:999px;
  font-size:.78rem;font-weight:600;background:var(--surface-2);color:var(--muted)}
.tag-green{background:#E2F0E8;color:var(--green)}
.tag-amber{background:#F8ECCF;color:var(--amber)}
.tag-blue{background:#E1ECF6;color:var(--blue)}
.tag-violet{background:#ECE3F2;color:#6f4b94}
.tag-red{background:#F4DEDC;color:var(--red)}
.tag-gray{background:var(--surface-2);color:var(--muted)}

/* ---------- Admin context bar (shown on storefront when owner is signed in) ---------- */
.admin-bar{background:#2A2320;color:#f0e9e2;font-size:.84rem;display:flex;align-items:center;gap:.6rem;
  justify-content:center;padding:.5rem 1rem;flex-wrap:wrap}
.admin-bar .icon{width:16px;height:16px}
.admin-bar a{display:inline-flex;align-items:center;gap:.35rem;background:var(--rose);color:#fff;
  padding:.3rem .75rem;border-radius:999px;font-weight:600}
.admin-bar a:hover{filter:brightness(1.05)}

/* ---------- Top announcement ---------- */
.announce{background:var(--plum);color:#fff;font-size:.82rem;text-align:center;
  padding:.5rem 1rem;display:flex;align-items:center;justify-content:center;gap:.5rem}
.announce .icon{width:15px;height:15px}
/* Rotating announcement carousel: only the current line is shown. */
.announce-track{position:relative;display:inline-grid}
.announce-item{grid-area:1/1;opacity:0;transition:opacity .5s ease;pointer-events:none}
.announce-item.is-current{opacity:1;pointer-events:auto}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(230,217,200,.92);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:1rem;height:70px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-size:1.5rem;
  font-weight:700;color:var(--plum);letter-spacing:.5px}
.brand .mark{width:38px;height:38px;border-radius:11px;background:var(--plum);color:#fff;
  display:grid;place-items:center}
.brand .mark .icon{width:21px;height:21px;stroke:#fff}
/* Brand logo image (TikTok "tender" mark) inside any .mark container */
.mark-logo{background:transparent!important;overflow:hidden;box-shadow:none}
.mark-logo img{width:100%;height:100%;border-radius:50%;display:block;object-fit:cover}
.nav{display:flex;align-items:center;gap:.3rem}
.nav a{padding:.55rem .85rem;border-radius:999px;font-weight:500;font-size:.95rem;color:var(--ink);transition:.15s}
.nav a:hover,.nav a.active{background:var(--surface-2);color:var(--plum)}
.header-actions{display:flex;align-items:center;gap:.25rem}
.icon-btn{position:relative;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:transparent;border:none;cursor:pointer;color:var(--ink);transition:.15s}
.icon-btn:hover{background:var(--surface-2);color:var(--plum)}
.icon-btn .icon{width:22px;height:22px}
.count-bubble{position:absolute;top:5px;right:5px;min-width:18px;height:18px;padding:0 4px;
  background:var(--rose);color:#fff;font-size:.68rem;font-weight:700;border-radius:999px;
  display:grid;place-items:center;line-height:1}
.menu-toggle{display:none}
/* customer notification bell */
.c-bell-wrap{position:relative}
.c-bell-menu{position:absolute;top:calc(100% + 8px);right:0;width:330px;max-width:92vw;background:var(--surface);
  border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(60,40,30,.18);z-index:60;display:none;overflow:hidden}
.c-bell-menu.open{display:block}
.c-bell-head{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-bottom:1px solid var(--line)}
.c-linklike{background:none;border:none;color:var(--rose);font:inherit;font-size:.8rem;cursor:pointer;text-decoration:underline;padding:0}
.c-bell-list{max-height:330px;overflow-y:auto}
.c-bell-item,.c-notif-row{display:flex;gap:.7rem;align-items:flex-start;padding:.8rem 1rem;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.c-bell-item:last-child{border-bottom:none}
.c-bell-item:hover,.c-notif-row:hover{background:var(--card2)}
.c-bell-item.unread,.c-notif-row.unread{background:var(--rose-soft)}
.c-bell-ic{width:34px;height:34px;flex:none;border-radius:10px;background:var(--card2);color:var(--rose);display:grid;place-items:center}
.c-bell-ic .icon{width:17px;height:17px}
.c-bell-body{display:flex;flex-direction:column;gap:.1rem;min-width:0;font-size:.86rem}
.c-bell-sub{color:var(--muted);font-size:.8rem}
.c-bell-body time{color:var(--muted);font-size:.72rem}
.c-bell-empty{padding:1.6rem 1rem;text-align:center;color:var(--muted);font-size:.9rem}
.c-bell-foot{padding:.65rem 1rem;border-top:1px solid var(--line);font-size:.74rem;color:var(--muted)}
.c-bell-foot a{color:var(--rose)}
.c-notif-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-top:.5rem}
.c-notif-row{align-items:center}
.c-notif-row:last-child{border-bottom:none}
.c-notif-row time{margin-left:auto;white-space:nowrap;font-size:.76rem}
.search-bar{flex:1;max-width:330px;display:flex;align-items:center;gap:.5rem;background:var(--surface);
  border:1.5px solid var(--line);border-radius:999px;padding:.5rem .9rem}
.search-bar input{border:none;background:none;outline:none;font:inherit;width:100%;color:var(--ink)}
.search-bar .icon{color:var(--muted);width:18px;height:18px}
.search-wrap{position:relative;flex:0 1 460px;margin:0 auto}
.search-wrap .search-bar{max-width:none;width:100%}
.search-suggest{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--card2);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow-lg);overflow:hidden;z-index:70;max-height:60vh;overflow-y:auto}
.suggest-item{display:flex;align-items:center;gap:.7rem;padding:.6rem .8rem;border-bottom:1px solid var(--line)}
.suggest-item:last-child{border-bottom:none}
.suggest-item:hover{background:var(--surface-2)}
.suggest-item img{width:42px;height:42px;border-radius:9px;object-fit:cover;background:var(--surface-2);flex:none}
.suggest-item .s-name{font-size:.9rem;font-weight:500;flex:1;line-height:1.2}
.suggest-item .s-price{font-size:.88rem;font-weight:700;color:var(--plum)}

/* mobile drawer */
.drawer-backdrop{position:fixed;inset:0;background:rgba(44,38,34,.45);z-index:80;opacity:0;
  pointer-events:none;transition:.25s}
.drawer-backdrop.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(82vw,330px);background:var(--cream);
  z-index:90;transform:translateX(100%);transition:.28s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;padding:1.2rem;box-shadow:var(--shadow-lg)}
.drawer.open{transform:translateX(0)}
.drawer .drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.drawer nav{display:flex;flex-direction:column;gap:.2rem}
.drawer nav a{padding:.85rem .9rem;border-radius:12px;font-weight:500;display:flex;align-items:center;gap:.7rem}
.drawer nav a:hover{background:var(--surface-2)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(120% 90% at 85% 10%,var(--rose-soft) 0,transparent 55%),
  radial-gradient(90% 80% at 5% 95%,var(--gold-soft) 0,transparent 50%),var(--cream)}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:2.5rem;align-items:center;
  padding:clamp(1.5rem,3.5vw,2.75rem) 0}
.hero .eyebrow{display:inline-flex;align-items:center;gap:.5rem;color:var(--rose);font-weight:700;
  text-transform:uppercase;letter-spacing:1.5px;font-size:.78rem;margin-bottom:1rem}
.hero p.lead{font-size:1.1rem;color:#5b524c;max-width:42ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}
.hero-stats{display:flex;gap:2rem;margin-top:2.4rem}
.hero-stats .num{font-family:var(--serif);font-size:1.8rem;color:var(--plum);font-weight:700}
.hero-stats .lbl{font-size:.8rem;color:var(--muted)}
.hero-art{position:relative;aspect-ratio:1/1;max-width:460px;width:100%;margin-left:auto;
  border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-lg);background:linear-gradient(135deg,#9B5C6B,#6E4257)}
/* Only the illustration fills the panel — not the small floating-card icons. */
.hero-art > svg{width:100%;height:100%}
.hero-float{position:absolute;background:var(--card2);border-radius:14px;padding:.7rem .9rem;box-shadow:var(--shadow);
  display:flex;align-items:center;gap:.6rem;font-size:.85rem;font-weight:600;max-width:62%}
.hero-float .icon{width:18px;height:18px;flex:none;color:var(--green)}
.hero-float.f1{bottom:18px;left:-14px}
.hero-float.f2{top:24px;right:-12px}

/* ---------- Sections ---------- */
.section{padding:clamp(2.4rem,5vw,4.2rem) 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.8rem}
.section-head .eyebrow{color:var(--rose);font-weight:700;text-transform:uppercase;letter-spacing:1.5px;font-size:.76rem}
.section-head p{margin:.2rem 0 0;color:var(--muted)}
.link-arrow{display:inline-flex;align-items:center;gap:.35rem;color:var(--plum);font-weight:600;font-size:.92rem}
.link-arrow .icon{width:17px;height:17px;transition:.15s}
.link-arrow:hover .icon{transform:translateX(3px)}

/* category strip */
.cat-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.cat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.3rem 1rem;text-align:center;transition:.18s}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--rose-soft)}
.cat-card .ic{width:48px;height:48px;border-radius:13px;background:var(--surface-2);color:var(--plum);
  display:grid;place-items:center;margin:0 auto .7rem}
.cat-card .ic .icon{width:24px;height:24px}
.cat-card b{display:block;font-size:.95rem}
.cat-card span{font-size:.78rem;color:var(--muted)}

/* ---------- Product grid & cards ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.product-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.product-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:.2s;position:relative}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:transparent}
.pc-media{position:relative;aspect-ratio:4/5;background:var(--surface-2);overflow:hidden}
.pc-media img{width:100%;height:100%;object-fit:cover;transition:.4s}
.product-card:hover .pc-media img{transform:scale(1.05)}
.pc-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:.35rem;z-index:2}
.pc-wish{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.92);
  border:none;display:grid;place-items:center;cursor:pointer;color:var(--muted);z-index:2;transition:.15s}
.pc-wish:hover{color:var(--rose);transform:scale(1.08)}
.pc-wish.active{color:var(--rose);background:var(--rose-soft)}
.pc-wish.active .icon{fill:var(--rose);stroke:var(--rose)}
.pc-wish .icon{width:19px;height:19px}
/* PDP "Save / Saved" wishlist toggle */
.btn-wish{background:var(--card2);border:1.5px solid var(--line);color:var(--ink)}
.btn-wish:hover{border-color:var(--rose);color:var(--rose)}
.btn-wish .icon{transition:.15s}
.btn-wish.active{border-color:var(--rose);color:var(--rose);background:var(--rose-soft)}
.btn-wish.active .icon{fill:var(--rose);stroke:var(--rose)}
.pc-body{padding:.95rem 1rem 1.1rem;display:flex;flex-direction:column;flex:1}
.pc-cat{font-size:.72rem;color:var(--rose);font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.pc-name{font-family:var(--serif);font-size:1.18rem;font-weight:600;margin:.15rem 0 .35rem;line-height:1.2}
.pc-name a:hover{color:var(--plum)}
.pc-rating{display:flex;align-items:center;gap:.25rem;font-size:.78rem;color:var(--muted);margin-bottom:.5rem}
.pc-rating .stars{display:inline-flex;color:var(--gold)}
.pc-rating .stars .icon{width:14px;height:14px}
.pc-price{display:flex;align-items:baseline;gap:.5rem;margin-top:auto}
.pc-price .now{font-size:1.15rem;font-weight:700;color:var(--ink)}
.pc-price .was{font-size:.9rem;color:var(--muted);text-decoration:line-through}
.pc-actions{display:flex;gap:.5rem;margin-top:.8rem}
.pc-actions .btn{flex:1}

/* ---------- Feature band ---------- */
.feature-band{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.6rem}
.feature{display:flex;gap:.85rem;align-items:flex-start}
.feature .ic{width:44px;height:44px;border-radius:12px;background:var(--rose-soft);color:var(--rose);
  display:grid;place-items:center;flex:none}
.feature b{display:block;font-size:.95rem}
.feature span{font-size:.82rem;color:var(--muted)}

/* ---------- Newsletter ---------- */
.newsletter{background:linear-gradient(135deg,var(--plum),var(--plum-d));color:#fff;
  border-radius:var(--radius-lg);padding:clamp(2rem,4vw,3.4rem);text-align:center;overflow:hidden;position:relative}
.newsletter h2{color:#fff}
.newsletter p{color:rgba(255,255,255,.82);max-width:48ch;margin:0 auto 1.5rem}
.newsletter form{display:flex;gap:.6rem;max-width:480px;margin:0 auto;flex-wrap:wrap}
.newsletter input{flex:1;min-width:200px;padding:.85rem 1.1rem;border-radius:999px;border:none;font:inherit}
.newsletter input:focus{outline:2px solid var(--gold)}

/* ---------- Footer ---------- */
.site-footer{background:#2A2320;color:#cfc4bc;margin-top:3rem;padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.site-footer h4{color:#fff;font-family:var(--font);font-size:.85rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:1rem}
.site-footer a{color:#cfc4bc;font-size:.92rem;display:block;padding:.25rem 0}
.site-footer a:hover{color:#fff}
.footer-brand .brand{color:#fff;margin-bottom:.8rem}
.footer-brand .brand .mark{background:var(--rose)}
.social{display:flex;gap:.6rem;margin-top:1rem}
.social a{width:40px;height:40px;border-radius:11px;background:#3a322d;display:grid;place-items:center}
.social a:hover{background:var(--rose)}
.social .icon{width:20px;height:20px}
.footer-bottom{border-top:1px solid #3a322d;margin-top:2rem;padding-top:1.3rem;display:flex;
  justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.82rem;color:#9a8f86}

/* ---------- Forms ---------- */
.field{margin-bottom:1rem}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.4rem}
.input,.select,textarea.input{width:100%;padding:.75rem .9rem;border:1.5px solid var(--line);
  border-radius:var(--radius-sm);font:inherit;background:var(--card2);color:var(--ink);transition:.15s}
.input:focus,.select:focus,textarea.input:focus{outline:none;border-color:var(--rose);box-shadow:0 0 0 3px var(--rose-soft);background:var(--card2)}
/* Keep the warm cream even when the browser autofills (it forces white/yellow otherwise) */
.input:-webkit-autofill,.input:-webkit-autofill:hover,.input:-webkit-autofill:focus,
textarea.input:-webkit-autofill,.select:-webkit-autofill{
  -webkit-text-fill-color:var(--ink);caret-color:var(--ink);
  -webkit-box-shadow:0 0 0 40px var(--card2) inset;box-shadow:0 0 0 40px var(--card2) inset;
  transition:background-color 9999s ease-in-out 0s}
textarea.input{min-height:120px;resize:vertical}
.field .err{color:var(--red);font-size:.8rem;margin-top:.3rem}
.input-icon{position:relative}
.input-icon > .icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.input-icon .input{padding-left:2.6rem}
/* password show/hide + generate icons */
.pass-wrap{position:relative}
.pass-wrap .input{padding-right:3.8rem}
.pass-icons{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);display:flex;gap:.1rem}
.pass-eye{background:none;border:none;cursor:pointer;color:var(--muted);padding:.35rem;display:grid;place-items:center;border-radius:8px}
.pass-eye:hover{color:var(--plum);background:var(--surface-2)}
.pass-eye .icon{width:18px;height:18px}
.pass-eye.gen{color:var(--rose)}
.pass-eye.gen:hover{color:#fff;background:var(--rose)}
.help{font-size:.8rem;color:var(--muted)}

/* ---------- Cards / panels ---------- */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted);padding:1.1rem 0}
.breadcrumb a:hover{color:var(--plum)}
.breadcrumb .icon{width:14px;height:14px}

/* ---------- Product detail ---------- */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin-top:.5rem}
.pdp-gallery{max-width:440px}
.pdp-gallery .main{aspect-ratio:4/5;border-radius:var(--radius-lg);overflow:hidden;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center}
.pdp-gallery .main img{width:100%;height:100%;object-fit:contain}
.pdp-thumbs{display:flex;gap:.6rem;margin-top:.8rem;flex-wrap:wrap}
.pdp-thumbs button{width:72px;height:72px;border-radius:12px;overflow:hidden;border:2px solid var(--line);
  background:var(--surface-2);cursor:pointer;padding:0}
.pdp-thumbs button.active{border-color:var(--rose)}
.pdp-thumbs img{width:100%;height:100%;object-fit:cover}
.price-row{display:flex;align-items:baseline;gap:.8rem;margin:.6rem 0 1rem}
.price-row .now{font-size:1.9rem;font-weight:700;font-family:var(--serif);color:var(--plum)}
.price-row .was{font-size:1.1rem;color:var(--muted);text-decoration:line-through}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;overflow:hidden}
.qty button{width:42px;height:42px;border:none;background:var(--card2);cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.qty button:hover{background:var(--surface-2)}
.qty input{width:46px;text-align:center;border:none;font:inherit;font-weight:600;outline:none}
.pdp-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.2rem 0}
.pdp-meta{border-top:1px solid var(--line);margin-top:1.4rem;padding-top:1.2rem;display:grid;gap:.6rem}
.pdp-meta .row{display:flex;gap:.6rem;align-items:center;font-size:.9rem;color:#5b524c}
.pdp-meta .icon{color:var(--sage);width:18px;height:18px}

/* ---------- Cart / checkout ---------- */
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1.6fr .9fr;gap:1.8rem;align-items:start}
.cart-item{display:grid;grid-template-columns:84px 1fr auto;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line);align-items:center}
.cart-item .thumb{width:84px;height:84px;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.cart-item .thumb img{width:100%;height:100%;object-fit:cover}
.summary{position:sticky;top:90px}
.summary .line{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.95rem}
.summary .line.total{border-top:1px solid var(--line);margin-top:.5rem;padding-top:.9rem;font-size:1.2rem;font-weight:700}
.coupon-row{display:flex;gap:.5rem;margin:.8rem 0}
.coupon-row .input{flex:1}
.pay-methods{display:grid;gap:.7rem;margin:.5rem 0 1rem}
.pay-option{display:flex;align-items:center;gap:.8rem;border:1.5px solid var(--line);border-radius:var(--radius-sm);
  padding:.9rem 1rem;cursor:pointer;transition:.15s}
.pay-option:hover{border-color:var(--rose)}
.pay-option.sel,.pay-option:has(input:checked){border-color:var(--plum);background:var(--surface-2)}
.pay-option input{accent-color:var(--plum);width:18px;height:18px}
.pay-option .icon{color:var(--plum)}
.pay-option b{font-size:.95rem}
.pay-option span{font-size:.8rem;color:var(--muted);display:block}

/* ---------- Toast ---------- */
.toast-wrap{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:200;
  display:flex;flex-direction:column;gap:.5rem;align-items:center;pointer-events:none}
.toast{background:var(--ink);color:#fff;padding:.8rem 1.2rem;border-radius:999px;font-size:.9rem;
  font-weight:500;box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:.5rem;
  animation:toastIn .25s ease;max-width:90vw}
.toast.ok{background:var(--green)}
.toast.err{background:var(--red)}
.toast .icon{width:18px;height:18px}
@keyframes toastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* ---------- WhatsApp float ---------- */
.wa-float{position:fixed;bottom:22px;right:22px;z-index:70;width:58px;height:58px;border-radius:999px;
  background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:var(--shadow-lg);transition:.18s}
.wa-float:hover{transform:scale(1.07)}
.wa-float .icon{width:30px;height:30px;fill:#fff;stroke:none}

/* ---------- Alerts ---------- */
.alert{padding:.85rem 1.1rem;border-radius:var(--radius-sm);font-size:.92rem;margin-bottom:1rem;
  display:flex;align-items:center;gap:.6rem}
.alert .icon{flex:none}
.alert-success{background:#E2F0E8;color:#26603f}
.alert-error{background:#F4DEDC;color:#8c352f}

/* ---------- Reviews ---------- */
.reviews-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;align-items:start}
.reviews-grid .stars{display:inline-flex;vertical-align:middle}
.reviews-grid .stars .icon{width:18px;height:18px}
.review{border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.2rem;margin-bottom:1rem;background:var(--surface)}
.review-head{display:flex;align-items:center;gap:.7rem}
.review-head .stars .icon{width:15px;height:15px}
.review .avatar{width:42px;height:42px;border-radius:999px;background:var(--rose-soft);color:var(--rose);
  display:grid;place-items:center;font-weight:700;flex:none}
.star-input{display:inline-flex;flex-direction:row-reverse;gap:.2rem}
.star-input input{position:absolute;opacity:0;width:0;height:0}
.star-input label{cursor:pointer;color:var(--line);line-height:0}
.star-input label .icon{width:30px;height:30px;fill:currentColor;stroke:none}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label{color:var(--gold)}
@media(max-width:760px){.reviews-grid{grid-template-columns:1fr}}

/* ---------- Pagination ---------- */
.pagination{display:flex;gap:.3rem;justify-content:center;margin-top:2rem;flex-wrap:wrap;list-style:none;padding:0}
.pagination a,.pagination span{display:grid;place-items:center;min-width:40px;height:40px;padding:0 .6rem;
  border-radius:10px;border:1px solid var(--line);background:var(--card2);font-size:.9rem}
.pagination .active span{background:var(--plum);color:#fff;border-color:var(--plum)}
.pagination a:hover{background:var(--surface-2)}

/* ---------- Empty state ---------- */
.empty{text-align:center;padding:3.5rem 1rem}
.empty .ic{width:72px;height:72px;border-radius:20px;background:var(--surface-2);color:var(--muted);
  display:grid;place-items:center;margin:0 auto 1.2rem}
.empty .ic .icon{width:34px;height:34px}

/* ---------- Shop layout ---------- */
.shop-layout{display:grid;grid-template-columns:250px 1fr;gap:1.8rem;align-items:start}
.filters{position:sticky;top:90px}
.filter-group{padding:1rem 0;border-bottom:1px solid var(--line)}
.filter-group h4{font-family:var(--font);font-size:.8rem;text-transform:uppercase;letter-spacing:.6px;margin-bottom:.7rem}
.filter-group a{display:block;padding:.35rem 0;font-size:.92rem;color:#5b524c}
.filter-group a.active{color:var(--plum);font-weight:600}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.4rem;flex-wrap:wrap}
.filter-toggle{display:none}
.shop-count{margin:0 0 1.1rem;font-size:.9rem}
#shopResults{transition:opacity .15s}
#shopResults.is-loading{opacity:.45;pointer-events:none}

/* ===================== Responsive ===================== */
@media(max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:1.8rem}
  .hero-art{max-width:440px;margin:0 auto}
  .footer-grid{grid-template-columns:1fr 1fr}
  .feature-band{grid-template-columns:1fr 1fr}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .cat-strip{grid-template-columns:repeat(3,1fr)}
  .pdp{grid-template-columns:1fr}
  .pdp-gallery{margin-inline:auto}
  .cart-layout,.checkout-layout{grid-template-columns:1fr}
  .summary{position:static}
  .shop-layout{grid-template-columns:1fr}
  .filters{position:fixed;top:0;left:0;height:100%;width:min(85vw,320px);background:var(--cream);
    z-index:90;transform:translateX(-100%);transition:.28s;padding:1.2rem;overflow:auto;box-shadow:var(--shadow-lg)}
  .filters.open{transform:none}
  .filter-toggle{display:inline-flex}
}
@media(max-width:760px){
  .nav,.header-inner > .search-wrap{display:none}
  .menu-toggle{display:grid}
  .section-head{flex-direction:column;align-items:flex-start}
  .hero-stats{gap:1.2rem}
}
@media(max-width:560px){
  .product-grid,.product-grid.cols-3{grid-template-columns:repeat(2,1fr);gap:.9rem}
  .cat-strip{grid-template-columns:repeat(2,1fr)}
  .feature-band{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .pc-actions{flex-direction:column}
  .pc-name{font-size:1.05rem}
  h1{font-size:2rem}
  .cart-item{grid-template-columns:64px 1fr;grid-template-rows:auto auto}
  .cart-item .thumb{width:64px;height:64px}
}
