:root {
  --wine: #5c1a33;
  --wine-deep: #3d0f21;
  --gold: #c9a24b;
  --gold-soft: #e9d8ad;
  --ivory: #fbf7f0;
  --sand: #f3ebdd;
  --ink: #2a1f22;
  --muted: #6f6266;
  --line: #e6dccb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(61, 15, 33, .10);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--wine-deep); }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; color: var(--gold); margin-bottom: .8em; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid var(--wine); background: var(--wine); color: var(--white); font-weight: 600; font-size: .95rem; transition: .2s; }
.btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn.ghost { background: transparent; color: var(--wine); }
.btn.ghost:hover { background: var(--wine); color: var(--white); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }
.btn.gold:hover { background: #b78f3a; }
.btn.wa { background: #1f9d55; border-color: #1f9d55; }
.btn.wa:hover { background: #178345; border-color: #178345; }
.btn.block { width: 100%; }
.btn.sm { padding: .55em 1em; font-size: .85rem; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 240, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: .55em; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--wine); color: var(--gold-soft); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; display: grid; place-items: center; }
.logo-word { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--wine-deep); letter-spacing: .02em; }
.logo.light .logo-word { color: var(--gold-soft); }
.nav { display: flex; gap: 30px; font-weight: 500; font-size: .95rem; }
.nav a { position: relative; padding: 4px 0; }
.nav a.active, .nav a:hover { color: var(--wine); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.enq-btn { display: flex; align-items: center; gap: .45em; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--wine); background: var(--white); color: var(--wine); font-weight: 600; font-size: .9rem; }
.enq-btn b { background: var(--wine); color: var(--white); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .75rem; padding: 0 6px; }
.menu-btn { display: none; border: 0; background: none; color: var(--wine); padding: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--wine-deep), var(--wine) 60%, #7c2846); color: var(--ivory); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(233, 216, 173, .14) 1px, transparent 0); background-size: 22px 22px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 80px 20px 90px; }
.hero h1 { color: var(--ivory); }
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero p.lead { font-size: 1.12rem; color: rgba(251, 247, 240, .85); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn.ghost { color: var(--ivory); border-color: rgba(251, 247, 240, .6); }
.hero .btn.ghost:hover { background: var(--ivory); color: var(--wine); }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-art .tile { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); border: 1px solid rgba(233, 216, 173, .3); }
.hero-art .tile:nth-child(2) { transform: translateY(36px); }
.hero-art .tile:nth-child(3) { transform: translateY(-12px); }
.hero-art .tile:nth-child(4) { transform: translateY(24px); }

/* Trust strip */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--wine); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }

/* Sections */
section.block { padding: 80px 0; }
section.block.alt { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { max-width: 560px; margin: 0; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .art { aspect-ratio: 4 / 5; }
.cat-card .info { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.cat-card h3 { margin: 0; }
.cat-card .info span { font-size: .85rem; color: var(--muted); }
.arrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--wine); flex-shrink: 0; transition: .2s; }
.cat-card:hover .arrow { background: var(--wine); color: var(--white); border-color: var(--wine); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why { display: flex; gap: 16px; }
.why .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--wine); color: var(--gold-soft); display: grid; place-items: center; flex-shrink: 0; }
.why h3 { font-size: 1.2rem; margin-bottom: .25em; }
.why p { font-size: .92rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: var(--wine-deep); color: var(--ivory); border-radius: 22px; padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ivory); margin: 0 0 .2em; }
.cta-band p { color: rgba(251, 247, 240, .8); margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Catalog */
.page-head { padding: 50px 0 30px; border-bottom: 1px solid var(--line); background: var(--sand); }
.page-head p { max-width: 640px; }
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 36px 20px 80px; }
.filters h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 12px; }
.filter-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.filter-list a { text-align: left; border: 0; background: none; padding: .55em .8em; border-radius: 8px; color: var(--ink); display: flex; justify-content: space-between; font-size: .93rem; }
.filter-list a:hover { background: var(--sand); }
.filter-list a.on { background: var(--wine); color: var(--white); }
.filter-list a small { opacity: .7; }
.search { width: 100%; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; margin-bottom: 24px; }
.search:focus { outline: none; border-color: var(--gold); }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .9rem; color: var(--muted); }
.result-bar select { padding: .5em .8em; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); font: inherit; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .art { aspect-ratio: 4 / 5; position: relative; }
.card .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: var(--white); color: var(--wine); font-size: .7rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.badge.gold { background: var(--gold); color: var(--wine-deep); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card .code { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.card h3 { font-size: 1.22rem; margin: .15em 0 .35em; }
.card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.swatches { display: flex; gap: 6px; margin-bottom: 14px; }
.sw { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.card .row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.moq { font-size: .8rem; color: var(--wine); font-weight: 600; background: var(--sand); padding: .35em .7em; border-radius: 6px; }
.price { font-weight: 600; color: var(--wine-deep); font-size: .95rem; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Product page */
.crumbs { font-size: .85rem; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--wine); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 80px; }
.pdp .gallery { display: grid; gap: 14px; }
.pdp .main-art { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.pdp .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp .thumbs button { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; background: none; aspect-ratio: 1; }
.pdp .thumbs button.on { border-color: var(--wine); }
.pdp h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.spec { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--line); margin: 22px 0; }
.spec div { padding: .7em 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec div:nth-child(odd) { color: var(--muted); }
.opt-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: 18px 0 10px; }
.color-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt { display: flex; align-items: center; gap: .5em; padding: .45em .9em .45em .5em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: .88rem; }
.color-opt.on { border-color: var(--wine); background: var(--sand); }
.color-opt i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.2rem; color: var(--wine); }
.qty input { width: 54px; text-align: center; border: 0; font: inherit; font-weight: 600; background: none; }
.qty input:focus { outline: none; }
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-note { font-size: .88rem; color: var(--muted); }
.pdp .actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pdp .actions .btn { flex: 1; min-width: 200px; }
.note-box { margin-top: 26px; background: var(--sand); border-radius: 12px; padding: 16px 18px; font-size: .9rem; }
.note-box b { color: var(--wine); }

/* Content pages */
.prose { max-width: 760px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 30px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px var(--gold-soft); }
.panel { background: var(--white); border-radius: 18px; border: 1px solid var(--line); padding: 32px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: .82rem; font-weight: 600; color: var(--muted); display: grid; gap: 6px; }
.form input, .form select, .form textarea { padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--ivory); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form textarea { min-height: 110px; resize: vertical; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--wine); display: grid; place-items: center; flex-shrink: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(42, 31, 34, .45); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); z-index: 60; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -20px 0 40px rgba(0, 0, 0, .15); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-x { border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .art { width: 64px; height: 80px; border-radius: 8px; overflow: hidden; }
.line h4 { margin: 0; font-family: var(--serif); font-size: 1.08rem; color: var(--wine-deep); }
.line small { color: var(--muted); display: block; font-size: .8rem; }
.line .qty button { width: 30px; height: 30px; font-size: 1rem; }
.line .qty input { width: 34px; font-size: .9rem; }
.line .rm { border: 0; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 4px 0 0; }
.totals { display: flex; justify-content: space-between; font-size: .92rem; }
.totals b { color: var(--wine-deep); }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }

/* WhatsApp float + toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 157, 85, .4); z-index: 45; transition: .2s; }
.wa-float:hover { transform: scale(1.06); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--wine-deep); color: var(--ivory); padding: .8em 1.4em; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 70; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.footer { background: var(--wine-deep); color: var(--ivory); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 14px; }
.footer a:not(.logo) { display: block; color: rgba(251, 247, 240, .8); font-size: .92rem; margin-bottom: 8px; }
.footer a:not(.logo):hover { color: var(--gold-soft); }
.muted-light { color: rgba(251, 247, 240, .7); font-size: .92rem; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(233, 216, 173, .15); margin-top: 40px; padding: 20px; font-size: .82rem; color: rgba(251, 247, 240, .55); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .two-col, .pdp { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .cat-grid, .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters .filter-list { flex-direction: row; flex-wrap: wrap; }
  .filters .filter-list a { background: var(--white); border: 1px solid var(--line); gap: .4em; }
  .filters .filter-list a.on { background: var(--wine); border-color: var(--wine); color: var(--white); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--ivory); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .menu-btn { display: block; }
  .enq-btn span { display: none; }
  .hero-inner { padding: 50px 16px 70px; }
  .wrap { padding: 0 16px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  section.block { padding: 56px 0; }
  .cat-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card .body { padding: 12px; }
  .card h3 { font-size: 1.05rem; }
  .card .row { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 32px 24px; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .catalog { padding: 24px 16px 60px; }
}

/* ===================== B2B additions ===================== */
.announce { background: var(--wine-deep); color: var(--gold-soft); text-align: center; font-size: .8rem; padding: 7px 12px; letter-spacing: .03em; }
.link { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.mt { margin-top: 18px; }
.err { color: #b3261e; font-size: .8rem; font-weight: 500; }
.ok-text { color: #1f7a45; }
.acct-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; font-size: .92rem; color: var(--wine); }
.nav-mobile-only { display: none; }
.btn.ghost.on-dark { color: var(--ivory); border-color: rgba(251, 247, 240, .6); }
.btn.ghost.on-dark:hover { background: var(--ivory); color: var(--wine); }
.link-btn { border: 0; background: none; padding: 0; color: var(--wine); text-decoration: underline; font-size: .85rem; cursor: pointer; }
.link-btn.light { color: var(--gold-soft); }
.link-btn.muted { color: var(--muted); text-decoration: none; font-size: 1rem; }

.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 12px; font-size: .92rem; background: #eef6f0; border: 1px solid #cfe5d6; color: #1d5a35; }
.flash.error { background: #fbeceb; border-color: #f0c9c6; color: #8c1d18; }
.pending-bar { background: #fff6e0; border-bottom: 1px solid #f0dfae; color: #6b4e00; font-size: .88rem; padding: 10px 0; }

.hero-art .tile, .hero-art.small .tile { aspect-ratio: 4 / 5; display: block; }
.hero-art.small { max-width: 440px; }
.art img, .main-art img, .tile img, .thumbs img, .mini img, .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.filters form { margin: 0; }
.filter-list a small { opacity: .7; }
.price small { font-weight: 400; color: var(--muted); font-size: .8em; }
.price.lock { font-size: .8rem; color: var(--muted); font-weight: 500; }
.stock-tag { position: absolute; bottom: 10px; right: 10px; background: rgba(42, 31, 34, .78); color: #fff; font-size: .7rem; padding: .3em .7em; border-radius: 999px; }
.stock-tag.out { background: #8c1d18; }
.cat-card .arrow { font-size: 1.1rem; }

.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.badge.ok { background: #e3f3e8; color: #1f7a45; }
.price-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 18px 0 4px; }
.price-box .big { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--wine-deep); }
.pdp .spec { margin-top: 26px; }
.qty.sm button { width: 30px; height: 32px; font-size: 1rem; }
.qty.sm input { width: 38px; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 32px 20px 80px; align-items: start; }
.panel.no-pad { padding: 0; overflow: hidden; }
.panel + .panel { margin-top: 20px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl tr.dim td { opacity: .55; }
.tbl tr.foot td { background: var(--ivory); }
.tbl tr.total td { font-weight: 700; color: var(--wine-deep); }
.cart-style { display: flex; gap: 12px; align-items: center; }
.mini { width: 52px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; display: block; }
.qty-form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.summary { position: sticky; top: 90px; display: grid; gap: 10px; }
.summary h3 { margin-bottom: 4px; }
.sumrow { display: flex; justify-content: space-between; font-size: .93rem; }
.sumrow.total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.05rem; color: var(--wine-deep); }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.acct-head .eyebrow a { color: inherit; }
.acct-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.acct-actions form { margin: 0; }
section.block.tight { padding: 32px 0 80px; }
.callout { border-left: 4px solid var(--gold); margin-bottom: 24px; }
.callout.ok { border-left-color: #1f9d55; }
.pill { display: inline-block; padding: .25em .75em; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--sand); color: var(--wine); text-transform: capitalize; }
.pill.approved, .pill.delivered, .pill.paid { background: #e3f3e8; color: #1f7a45; }
.pill.pending, .pill.placed { background: #fff2cc; color: #7a5a00; }
.pill.confirmed, .pill.dispatched { background: #e2ecf8; color: #1d4f91; }
.pill.rejected, .pill.blocked, .pill.cancelled { background: #fbeceb; color: #8c1d18; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 14px 16px; position: relative; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.narrow { max-width: 460px; }
.two-col.top { align-items: start; }
.form .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form .row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.form .span2 { grid-column: span 2; }
.form label em { color: #b3261e; font-style: normal; }
.form label.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); font-weight: 500; }
.form label.check input { width: 18px; height: 18px; }
.form .has-error input { border-color: #d9534f; }
.steps.two { grid-template-columns: 1fr 1fr; margin-top: 30px; }
.faq { max-width: 820px; margin-top: 56px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--wine-deep); }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: .93rem; }

/* ===================== admin ===================== */
.admin-body { background: #f6f1e8; }
.admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--wine-deep); color: var(--ivory); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; }
.admin-tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-side nav a { padding: 10px 12px; border-radius: 8px; color: rgba(251, 247, 240, .82); font-size: .93rem; }
.admin-side nav a:hover { background: rgba(255, 255, 255, .06); }
.admin-side nav a.on { background: rgba(233, 216, 173, .14); color: var(--gold-soft); font-weight: 600; }
.admin-main { padding: 28px 34px 60px; min-width: 0; }
.admin-main h1 { font-size: 2rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-head h1 { margin: 4px 0 6px; }
.btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn-row form { margin: 0; }
.inline-filters { display: flex; gap: 8px; align-items: center; }
.inline-filters input, .inline-filters select { padding: .55em .8em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; background: var(--white); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: block; }
.kpi b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--wine-deep); line-height: 1.1; }
.kpi span { font-size: .82rem; color: var(--muted); }
.kpi.alert { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-bottom: 22px; }
.admin-cols.wide-left { grid-template-columns: 1.6fr 1fr; }
.admin-cols .panel + .panel { margin-top: 0; }
.admin-cols > div > .panel + .panel { margin-top: 20px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-h h3 { margin: 0; font-size: 1.2rem; }
.pad { padding: 16px; }
.scroll-x { overflow-x: auto; }
.thumb { display: block; width: 44px; height: 55px; border-radius: 6px; overflow: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.tabs a { padding: 6px 12px; border-radius: 7px; font-size: .85rem; }
.tabs a.on { background: var(--wine); color: #fff; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: .92rem; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.photo { display: grid; gap: 6px; }
.photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 10px; border: 1px solid var(--line); }
.msg { max-width: 360px; font-size: .88rem; white-space: pre-wrap; }
.nowrap { white-space: nowrap; }
form.inline { display: inline; }
.admin-login-body { background: linear-gradient(135deg, var(--wine-deep), var(--wine)); min-height: 100vh; display: grid; place-items: center; padding: 20px; margin: 0; }
.admin-login { width: min(400px, 100%); }
.admin-login code { display: block; margin-top: 6px; font-size: .85rem; }

/* ===================== invoice ===================== */
.invoice-page { background: #eee; }
.invoice { max-width: 900px; margin: 24px auto; background: #fff; padding: 40px; border-radius: 12px; }
.inv-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.inv-head, .inv-parties, .inv-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inv-head { border-bottom: 2px solid var(--wine); padding-bottom: 18px; margin-bottom: 18px; }
.inv-head h1 { font-size: 1.9rem; margin: 0 0 8px; }
.inv-head .r { text-align: right; }
.invoice h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
.inv-parties p { font-size: .9rem; }
.inv-tbl { margin: 18px 0; font-size: .85rem; }
.inv-tbl th { background: #f6f1e8; }
.inv-tbl td, .inv-tbl th { border: 1px solid #e5ddd0; padding: 8px 10px; }
.inv-totals { margin-left: auto; width: min(320px, 100%); display: grid; gap: 6px; }
.inv-foot { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
@media print {
  .no-print { display: none !important; }
  .invoice-page { background: #fff; }
  .invoice { margin: 0; padding: 0; max-width: none; border-radius: 0; }
}

@media (max-width: 980px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; flex-basis: 100%; }
  .admin-cols, .admin-cols.wide-left { grid-template-columns: 1fr; }
  .form .row4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .nav-mobile-only { display: block; }
  .acct-link span { display: none; }
  .form .row3, .form .row4, .steps.two { grid-template-columns: 1fr; }
  .form .span2 { grid-column: auto; }
  .cart-tbl thead { display: none; }
  .cart-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .cart-tbl td { border: 0; padding: 0; }
  .cart-tbl td:first-child { grid-column: 1 / -1; }
  .admin-main { padding: 20px 16px 50px; }
  .invoice { padding: 20px; margin: 0; border-radius: 0; }
  .inv-head, .inv-parties, .inv-foot { grid-template-columns: 1fr; }
  .inv-head .r { text-align: left; }
  .inv-tbl { display: block; overflow-x: auto; }
}

/* lining digits for numbers in serif headings */
h1, h2, h3, .kpi b, .stat b, .price-box .big, .step::before { font-variant-numeric: lining-nums; }
.admin-cols > * { min-width: 0; }
@media (max-width: 1100px) { .admin-cols.wide-left { grid-template-columns: 1fr; } }
.cart-style small { white-space: normal; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 1.5rem; } }
@media (max-width: 400px) { .topbar-inner { gap: 8px; } .logo-word { font-size: 1.4rem; } .logo-mark { width: 32px; height: 32px; font-size: 1.3rem; } .top-actions { gap: 4px; } .enq-btn { padding: .4em .65em; } .menu-btn { padding: 4px; } .announce { font-size: .72rem; } }
.announce.offer { background: var(--gold); color: var(--wine-deep); font-weight: 600; }
.wa-list { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.wa-list .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.preview-msg { white-space: pre-wrap; background: #e7f6e0; border-radius: 12px; padding: 14px 16px; font-size: .92rem; max-width: 460px; }

/* ---------- payments ---------- */
.pay-panel h3 { margin-bottom: 6px; }
.pay-due { font-size: 1.05rem; margin: 0 0 14px; }
.pay-due b { font-size: 1.5rem; color: var(--wine); margin-left: 6px; font-variant-numeric: lining-nums; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.pay-opt { border: 1px solid rgba(0,0,0,.09); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.pay-opt h4 { margin: 0 0 4px; }
.upi-box { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.upi-qr svg { width: 148px; height: 148px; display: block; border-radius: 8px; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.utr-form { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(0,0,0,.15); }
.utr-form h4 { margin: 0 0 8px; }
.tbl.compact td, .tbl.compact th { padding: 8px 10px; font-size: .88rem; }
.mobile-only { display: none; }
@media (max-width: 760px) { .mobile-only { display: inline-flex; } .upi-qr svg { width: 128px; height: 128px; } }
.pay-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-actions input { width: 140px; padding: .45em .6em; }
.min0 { min-width: 0; }
.pay-panel { min-width: 0; overflow-wrap: anywhere; } .pay-panel input, .pay-panel select { max-width: 100%; min-width: 0; }
.pay-panel .tbl { overflow-wrap: normal; white-space: nowrap; }

/* ---------- whatsapp setup ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 10px; }
.checklist li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .92rem; }
.checklist li span { display: inline-block; width: 1.4em; font-weight: 700; }
.checklist li.ok span { color: #1f7a45; }
.checklist li.todo { color: #7a5a00; }
pre.tpl { white-space: pre-wrap; background: #faf6ef; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 12px 14px; font-size: .88rem; font-family: inherit; }
code.copy { overflow-wrap: anywhere; user-select: all; }
.alerts-list { list-style: none; padding: 0; margin: 0; }
.alerts-list li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .9rem; }

/* ---------- photo manager ---------- */
.photo .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #f3ede4; border: 1px solid var(--line); display: grid; place-items: center; }
.photo .ph img { width: 100%; height: 100%; border: 0; border-radius: 0; }
.photo .ph .none { font-size: .8rem; color: #8a7b6d; }
.photo .src { position: absolute; left: 6px; top: 6px; font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.9); color: #555; }
.photo .src.yours { background: #e3f3e8; color: #1f7a45; }
.photo .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.ph-tools { display: flex; gap: 8px; justify-content: center; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; width: 100%; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Sets + single sizes picker (product page and order list) */
.qty-pick .opt-label .small { font-weight: 400; }
.size-qty { display: flex; flex-wrap: wrap; gap: 8px; }
.size-qty label { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); margin: 0; }
.size-qty input { width: 58px; height: 40px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 600; background: var(--white); -moz-appearance: textfield; }
.size-qty input::-webkit-outer-spin-button, .size-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.size-qty input:focus { outline: none; border-color: var(--wine); }
.size-qty.sm input { width: 44px; height: 32px; font-size: .88rem; }
.qty-total { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.qty-total b { font-size: 1.05rem; }
.qty-total b.err { color: #b3261e; }
.qty-line { display: flex; align-items: center; gap: 8px; }

/* size-wise stock labels */
.stk { font-size: .68rem; font-weight: 600; line-height: 1.2; min-height: 1em; text-align: center; max-width: 64px; }
.stk.ok { color: #2e7d4f; }
.stk.low { color: #b26a00; }
.stk.mto { color: var(--muted); font-weight: 500; }
.stk-note { margin: 8px 0 0; }
.mto-tag { display: inline-block; font-size: .72rem; font-weight: 600; color: #8a5a00; background: #fff4dc; border: 1px solid #f0dfae; border-radius: 999px; padding: 1px 8px; }
