@import url("../fonts/fonts.css");

:root{
  --bg:#F5EEDF;
  --bg-card:#FFFDF8;
  --ink:#3A2A1E;
  --ink-soft:#6B5847;
  --ink-strong:#4E3D30;
  --border:#E4D8C2;
  --border-strong:#D8CAB0;
  --green:#5E6B3A;
  --green-dark:#4A5530;
  --terracotta:#B4553A;
  --terracotta-dark:#9C452D;
  --plum:#8A3B53;
  --plum-dark:#6E2A40;
  --cream-deep:#EDE3CF;
  --chip:#F3D9B5;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Figtree',sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--terracotta);text-decoration:none}
a:hover{color:var(--plum);text-decoration:underline}
input,textarea,select,button{font-family:inherit}
h1,h2,h3{font-family:'Young Serif',serif;font-weight:400;margin:0}
.serif{font-family:'Young Serif',serif}
.mono{font-family:'IBM Plex Mono',monospace}

.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.wrap-narrow{max-width:1000px;margin:0 auto;padding:0 24px}
.wrap-legal{max-width:1100px;margin:0 auto;padding:0 24px}
.wrap-faq{max-width:860px;margin:0 auto;padding:0 24px}

/* Top bar */
.topbar{background:var(--green-dark);color:var(--bg)}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;align-items:center;padding:8px 24px;font-size:13px}
.topbar a{color:var(--bg)}
.topbar nav{display:flex;gap:20px;flex-wrap:wrap}

/* Header */
header.site{background:var(--bg-card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:40}
header.site .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;padding:14px 24px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.brand:hover{text-decoration:none}
.brand-mark{position:relative;width:30px;height:36px;display:block;flex:none}
.brand-mark .lid{position:absolute;left:5px;top:0;width:20px;height:7px;border-radius:2px;background:var(--terracotta)}
.brand-mark .jar{position:absolute;left:0;top:8px;width:30px;height:28px;border-radius:7px 7px 9px 9px;border:2px solid var(--green);background:var(--chip)}
.brand-mark .label{position:absolute;left:7px;top:19px;width:16px;height:8px;border-radius:2px;background:var(--bg-card)}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text .name{font-family:'Young Serif',serif;font-size:25px;letter-spacing:-0.01em}
.brand-text .tag{font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:var(--green);margin-top:5px}

.main-nav{display:flex;flex-wrap:wrap;gap:4px 22px;flex:1 1 420px}
.main-nav a{color:var(--ink);font-weight:600;font-size:15px;padding:6px 0;border-bottom:2px solid transparent;text-decoration:none}
.main-nav a:hover{text-decoration:none;color:var(--terracotta)}
.main-nav a.active{color:var(--terracotta);border-bottom-color:var(--terracotta)}

.header-actions{display:flex;gap:10px;align-items:center;flex:0 1 auto}
.search-box{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:0 14px;height:42px;min-width:200px}
.search-box input{border:0;background:transparent;outline:none;font-size:14px;color:var(--ink);width:100%}
.search-dot{width:12px;height:12px;border:2px solid var(--ink-soft);border-radius:50%;flex:none}

.cart-btn{position:relative;height:42px;padding:0 16px 0 14px;border-radius:999px;border:0;background:var(--green);color:var(--bg-card);font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px;cursor:pointer}
.cart-btn:hover{background:var(--green-dark)}
.cart-handle{width:16px;height:13px;border:2px solid var(--bg-card);border-top:0;border-radius:0 0 4px 4px;display:block}
.cart-count{min-width:22px;height:22px;border-radius:11px;background:var(--terracotta);color:var(--bg-card);font-size:12px;display:flex;align-items:center;justify-content:center;padding:0 6px}

main{flex:1}
body.app{min-height:100vh;display:flex;flex-direction:column}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;cursor:pointer;border:0;padding:15px 26px}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--terracotta);color:var(--bg-card)}
.btn-primary:hover{background:var(--terracotta-dark);color:var(--bg-card)}
.btn-outline{border:1.5px solid var(--ink);color:var(--ink);background:transparent;padding:14px 26px}
.btn-outline:hover{background:var(--ink);color:var(--bg)}
.btn-green{background:var(--green);color:var(--bg-card)}
.btn-green:hover{background:var(--green-dark);color:var(--bg-card)}
.btn-ghost{border:1.5px solid var(--ink);background:transparent;color:var(--ink);border-radius:999px;padding:0 20px;height:42px}
.btn-ghost:hover{background:var(--ink);color:var(--bg)}
.btn-block{width:100%}

/* Hero */
.hero{padding:56px 0 40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:center}
.eyebrow{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--green)}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--plum)}
.hero h1{font-size:clamp(40px,5.4vw,68px);line-height:1.04;letter-spacing:-0.02em}
.hero p.lead{font-size:19px;line-height:1.6;color:var(--ink-soft);max-width:520px}
.hero-stats{display:flex;flex-wrap:wrap;gap:28px;margin-top:18px;padding-top:22px;border-top:1px solid var(--border)}
.hero-stats .stat{display:flex;flex-direction:column;gap:2px}
.hero-stats .stat b{font-family:'Young Serif',serif;font-size:26px;font-weight:400}
.hero-stats .stat span{font-size:13px;color:var(--ink-soft)}
.hero-media{position:relative;min-height:480px}
.hero-photo{position:absolute;inset:0 0 40px 40px;border-radius:220px 220px 24px 24px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(58,42,30,.35)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-badge{position:absolute;left:0;bottom:0;width:220px;background:var(--bg-card);border-radius:18px;padding:18px;box-shadow:0 20px 40px -20px rgba(58,42,30,.35);display:flex;flex-direction:column;gap:8px}
.hero-badge .kicker{font-size:12px;letter-spacing:0.12em;text-transform:uppercase;color:var(--plum);font-weight:700}
.hero-badge .val{font-family:'Young Serif',serif;font-size:19px;line-height:1.2}
.hero-dot1{position:absolute;right:12px;top:18px;width:54px;height:54px;border-radius:50%;background:var(--plum);opacity:.9}
.hero-dot2{position:absolute;right:56px;top:54px;width:26px;height:26px;border-radius:50%;background:var(--green)}

section.section{padding:40px 0}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.section-head h2{font-size:clamp(30px,3.4vw,42px);letter-spacing:-0.01em}
.kicker{font-size:13px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--green)}

/* Category tiles */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.tile{display:flex;flex-direction:column;background:var(--bg-card);border-radius:18px;overflow:hidden;color:var(--ink);text-decoration:none;border:1px solid var(--border);transition:transform .2s}
.tile:hover{transform:translateY(-4px);box-shadow:0 18px 30px -20px rgba(58,42,30,.4);text-decoration:none}
.tile .img{aspect-ratio:1/1;overflow:hidden;background:var(--chip)}
.tile .img img{width:100%;height:100%;object-fit:cover}
.tile .meta{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.tile .meta .name{font-family:'Young Serif',serif;font-size:19px;line-height:1.2}
.tile .meta .count{font-size:13px;color:var(--ink-soft);white-space:nowrap}

/* Product grid / cards */
.grid-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}
.card-product{background:var(--bg-card);border-radius:18px;border:1px solid var(--border);overflow:hidden;display:flex;flex-direction:column}
.card-product .img{aspect-ratio:4/5;overflow:hidden;display:block}
.card-product .img img{width:100%;height:100%;object-fit:cover}
.card-product .body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-product .cat{font-size:12px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--green)}
.card-product .name{font-family:'Young Serif',serif;font-size:21px;margin:0;line-height:1.2;color:var(--ink)}
.card-product .short{margin:0;color:var(--ink-soft);font-size:14px;line-height:1.55;flex:1}
.card-product .price-row{display:flex;justify-content:space-between;align-items:baseline;margin-top:6px}
.card-product .price-row .size{font-size:14px;color:var(--ink-soft)}
.card-product .price-row .price{font-family:'Young Serif',serif;font-size:21px}
.card-product .add-btn{margin-top:6px;height:44px;border:0;border-radius:999px;background:var(--terracotta);color:var(--bg-card);font-weight:600;font-size:15px;cursor:pointer;width:100%}
.card-product .add-btn:hover{background:var(--terracotta-dark)}
.card-product .detail-link{text-align:center;font-size:14px;font-weight:600;padding:4px}

/* Advantages */
.advantages{background:var(--bg-card);border-radius:24px;border:1px solid var(--border);display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.advantages .adv{padding:30px 28px;display:flex;flex-direction:column;gap:10px;border-right:1px solid var(--border)}
.advantages .adv:last-child{border-right:0}
.adv-num{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Young Serif',serif}
.advantages h3{font-size:21px}
.advantages p{margin:0;color:var(--ink-soft);line-height:1.6;font-size:15px}

/* Ideas band */
.band-green{background:var(--green);color:var(--bg)}
.band-green .wrap{padding:72px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:40px}
.band-green .intro{display:flex;flex-direction:column;gap:16px}
.band-green .intro .kicker{color:#E3E8CC}
.band-green h2{font-size:clamp(30px,3.4vw,42px);line-height:1.1}
.band-green .intro p{margin:0;line-height:1.65;font-size:17px;color:#EDEFDF}
.band-green .intro a{color:var(--bg-card);font-weight:600;margin-top:4px}
.idea-card{display:flex;flex-direction:column;gap:14px;background:rgba(255,253,248,.08);border-radius:18px;padding:26px}
.idea-card .num{font-family:'Young Serif',serif;font-size:44px;line-height:1;color:var(--chip)}
.idea-card h3{font-size:22px}
.idea-card p{margin:0;line-height:1.6;color:#EDEFDF}

/* Calendar */
.calendar-wrap{background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:20px;overflow-x:auto}
.calendar{min-width:720px;display:flex;flex-direction:column;gap:6px}
.cal-row{display:grid;grid-template-columns:150px repeat(12,1fr);gap:4px;align-items:center}
.cal-head{font-size:12px;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:0.06em}
.cal-head span{text-align:center}
.cal-row .name{font-size:14px;font-weight:600}
.cal-cell{height:22px;border-radius:6px;background:var(--bg)}

/* How to order */
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.step{display:flex;gap:18px;align-items:flex-start;background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:20px}
.step .n{font-family:'Young Serif',serif;font-size:28px;color:var(--terracotta);line-height:1}
.step strong{font-size:17px}
.step p{margin:4px 0 0;color:var(--ink-soft);line-height:1.55}

/* Breadcrumb */
.crumb{font-size:13px;color:var(--ink-soft)}

/* Footer */
footer.site{background:var(--ink);color:var(--cream-deep);margin-top:auto}
footer.site .cols{max-width:1240px;margin:0 auto;padding:56px 24px 28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:36px}
footer.site .about{display:flex;flex-direction:column;gap:14px;grid-column:span 2;max-width:420px}
footer.site .about .name{font-family:'Young Serif',serif;font-size:28px;color:var(--bg-card)}
footer.site .about p{margin:0;line-height:1.7;color:#D9CDB6;font-size:15px}
footer.site .about .meta{font-size:14px;color:#D9CDB6}
footer.site .about .meta a{color:var(--chip)}
footer.site .col{display:flex;flex-direction:column;gap:10px;font-size:15px}
footer.site .col .head{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:#C9D1A8}
footer.site .col a{color:var(--cream-deep)}
footer.site .col button.linklike{border:0;background:transparent;color:var(--cream-deep);font-size:15px;padding:0;text-align:left;cursor:pointer;text-decoration:underline;font-family:inherit}
footer.site .bottom{max-width:1240px;margin:0 auto;padding:20px 24px 32px;border-top:1px solid #57443A;display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;font-size:13px;color:#C7B9A2}

/* Cart drawer */
.overlay{position:fixed;inset:0;background:rgba(58,42,30,.4);z-index:60;display:none}
.overlay.open{display:block}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--bg);z-index:61;display:flex;flex-direction:column;box-shadow:-20px 0 40px -20px rgba(58,42,30,.4);transform:translateX(100%);transition:transform .25s ease}
.drawer.open{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--border);background:var(--bg-card)}
.drawer-head .title{font-family:'Young Serif',serif;font-size:24px}
.drawer-close{width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:transparent;font-size:18px;cursor:pointer;color:var(--ink)}
.drawer-body{flex:1;overflow-y:auto;padding:8px 22px}
.drawer-empty{padding:40px 0;text-align:center;color:var(--ink-soft);display:flex;flex-direction:column;gap:12px;align-items:center}
.drawer-line{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border)}
.drawer-line .thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--chip)}
.drawer-line .thumb img{width:100%;height:100%;object-fit:cover}
.qty-ctrl{display:flex;align-items:center;border:1px solid var(--border-strong);border-radius:999px;height:30px;background:var(--bg-card)}
.qty-ctrl button{width:28px;height:100%;border:0;background:transparent;cursor:pointer;color:var(--ink);font-size:14px}
.qty-ctrl span{min-width:18px;text-align:center;font-weight:700;font-size:14px}
.remove-link{border:0;background:transparent;color:var(--plum);font-size:13px;font-weight:600;cursor:pointer}
.drawer-footer{padding:20px 22px;border-top:1px solid var(--border);background:var(--bg-card);display:flex;flex-direction:column;gap:12px}

/* Toast */
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--ink);color:var(--bg-card);padding:14px 20px;border-radius:999px;font-size:15px;z-index:70;display:none;gap:14px;align-items:center;box-shadow:0 14px 30px -10px rgba(58,42,30,.5)}
.toast.show{display:flex}
.toast a,.toast button{border:0;background:transparent;color:var(--chip);font-weight:700;cursor:pointer;font-size:15px}

/* Cookie banner */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;max-width:760px;margin:0 auto;background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:22px 24px;z-index:80;box-shadow:0 24px 50px -20px rgba(58,42,30,.45);display:none;flex-direction:column;gap:14px}
.cookie-banner.show{display:flex}
.cookie-banner p{margin:0;font-size:14px;line-height:1.6;color:var(--ink-strong)}
.cookie-settings{display:none;flex-direction:column;gap:10px;padding:14px;border-radius:14px;background:var(--bg);font-size:14px}
.cookie-settings.show{display:flex}
.cookie-settings label{display:flex;gap:10px;align-items:center}
.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Forms */
.form-card{background:var(--bg-card);border:1px solid var(--border);border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:16px}
.form-card h2{font-size:26px}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.field input,.field textarea{height:46px;border:1px solid var(--border-strong);border-radius:12px;padding:0 14px;background:var(--bg);font-size:15px;color:var(--ink)}
.field textarea{height:auto;padding:12px 14px;resize:vertical}
.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.checkline{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--ink-strong)}
.checkline input{margin-top:3px;accent-color:var(--terracotta)}
.note-box{padding:14px 16px;border-radius:12px;background:var(--cream-deep);font-size:14px;line-height:1.55}
.form-msg{padding:16px;border-radius:12px;background:#F6E7EC;color:var(--plum-dark);font-size:14px;line-height:1.6;display:none}
.form-msg.show{display:block}

/* FAQ */
.faq-item{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;overflow:hidden}
.faq-item summary{list-style:none;width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 22px;cursor:pointer;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .q{font-family:'Young Serif',serif;font-size:19px}
.faq-item summary .sign{font-size:22px;color:var(--terracotta);flex:none}
.faq-item p{margin:0;padding:0 22px 20px;line-height:1.7;color:var(--ink-strong)}

/* Articles (tips) */
.article-card{background:var(--bg-card);border:1px solid var(--border);border-radius:20px;overflow:hidden;display:flex;flex-wrap:wrap}
.article-card .img{flex:1 1 260px;min-height:200px;overflow:hidden}
.article-card .img img{width:100%;height:100%;object-fit:cover}
.article-card .body{padding:26px 28px;display:flex;flex-direction:column;gap:12px;flex:2 1 320px;min-width:0}
.article-card .tagline{font-size:12px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--green)}
.article-card h2{font-size:26px;line-height:1.2}
.article-card p{margin:0;line-height:1.7;color:var(--ink-strong)}

/* Legal layout */
.legal-layout{padding:52px 0 72px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.legal-nav{flex:1 1 240px;display:flex;flex-direction:column;gap:4px;background:var(--bg-card);border:1px solid var(--border);border-radius:18px;padding:16px}
.legal-nav .head{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--green);padding:6px 10px}
.legal-nav a{padding:9px 10px;border-radius:10px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;display:block}
.legal-nav a:hover{background:var(--cream-deep);text-decoration:none}
.legal-nav a.active{background:var(--cream-deep)}
.legal-article{flex:999 1 480px;display:flex;flex-direction:column;gap:22px;min-width:0}
.legal-article h1{font-size:clamp(34px,4vw,50px)}
.legal-article .updated{font-size:13px;color:var(--ink-soft)}
.legal-article .intro{margin:6px 0 0;font-size:17px;line-height:1.7;color:var(--ink-strong)}
.legal-section{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--border)}
.legal-section h2{font-size:23px}
.legal-section p{margin:0;line-height:1.75;color:var(--ink-strong)}
.withdraw-box{background:var(--bg-card);border:1px dashed #B9A584;border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.75}
.withdraw-box h2{font-size:22px}
.company-table{background:var(--bg-card);border:1px solid var(--border);border-radius:18px;overflow:hidden}
.company-row{display:grid;grid-template-columns:minmax(140px,240px) 1fr;gap:16px;padding:14px 22px;border-bottom:1px solid #EFE5D1;font-size:15px;line-height:1.5}
.company-row:last-child{border-bottom:0}
.company-row .k{color:var(--ink-soft);font-weight:600}
.pending{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--plum)}

/* Product detail */
.product-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;margin-top:22px;align-items:start}
.product-gallery{display:flex;flex-direction:column;gap:12px}
.product-gallery .main-img{aspect-ratio:1/1;border-radius:22px;overflow:hidden;border:1px solid var(--border)}
.product-gallery .main-img img{width:100%;height:100%;object-fit:cover}
.thumb-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.thumb-grid button{aspect-ratio:1/1;border-radius:12px;overflow:hidden;border:2px solid var(--border);cursor:pointer;padding:0;background:var(--chip)}
.thumb-grid button img{width:100%;height:100%;object-fit:cover}
.thumb-grid button.active{border-color:var(--terracotta)}
.product-info{display:flex;flex-direction:column;gap:18px}
.product-info h1{font-size:clamp(36px,4.2vw,52px);line-height:1.05}
.product-info .desc{margin:0;font-size:18px;line-height:1.6;color:var(--ink-soft)}
.price-block{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.price-block .big{font-family:'Young Serif',serif;font-size:36px}
.price-block .unit{font-size:15px;color:var(--ink-soft)}
.vat-note{font-size:13px;color:var(--ink-soft);margin-top:-10px}
.buy-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.qty-box{display:flex;align-items:center;border:1.5px solid var(--ink);border-radius:999px;height:50px}
.qty-box button{width:46px;height:100%;border:0;background:transparent;font-size:20px;cursor:pointer;color:var(--ink)}
.qty-box span{min-width:28px;text-align:center;font-weight:700;font-size:17px}
.buy-row .add-btn{flex:1;min-width:200px;height:50px;border:0;border-radius:999px;background:var(--terracotta);color:var(--bg-card);font-weight:600;font-size:16px;cursor:pointer}
.buy-row .add-btn:hover{background:var(--terracotta-dark)}
.tabs-box{border:1px solid var(--border);border-radius:18px;background:var(--bg-card);overflow:hidden}
.tabs-head{display:flex;border-bottom:1px solid var(--border)}
.tabs-head button{flex:1;padding:14px 8px;border:0;background:var(--bg);color:var(--ink-soft);font-weight:600;font-size:14px;cursor:pointer;border-bottom:2px solid transparent}
.tabs-head button.active{background:var(--bg-card);color:var(--terracotta);border-bottom-color:var(--terracotta)}
.tab-panel{padding:20px 22px;display:none;flex-direction:column;gap:12px}
.tab-panel.active{display:flex}
.tab-row{display:grid;grid-template-columns:minmax(110px,160px) 1fr;gap:12px;font-size:15px;line-height:1.55}
.tab-row .k{color:var(--ink-soft);font-weight:600}
.info-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.info-links a{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:14px;background:var(--cream-deep);color:var(--ink);text-decoration:none}
.info-links a:hover{text-decoration:none}
.info-links a span{font-size:14px;color:var(--ink-soft)}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.related-card{background:var(--bg-card);border-radius:16px;border:1px solid var(--border);overflow:hidden;display:flex;flex-direction:column;color:var(--ink);text-decoration:none}
.related-card:hover{box-shadow:0 18px 30px -20px rgba(58,42,30,.4);text-decoration:none}
.related-card .img{aspect-ratio:4/3;overflow:hidden}
.related-card .img img{width:100%;height:100%;object-fit:cover}
.related-card .meta{padding:14px 16px;display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.related-card .meta .name{font-family:'Young Serif',serif;font-size:18px}
.related-card .meta .price{font-weight:600;white-space:nowrap}

/* Shop controls */
.shop-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:16px;background:var(--bg-card);border:1px solid var(--border);border-radius:18px;margin-bottom:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600;background:var(--bg);color:var(--ink);border:1px solid var(--border);text-decoration:none;display:inline-block}
.chip:hover{text-decoration:none}
.chip.active{background:var(--green);color:var(--bg-card);border-color:var(--green)}
.shop-tools{display:flex;gap:10px;flex-wrap:wrap}
.shop-tools input,.shop-tools select{height:40px;border:1px solid var(--border);border-radius:999px;padding:0 16px;background:var(--bg);font-size:14px;color:var(--ink);outline:none}
.shop-tools select{padding:0 14px}
.empty-state{padding:48px;text-align:center;background:var(--bg-card);border:1px dashed #CDBB9E;border-radius:18px;display:flex;flex-direction:column;gap:10px;align-items:center}

/* Cart page */
.cart-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:32px;align-items:start}
.cart-panel{background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:8px 22px}
.cart-line{display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #EFE5D1}
.cart-line .thumb{width:72px;height:72px;border-radius:12px;overflow:hidden;background:var(--chip)}
.cart-line .thumb img{width:100%;height:100%;object-fit:cover}
.cart-line .info{display:flex;flex-direction:column;gap:6px;min-width:0}
.cart-line .info a{font-family:'Young Serif',serif;font-size:18px;color:var(--ink)}
.cart-line .meta{font-size:13px;color:var(--ink-soft)}
.cart-line .ctrl{display:flex;align-items:center;gap:12px}
.cart-line .ctrl .qty-ctrl{height:34px}
.cart-line .ctrl .qty-ctrl button{width:32px;font-size:16px}
.cart-totals{display:flex;flex-direction:column;gap:10px;padding:18px 0 14px;font-size:15px}
.cart-totals .row{display:flex;justify-content:space-between}
.cart-totals .row.ship span:last-child{text-align:right;color:var(--ink-soft)}
.cart-totals .row.total{padding-top:12px;border-top:1px solid var(--border);align-items:baseline}
.cart-totals .row.total strong{font-size:17px}
.cart-totals .row.total .amount{font-family:'Young Serif',serif;font-size:28px}

@media (max-width:640px){
  .hero{padding-top:40px}
  .hero-media{min-height:360px}
  section.section{padding:28px 0}
}
