/* ============================================================
   NESH GLAM — Storefront stylesheet
   Palette: ivory/cream · wine · blush · charcoal · gold
   ============================================================ */

:root {
  --ivory: #faf7f2;
  --cream: #f6efe6;
  --blush: #f7e4e6;
  --blush-deep: #e8b4b8;
  --wine: #7a1f2b;
  --wine-dark: #4a1018;
  --wine-soft: #a34453;
  --charcoal: #2b2320;
  --muted: #8a7a76;
  --gold: #c9a227;
  --gold-soft: #d4b06a;
  --line: #eadfd6;
  --white: #ffffff;
  --ok: #2e7d32;
  --danger: #b3261e;
  --warn: #b26a00;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(74, 16, 24, .08);
  --shadow-sm: 0 4px 16px rgba(74, 16, 24, .07);
  --serif: Georgia, 'Times New Roman', 'Playfair Display', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wine-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--charcoal); font-weight: 500; letter-spacing: .3px; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
.container { width: min(1240px, 92vw); margin: 0 auto; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.6rem; } .mb-4 { margin-bottom: 2.4rem; }

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--wine-dark);
  color: #f3e3e0;
  font-size: .8rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 12px;
}
.topbar a { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img.logo { height: 46px; width: auto; }
.brand .brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--wine); letter-spacing: 2px; font-weight: 700; }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav > li { position: relative; list-style: none; }
.main-nav a.nav-link {
  display: block; padding: 10px 13px; font-size: .84rem; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--charcoal); font-weight: 600; border-radius: 8px;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--wine); background: var(--blush); }
.main-nav a.nav-link.admin-nav-link {
  color: var(--wine); font-weight: 700;
  border: 1px solid rgba(122, 31, 43, .3); border-radius: 999px; padding: 9px 16px;
}
.main-nav a.nav-link.admin-nav-link:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.icon-btn.admin-cta { color: var(--wine); background: var(--blush); }
.icon-btn.admin-cta:hover { background: var(--wine); color: #fff; }
.mobile-nav .panel a.admin-nav-link { color: var(--wine); font-weight: 700; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s ease; z-index: 70;
}
.main-nav li:hover .dropdown, .main-nav li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--charcoal); }
.dropdown a:hover { background: var(--cream); color: var(--wine); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  color: var(--charcoal); cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--blush); color: var(--wine); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--wine); color: #fff; font-size: .68rem; display: flex; align-items: center;
  justify-content: center; padding: 0 4px; font-weight: 700;
}
.search-wrap { position: relative; flex: 1; max-width: 340px; }
.search-wrap input {
  width: 100%; padding: 11px 42px 11px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: .92rem; outline: none; transition: border .2s, box-shadow .2s;
}
.search-wrap input:focus { border-color: var(--wine-soft); box-shadow: 0 0 0 3px rgba(122, 31, 43, .1); }
.search-wrap button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 36px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; cursor: pointer; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; z-index: 80; display: none;
}
.search-suggest.open { display: block; }
.search-suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; color: var(--charcoal); border-bottom: 1px solid #f4ece5; }
.search-suggest a:hover, .search-suggest a.active { background: var(--cream); }
.search-suggest img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.search-suggest .s-price { margin-left: auto; font-weight: 700; color: var(--wine); font-size: .9rem; }

.burger { display: none; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
}
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(43, 35, 32, .45); opacity: 0; transition: opacity .25s; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--ivory);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); padding: 22px; overflow-y: auto;
}
.mobile-nav.open { pointer-events: auto; }
.mobile-nav.open .backdrop { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav .panel a { display: block; padding: 13px 6px; border-bottom: 1px solid var(--line); color: var(--charcoal); font-size: 1rem; }
.mobile-nav .close { float: right; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: .84rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all .22s ease; text-align: center;
}
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #3a2e10; }
.btn-gold:hover { filter: brightness(1.05); color: #2a2008; }
.btn-light { background: #fff; color: var(--wine); border-color: #fff; }
.btn-light:hover { background: var(--cream); color: var(--wine-dark); }
.btn-sm { padding: 9px 18px; font-size: .74rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Badges ---------- */
.badge-soft {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .68rem;
  font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
}
.badge-new { background: var(--wine); color: #fff; }
.badge-sale { background: var(--gold-soft); color: #3a2e10; }
.badge-low { background: #fff3d6; color: var(--warn); }
.badge-out { background: #fdecea; color: var(--danger); }
.badge-soft.ok { background: #e7f4e8; color: var(--ok); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(880px 460px at 88% 8%, rgba(201,162,39,.30), transparent 62%),
    radial-gradient(720px 520px at 6% 92%, rgba(232,180,184,.55), transparent 65%),
    linear-gradient(120deg, var(--cream) 0%, var(--blush) 56%, #efcfd2 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(122,31,43,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.7), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  min-height: min(78vh, 660px); padding: 60px 0; position: relative; z-index: 1;
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { letter-spacing: 5px; text-transform: uppercase; font-size: .78rem; color: var(--wine); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ''; width: 42px; height: 1.5px; background: var(--gold); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 16px 0 16px; color: var(--wine-dark); line-height: 1.08; }
.hero h1 .accent { position: relative; display: inline-block; font-style: italic; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .14em;
  background: linear-gradient(90deg, var(--gold), rgba(201,162,39,.25));
  border-radius: 999px; transform: skewX(-18deg);
}
.hero p.lead { font-size: 1.08rem; color: #5d4a48; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas .btn { padding: 14px 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 32px 0 0; padding: 0; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.95); border-radius: 999px; padding: 9px 15px;
  font-size: .82rem; font-weight: 700; color: #5d4a48; box-shadow: 0 3px 14px rgba(74,16,24,.06);
}
.hero-visual { position: relative; z-index: 2; justify-self: end; width: min(100%, 460px); }
.hero-visual .frame {
  border-radius: 230px 230px 26px 26px; overflow: hidden; aspect-ratio: 4/5;
  position: relative; z-index: 2; border: 7px solid rgba(255,255,255,.9);
  box-shadow: 0 34px 70px rgba(74,16,24,.24); background: linear-gradient(160deg, #d9a9ae, #7a1f2b);
}
.hero-visual .frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,16,24,.30), transparent 42%);
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hero-ring {
  position: absolute; inset: 0; transform: translate(18px, -18px); z-index: 1;
  border: 1.5px solid rgba(201,162,39,.85); border-radius: 230px 230px 26px 26px;
}
.hero-blob {
  position: absolute; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.55), transparent 70%);
  bottom: -26px; left: -34px; z-index: 3; pointer-events: none;
}
.hero-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96); border: 1px solid #fff; border-radius: 999px;
  padding: 11px 17px; box-shadow: var(--shadow); font-size: .83rem; font-weight: 700;
  color: var(--wine-dark); white-space: nowrap;
}
.hero-chip .stars { color: var(--gold); letter-spacing: 2px; font-size: .8rem; }
.hero-chip-rating { top: 34px; left: -30px; animation: heroFloat 5.5s ease-in-out infinite; }
.hero-chip-offer { bottom: 42px; right: -22px; background: var(--wine); border-color: transparent; color: #fff; animation: heroFloat 5.5s ease-in-out 1.4s infinite; }
.hero-chip-offer strong { color: var(--gold-soft); }

@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-copy > * { animation: heroRise .7s cubic-bezier(.22,.7,.3,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .07s; }
.hero-copy > *:nth-child(3) { animation-delay: .14s; }
.hero-copy > *:nth-child(4) { animation-delay: .21s; }
.hero-copy > *:nth-child(5) { animation-delay: .28s; }
.hero-visual { animation: heroRise .85s .18s cubic-bezier(.22,.7,.3,1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual, .hero-chip { animation: none !important; }
}

/* ---------- Section headings ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head .eyebrow { letter-spacing: 4px; text-transform: uppercase; font-size: .72rem; color: var(--wine-soft); font-weight: 700; }
.section-head h2 { margin: 6px 0 0; }
.view-all { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; border-bottom: 1.5px solid var(--wine); padding-bottom: 3px; }

/* ---------- Category tiles (horizontal scroller) ---------- */
.cat-grid {
  display: flex; flex-wrap: nowrap; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--wine-soft) transparent;
}
.cat-grid::-webkit-scrollbar { height: 6px; }
.cat-grid::-webkit-scrollbar-thumb { background: var(--wine-soft); border-radius: 99px; }
.cat-grid::-webkit-scrollbar-track { background: transparent; }
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  flex: 0 0 190px; scroll-snap-align: start;
  background: linear-gradient(150deg, var(--blush), var(--cream)); box-shadow: var(--shadow-sm);
  display: block; transition: transform .25s ease, box-shadow .25s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile .label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.92);
  border-radius: 10px; padding: 9px 10px; text-align: center; font-family: var(--serif);
  font-size: .95rem; color: var(--wine-dark);
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; position: relative; display: flex; flex-direction: column; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-card .media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.p-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, opacity .35s ease; }
.p-card:hover .media img { transform: scale(1.05); }
.p-card .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.p-card .wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--wine); transition: all .2s; opacity: 0; transform: translateY(-4px);
}
.p-card:hover .wish { opacity: 1; transform: translateY(0); }
.p-card .wish.on { opacity: 1; transform: none; background: var(--wine); color: #fff; }
.p-card .quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(10px);
  transition: all .28s ease; z-index: 2;
}
.p-card:hover .quick { opacity: 1; transform: translateY(0); }
.p-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.p-card .cat { font-size: .7rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.p-card .name { font-family: var(--serif); font-size: 1.05rem; color: var(--charcoal); line-height: 1.35; }
.p-card .name a { color: inherit; }
.p-card .name a:hover { color: var(--wine); }
.p-card .price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.price-now { font-weight: 800; color: var(--wine); font-size: 1.05rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .88rem; }
.stock-note { font-size: .75rem; }
.stock-note.low { color: var(--warn); }
.stock-note.out { color: var(--danger); }

/* ---------- Banners ---------- */
.banner {
  border-radius: 20px; padding: 44px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--wine-dark), var(--wine) 60%, #9c3a4a);
}
.banner h2, .banner h3 { color: #fff; }
.banner p { color: #f3dedc; max-width: 52ch; }
.banner.gold { background: linear-gradient(120deg, #8a6d1f, var(--gold-soft)); color: #2f2408; }
.banner.gold h2, .banner.gold h3, .banner.gold p { color: #2f2408; }
.banner-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }

.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.info-card .ico { font-size: 1.6rem; margin-bottom: 8px; }
.info-card h4 { margin: 0 0 6px; font-size: 1.02rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review-card blockquote { margin: 10px 0; font-family: var(--serif); font-style: italic; color: #4c3f3c; }
.review-card .who { font-weight: 700; font-size: .88rem; }
.review-card .prod { font-size: .8rem; color: var(--muted); }

/* ---------- Newsletter / social ---------- */
.newsletter { background: var(--wine-dark); color: #f6e7e4; border-radius: 20px; padding: 46px; text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 20px auto 0; }
.newsletter input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 0; font-size: .95rem; }
.social-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-dark); color: #e9d5d2; margin-top: 70px; padding: 60px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #e9d5d2; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; text-align: center; font-size: .8rem; color: #c9a9a5; }
.footer-bottom .credit { display: block; margin-top: 6px; }
.footer-bottom a { display: inline; color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
.footer-brand img { height: 54px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .95; }

/* ---------- Flash messages ---------- */
.flash { padding: 14px 18px; border-radius: 12px; margin: 18px 0; font-size: .93rem; display: flex; gap: 10px; align-items: center; }
.flash-success { background: #e7f4e8; color: var(--ok); border: 1px solid #c8e6c9; }
.flash-error { background: #fdecea; color: var(--danger); border: 1px solid #f3c2c2; }
.flash-info { background: #eaf1fb; color: #1d4f91; border: 1px solid #c9dcf5; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.filters h4 { margin: 0 0 10px; font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; }
.filters .group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filters .group:last-child { border-bottom: 0; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: .9rem; cursor: pointer; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; cursor: pointer; }
.chip.on, .chip:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select, .toolbar input { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; }
.pagination .current { background: var(--wine); color: #fff; border-color: var(--wine); }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.gallery .main-img { border-radius: 18px; overflow: hidden; background: var(--cream); aspect-ratio: 1; border: 1px solid var(--line); }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--cream); }
.gallery .thumbs button.on { border-color: var(--wine); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: .72rem; color: var(--wine-soft); font-weight: 700; }
.pd-info h1 { margin: 8px 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pd-price .now { font-size: 1.7rem; font-weight: 800; color: var(--wine); }
.pd-price .was { color: var(--muted); text-decoration: line-through; }
.opt-group { margin: 20px 0; }
.opt-group .label { font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.opt-group .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: .88rem; transition: all .18s;
}
.opt.on { border-color: var(--wine); background: var(--wine); color: #fff; }
.opt:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; gap: 14px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--wine); }
.qty input { width: 54px; border: 0; text-align: center; font-size: 1rem; outline: none; background: none; }
.pd-meta { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: .9rem; color: var(--muted); }
.pd-meta strong { color: var(--charcoal); }
.tabs { margin-top: 50px; }
.tabs .tab-bar { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); flex-wrap: wrap; }
.tabs .tab-bar button {
  padding: 13px 22px; border: 0; background: none; cursor: pointer; font-size: .84rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
}
.tabs .tab-bar button.on { color: var(--wine); border-color: var(--wine); }
.tabs .tab-pane { display: none; padding: 26px 4px; }
.tabs .tab-pane.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { width: 200px; font-weight: 700; }
.review-item { border-bottom: 1px solid var(--line); padding: 18px 0; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: 34px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.cart-row .name { font-family: var(--serif); font-size: 1.05rem; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.summary-row.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.15rem; }
.checkout-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 34px; align-items: start; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.card-panel h3 { margin-top: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .6px; margin-bottom: 6px; color: #4c3f3c; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fffdfb;
  font-size: .95rem; font-family: var(--sans); transition: border .2s, box-shadow .2s; color: var(--charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine-soft); box-shadow: 0 0 0 3px rgba(122,31,43,.09); }
.field .help { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; margin-bottom: 10px; transition: all .18s; background: #fff; }
.radio-card:hover { border-color: var(--wine-soft); }
.radio-card.on { border-color: var(--wine); background: var(--blush); }
.radio-card input { margin-top: 4px; accent-color: var(--wine); }
.radio-card .rc-title { font-weight: 700; }
.radio-card .rc-sub { font-size: .84rem; color: var(--muted); }
.radio-card .rc-price { margin-left: auto; font-weight: 800; color: var(--wine); }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.account-nav a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--charcoal); font-size: .93rem; }
.account-nav a:hover, .account-nav a.active { background: var(--blush); color: var(--wine); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-card .n { font-size: 1.6rem; font-weight: 800; color: var(--wine); font-family: var(--serif); }
.stat-card .l { font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

/* ---------- Tables (orders etc.) ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; padding: 13px 16px; background: var(--cream); font-size: .74rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }

/* ---------- Order timeline ---------- */
.timeline { display: flex; gap: 0; margin: 22px 0; flex-wrap: wrap; }
.timeline .step { flex: 1; min-width: 110px; text-align: center; position: relative; padding-top: 30px; font-size: .8rem; }
.timeline .step::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 15px; height: 15px; border-radius: 50%; background: var(--line); border: 2px solid #fff; z-index: 2;
}
.timeline .step::after { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline .step:first-child::after { display: none; }
.timeline .step.done::before, .timeline .step.done::after { background: var(--wine); }
.timeline .step.done { color: var(--wine); font-weight: 700; }
.timeline .step.current::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(201,162,39,.25); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--charcoal); color: #fff; padding: 13px 20px; border-radius: 12px; box-shadow: var(--shadow); font-size: .9rem; animation: slideIn .3s ease; max-width: 340px; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--ok); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--cream), var(--blush)); padding: 52px 0 44px; text-align: center; }
.page-hero h1 { margin: 0 0 8px; }
.page-hero p { margin: 0; color: var(--muted); }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .big { font-size: 3rem; margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .search-wrap.desk { display: none; }
  .burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0; text-align: center; gap: 44px; }
  .hero-copy { max-width: none; }
  .hero .eyebrow { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero p.lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 10px auto 0; justify-self: center; }
  .hero-chip-rating { left: -8px; top: 26px; }
  .hero-chip-offer { right: -8px; bottom: 34px; }
  .product-layout, .cart-layout, .checkout-layout, .account-layout, .banner-split { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .section { padding: 44px 0; }
  .header-inner { gap: 10px; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { gap: 12px; margin-inline: -4vw; padding-inline: 4vw; }
  .cat-tile { flex: 0 0 150px; }
  .p-card .body { padding: 12px; }
  .p-card .name { font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row .price-cell { grid-column: 2; }
  .newsletter form { flex-direction: column; }
  .newsletter { padding: 32px 20px; }
  .banner { padding: 28px 22px; }
  .hero-visual { max-width: 330px; }
  .hero-chip { padding: 9px 13px; font-size: .74rem; }
  .hero-chip-rating { left: -6px; top: 18px; }
  .hero-chip-offer { right: -6px; bottom: 26px; max-width: 74vw; white-space: normal; }
  .hero-ctas .btn { flex: 1 1 auto; text-align: center; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .toast-wrap, .no-print { display: none !important; }
  body { background: #fff; }
}
