/* Dresarino — glavna stilska datoteka */

:root {
  --forest: oklch(24% 0.045 155);
  --forest-d: oklch(17% 0.04 155);
  --sage: oklch(63% 0.05 140);
  --sage-d: oklch(50% 0.05 140);
  --cream: oklch(97% 0.012 85);
  --sand: oklch(89% 0.035 78);
  --terracotta: oklch(60% 0.13 42);
  --terracotta-d: oklch(50% 0.13 42);
  --white: oklch(99% 0.003 85);
  --graphite: oklch(32% 0.008 260);
  --ink: oklch(22% 0.01 260);
  --line: oklch(85% 0.02 85);
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--terracotta); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: var(--font-sans); }
::placeholder { color: oklch(55% 0.01 260 / 0.6); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap-article { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link { position:absolute; left:-999px; top:0; background:var(--forest); color:var(--white); padding:10px 16px; z-index:999; }
.skip-link:focus { left:12px; top:12px; }

/* Top bar */
.topbar { background: var(--forest); color: var(--white); }
.topbar-row {
  max-width: 1280px; margin: 0 auto; padding: 8px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; gap: 16px; flex-wrap: wrap;
}
.topbar-row .muted { opacity: .85; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { opacity: .9; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.header-row {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: none; }
.logo-mark {
  display: inline-block; width: 16px; height: 22px; background: var(--sage);
  border-radius: 0 60% 0 60%; transform: rotate(8deg);
}
.logo-word { font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: .2px; }
.main-nav { display: none; gap: 24px; font-size: 14.5px; font-weight: 500; flex: 1; }
.main-nav a { white-space: nowrap; }
.header-spacer { flex: 1; }
.search-form {
  display: flex; align-items: center; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 6px 14px; gap: 8px; min-width: 0; width: 220px;
}
.search-form input {
  border: none; outline: none; background: transparent; font-size: 13px; width: 100%; color: var(--ink);
}
.search-dot { width: 8px; height: 8px; border: 2px solid var(--graphite); border-radius: 50%; flex: none; opacity: .6; }
.burger {
  background: none; border: none; cursor: pointer; padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .burger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--white);
  padding: 24px; overflow: auto; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu-close { background: none; border: none; font-size: 26px; cursor: pointer; line-height: 1; }
.mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--forest); color: var(--white); padding: 20px 24px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25); display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-row {
  max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 16px; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 640px; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline-light {
  background: transparent; color: var(--white); border: 1px solid oklch(99% 0.003 85 / 0.4);
  padding: 10px 16px; border-radius: 2px; font-size: 13px; cursor: pointer;
}
.btn-terracotta {
  background: var(--terracotta); color: var(--white); border: none;
  padding: 10px 18px; border-radius: 2px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.cookie-modal {
  position: fixed; inset: 0; z-index: 220; background: rgba(20,20,15,.5);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal.open { display: flex; }
.cookie-modal-card {
  background: var(--white); max-width: 480px; width: 100%; border-radius: 4px;
  padding: 28px; max-height: 86vh; overflow: auto;
}
.cookie-modal-card h3 { margin: 0 0 6px; font-size: 22px; }
.cookie-modal-card > p { font-size: 13px; color: var(--graphite); margin: 0 0 18px; }
.cookie-cat-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cookie-cat-row .label { font-weight: 600; font-size: 14px; }
.cookie-cat-row .desc { font-size: 12px; color: var(--graphite); margin-top: 2px; }
.cookie-cat-row input { width: 20px; height: 20px; accent-color: var(--forest); margin-top: 2px; }
.cookie-modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie-modal-actions button {
  flex: 1; padding: 12px; border-radius: 2px; cursor: pointer; font-size: 13px;
}
.btn-ghost { background: var(--cream); border: 1px solid var(--line); }
.btn-forest { background: var(--forest); color: var(--white); border: none; font-weight: 600; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 2px; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 14px 26px; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-secondary { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-accent { background: var(--terracotta); color: var(--white); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); padding: 64px 24px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; align-items: center; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12.5px; color: var(--forest); font-weight: 600; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 14px 0 18px; }
.hero p { font-size: 17px; line-height: 1.6; color: var(--graphite); max-width: 460px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { aspect-ratio: 5/4; border-radius: 6px; overflow: hidden; background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; }
  .hero h1 { font-size: 52px; }
}

/* Sections */
section.section { max-width: 1280px; margin: 0 auto; padding: 56px 24px 8px; }
.section-tight { padding-top: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.section h2 { font-size: 26px; margin: 0; }
.section-lead h2 { font-size: 30px; margin: 0 0 24px; }
.more-link { font-size: 13px; font-weight: 600; color: var(--forest); cursor: pointer; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 16px; }
.cat-card { cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.cat-card .thumb { aspect-ratio: 4/3; background: var(--sand); overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .name { padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 18px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 5px;
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}
.prod-card .thumb { aspect-ratio: 1; background: var(--sand); position: relative; overflow: hidden; }
.prod-card .thumb-link { display: block; width: 100%; height: 100%; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body-link { display: block; }
.prod-card .body { padding: 12px 14px 4px; flex: 1; }
.prod-card .cat-label { font-size: 11px; color: var(--graphite); text-transform: uppercase; letter-spacing: .3px; }
.prod-card .name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-top: 3px; }
.prod-card .net { font-size: 11.5px; color: var(--graphite); margin-top: 4px; }
.prod-card .foot { padding: 8px 14px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.prod-card .price { font-size: 15px; font-weight: 700; color: var(--terracotta-d); }
.prod-card .unit { font-size: 10.5px; color: var(--graphite); }
.prod-card .add-btn {
  background: var(--forest); color: var(--white); border: none; padding: 8px 12px;
  border-radius: 2px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.wish-btn {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: oklch(99% 0.003 85 / 0.85); cursor: pointer; font-size: 14px; color: var(--graphite);
}
.wish-btn.active { color: var(--terracotta); }
.out-of-stock-badge {
  position: absolute; bottom: 8px; left: 8px; background: var(--graphite); color: var(--white);
  font-size: 10px; padding: 3px 7px; border-radius: 2px;
}

/* Shop layout */
.shop-crumb { font-size: 12.5px; color: var(--graphite); margin-bottom: 14px; }
.shop-title { font-size: 30px; margin: 0 0 22px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.chip.active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.shop-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 220px minmax(0,1fr); } }
.filters { display: flex; flex-direction: column; gap: 22px; }
.filter-block .filter-title { font-weight: 600; font-size: 13.5px; margin-bottom: 10px; }
.filter-block label { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 8px; cursor: pointer; }
.filter-block input { accent-color: var(--forest); }
.reset-btn { background: none; border: 1px solid var(--line); padding: 9px; border-radius: 2px; font-size: 12.5px; cursor: pointer; }
.results-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.results-count { font-size: 13px; color: var(--graphite); }
.sort-select { border: 1px solid var(--line); background: var(--white); padding: 8px 10px; font-size: 13px; border-radius: 2px; }
.no-results { color: var(--graphite); padding: 40px 0; text-align: center; }

/* Product detail */
.product-detail { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; }
.back-link { font-size: 12.5px; color: var(--graphite); margin-bottom: 20px; cursor: pointer; display: inline-block; }
.product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
@media (min-width: 860px) { .product-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; } }
.product-photo { aspect-ratio: 1; border-radius: 5px; overflow: hidden; background: var(--sand); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-meta { font-size: 12px; text-transform: uppercase; color: var(--graphite); letter-spacing: .4px; }
.product-title { font-size: 30px; margin: 10px 0 8px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.badge { background: var(--sage); color: var(--white); font-size: 11px; padding: 4px 10px; border-radius: 12px; }
.product-desc { font-size: 14.5px; line-height: 1.6; color: var(--graphite); margin: 0 0 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.price-big { font-size: 28px; font-weight: 700; color: var(--terracotta-d); }
.price-unit { font-size: 13px; color: var(--graphite); }
.stock-label { font-size: 13px; margin-bottom: 20px; font-weight: 600; }
.stock-label.in { color: var(--sage-d); }
.stock-label.out { color: var(--terracotta-d); }
.buy-row { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
.qty-box button { width: 38px; height: 44px; background: none; border: none; font-size: 16px; cursor: pointer; }
.qty-box .qty-val { width: 36px; text-align: center; font-size: 14px; }
.add-cart-btn { flex: 1; min-width: 160px; background: var(--forest); color: var(--white); border: none; padding: 0 20px; height: 44px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.wish-toggle-btn { width: 52px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 2px; cursor: pointer; font-size: 18px; color: var(--graphite); }
.wish-toggle-btn.active { color: var(--terracotta); }
.spec-grid { border-top: 1px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: 1fr; gap: 10px; font-size: 12.5px; }
@media (min-width: 500px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
.info-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 20px; }
.info-card h3 { font-size: 14px; margin: 0 0 10px; font-weight: 700; font-family: var(--font-sans); }
.info-card p { font-size: 13px; line-height: 1.6; color: var(--graphite); margin: 0; }
.nutri-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.related-block { margin-top: 52px; }
.related-block h2 { font-size: 24px; margin: 0 0 18px; }

/* Recipe / article cards */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 22px; }
.recipe-card { cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.recipe-card .thumb { aspect-ratio: 4/3; background: var(--sage); overflow: hidden; }
.recipe-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card .body { padding: 14px; }
.recipe-card .tag { font-size: 11px; color: var(--graphite); text-transform: uppercase; }
.recipe-card .title { font-size: 15px; font-weight: 600; margin-top: 5px; line-height: 1.3; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; }
.article-card { cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.article-card .tag { font-size: 11px; color: var(--terracotta-d); text-transform: uppercase; font-weight: 600; }
.article-card .title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.3; }
.article-card p { font-size: 13.5px; color: var(--graphite); line-height: 1.5; margin: 0; }

/* Recipe / article detail */
.recipe-detail, .article-detail { max-width: 820px; margin: 0 auto; padding: 32px 24px 64px; }
.article-detail { max-width: 740px; }
.recipe-detail .tag, .article-detail .tag { font-size: 12px; color: var(--terracotta-d); text-transform: uppercase; font-weight: 600; }
.recipe-detail h1, .article-detail h1 { font-size: 32px; margin: 8px 0 14px; }
.recipe-meta { display: flex; gap: 18px; font-size: 13px; color: var(--graphite); margin-bottom: 22px; }
.recipe-photo, .article-photo { aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; background: var(--sand); margin-bottom: 24px; }
.recipe-photo img, .article-photo img { width: 100%; height: 100%; object-fit: cover; }
.recipe-intro { font-size: 15px; line-height: 1.7; color: var(--graphite); margin: 0 0 28px; }
.ingredient-list { margin-bottom: 28px; }
.ingredient-row { display: flex; gap: 8px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ingredient-row .bullet { color: var(--forest); }
.step-row { display: flex; gap: 14px; margin-bottom: 14px; }
.step-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--white);
  font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step-row p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--ink); }
.recipe-products { margin-top: 32px; }
.recipe-products h3 { font-size: 16px; margin: 0 0 12px; font-family: var(--font-sans); }
.recipe-product-chips { display: flex; gap: 14px; flex-wrap: wrap; }
.recipe-product-chip { cursor: pointer; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; background: var(--white); font-size: 13px; font-weight: 600; }
.recipe-product-chip .dot { width: 34px; height: 34px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.recipe-product-chip .dot img { width:100%; height:100%; object-fit:cover; }
.article-detail p.body-p { font-size: 15.5px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }

/* Simple page (o nas, kontakt) */
.simple-page { max-width: 820px; margin: 0 auto; padding: 48px 24px 64px; }
.simple-page h1 { font-size: 32px; margin: 0 0 22px; }
@media (min-width: 640px) { .simple-page h1 { font-size: 36px; } }
.simple-page p { font-size: 16px; line-height: 1.75; margin: 0 0 20px; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 22px; font-size: 13px; color: var(--graphite); line-height: 1.6; }

/* Contact */
.contact-page { max-width: 1000px; margin: 0 auto; padding: 48px 24px 64px; }
.contact-page h1 { font-size: 34px; margin: 0 0 8px; }
.contact-lead { color: var(--graphite); font-size: 14.5px; margin: 0 0 32px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); } }
.contact-info { font-size: 14px; line-height: 1.8; }
.contact-info h3 { font-size: 15px; margin: 0 0 10px; font-family: var(--font-sans); }
.contact-info p { margin: 0 0 18px; color: var(--graphite); }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 500px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form input, .contact-form textarea {
  padding: 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 13.5px; width: 100%;
}
.contact-form .span2 { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.consent-row { display: flex; gap: 8px; font-size: 12.5px; color: var(--graphite); }
.consent-row input { margin-top: 2px; accent-color: var(--forest); }
.file-row { font-size: 12px; color: var(--graphite); }
.submit-btn { background: var(--forest); color: var(--white); border: none; padding: 14px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.form-success { background: var(--sage); color: var(--white); border-radius: 5px; padding: 28px; font-size: 15px; line-height: 1.6; }

/* Account */
.account-page { max-width: 480px; margin: 0 auto; padding: 48px 24px 64px; }
.account-page h1 { font-size: 30px; margin: 0 0 22px; text-align: center; }
.account-tabs { display: flex; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 4px; margin-bottom: 24px; }
.account-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 20px; font-size: 13.5px; font-weight: 600; }
.account-tabs a.active { background: var(--forest); color: var(--white); }
.account-form { display: flex; flex-direction: column; gap: 12px; }
.account-form input { padding: 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 13.5px; }
.account-form button { background: var(--forest); color: var(--white); border: none; padding: 13px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.account-hint { font-size: 12.5px; color: var(--graphite); text-align: center; }
.account-msg { background: var(--sage); color: var(--white); border-radius: 5px; padding: 16px; font-size: 13.5px; margin-bottom: 18px; }

/* Wishlist / cart */
.list-page { max-width: 980px; margin: 0 auto; padding: 48px 24px 64px; }
.list-page.cart-page { max-width: 1020px; }
.list-page h1 { font-size: 32px; margin: 0 0 24px; }
.empty-note { color: var(--graphite); font-size: 14.5px; }
.empty-note a, .empty-note .link { color: var(--forest); cursor: pointer; font-weight: 600; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 18px; }
.wish-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.wish-card .thumb { aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.wish-card .thumb img { width:100%; height:100%; object-fit:cover; }
.wish-card .body { padding: 12px 14px; }
.wish-card .name { font-size: 14px; font-weight: 600; }
.wish-card .price { font-size: 14px; color: var(--terracotta-d); font-weight: 700; margin: 4px 0 10px; }
.wish-card .actions { display: flex; gap: 8px; }
.wish-card .actions button { flex: 1; border-radius: 2px; padding: 8px; font-size: 12px; cursor: pointer; }
.wish-card .add { flex: 1; background: var(--forest); color: var(--white); border: none; }
.wish-card .remove { border: 1px solid var(--line); background: none; flex: 0 0 auto; }

.cart-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; align-items: start; }
@media (min-width: 860px) { .cart-layout { grid-template-columns: minmax(0,1fr) 300px; } }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 72px minmax(0,1fr) auto auto; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 12px;
}
.cart-line .thumb { width: 72px; height: 72px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.cart-line .thumb img { width:100%; height:100%; object-fit:cover; }
.cart-line .name { font-size: 14px; font-weight: 600; }
.cart-line .sub { font-size: 12px; color: var(--graphite); margin-top: 2px; }
.cart-line .qty-box { margin-top: 8px; width: fit-content; }
.cart-line .total { font-size: 14px; font-weight: 700; color: var(--terracotta-d); white-space: nowrap; }
.cart-line .remove { background: none; border: none; font-size: 16px; cursor: pointer; color: var(--graphite); }
.continue-btn { align-self: flex-start; background: none; border: 1px solid var(--line); padding: 10px 16px; border-radius: 2px; font-size: 13px; cursor: pointer; margin-top: 6px; }
.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 20px; position: sticky; top: 90px; }
.summary-box h3 { font-size: 15px; margin: 0 0 14px; font-family: var(--font-sans); }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 8px; }
.summary-total .val { color: var(--terracotta-d); }
.checkout-btn { width: 100%; background: var(--forest); color: var(--white); border: none; padding: 14px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 16px; }

/* Checkout */
.checkout-page { max-width: 820px; margin: 0 auto; padding: 48px 24px 64px; }
.checkout-page h1 { font-size: 30px; margin: 0 0 24px; }
.checkout-steps { display: flex; gap: 10px; margin-bottom: 32px; font-size: 12.5px; }
.checkout-steps .step { flex: 1; text-align: center; padding-bottom: 10px; border-bottom: 3px solid var(--line); color: var(--graphite); font-weight: 600; }
.checkout-steps .step.active, .checkout-steps .step.done { border-color: var(--forest); color: var(--forest); }
.checkout-panel h3 { font-size: 16px; margin: 0 0 14px; font-family: var(--font-sans); }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
@media (min-width: 560px) { .checkout-grid { grid-template-columns: 1fr 1fr; } }
.checkout-grid input { padding: 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 13.5px; width: 100%; }
.ship-option, .pay-option {
  display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 4px;
  padding: 14px; cursor: pointer; background: var(--white); margin-bottom: 10px; gap: 10px; font-size: 13.5px;
}
.ship-option input, .pay-option input { accent-color: var(--forest); }
.ship-price { font-weight: 600; white-space: nowrap; }
.checkout-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.checkout-actions .btn-next { background: var(--forest); color: var(--white); border: none; padding: 14px 24px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.checkout-actions .btn-back { background: none; border: 1px solid var(--line); padding: 14px 24px; border-radius: 2px; font-size: 14px; cursor: pointer; }
.checkout-actions .btn-place { background: var(--terracotta); color: var(--white); border: none; padding: 14px 24px; border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }
.review-box { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 18px; margin-bottom: 18px; }
.review-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.review-sum { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; }
.review-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; padding: 12px 0 0; border-top: 1px solid var(--line); margin-top: 6px; }
.review-total .val { color: var(--terracotta-d); }
.confirm-box { text-align: center; padding: 40px 0; }
.confirm-check { width: 60px; height: 60px; border-radius: 50%; background: var(--sage); color: var(--white); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-box h2 { font-size: 26px; margin: 0 0 10px; }
.confirm-box p { color: var(--graphite); font-size: 14.5px; margin: 0 0 6px; }
.confirm-box .hint { font-size: 14px; max-width: 440px; margin: 0 auto 24px; }

/* FAQ */
.faq-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.faq-page h1 { font-size: 32px; margin: 0 0 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
  cursor: pointer; font-size: 14.5px; font-weight: 600; background: none; border: none; width: 100%; text-align: left; color: var(--ink);
}
.faq-q .icon { font-size: 18px; color: var(--graphite); }
.faq-a { font-size: 13.5px; line-height: 1.6; color: var(--graphite); margin: 0 0 16px; display: none; }
.faq-item.open .faq-a { display: block; }

/* Legal */
.legal-page { max-width: 1180px; margin: 0 auto; padding: 40px 24px 64px; display: grid; grid-template-columns: minmax(0,1fr); gap: 36px; align-items: start; }
@media (min-width: 900px) { .legal-page { grid-template-columns: 240px minmax(0,1fr); } }
.legal-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.legal-nav a { padding: 10px 12px; border-radius: 3px; font-size: 13px; }
.legal-nav a.active { background: var(--white); color: var(--forest); font-weight: 700; border: 1px solid var(--line); }
.legal-content h1 { font-size: 30px; margin: 0 0 22px; }
.legal-section { margin-bottom: 22px; }
.legal-section h3 { font-size: 15px; margin: 0 0 8px; font-family: var(--font-sans); }
.legal-section p { font-size: 13.5px; line-height: 1.7; color: var(--graphite); margin: 0; white-space: pre-line; }

/* Gift banner */
.gift-banner { background: var(--forest); color: var(--white); margin-top: 56px; padding: 64px 24px; }
.gift-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; align-items: center; }
@media (min-width: 860px) { .gift-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; } }
.gift-grid h2 { font-size: 30px; margin: 0 0 14px; }
.gift-grid p { font-size: 15px; line-height: 1.6; opacity: .9; max-width: 440px; margin: 0 0 22px; }
.gift-photo { aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: oklch(99% 0.003 85 / 0.15); border: 1px solid oklch(99% 0.003 85 / 0.3); }
.gift-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--forest-d); color: var(--white); margin-top: 24px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 52px 24px 24px;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 32px;
}
.footer-brand .logo-word { font-size: 22px; }
.footer-brand p { font-size: 13px; line-height: 1.6; opacity: .8; margin: 12px 0 0; max-width: 220px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; opacity: .7; margin: 0 0 14px; }
.footer-col a, .footer-col div { display: block; font-size: 13.5px; opacity: .9; margin-bottom: 9px; }
.footer-col.legal a { font-size: 13px; opacity: .85; margin-bottom: 8px; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px; border-top: 1px solid oklch(99% 0.003 85 / 0.15);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; opacity: .75;
}

/* Utility */
.mt-0 { margin-top: 0; }
