:root {
  --cream: #FAF6EF;
  --paper: #FFFFFF;
  --sand: #F1E9DC;
  --line: #E6DCCB;
  --ink: #1D2A33;
  --muted: #5E6B73;
  --indigo: #1F3A4D;
  --indigo-2: #2A4F68;
  --gold: #C9962E;
  --gold-deep: #A67A1F;
  --green: #2E7D4F;
  --red: #B23A3A;
  --wa: #1FA855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 42, 51, .06), 0 8px 24px rgba(29, 42, 51, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tamil { font-family: "Noto Sans Tamil", var(--sans); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }
h1, h2, h3 { font-family: var(--serif); color: var(--indigo); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.eyebrow { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin: 0 0 .5rem; }
.lead { color: var(--muted); max-width: 60ch; }

/* ---------- top strip & header ---------- */
.strip { background: var(--indigo); color: #F4ECDD; font-size: .82rem; }
.strip .wrap { display: flex; gap: 12px; justify-content: center; align-items: center; min-height: 34px; flex-wrap: wrap; text-align: center; }
.strip a { color: #F4ECDD; text-decoration: none; }
.strip .soon { background: var(--gold); color: #1D2A33; font-weight: 700; padding: 2px 10px; border-radius: 99px; font-size: .75rem; letter-spacing: .02em; }
header.top { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 239, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.brand img { height: 42px; width: auto; }
nav.main { display: flex; gap: 22px; margin-left: 28px; }
nav.main a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
nav.main a:hover { color: var(--gold-deep); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9rem; }
.icon-btn svg { width: 20px; height: 20px; flex: none; }
/* Running cart total, always top-right */
.cart-pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 10px; border-radius: 99px; background: var(--indigo); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.cart-pill .bag { position: relative; display: grid; place-items: center; }
.cart-pill svg { width: 22px; height: 22px; }
.cart-pill .count { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: #1D2A33; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-pill .sum { display: flex; flex-direction: column; line-height: 1.1; }
.cart-pill .sum small { font-size: .66rem; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.cart-pill .sum b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.cart-pill.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
@media (max-width: 900px) {
  nav.main { display: none; }
  .icon-btn .lbl { display: none; }
  .icon-btn { padding: 0 10px; }
  .brand img { height: 34px; }
}
@media (max-width: 380px) { .cart-pill .sum small { display: none; } .cart-pill { padding: 0 10px 0 8px; gap: 8px; } }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid transparent; font-weight: 600; text-decoration: none; background: var(--indigo); color: #fff; transition: background .15s, transform .1s; }
.btn:hover { background: var(--indigo-2); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: #1D2A33; }
.btn.gold:hover { background: #D6A640; }
.btn.ghost { background: transparent; border-color: var(--indigo); color: var(--indigo); }
.btn.ghost:hover { background: rgba(31, 58, 77, .06); }
.btn.wa { background: var(--wa); }
.btn.wa:hover { background: #18914A; }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
label.field { display: block; margin-bottom: 14px; }
label.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.input, textarea.input, select.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-size: 1rem; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(31, 58, 77, .12); }
.form-error { color: var(--red); font-size: .9rem; min-height: 1.3em; margin: 4px 0 10px; }
.hint { color: var(--muted); font-size: .85rem; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); height: 40px; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.2rem; color: var(--indigo); border-radius: 99px; }
.qty button:hover { background: var(--sand); }
.qty input { width: 40px; border: 0; text-align: center; background: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .3em; }
.hero h1 em { color: var(--gold-deep); font-style: italic; }
.hero .lead { font-size: 1.08rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-img { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .tag { position: absolute; left: 14px; bottom: 14px; background: rgba(250, 246, 239, .95); border-radius: 12px; padding: 10px 14px; font-size: .85rem; box-shadow: var(--shadow); }
.hero-img .tag b { display: block; font-family: var(--serif); color: var(--indigo); font-size: 1.05rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 24px; } .hero-img { aspect-ratio: 4 / 3.4; } }

.amazon-band { margin-top: 8px; }
.amazon-band .inner { display: flex; align-items: center; gap: 16px; background: linear-gradient(100deg, #1D2A33, #2A4F68); color: #fff; padding: 18px 22px; border-radius: var(--radius); flex-wrap: wrap; }
.amazon-band .badge { background: var(--gold); color: #1D2A33; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.amazon-band h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.amazon-band p { margin: 2px 0 0; opacity: .8; font-size: .92rem; }

.trust { padding: 20px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.trust li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .86rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.trust li svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } .trust li:last-child { grid-column: span 2; } }

section.block { padding: 44px 0; }
section.alt { background: var(--sand); }

/* ---------- featured ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.gallery .main { border-radius: 18px; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); }
.gallery .main img, .gallery .main svg { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 72px; height: 60px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.specs div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.specs small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.specs b { font-size: .95rem; }
.price { font-family: var(--serif); font-size: 2rem; color: var(--indigo); font-weight: 700; }
.price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 400; }
.chips-feat { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.chips-feat span { font-size: .78rem; background: rgba(201, 150, 46, .14); color: #6E5214; padding: 5px 10px; border-radius: 99px; font-weight: 600; }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--gold); }
.swatches.sm .swatch { width: 18px; height: 18px; border-width: 1px; pointer-events: none; }
.color-name { font-size: .88rem; color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- product grid ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .88rem; }
.chip[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .pic { display: block; aspect-ratio: 1 / .82; background: var(--sand); overflow: hidden; }
.card .pic img, .card .pic svg { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 1.05rem; margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card .ta { font-size: .8rem; color: var(--muted); }
.card .meta { font-size: .8rem; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card .p { font-weight: 800; font-size: 1.1rem; color: var(--indigo); font-variant-numeric: tabular-nums; }
.card .p small { font-weight: 400; font-size: .72rem; color: var(--muted); }
.card .low { font-size: .75rem; color: var(--red); font-weight: 600; }
@media (max-width: 560px) {
  .card .body { padding: 10px; }
  .card h3 { font-size: .95rem; }
  .card .meta { display: none; }
  .card .foot { flex-direction: column; align-items: stretch; }
  .card .foot .btn { width: 100%; }
}

/* ---------- info sections ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.tick { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.tick li { padding-left: 28px; position: relative; }
.tick li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%231D2A33' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
table.guide { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; font-size: .92rem; }
table.guide th, table.guide td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.guide th { background: var(--indigo); color: #fff; font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.care { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: c; }
.care li { background: var(--paper); border-radius: 12px; padding: 14px 14px 14px 52px; position: relative; border: 1px solid var(--line); font-size: .93rem; }
.care li::before { counter-increment: c; content: counter(c); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold-deep); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.contact-card { display: grid; gap: 12px; }
.contact-card .row { display: flex; gap: 12px; align-items: center; }
.contact-card svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.map { border: 0; width: 100%; height: 300px; border-radius: var(--radius); }

footer { background: var(--indigo); color: #D9D2C3; padding: 32px 0 calc(90px + env(safe-area-inset-bottom)); font-size: .9rem; }
footer a { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
@media (min-width: 901px) { footer { padding-bottom: 32px; } }

/* ---------- app views (cart, checkout, orders, auth) ---------- */
.view { padding: 26px 0 40px; min-height: 60vh; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 14px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.line .th { width: 76px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.line .th img, .line .th svg { width: 100%; height: 100%; object-fit: cover; }
.line h4 { margin: 0; font-size: .98rem; }
.line .sub { color: var(--muted); font-size: .82rem; }
.line .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.line .amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; color: var(--red); font-size: .82rem; padding: 4px; }
@media (max-width: 480px) { .line { grid-template-columns: 60px 1fr; } .line .th { width: 60px; height: 54px; } .line .right { grid-column: 1 / -1; grid-template-columns: 1fr auto auto; align-items: center; justify-items: stretch; } }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.2rem; font-weight: 800; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 10px; }
.auth { max-width: 420px; margin: 0 auto; }
.auth .panel h1 { font-size: 1.7rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 99px; padding: 4px; margin-bottom: 18px; }
.tabs a { text-align: center; padding: 10px; border-radius: 99px; text-decoration: none; color: var(--muted); font-weight: 600; }
.tabs a[aria-current="page"] { background: var(--paper); color: var(--indigo); box-shadow: var(--shadow); }
.order { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.order .hd { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.order ul { margin: 10px 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; text-transform: capitalize; }
.status.placed { background: #FFF1D6; color: #8A5A00; }
.status.confirmed { background: #DDEBFA; color: #1F4F86; }
.status.shipped { background: #E8E1FA; color: #4B348F; }
.status.delivered { background: #DDF3E4; color: #1E6B3E; }
.status.cancelled { background: #F6DEDE; color: #8E2B2B; }
.success { text-align: center; }
.success .ok { width: 72px; height: 72px; border-radius: 50%; background: #DDF3E4; color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.success .ok svg { width: 38px; height: 38px; }

/* ---------- mobile bottom bar, toast, floating WA ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; position: relative; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--indigo); }
.tabbar .dot { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--gold); color: #1D2A33; font-size: .62rem; font-weight: 800; display: grid; place-items: center; padding: 0 3px; }
@media (min-width: 901px) { .tabbar { display: none; } }
.fab-wa { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 44; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.fab-wa svg { width: 28px; height: 28px; }
@media (min-width: 901px) { .fab-wa { bottom: 24px; } }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }
.install { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-size: .88rem; }
.install img { width: 36px; height: 36px; border-radius: 8px; }
.install .btn { margin-left: auto; }

/* ---------- admin ---------- */
.admin body, body.admin { background: #F3F1EC; }
.admin-head { background: var(--indigo); color: #fff; }
.admin-head .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.admin-head .t { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em; }
.admin-head .t small { font-family: var(--sans); letter-spacing: 0; opacity: .7; font-size: .8rem; margin-left: 6px; }
.admin-head .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.admin-head .btn.ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: none; }
.admin-tabs button { flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 18px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper); border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }
.stat small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.stat b { display: block; font-size: 1.6rem; font-family: var(--serif); color: var(--indigo); font-variant-numeric: tabular-nums; }
.admin-order .cust { font-size: .9rem; color: var(--muted); }
.admin-order .addr { font-size: .88rem; background: var(--cream); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.admin-order table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 6px 0; }
.admin-order td { padding: 5px 4px; border-bottom: 1px dashed var(--line); }
.admin-order td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-order .act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.admin-order select { min-height: 38px; width: auto; padding: 4px 10px; }
.prod-row { display: grid; grid-template-columns: 56px 1fr 110px 100px 90px; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.prod-row .th { width: 56px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--sand); }
.prod-row .th img, .prod-row .th svg { width: 100%; height: 100%; object-fit: cover; }
.prod-row label { font-size: .72rem; color: var(--muted); display: grid; gap: 2px; }
.prod-row .input { min-height: 38px; padding: 6px 10px; }
@media (max-width: 640px) { .prod-row { grid-template-columns: 48px 1fr 1fr; } .prod-row .nm { grid-column: 2 / -1; } .prod-row .th { grid-row: span 2; width: 48px; } }
.cust-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .9rem; }
.cust-table th, .cust-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cust-table td.n { text-align: right; font-variant-numeric: tabular-nums; }

/* HTML wordmark (web fonts don't load inside an <img> SVG) */
.brand { gap: 8px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.wordmark b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .2em; color: var(--indigo); }
.wordmark small { font-size: .56rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
@media (max-width: 900px) { .brand svg { width: 32px; height: 32px; } .wordmark b { font-size: 1.05rem; letter-spacing: .14em; } .wordmark small { letter-spacing: .22em; } }
@media (max-width: 380px) { .wordmark b { font-size: .92rem; letter-spacing: .07em; } .wordmark small { font-size: .5rem; letter-spacing: .12em; } .brand svg { width: 28px; height: 28px; } .brand { gap: 6px; } }
@media (max-width: 340px) { .wordmark b { font-size: .82rem; letter-spacing: .04em; } .icon-btn { padding: 0 8px; } .cart-pill { padding: 0 8px 0 6px; } }

/* Demo-site notices */
.strip .demo { background: #B23A3A; color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 99px; font-size: .75rem; letter-spacing: .02em; }
.demo-note { background: #FBE9E9; border: 1px solid #E9B8B8; color: #7A2424; border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
