/* ═══════════════════════════════════════════
   НЕРЛЬСКАЯ ПЕКАРНЯ — main.css
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --ink:    #1C140C;
  --earth:  #4A2E14;
  --bark:   #7A4E28;
  --bread:  #C2783A;
  --amber:  #D9A050;
  --wheat:  #E8C880;
  --mist:   #EDE6D8;
  --cream:  #F5F0E6;
  --paper:  #FAF7F2;
  --white:  #FFFFFF;
  --fog:    #B0A898;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--bread); border-radius: 2px; }

/* ─── TYPOGRAPHY UTILITIES ─── */
.kicker {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bread);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--bread);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--bark); }

.body-text {
  font-size: .97rem;
  line-height: 1.85;
  color: #6A5040;
  margin-bottom: 1rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  transition: all .22s var(--ease);
  border: none;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark   { background: var(--ink);   color: var(--white); }
.btn-dark:hover   { background: var(--earth); }
.btn-bread  { background: var(--bread); color: var(--white); }
.btn-bread:hover  { background: var(--bark); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(28,20,12,.22);
}
.btn-outline:hover { border-color: var(--bread); color: var(--bread); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--wheat); }

/* ─── NAVIGATION ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, box-shadow .35s;
}
#nav.scrolled {
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(28,20,12,.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 600;
  color: var(--white);
  transition: color .35s;
}
#nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: .73rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .25s;
}
#nav.scrolled .nav-links a { color: rgba(28,20,12,.5); }
.nav-links a:hover { color: var(--bread) !important; }

.nav-cta {
  font-size: .73rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1.4rem;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  transition: all .22s;
}
#nav.scrolled .nav-cta { border-color: var(--ink); color: var(--ink); }
.nav-cta:hover { background: var(--bread) !important; border-color: var(--bread) !important; color: var(--white) !important; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  #nav { padding: 0 1.25rem; }
}

/* ─── LOGO SVG ─── */
.logo-svg { width: 32px; height: 32px; flex-shrink: 0; }

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.hero-photo {
  position: absolute; inset: 0;
  background: var(--ink);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: .8;
  transition: transform 8s ease-out;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,20,12,.72) 0%,
    rgba(28,20,12,.28) 50%,
    rgba(28,20,12,.08) 100%
  );
}

.hero-content {
  position: relative; z-index: 10;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  max-width: 640px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  padding: 5px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 300; line-height: 1;
  color: var(--white);
  letter-spacing: -.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.2);
  margin-bottom: .35rem;
}
.hero-h1 em { font-style: italic; font-weight: 600; color: var(--wheat); }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  font-style: italic;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.6rem;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ─── STRIP ─── */
.strip {
  background: var(--ink);
  padding: 1.75rem clamp(1.5rem, 6vw, 5rem);
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.strip-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: rgba(250,247,242,.8);
  text-align: center;
}
.strip-attr {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(194,120,58,.7); white-space: nowrap;
}

/* ─── ABOUT ─── */
#about {
  background: var(--white);
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem);
}
.about-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.about-text blockquote {
  border-left: 2px solid var(--bread);
  padding: .4rem 0 .4rem 1.4rem;
  margin: 1.5rem 0;
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--bark); line-height: 1.65;
}
.about-stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--mist);
  border: 1px solid var(--mist); margin-top: 2.5rem;
}
.stat { background: var(--white); padding: 1.3rem 1.5rem; }
.stat-n {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 600;
  color: var(--bread); line-height: 1; margin-bottom: .25rem;
}
.stat-l { font-size: .78rem; color: var(--fog); line-height: 1.4; }

.about-photos { position: relative; }
.photo-main { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.photo-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.photo-main:hover img { transform: scale(1.03); }
.photo-sm {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 52%; aspect-ratio: 1; overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 32px rgba(28,20,12,.12);
}
.photo-sm img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photos { margin-bottom: 3rem; }
  .photo-sm { right: 1rem; }
}

/* ─── MENU SECTION ─── */
#menu {
  background: var(--cream);
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem);
}
.menu-inner { max-width: 1140px; margin: 0 auto; }
.menu-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.menu-note { font-size: .88rem; color: var(--fog); font-style: italic; text-align: right; line-height: 1.55; }

.filter-row {
  display: flex; border-bottom: 1px solid var(--mist);
  margin-bottom: 2.5rem; overflow-x: auto;
}
.f-btn {
  font-family: var(--sans); font-size: .71rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .65rem 1.4rem .8rem;
  background: none; border: none; color: #9A8060;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .18s; white-space: nowrap;
}
.f-btn.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.f-btn:hover:not(.on) { color: var(--bark); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px,1fr));
  gap: 1px; background: var(--mist); border: 1px solid var(--mist);
}

/* ─── CARD ─── */
.card {
  background: var(--white);
  display: flex; flex-direction: column;
  transition: background .15s;
}
.card:hover { background: var(--paper); }
.card-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  display: block;         /* make it a link */
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--bread); color: var(--white);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .04em; padding: .3rem .75rem;
}
.card-body { padding: 1.3rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bread); margin-bottom: .4rem; }
.card-name {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600;
  color: var(--ink); line-height: 1.2; margin-bottom: .4rem;
}
.card-name a { color: inherit; transition: color .2s; }
.card-name a:hover { color: var(--bread); }
.card-desc { font-size: .85rem; color: #8A7060; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; gap: .75rem;
}
.card-meta { display: flex; flex-direction: column; gap: 1px; }
.card-weight { font-size: .7rem; color: #9A8060; }
.card-price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.card-price sup { font-family: var(--sans); font-size: .65rem; font-weight: 400; color: #8A7060; margin-left: 1px; }

.add-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--white); border: none;
  font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s;
}
.add-btn:hover { background: var(--bread); transform: scale(1.08); }
.add-btn.added { background: #5A8050; font-size: .8rem; font-family: var(--sans); }

/* ─── CART BAR ─── */
.cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--ink); color: var(--white);
  height: 58px;
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
}
.cart-bar.up { transform: translateY(0); }
.cart-bar-inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-bar-info { display: flex; gap: 2rem; align-items: center; font-size: .84rem; }
.cart-bar-total { color: var(--wheat); font-weight: 500; }

/* ─── ORDER ─── */
#order {
  background: var(--paper);
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem);
}
.order-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem); align-items: start;
}
@media (max-width: 860px) { .order-inner { grid-template-columns: 1fr; } }

.order-facts { margin-top: 2.2rem; }
.fact {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--mist);
}
.fact:last-child { border: none; }
.fact-icon { width: 38px; height: 38px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.fact-lbl { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bread); margin-bottom: 2px; }
.fact-val { font-size: .93rem; color: var(--ink); line-height: 1.5; }

.order-form { background: var(--white); padding: 2.5rem; border: 1px solid var(--mist); }
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: #9A8060; margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .78rem 1rem;
  border: 1px solid var(--mist); background: var(--paper);
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  outline: none; transition: border-color .18s, background .18s;
  border-radius: 0; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bread); background: var(--white);
}
.form-textarea { resize: vertical; min-height: 86px; }

.cart-preview { background: var(--paper); border: 1px solid var(--mist); padding: .9rem 1.1rem; margin-bottom: 1.3rem; min-height: 52px; }
.preview-empty { font-size: .86rem; font-style: italic; color: var(--fog); }
.preview-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink); padding: .18rem 0; }
.preview-total { border-top: 1px solid var(--mist); margin-top: .5rem; padding-top: .5rem; display: flex; justify-content: space-between; font-family: var(--serif); font-weight: 600; font-size: 1rem; }

.form-submit {
  width: 100%; margin-top: 1.5rem; padding: 1rem;
  background: var(--ink); color: var(--white); border: none;
  font-family: var(--sans); font-size: .73rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; transition: background .2s;
}
.form-submit:hover { background: var(--earth); }

.success-msg { display: none; text-align: center; padding: 3rem 1rem; }
.success-msg.show { display: block; }
.success-msg .icon { font-size: 2.8rem; margin-bottom: 1.1rem; }
.success-msg h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--ink); margin-bottom: .6rem; }
.success-msg p { font-size: .93rem; color: #6A5040; line-height: 1.7; }

/* ─── FOOTER ─── */
footer {
  background: #14100A;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem) 2rem;
  color: rgba(250,247,242,.3);
}
.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.05); margin-bottom: 2rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: rgba(250,247,242,.85); margin-bottom: .45rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: .88rem; color: rgba(250,247,242,.28); margin-bottom: 1.2rem; }
.footer-addr { font-size: .8rem; line-height: 1.8; }
.footer-domains { margin-top: 1.1rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-domains a { color: rgba(194,120,58,.4); font-size: .78rem; transition: color .18s; }
.footer-domains a:hover { color: var(--wheat); }
.footer-col h4 { font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bread); margin-bottom: .9rem; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: .82rem; line-height: 2.1; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: var(--wheat); }
.footer-bottom { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .7rem; color: rgba(250,247,242,.2); }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════
   PRODUCT PAGE — product.css (included here)
   ═══════════════════════════════════════════ */

/* ─── PRODUCT BREADCRUMB ─── */
.breadcrumb {
  padding: 80px clamp(1.5rem, 6vw, 5rem) 0;
  max-width: 1140px; margin: 0 auto;
  font-size: .78rem; color: var(--fog);
  display: flex; align-items: center; gap: .6rem;
}
.breadcrumb a { color: var(--fog); transition: color .2s; }
.breadcrumb a:hover { color: var(--bread); }
.breadcrumb span { color: var(--fog); opacity: .5; }

/* ─── PRODUCT HERO ─── */
.product-hero {
  padding: 2rem clamp(1.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}
@media (max-width: 768px) { .product-hero { grid-template-columns: 1fr; } }

/* Product gallery */
.product-gallery { position: sticky; top: 80px; }
.product-img-main {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; position: relative;
  background: var(--cream);
}
.product-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-img-main:hover img { transform: scale(1.03); }
.product-badge-main {
  position: absolute; top: 16px; left: 16px;
  background: var(--bread); color: var(--white);
  font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  padding: .4rem 1rem;
}
.product-thumbs {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; margin-top: 8px;
}
.product-thumb {
  aspect-ratio: 1; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color .2s;
  background: var(--cream);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.active { border-color: var(--bread); }
.product-thumb:hover { border-color: var(--mist); }

/* Product info */
.product-info { padding-top: .5rem; }
.product-cat { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bread); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.product-cat::before { content: ''; width: 18px; height: 1px; background: var(--bread); }
.product-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.05;
  color: var(--ink); margin-bottom: .5rem;
}
.product-name em { font-style: italic; color: var(--bark); }
.product-short { font-size: 1rem; color: #6A5040; line-height: 1.75; margin-bottom: 1.75rem; }

/* Price & weight row */
.product-price-row {
  display: flex; align-items: baseline; gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  margin-bottom: 1.75rem;
}
.product-price {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 600; color: var(--ink);
}
.product-price sup { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--fog); }
.product-weight-tag {
  font-size: .8rem; color: var(--fog);
  background: var(--cream); padding: .35rem .9rem;
}

/* Quantity */
.product-qty-row {
  display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem;
}
.qty-ctrl {
  display: flex; align-items: center;
  border: 1px solid var(--mist);
}
.qty-btn {
  width: 40px; height: 40px;
  background: none; border: none;
  font-size: 1.2rem; color: var(--ink);
  transition: background .18s; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--mist); }
.qty-val {
  width: 44px; text-align: center;
  font-family: var(--serif); font-size: 1.1rem;
  border: none; border-left: 1px solid var(--mist); border-right: 1px solid var(--mist);
  padding: .5rem 0; outline: none;
  background: transparent;
}
.btn-add-product { flex: 1; justify-content: center; }

/* Tabs */
.product-tabs { margin-top: 1.5rem; }
.tab-nav {
  display: flex; border-bottom: 1px solid var(--mist);
  margin-bottom: 1.5rem;
}
.tab-btn-item {
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1.4rem .75rem;
  background: none; border: none; color: #9A8060;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .18s; cursor: pointer;
}
.tab-btn-item.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.tab-pane p { font-size: .95rem; color: #6A5040; line-height: 1.82; margin-bottom: .75rem; }
.tab-pane ul { padding-left: 1.25rem; }
.tab-pane li { font-size: .95rem; color: #6A5040; line-height: 1.8; }
.composition-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.composition-table th {
  text-align: left; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bread); font-weight: 500; padding: .6rem 0; border-bottom: 1px solid var(--mist);
}
.composition-table td { padding: .55rem 0; border-bottom: 1px solid var(--mist); color: #6A5040; }
.composition-table tr:last-child td { border: none; }

/* Related products */
.related-section {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}
.related-inner { max-width: 1140px; margin: 0 auto; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 1px; background: var(--mist); border: 1px solid var(--mist); margin-top: 2rem;
}
