/* ============================================================
   Christines Suppenküche — styles
   Palette: warm earth (cream / brown / tan / sage)
   Type: Newsreader (display serif) + Hanken Grotesque (UI sans)
   ============================================================ */

:root {
  /* surfaces */
  --cream:      #faf6ee;
  --cream-deep: #f3ecdf;
  --surface:    #fffdf8;
  --paper:      #fffefb;

  /* ink */
  --ink:        #2a2520;
  --ink-soft:   #564f45;
  --ink-mute:   #8a8175;
  --line:       #e7ddca;
  --line-soft:  #efe7d6;

  /* accents */
  --accent:     #8a6d4b;   /* brown — primary */
  --accent-deep:#6f5536;
  --tan:        #b89c6e;
  --sage:       #6b7256;
  --sage-soft:  #eef0e6;
  --berry:      #9c5a4d;   /* warm terracotta for sale/alerts */
  --honey:      #c8923f;

  --accent-rgb: 138,109,75;

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(42,37,32,.05), 0 2px 6px rgba(42,37,32,.04);
  --shadow:    0 4px 14px rgba(42,37,32,.08), 0 1px 3px rgba(42,37,32,.05);
  --shadow-lg: 0 18px 50px rgba(42,37,32,.16), 0 6px 18px rgba(42,37,32,.08);

  --maxw: 1180px;
  --header-h: 70px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: rgba(var(--accent-rgb), .18); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--tan); display: inline-block; }
.eyebrow.center::after { content: ""; width: 22px; height: 1.5px; background: var(--tan); display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; border-radius: 999px; font-family: var(--sans);
  font-weight: 600; font-size: 15px; letter-spacing: .005em;
  padding: 14px 24px; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(var(--accent-rgb), .28); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .34); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #1c1814; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; line-height: 1;
  background: var(--cream-deep); color: var(--ink-soft); white-space: nowrap;
}
.tag-veg   { background: var(--sage-soft); color: #4d5a3b; }
.tag-vegan { background: #e6efe2; color: #3f5a3a; }
.tag-gf    { background: #f3ead7; color: #8a6326; }
.tag-spicy { background: #f6e3dd; color: #9c5040; }
.tag svg { width: 12px; height: 12px; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,238,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.hdr.scrolled { border-color: var(--line); box-shadow: 0 2px 14px rgba(42,37,32,.05); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--tan), var(--accent) 75%);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.35), 0 2px 6px rgba(var(--accent-rgb),.3);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: rgba(var(--accent-rgb),.07); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 9px 16px 9px 14px; color: var(--ink);
  font-weight: 600; font-size: 14px; transition: border-color .2s, box-shadow .2s, transform .12s;
}
.cart-btn:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--cream); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.pop { transform: scale(1.4); }
.hdr-menu-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero-deco {
  position: absolute; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.10), transparent 70%);
}

/* -- editorial (split) -- */
.hero-editorial .hero-in {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 64px 0 76px;
}
.hero-copy .h-title {
  font-size: clamp(40px, 6.4vw, 74px); line-height: 1.02; letter-spacing: -.02em; margin: 20px 0 0;
}
.hero-copy .h-title em { font-style: italic; color: var(--accent); }
.hero-copy .h-sub {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); max-width: 30em;
  margin: 22px 0 32px; line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.hero-meta .m span { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .02em; }
.hero-meta .m + .m { padding-left: 26px; border-left: 1px solid var(--line); }

.hero-art { position: relative; }
.hero-art image-slot, .hero-art .img-ph {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface); border-radius: var(--r); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 230px;
}
.hero-badge .seal {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--sage-soft); color: var(--sage); display: grid; place-items: center;
}
.hero-badge .seal svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: 14px; }
.hero-badge span { font-size: 12px; color: var(--ink-mute); }

/* -- fullbleed -- */
.hero-fullbleed .hero-in { padding: 0; }
.hero-fullbleed .hb-stage {
  position: relative; height: clamp(520px, 78vh, 760px); border-radius: 0;
}
.hero-fullbleed image-slot, .hero-fullbleed .img-ph { width: 100%; height: 100%; border-radius: 0; }
.hero-fullbleed .hb-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,22,16,.72) 0%, rgba(28,22,16,.42) 42%, rgba(28,22,16,.05) 80%);
}
.hero-fullbleed .hb-copy {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero-fullbleed .hb-copy .wrap { width: 100%; }
.hero-fullbleed .h-title { color: #fff; font-size: clamp(40px, 6.5vw, 78px); max-width: 14ch; margin: 18px 0 0; }
.hero-fullbleed .h-title em { font-style: italic; color: #f0d9b8; }
.hero-fullbleed .h-sub { color: rgba(255,255,255,.86); max-width: 30em; margin: 20px 0 32px; font-size: clamp(16px,1.6vw,19px); }
.hero-fullbleed .eyebrow { color: #f0d9b8; }
.hero-fullbleed .eyebrow::before { background: rgba(255,255,255,.5); }

/* -- centered -- */
.hero-centered .hero-in { padding: 70px 0 0; text-align: center; }
.hero-centered .hc-head { max-width: 760px; margin: 0 auto; }
.hero-centered .h-title { font-size: clamp(42px, 7vw, 84px); margin: 18px 0 0; }
.hero-centered .h-title em { font-style: italic; color: var(--accent); }
.hero-centered .h-sub { font-size: clamp(16px,1.7vw,20px); color: var(--ink-soft); max-width: 34em; margin: 22px auto 32px; }
.hero-centered .hero-cta { justify-content: center; }
.hero-centered .hc-strip {
  margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-centered .hc-strip image-slot, .hero-centered .hc-strip .img-ph {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.hero-centered .hc-strip > div:nth-child(2) { transform: translateY(-22px); }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section { padding: 78px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; margin-top: 12px; }
.section-head p { color: var(--ink-soft); max-width: 42ch; margin-top: 12px; }
.section-head .lead { font-size: 16.5px; }

/* =========================================================
   MENU / PRODUCT CARDS
   ========================================================= */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card-media { position: relative; }
.card-media image-slot, .card-media .img-ph { width: 100%; aspect-ratio: 4/3; border-radius: 0; }
.card-fav {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,253,248,.9); border: none; display: grid; place-items: center; color: var(--ink-soft);
  backdrop-filter: blur(4px); transition: transform .15s, color .2s; box-shadow: var(--shadow-sm);
}
.card-fav:hover { transform: scale(1.1); color: var(--berry); }
.card-fav.on { color: var(--berry); }
.card-fav svg { width: 17px; height: 17px; }
.card-price-pill {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.card h3 { font-size: 22px; letter-spacing: -.01em; }
.card-desc { color: var(--ink-soft); font-size: 14px; margin-top: 7px; line-height: 1.5; }
.card-info { display: flex; align-items: center; gap: 14px; margin-top: 13px; font-size: 12.5px; color: var(--ink-mute); }
.card-info .ci { display: inline-flex; align-items: center; gap: 5px; }
.card-info svg { width: 14px; height: 14px; opacity: .8; }
.card-allergen { font-size: 11.5px; color: var(--ink-mute); margin-top: 10px; }
.card-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.card-foot .price { font-family: var(--serif); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-foot .price small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-mute); margin-left: 3px; }
.card-add {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none; border-radius: 999px;
  padding: 11px 18px; font-weight: 600; font-size: 14px; transition: background .2s, transform .12s, gap .2s;
}
.card-add:hover { background: var(--accent-deep); }
.card-add svg { width: 16px; height: 16px; }
.card-add.added { background: var(--sage); }

/* horizontal variant */
.menu-grid.layout-horizontal { grid-template-columns: repeat(2, 1fr); }
.layout-horizontal .card { flex-direction: row; }
.layout-horizontal .card-media { flex: none; width: 42%; }
.layout-horizontal .card-media image-slot, .layout-horizontal .card-media .img-ph { height: 100%; aspect-ratio: auto; }
.layout-horizontal .card-price-pill { display: none; }

/* overlay variant */
.layout-overlay .card-media image-slot, .layout-overlay .card-media .img-ph { aspect-ratio: 3/4; }
.layout-overlay .card { position: relative; }
.layout-overlay .card-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,22,16,.86) 8%, rgba(28,22,16,.25) 48%, transparent 70%); pointer-events: none; }
.layout-overlay .card-body { position: absolute; inset: auto 0 0 0; color: #fff; padding: 18px; }
.layout-overlay .card-body h3 { color: #fff; }
.layout-overlay .card-desc { color: rgba(255,255,255,.82); }
.layout-overlay .card-info { color: rgba(255,255,255,.7); }
.layout-overlay .card-allergen { display: none; }
.layout-overlay .card-price-pill { display: none; }
.layout-overlay .card-add { background: rgba(255,253,248,.95); color: var(--ink); }
.layout-overlay .card-add:hover { background: #fff; }
.layout-overlay .card-foot .price { color: #fff; }

/* img placeholder (when image-slot absent / fallback texture) */
.img-ph {
  background:
    repeating-linear-gradient(135deg, rgba(var(--accent-rgb),.05) 0 14px, rgba(var(--accent-rgb),.09) 14px 28px),
    var(--cream-deep);
  display: grid; place-items: center; color: var(--ink-mute);
}
.img-ph span { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .04em; background: rgba(255,253,248,.7); padding: 4px 9px; border-radius: 6px; }

/* =========================================================
   SUBSCRIPTION
   ========================================================= */
.sub { background: linear-gradient(180deg, var(--cream-deep), var(--cream)); }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan.featured::before {
  content: "Beliebt"; position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 23px; }
.plan .plan-sub { color: var(--ink-mute); font-size: 13.5px; margin-top: 4px; }
.plan .plan-price { font-family: var(--serif); font-size: 40px; font-weight: 600; margin: 18px 0 2px; font-variant-numeric: tabular-nums; }
.plan .plan-price small { font-family: var(--sans); font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-art { position: relative; }
.about-art image-slot, .about-art .img-ph { width: 100%; aspect-ratio: 1/1; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.about-art .stamp {
  position: absolute; top: -18px; right: -18px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.2; transform: rotate(8deg);
  box-shadow: var(--shadow);
}
.about-copy h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 0; }
.about-copy .q { font-family: var(--serif); font-style: italic; font-size: clamp(20px,2.2vw,26px); line-height: 1.4; color: var(--ink); margin: 22px 0; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15.5px; }
.about-sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.about-sign .sig { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); }
.about-sign .who { font-size: 13px; color: var(--ink-mute); }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.news { background: var(--ink); color: var(--cream); border-radius: var(--r-xl); padding: 54px 48px; text-align: center; position: relative; overflow: hidden; }
.news::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.4), transparent 70%); top: -120px; right: -80px; }
.news h2 { color: var(--cream); font-size: clamp(28px,3.6vw,42px); position: relative; }
.news p { color: rgba(250,246,238,.72); max-width: 40ch; margin: 14px auto 28px; position: relative; }
.news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; }
.news-form input {
  flex: 1; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.16); color: #fff;
  border-radius: 999px; padding: 14px 20px; font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s, background .2s;
}
.news-form input::placeholder { color: rgba(250,246,238,.5); }
.news-form input:focus { border-color: var(--tan); background: rgba(255,255,255,.12); }
.news-ok { font-size: 14.5px; color: #e6efe2; display: inline-flex; gap: 8px; align-items: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { margin: 0 0 16px; }
.footer-col h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-blurb { color: var(--ink-soft); font-size: 14.5px; max-width: 30ch; }
.foot-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-mute); flex-wrap: wrap; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.scrim {
  position: fixed; inset: 0; background: rgba(28,22,16,.42); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100vw); z-index: 100;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.1,1);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; }
.drawer-head .count { font-size: 13px; color: var(--ink-mute); margin-left: 2px; }
.icon-btn { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--cream-deep); display: grid; place-items: center; color: var(--ink-soft); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--line); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line:last-child { border-bottom: none; }
.cart-line .thumb { width: 76px; height: 76px; border-radius: var(--r-sm); flex: none; overflow: hidden; }
.cart-line .thumb image-slot, .cart-line .thumb .img-ph { width: 100%; height: 100%; border-radius: var(--r-sm); }
.cart-line .cl-main { flex: 1; min-width: 0; }
.cart-line .cl-top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.cart-line .cl-meta { font-size: 12px; color: var(--ink-mute); margin-top: 1px; }
.cart-line .cl-rm { background: none; border: none; color: var(--ink-mute); padding: 2px; transition: color .2s; }
.cart-line .cl-rm:hover { color: var(--berry); }
.cart-line .cl-rm svg { width: 16px; height: 16px; }
.cart-line .cl-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.cart-line .cl-price { font-weight: 700; font-variant-numeric: tabular-nums; }

.stepper { display: inline-flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; }
.stepper button { width: 30px; height: 30px; border: none; background: none; color: var(--accent); display: grid; place-items: center; font-size: 18px; transition: color .15s; }
.stepper button:hover { color: var(--accent-deep); }
.stepper button:disabled { color: var(--line); }
.stepper button svg { width: 14px; height: 14px; }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.cart-empty { text-align: center; padding: 60px 24px; color: var(--ink-mute); }
.cart-empty .ce-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--cream-deep); display: grid; place-items: center; margin: 0 auto 18px; color: var(--tan); }
.cart-empty .ce-icon svg { width: 34px; height: 34px; }
.cart-empty h4 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }

.drawer-foot { border-top: 1px solid var(--line); padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); background: var(--surface); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.drawer-foot .row.total { font-size: 19px; color: var(--ink); font-weight: 700; margin: 12px 0 16px; }
.drawer-foot .row.total .amt { font-family: var(--serif); font-variant-numeric: tabular-nums; }
.drawer-foot .note { font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout { position: fixed; inset: 0; z-index: 110; background: var(--cream); overflow-y: auto; display: flex; flex-direction: column; }
.co-bar { position: sticky; top: 0; background: rgba(250,246,238,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); z-index: 5; }
.co-bar-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.co-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); background: none; border: none; padding: 8px 10px; border-radius: 999px; transition: background .2s, color .2s; }
.co-back:hover { background: rgba(var(--accent-rgb),.08); color: var(--ink); }
.co-back svg { width: 17px; height: 17px; }

.co-steps { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.co-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); font-weight: 600; }
.co-step .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--cream-deep); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; transition: all .3s; }
.co-step.active { color: var(--ink); }
.co-step.active .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.co-step.done .dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.co-step.done .dot svg { width: 13px; height: 13px; }
.co-step .lbl { display: none; }
.co-divider { width: 26px; height: 1.5px; background: var(--line); }

.co-main { flex: 1; padding: 38px 0 80px; }
.co-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.co-form h2 { font-size: clamp(26px,3vw,36px); margin-bottom: 6px; }
.co-form .co-lead { color: var(--ink-soft); margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; font-family: inherit; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.12); }
.field input.err, .field textarea.err { border-color: var(--berry); }
.field .err-msg { font-size: 12px; color: var(--berry); margin-top: 5px; }
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg-opt { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s; display: flex; gap: 12px; align-items: flex-start; }
.seg-opt:hover { border-color: var(--tan); }
.seg-opt.on { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.seg-opt .so-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--cream-deep); display: grid; place-items: center; color: var(--accent); flex: none; }
.seg-opt.on .so-ic { background: var(--accent); color: #fff; }
.seg-opt .so-ic svg { width: 19px; height: 19px; }
.seg-opt b { font-size: 15px; display: block; }
.seg-opt span { font-size: 12.5px; color: var(--ink-mute); }

.co-section-title { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 30px 0 14px; display: flex; align-items: center; gap: 10px; }
.co-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* summary card */
.co-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 86px; }
.co-summary h3 { font-size: 20px; margin-bottom: 16px; }
.co-sum-line { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.co-sum-line .qx { color: var(--accent); font-weight: 700; min-width: 26px; }
.co-sum-line .nm { flex: 1; }
.co-sum-line .pr { font-weight: 600; font-variant-numeric: tabular-nums; }
.co-sum-tot { margin-top: 16px; }
.co-sum-tot .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.co-sum-tot .row.grand { font-size: 20px; color: var(--ink); font-weight: 700; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.co-sum-tot .row.grand .amt { font-family: var(--serif); }

/* payment */
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 6px; }
.card-input-wrap { position: relative; }
.card-input-wrap .brand-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 5px; }
.card-input-wrap .brand-ic span { width: 30px; height: 19px; border-radius: 4px; background: var(--cream-deep); display: grid; place-items: center; font-size: 8px; font-weight: 800; color: var(--ink-mute); letter-spacing: .02em; }
.pay-secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; justify-content: center; }
.pay-secure svg { width: 14px; height: 14px; color: var(--sage); }
.demo-note { background: var(--sage-soft); color: #4d5a3b; border-radius: var(--r-sm); padding: 11px 14px; font-size: 12.5px; margin-top: 16px; display: flex; gap: 9px; align-items: flex-start; }
.demo-note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* confirmation */
.confirm { max-width: 560px; margin: 0 auto; text-align: center; padding: 30px 0 60px; }
.confirm .check { width: 92px; height: 92px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin: 0 auto 26px; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
.confirm .check svg { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm h1 { font-size: clamp(32px,4vw,46px); margin-bottom: 12px; }
.confirm .c-lead { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 30px; }
.confirm .c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: left; margin-bottom: 26px; }
.confirm .c-card .cc-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 14.5px; }
.confirm .c-card .cc-row .k { color: var(--ink-mute); }
.confirm .c-card .cc-row .v { font-weight: 600; text-align: right; }
.confirm .c-ord { display: inline-block; background: var(--cream-deep); border-radius: 999px; padding: 6px 16px; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }

/* =========================================================
   TOAST
   ========================================================= */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--cream); padding: 13px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; animation: toastIn .35s cubic-bezier(.34,1.56,.64,1); }
.toast .ti { width: 26px; height: 26px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; flex: none; }
.toast .ti svg { width: 15px; height: 15px; color: #fff; }
.toast button { background: none; border: none; color: var(--tan); font-weight: 600; font-size: 13.5px; pointer-events: auto; padding: 2px 4px; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col.brand-col { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-editorial .hero-in { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 56px; }
  .hero-art { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .co-layout { grid-template-columns: 1fr; gap: 30px; }
  .co-summary { position: static; order: -1; }
  .menu-grid, .menu-grid.layout-horizontal { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head.center { align-items: center; }
  .menu-grid, .menu-grid.layout-horizontal { grid-template-columns: 1fr; gap: 18px; }
  .layout-horizontal .card { flex-direction: row; }
  .hero-meta .m + .m { padding-left: 18px; }
  .hero-centered .hc-strip > div:nth-child(2) { transform: none; }
  .news { padding: 38px 22px; border-radius: var(--r-lg); }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; }
  .co-steps .lbl { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .co-main { padding: 24px 0 60px; }
  .hero-badge { left: 0; bottom: -16px; }
  .brand-name small { display: none; }
}
@media (min-width: 601px) {
  .co-step .lbl { display: inline; }
}
