/* Namma Snacking Co. — rebuilt from the Shopify Horizon theme + custom "namma-homepage" section */
:root {
  --nh-ink: #173b2b;
  --nh-ink-soft: #355548;
  --nh-cream: #f7f3e9;
  --nh-paper: #fffdf8;
  --nh-line: #d8d2c3;
  --nh-orange: #e76f35;
  --nh-yellow: #f2bd45;
  --nh-green: #173b2b;
  --bg: #ffffff;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-heading: "Anonymous Pro", ui-monospace, monospace;
  --page: min(1240px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--nh-ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
body.is-home { background: var(--nh-cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .nh-h1, .nh-h2 { font-family: var(--font-heading); }
button { font: inherit; }
.page-width { width: var(--page); margin: 0 auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--nh-ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--nh-orange); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--nh-cream); border-bottom: 1px solid var(--nh-line); }
.site-header__inner { width: var(--page); margin: 0 auto; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.site-logo { font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.site-nav { display: flex; gap: 22px; font-family: var(--font-heading); font-size: 14px; }
.site-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; text-decoration: none; }
.icon-btn:hover { background: rgba(23,59,43,.07); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--nh-ink); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; width: calc(100% - 24px); }
  .menu-toggle { display: inline-grid; }
  .site-logo { justify-self: center; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--nh-cream); border-bottom: 1px solid var(--nh-line); padding: 8px 20px 18px; font-size: 18px; transform: translateY(-120%); transition: transform .25s ease; z-index: -1; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--nh-line); }
  .site-nav.is-open { transform: none; }
  .search-btn { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--nh-paper); border-top: 1px solid var(--nh-line); padding: 56px 0 28px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h2 { font-size: 16px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--nh-ink-soft); }
.site-footer a:hover { color: var(--nh-ink); text-decoration: underline; }
.site-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--nh-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--nh-ink-soft); font-size: 13px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons & shared ---------- */
.nh-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nh-orange); margin-bottom: 18px; }
.nh-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.nh-h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 7vw, 92px); line-height: .92; letter-spacing: -.055em; font-weight: 800; text-wrap: balance; }
.nh-h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.nh-copy { color: var(--nh-ink-soft); font-size: 17px; line-height: 1.65; max-width: 560px; }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 0; border-radius: 999px; background: var(--nh-ink); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.nh-btn:hover { transform: translateY(-2px); background: #0f2b20; }
.nh-btn--light { background: var(--nh-paper); color: var(--nh-ink); }
.nh-btn--light:hover { background: #fff; }
.nh-btn--block { width: 100%; }
.nh-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.nh-text-link { font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 3px; text-decoration: none; }

/* ---------- Homepage (ported 1:1 from sections/namma-homepage.liquid) ---------- */
.namma-home { background: var(--nh-cream); color: var(--nh-ink); overflow: hidden; }
.namma-home a { text-decoration: none; }
.nh-wrap { width: var(--page); margin: 0 auto; }
.nh-hero { padding: 28px 0 76px; }
.nh-hero-grid { min-height: min(720px, calc(100vh - 120px)); display: grid; grid-template-columns: 1fr 1.15fr; background: var(--nh-paper); border: 1px solid var(--nh-line); border-radius: 22px; overflow: hidden; }
.nh-hero-copy { padding: clamp(42px, 6vw, 86px); display: flex; flex-direction: column; justify-content: center; }
.nh-hero-copy .nh-copy { margin: 26px 0 30px; }
.nh-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nh-hero-media { min-height: 520px; background: #ebe4d5; position: relative; display: grid; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; }
.nh-hero-media__panel { min-width: 0; min-height: 0; background: #f0ece2; border-radius: 14px; overflow: hidden; }
.nh-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.nh-hero-note { position: absolute; left: 24px; bottom: 24px; background: rgba(255,253,248,.94); border: 1px solid var(--nh-line); border-radius: 14px; padding: 14px 17px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nh-proof { border-top: 1px solid var(--nh-line); border-bottom: 1px solid var(--nh-line); background: var(--nh-paper); }
.nh-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.nh-proof-item { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border-right: 1px solid var(--nh-line); text-align: center; }
.nh-proof-item:last-child { border-right: 0; }
.nh-proof-mark { width: 30px; height: 30px; border: 1px solid var(--nh-ink); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; flex: 0 0 auto; }
.nh-proof-item span:last-child { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nh-products { padding: 100px 0 110px; }
.nh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.nh-section-head .nh-copy { margin: 12px 0 0; }
.nh-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nh-product { background: var(--nh-paper); border: 1px solid var(--nh-line); border-radius: 18px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.nh-product > a { text-decoration: none; flex: 1; }
.nh-product-media { aspect-ratio: 1 / 1.08; background: #f0ece2; overflow: hidden; }
.nh-product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.nh-product:hover .nh-product-media img { transform: scale(1.035); }
.nh-product-info { padding: 19px 20px 21px; }
.nh-product-tag { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--nh-orange); }
.nh-product-title { margin: 7px 0; font-size: 20px; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.nh-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--nh-ink-soft); }
.nh-product-price { font-weight: 800; color: var(--nh-ink); }
.nh-product-actions { padding: 0 20px 20px; }
.nh-add { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid var(--nh-ink); background: transparent; color: var(--nh-ink); font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.nh-add:hover { background: var(--nh-ink); color: #fff; }
.nh-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: var(--nh-yellow); color: #173b2b; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nh-size-toggle { display: inline-flex; align-items: center; gap: 3px; padding: 3px; margin-bottom: 12px; border: 1px solid var(--nh-line); border-radius: 999px; background: #f2eee3; width: fit-content; }
.nh-size-option { border: 0; background: transparent; color: var(--nh-ink-soft); border-radius: 999px; min-width: 70px; height: 32px; padding: 0 12px; font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.nh-size-option.is-active { background: var(--nh-ink); color: #fff; }
.nh-size-option:disabled { opacity: .45; cursor: not-allowed; }
.nh-story { padding: 0 0 110px; }
.nh-story-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; border-radius: 22px; overflow: hidden; background: var(--nh-green); color: #fff; }
.nh-story-media { min-height: 540px; background: #d8d0bd; }
.nh-story-media img { width: 100%; height: 100%; object-fit: cover; }
.nh-story-copy { padding: clamp(44px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.nh-story-copy .nh-kicker { color: var(--nh-yellow); }
.nh-story-copy .nh-copy { color: rgba(255,255,255,.76); margin: 25px 0 30px; }
.nh-story-copy .nh-btn { align-self: flex-start; }
.nh-philosophy { padding: 90px 0; border-top: 1px solid var(--nh-line); border-bottom: 1px solid var(--nh-line); background: var(--nh-paper); }
.nh-philosophy-head { max-width: 850px; margin-bottom: 52px; }
.nh-philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--nh-line); }
.nh-principle { padding: 28px 28px 12px 0; border-right: 1px solid var(--nh-line); margin-right: 28px; }
.nh-principle:last-child { border-right: 0; margin-right: 0; }
.nh-principle-num { font-size: 11px; font-weight: 800; color: var(--nh-orange); }
.nh-principle h3 { margin: 28px 0 10px; font-size: 25px; letter-spacing: -.03em; }
.nh-principle p { margin: 0; color: var(--nh-ink-soft); line-height: 1.6; font-size: 14px; }
.nh-lifestyle { padding: 110px 0; }
.nh-lifestyle-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.nh-lifestyle-image { aspect-ratio: 1 / .78; background: #e4dfd1; border-radius: 20px; overflow: hidden; }
.nh-lifestyle-image img { width: 100%; height: 100%; object-fit: cover; }
.nh-lifestyle-copy .nh-copy { margin: 24px 0 30px; }
.nh-cta { padding: 0 0 100px; }
.nh-cta-card { border-radius: 22px; background: var(--nh-orange); color: #fff; padding: clamp(44px, 7vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.nh-cta-card h2 { margin: 0; max-width: 700px; font-size: clamp(38px, 5vw, 68px); line-height: .95; letter-spacing: -.05em; }
@media (max-width: 900px) {
  .nh-hero-grid, .nh-story-grid, .nh-lifestyle-grid { grid-template-columns: 1fr; }
  .nh-hero-media { min-height: 440px; order: -1; }
  .nh-story-media { min-height: 420px; }
  .nh-product-grid { grid-template-columns: repeat(2, 1fr); }
  .nh-philosophy-grid { grid-template-columns: 1fr; }
  .nh-principle { border-right: 0; border-bottom: 1px solid var(--nh-line); margin-right: 0; padding-right: 0; padding-bottom: 28px; margin-bottom: 28px; }
  .nh-principle:last-child { border-bottom: 0; }
  .nh-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --page: min(100% - 24px, 1240px); }
  .nh-hero { padding-top: 12px; padding-bottom: 45px; }
  .nh-hero-grid { border-radius: 16px; }
  .nh-hero-copy { padding: 38px 25px 42px; }
  .nh-hero-media { min-height: 330px; gap: 7px; padding: 7px; }
  .nh-hero-note { left: 14px; bottom: 14px; padding: 10px 12px; font-size: 10px; }
  .nh-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .nh-proof-item { min-height: 82px; border-bottom: 1px solid var(--nh-line); }
  .nh-proof-item:nth-child(2) { border-right: 0; }
  .nh-proof-item:nth-child(3), .nh-proof-item:nth-child(4) { border-bottom: 0; }
  .nh-products, .nh-lifestyle { padding: 70px 0; }
  .nh-story { padding-bottom: 70px; }
  .nh-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nh-product-info { padding: 14px; }
  .nh-product-actions { padding: 0 14px 14px; }
  .nh-product-title { font-size: 16px; }
  .nh-product-meta { font-size: 11px; }
  .nh-size-option { min-width: 0; padding: 0 10px; }
  .nh-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .nh-story-copy { padding: 42px 25px 48px; }
  .nh-story-media { min-height: 320px; }
  .nh-philosophy { padding: 70px 0; }
  .nh-lifestyle-grid { gap: 30px; }
  .nh-cta { padding-bottom: 65px; }
  .nh-cta-card { padding: 42px 25px; border-radius: 16px; }
}

/* ---------- Collection / catalog ---------- */
.collection { padding: 48px 0 90px; }
.collection__title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; letter-spacing: -.02em; }
.collection__desc { color: var(--nh-ink-soft); max-width: 640px; margin: 0 0 28px; }
.collection-group + .collection-group { margin-top: 64px; }
.collection-group h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 22px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__media { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #f4f1ea; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { font-size: 14px; margin: 6px 0 0; font-weight: 500; font-family: var(--font-body); }
.card__title a { text-decoration: none; }
.card__price { font-size: 14px; font-weight: 600; margin: 0; }
.card__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border: 1px solid var(--nh-line); border-radius: 26px; margin-top: auto; }
.card__buy-label { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.card__buy .nh-size-toggle { margin: 0; }
.card__buy .nh-size-option { min-width: 0; height: 28px; padding: 0 9px; }
.card__add { margin-left: auto; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--nh-ink); color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card__buy { flex-wrap: wrap; border-radius: 16px; padding: 8px; }
  .card__buy-label { display: none; }
  .card__add { margin-left: 0; width: 100%; }
}

/* ---------- Product page ---------- */
.product { padding: 32px 0 90px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product__gallery { display: grid; gap: 12px; position: sticky; top: 84px; }
.product__main { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #f4f1ea; }
.product__main img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; gap: 10px; }
.product__thumb { width: 76px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #f4f1ea; }
.product__thumb.is-active { border-color: var(--nh-ink); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; letter-spacing: -.02em; line-height: 1.05; }
.product__price { font-size: 15px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--nh-ink); }
.product__price s { color: var(--nh-ink-soft); margin-left: 8px; }
.product__label { font-size: 14px; margin: 0 0 10px; }
.variant-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 20px; border: 0; padding: 0; }
.variant-picker input { position: absolute; opacity: 0; pointer-events: none; }
.variant-picker label { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--nh-ink); border-radius: 8px; cursor: pointer; font-size: 14px; transition: .15s ease; }
.variant-picker input:checked + label { background: var(--nh-ink); color: #fff; }
.variant-picker input:focus-visible + label { outline: 2px solid var(--nh-orange); outline-offset: 2px; }
.variant-picker input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.product__buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--nh-ink); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: inherit; }
.qty input { width: 36px; border: 0; text-align: center; font: inherit; background: transparent; color: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__buy-row .nh-btn { flex: 1; }
.product__desc { margin-top: 34px; font-size: 15px; line-height: 1.65; }
.product__desc h3 { font-size: 28px; margin: 0 0 10px; }
.product__desc ul { padding-left: 20px; }
.product__desc p { margin: 0 0 12px; }
.product__desc li p { margin: 0 0 6px; }
.product__trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.product__trust span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--nh-line); border-radius: 999px; padding: 8px 12px; background: var(--nh-paper); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; padding-top: 16px; } .product__gallery { position: static; } }

/* ---------- Content pages ---------- */
.page { padding: 48px 0 90px; }
.page__title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 28px; text-align: center; }
.rte { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.rte h2, .rte h3 { font-family: var(--font-body); margin: 1.6em 0 .5em; }
.rte a { color: var(--nh-ink); }
.notice { max-width: 760px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 12px; background: #eef5ef; border: 1px solid #b9d3c0; }
.notice--error { background: #fdf0ec; border-color: #f0c2b2; }
.form { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 2px solid var(--nh-ink); border-radius: 0; background: var(--bg); color: var(--nh-ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Cart drawer & cart page ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,30,22,.4); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--nh-paper); z-index: 61; transform: translateX(100%); display: flex; flex-direction: column; visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
body.drawer-open .drawer { transform: none; visibility: visible; transition: transform .3s ease; box-shadow: -20px 0 50px rgba(0,0,0,.12); }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--nh-line); }
.drawer__head h2 { margin: 0; font-size: 22px; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--nh-line); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--nh-line); align-items: center; }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 8px; background: #f4f1ea; }
.line__title { font-weight: 600; font-size: 14px; margin: 0; }
.line__title a { text-decoration: none; }
.line__variant { font-size: 13px; color: var(--nh-ink-soft); margin: 2px 0 8px; }
.line .qty { height: 34px; }
.line .qty button { width: 32px; font-size: 15px; }
.line .qty input { width: 28px; }
.line__price { font-weight: 700; font-size: 14px; text-align: right; }
.line__remove { display: block; margin-top: 6px; border: 0; background: none; font-size: 12px; text-decoration: underline; cursor: pointer; color: var(--nh-ink-soft); padding: 0; }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 17px; font-weight: 800; padding-top: 6px; border-top: 1px solid var(--nh-line); }
.muted { color: var(--nh-ink-soft); font-size: 13px; }
.empty-cart { text-align: center; padding: 50px 0; }
.cart-page { padding: 40px 0 90px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.cart-page h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 16px; }
.cart-page h2 { font-size: 24px; margin: 0 0 16px; }
#checkout { scroll-margin-top: 80px; }
.checkout-box { background: var(--nh-paper); border: 1px solid var(--nh-line); border-radius: 18px; padding: 24px; position: sticky; top: 84px; }
.checkout-box .form { max-width: none; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--nh-ink-soft); }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; } .checkout-box { position: static; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; background: var(--nh-ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .25s ease, visibility 0s .25s; z-index: 80; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .25s ease; }

/* ---------- Search ---------- */
.search-box { max-width: 560px; margin: 0 auto 32px; }
.search-box input { width: 100%; padding: 14px 18px; border: 2px solid var(--nh-ink); border-radius: 999px; font: inherit; background: var(--bg); color: var(--nh-ink); }
