/* HerbaDrink — shared stylesheet */
:root{
  --bg:oklch(97% 0.015 88);
  --bg-alt:oklch(93% 0.025 82);
  --bg-card:oklch(94% 0.02 80);
  --bg-white:oklch(98% 0.01 88);
  --bg-input:oklch(99% 0.008 88);
  --ink:oklch(23% 0.008 90);
  --ink-soft:oklch(38% 0.015 90);
  --ink-soft2:oklch(42% 0.015 90);
  --ink-soft3:oklch(30% 0.015 90);
  --ink-muted:oklch(48% 0.015 90);
  --green:oklch(48% 0.09 148);
  --green-dark:oklch(42% 0.09 148);
  --gold:oklch(78% 0.13 90);
  --border:oklch(88% 0.015 85);
  --border2:oklch(82% 0.015 85);
  --footer-bg:oklch(23% 0.008 90);
  --footer-text:oklch(94% 0.01 88);
  --footer-muted:oklch(80% 0.01 88);
  --footer-muted2:oklch(72% 0.01 88);
  --footer-heading:oklch(70% 0.06 115);
  --footer-hover:oklch(78% 0.13 90);
  --footer-line:oklch(35% 0.008 90);
  --active-bg:oklch(90% 0.03 115);
  --active-text:oklch(30% 0.06 115);
  --serif:Georgia,'Iowan Old Style','Palatino Linotype','Book Antiqua',Palatino,serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
button{font-family:var(--sans)}
.wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.wrap-narrow{max-width:1000px;margin:0 auto;padding:0 24px}
.wrap-mid{max-width:1100px;margin:0 auto;padding:0 24px}

h1,h2,h3{font-family:var(--serif);font-weight:600;margin:0}

.btn{
  display:inline-block;background:var(--ink);color:var(--bg);
  padding:16px 30px;border-radius:100px;text-decoration:none;font-weight:600;
  font-size:15px;border:none;cursor:pointer;font-family:var(--sans);
  transition:opacity .15s ease;
}
.btn:hover{opacity:.85}
.btn-outline{
  display:inline-block;border:1.5px solid oklch(23% 0.008 90 / 0.25);color:var(--ink);
  padding:16px 30px;border-radius:100px;text-decoration:none;font-weight:600;font-size:15px;
  background:transparent;cursor:pointer;font-family:var(--sans);transition:background .15s ease;
}
.btn-outline:hover{background:oklch(93% 0.02 80)}
.btn-sm{
  background:var(--ink);color:var(--bg);border:none;padding:10px 16px;border-radius:100px;
  font-size:12.5px;font-weight:600;cursor:pointer;font-family:var(--sans);
}
.btn-sm:hover{opacity:.85}

/* ---------- Header ---------- */
.hd{
  position:sticky;top:0;z-index:1000;background:oklch(97% 0.015 88 / 0.92);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--border);
}
.hd-row{max-width:1280px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hd-logo{font-family:var(--serif);font-size:24px;font-weight:600;color:var(--ink);text-decoration:none;letter-spacing:-0.01em;flex-shrink:0}
.hd-nav{display:flex;gap:28px;align-items:center}
.hd-link{text-decoration:none;font-size:14.5px;font-weight:500;color:var(--ink);transition:opacity .15s ease}
.hd-link:hover{opacity:.65}
.hd-link.active{font-weight:700;color:var(--green-dark)}
.hd-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.hd-icon-btn{background:none;border:none;cursor:pointer;padding:6px;color:var(--ink);display:flex}
.hd-icon-btn:hover{opacity:.6}
.hd-cart{position:relative;color:var(--ink);padding:6px;display:flex}
.hd-cart:hover{opacity:.6}
.hd-cart-badge{
  position:absolute;top:-4px;right:-6px;background:var(--green-dark);color:var(--bg);
  font-size:11px;font-weight:700;border-radius:50%;width:18px;height:18px;
  display:flex;align-items:center;justify-content:center;
}
.hd-burger{display:none;background:none;border:none;cursor:pointer;padding:6px;flex-direction:column;gap:4px}
.hd-burger span{width:22px;height:2px;background:var(--ink)}
.hd-burger span:last-child{width:15px}
.hd-mobile,.hd-search{border-top:1px solid var(--border);padding:12px 24px 20px;display:none;flex-direction:column;gap:14px;background:var(--bg)}
.hd-mobile.open,.hd-search.open{display:flex}
.hd-mobile .hd-link{font-size:16px;padding:4px 0}
.hd-search{flex-direction:row;padding:16px 24px;gap:10px;max-width:1280px;margin:0 auto}
.hd-search input{
  flex:1;padding:12px 16px;border:1px solid var(--border2);border-radius:100px;
  font-size:14px;background:var(--bg-input);outline:none;font-family:var(--sans);color:var(--ink);
}
.hd-search button{
  padding:12px 22px;border-radius:100px;background:var(--ink);color:var(--bg);border:none;
  font-weight:600;cursor:pointer;
}
@media (max-width:880px){
  .hd-nav{display:none}
  .hd-burger{display:flex}
}

/* ---------- Footer ---------- */
.ft{background:var(--footer-bg);color:var(--footer-text)}
.ft-cols{max-width:1280px;margin:0 auto;padding:64px 24px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:40px}
.ft-cols + .ft-cols{padding-top:0;padding-bottom:40px}
.ft-brand{font-family:var(--serif);font-size:26px;font-weight:600;margin-bottom:14px}
.ft-desc{font-size:14px;line-height:1.6;color:var(--footer-muted);max-width:280px;margin:0}
.ft-heading{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--footer-heading);margin-bottom:16px}
.ft-links{display:flex;flex-direction:column;gap:10px}
.ft-links a{color:oklch(90% 0.01 88);text-decoration:none;font-size:14.5px;transition:color .15s ease}
.ft-links a:hover{color:var(--footer-hover)}
.ft-bottom{border-top:1px solid var(--footer-line);padding:32px 24px;max-width:1280px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:flex-start}
.ft-bottom-brand{font-family:var(--serif);font-size:18px;font-weight:600}
.ft-bottom-addr{font-size:13px;line-height:1.7;color:var(--footer-muted2);max-width:420px}

/* ---------- Sections / cards ---------- */
section{padding:0}
.section-pad{padding:80px 24px}
.section-title{font-size:clamp(28px,4vw,42px);text-align:center;margin:0 0 44px}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin-bottom:16px}

.grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}
.grid-auto-260{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:26px}
.grid-auto-220{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.grid-auto-140{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}
.grid-auto-240{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}

.taste-card{
  text-decoration:none;color:var(--ink);background:var(--bg-card);border-radius:18px;
  padding:28px 22px;display:flex;flex-direction:column;gap:8px;min-height:150px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.taste-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px oklch(23% 0.008 90 / 0.12)}
.taste-dot{width:38px;height:38px;border-radius:50%}
.taste-name{font-family:var(--serif);font-size:20px;font-weight:600;margin-top:8px}
.taste-desc{font-size:13.5px;color:var(--ink-soft2);line-height:1.4}

.flavor-card{background:var(--bg-white);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.flavor-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px oklch(23% 0.008 90 / 0.12)}
.flavor-img{aspect-ratio:4/3;overflow:hidden}
.flavor-img img{width:100%;height:100%;object-fit:cover}
.flavor-body{padding:22px 22px 26px;display:flex;flex-direction:column;gap:8px;flex:1}
.flavor-title{font-family:var(--serif);font-size:19px;font-weight:600}
.flavor-desc{font-size:13.5px;color:var(--ink-soft2);line-height:1.5;margin:0;flex:1}
.flavor-link{margin-top:10px;font-size:13.5px;font-weight:700;color:var(--green-dark);text-decoration:none}

.product-card{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:10px}
.product-thumb{position:relative;aspect-ratio:3/4;border-radius:16px;overflow:hidden;background:var(--bg-card)}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-badge{position:absolute;top:12px;left:12px;background:var(--gold);color:var(--ink);font-size:11px;font-weight:700;padding:4px 10px;border-radius:100px;z-index:2}
.product-name{font-size:15px;font-weight:600;line-height:1.3}
.product-vol{font-size:13px;color:var(--ink-soft2)}
.product-price{font-size:15px;font-weight:700}

.dark-band{background:var(--ink);color:var(--bg)}
.step-num{font-family:var(--serif);font-size:15px;color:oklch(70% 0.06 115);font-weight:600;margin-bottom:14px}
.step-title{font-family:var(--serif);font-size:21px;font-weight:600;margin-bottom:10px}
.step-desc{font-size:14px;line-height:1.6;color:oklch(78% 0.01 88);margin:0}

.moment-card{border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.moment-img{aspect-ratio:3/4;overflow:hidden}
.moment-img img{width:100%;height:100%;object-fit:cover}
.moment-name{font-family:var(--serif);font-size:18px;font-weight:600;margin-bottom:4px}
.moment-desc{font-size:13px;color:var(--ink-soft2);line-height:1.4}

.bot-item{text-align:center}
.bot-img{aspect-ratio:1/1;border-radius:50%;overflow:hidden;margin-bottom:14px}
.bot-img img{width:100%;height:100%;object-fit:cover}
.bot-name{font-family:var(--serif);font-size:16px;font-weight:600}

.blog-card{text-decoration:none;color:var(--ink);background:var(--bg-white);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease}
.blog-card:hover{transform:translateY(-4px)}
.blog-img{aspect-ratio:4/3;overflow:hidden}
.blog-img img{width:100%;height:100%;object-fit:cover}
.blog-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-cat{font-size:12px;font-weight:700;color:var(--green-dark);text-transform:uppercase;letter-spacing:.04em}
.blog-title{font-family:var(--serif);font-size:18px;font-weight:600;line-height:1.3}
.blog-excerpt{font-size:13.5px;color:var(--ink-soft2);line-height:1.5;margin:0;flex:1}
.blog-more{font-size:13px;font-weight:700;color:var(--green-dark);margin-top:8px}

.quiz-opt{padding:16px 26px;border-radius:100px;border:1.5px solid oklch(23% 0.008 90 / 0.2);background:var(--bg-white);font-size:14.5px;font-weight:600;cursor:pointer;color:var(--ink);transition:all .15s ease}
.quiz-opt:hover{background:oklch(90% 0.03 115)}

.pkg-tile{background:var(--bg-white);border-radius:16px;padding:26px 16px;font-family:var(--serif);font-size:16px;font-weight:600;text-align:center}

.img-slot{position:relative;width:100%;height:100%;background:var(--bg-card);overflow:hidden}
.img-slot img{width:100%;height:100%;object-fit:cover}

/* ---------- Forms ---------- */
input,textarea,select{
  font-family:var(--sans);width:100%;padding:12px 14px;border:1px solid var(--border2);
  border-radius:10px;font-size:14.5px;background:var(--bg-input);box-sizing:border-box;color:var(--ink);
}
label.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--ink-soft)}
.radio-row{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--border2);border-radius:10px;cursor:pointer}
.radio-row input{width:auto}

/* ---------- Shop / filters ---------- */
.filter-btn{text-align:left;background:transparent;border:none;padding:9px 12px;border-radius:8px;font-size:14px;cursor:pointer;color:var(--ink-soft3);font-weight:500;width:100%;transition:all .15s ease}
.filter-btn.active{background:var(--active-bg);color:var(--active-text);font-weight:700}
.filter-heading{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px;color:var(--ink-soft3)}
.shop-layout{display:grid;grid-template-columns:240px 1fr;gap:40px}
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:22px}
@media (max-width:760px){
  .shop-grid{grid-template-columns:repeat(2,1fr)}
  .shop-layout{grid-template-columns:1fr}
  .filters-col{display:none}
}

/* ---------- Product detail ---------- */
.pd-grid{max-width:1200px;margin:0 auto;padding:0 24px 80px;display:grid;grid-template-columns:1.1fr 1fr;gap:56px}
.pd-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pd-thumbs .img-slot{aspect-ratio:1/1;border-radius:12px;overflow:hidden}
.pd-main{aspect-ratio:4/5;border-radius:20px;overflow:hidden;position:relative}
.qty-box{display:flex;align-items:center;border:1px solid var(--border2);border-radius:100px}
.qty-box button{background:none;border:none;width:40px;height:44px;font-size:18px;cursor:pointer;color:var(--ink)}
.qty-box .qty-val{width:36px;text-align:center;font-size:15px;font-weight:600}
.tab-row{border-bottom:1px solid var(--border)}
.tab-btn{width:100%;text-align:left;background:none;border:none;padding:16px 0;font-size:15px;font-weight:600;display:flex;justify-content:space-between;font-family:var(--serif);color:var(--ink);cursor:pointer}
.tab-content{font-size:14px;line-height:1.65;color:var(--ink-soft);margin:0 0 18px}
@media (max-width:820px){ .pd-grid{grid-template-columns:1fr} }

/* ---------- Cart / checkout ---------- */
.cart-row{display:grid;grid-template-columns:90px 1fr auto;gap:18px;align-items:center;padding-bottom:22px;border-bottom:1px solid var(--border)}
.cart-thumb{width:90px;height:110px;border-radius:12px;overflow:hidden}
.cart-summary{background:var(--bg-alt);border-radius:20px;padding:28px}
.cart-grid,.checkout-grid{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
@media (max-width:820px){ .cart-grid,.checkout-grid,.contact-grid{grid-template-columns:1fr} }

/* ---------- Legal / help tabs ---------- */
.legal-grid{display:grid;grid-template-columns:220px 1fr;gap:44px}
.legal-tab{text-align:left;background:transparent;border:none;padding:12px 14px;border-radius:10px;font-size:14.5px;font-weight:500;color:var(--ink-soft3);cursor:pointer;width:100%;font-family:var(--sans);transition:all .15s ease}
.legal-tab.active{background:var(--active-bg);color:var(--active-text);font-weight:700}
@media (max-width:760px){ .legal-grid{grid-template-columns:1fr} }

/* ---------- Article ---------- */
.article-body p{margin:0 0 22px}

/* ---------- Misc ---------- */
.muted{color:var(--ink-soft2)}
.center{text-align:center}
.form-msg-success{background:var(--bg-alt);border-radius:16px;padding:32px;text-align:center}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
