/* ============================================================
   AURÈS CÉRAMIQUE — artisan-atelier design system
   Warm clay tones, editorial serif display, generous whitespace.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --clay:        #b3572f;   /* terracotta — primary accent   */
  --clay-deep:   #8f4222;
  --olive:       #6b7042;
  --sand:        #e7dcc6;
  --cream:       #f8f3e9;   /* page background               */
  --paper:       #fffdf8;   /* card surfaces                 */
  --ink:         #2e241d;
  --ink-soft:    #6d5f52;
  --line:        #e3d8c4;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Segoe UI', system-ui, sans-serif;
  --arabic: 'Amiri', serif;

  --shadow-soft: 0 10px 30px rgba(46, 36, 29, .08);
  --radius: 14px;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(179,87,47,.05), transparent),
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body { font-family: var(--arabic); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

h1, h2, h3, .logo { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .logo { font-family: var(--arabic); }

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

::selection { background: rgba(179, 87, 47, .22); }

/* ---------- kicker & section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--clay); font-weight: 500;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--clay); }
html[dir="rtl"] .kicker::before { order: 2; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); max-width: 520px; margin-top: 6px; }
.link-more { color: var(--clay); font-weight: 500; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

.section { padding-block: clamp(56px, 9vw, 104px); }

/* subtle zellige divider between storytelling bands */
.zellige {
  height: 26px; opacity: .5; margin-inline: auto; display: block;
}

/* ---------- header ---------- */
.demo-bar {
  background: var(--olive); color: #fff; text-align: center;
  padding: 7px 14px; font-size: .78rem; letter-spacing: .04em;
}
.announce-bar {
  background: var(--clay); color: #fff; text-align: center;
  padding: 8px 14px; font-size: .82rem; letter-spacing: .06em;
}
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 243, 233, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.logo { font-size: 1.32rem; letter-spacing: .12em; white-space: nowrap; }
.logo span { color: var(--clay); font-style: italic; letter-spacing: .04em; margin-left: 2px; }
.nav-links { display: flex; gap: 26px; margin-inline: auto; }
.nav-links a {
  font-size: .92rem; letter-spacing: .06em; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--clay); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav-links + .header-actions { margin-inline-start: 0; }
.lang-toggle {
  border: 1px solid var(--line); background: transparent; border-radius: 99px;
  padding: 6px 13px; font-size: .82rem; letter-spacing: .08em; transition: .2s;
}
.lang-toggle:hover { border-color: var(--clay); color: var(--clay); }
.wa-mini { color: #3f9c57; display: inline-flex; }
.wa-mini.hide { display: none; }
.nav-burger { display: none; background: none; border: 0; font-size: 1.4rem; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; inset-inline: 0; display: none;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 780px);
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #caa27a, #b3572f 55%, #7c3a1e);
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(30, 18, 10, .78) 0%, rgba(30, 18, 10, .35) 45%, rgba(30, 18, 10, .12) 100%);
}
.hero-inner { padding-block: clamp(64px, 10vw, 120px); color: #fdf9f0; }
.hero-inner h1 { max-width: 15ch; margin-block: 14px 18px; }
.hero-inner p { max-width: 54ch; font-size: 1.05rem; opacity: .94; }
.hero-kicker {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: #f0c9ae; font-weight: 500;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 99px; font-size: .95rem; font-weight: 500;
  letter-spacing: .04em; border: 1px solid transparent; transition: .22s;
}
.btn.accent { background: var(--clay); color: #fff; box-shadow: 0 8px 22px rgba(179,87,47,.32); }
.btn.accent:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn.wa { background: #3f9c57; color: #fff; box-shadow: 0 8px 22px rgba(63,156,87,.3); }
.btn.wa:hover { background: #358349; transform: translateY(-1px); }
.btn.ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.line { border-color: var(--clay); color: var(--clay); background: transparent; }
.btn.line:hover { background: var(--clay); color: #fff; }
.btn svg { flex: none; }

/* ---------- intro / heritage split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.split-media::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--clay); border-radius: var(--radius); z-index: -1;
  opacity: .45;
}
html[dir="rtl"] .split-media::after { inset: 18px 18px -18px -18px; }
.split-body .kicker { margin-bottom: 14px; display: inline-flex; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { color: var(--ink-soft); margin-bottom: 14px; max-width: 55ch; }
.split-body .btn { margin-top: 12px; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-media.order-flip { order: -1; }
}

/* ---------- categories ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
.cat-tile { text-align: center; }
.cat-tile img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 1px solid var(--line); transition: .25s; background: var(--sand);
}
.cat-tile:hover img { transform: scale(1.04); border-color: var(--clay); }
.cat-tile h3 { margin-top: 14px; font-size: 1.05rem; }
.cat-tile span.cat-count { color: var(--ink-soft); font-size: .82rem; }

/* ---------- product cards / grids ---------- */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.card { display: flex; flex-direction: column; }
.card-media {
  overflow: hidden; border-radius: var(--radius); background: var(--sand);
  aspect-ratio: 4/5; position: relative;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 16px 4px 0; }
.card-cat {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive);
}
.card-body h3 { font-size: 1.18rem; margin-top: 4px; }
.card-colors { display: flex; gap: 7px; margin-top: 9px; }
.dot-swatch {
  width: 17px; height: 17px; border-radius: 50%; display: inline-block;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.card-dims { display: block; color: var(--ink-soft); font-size: .84rem; margin-top: 7px; }
.card-more {
  display: inline-block; margin-top: 11px; color: var(--clay);
  font-weight: 500; font-size: .92rem;
}
.card:hover .card-more { text-decoration: underline; }

/* ---------- craft process timeline ---------- */
.craft-band { background: var(--sand); position: relative; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step-row {
  display: grid; grid-template-columns: 90px 1fr 1fr; gap: 26px;
  padding-block: 30px; border-bottom: 1px solid rgba(46,36,29,.12);
  align-items: center;
}
.step-row:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--clay);
  font-style: italic; text-align: center;
}
.step-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step-row p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 720px) {
  .step-row { grid-template-columns: 56px 1fr; }
  .step-num { font-size: 1.9rem; text-align: start; }
  .step-row p { grid-column: 2; }
}

/* ---------- heritage band (dark) ---------- */
.heritage-band {
  background:
    radial-gradient(700px 320px at 12% 110%, rgba(179,87,47,.35), transparent),
    linear-gradient(150deg, #33241a, #4a2e1d 60%, #33241a);
  color: #f4ead9;
}
.heritage-band .kicker { color: #e8b58e; }
.heritage-band .kicker::before { background: #e8b58e; }
.heritage-band p { color: #cdbba6; }

/* ---------- gallery strip & grid ---------- */
.gal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.gal-item {
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
  cursor: zoom-in; position: relative;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 16px 12px;
  color: #fff; font-size: .85rem; letter-spacing: .04em;
  background: linear-gradient(to top, rgba(30,18,10,.65), transparent);
}
.gal-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 20px;
  font-size: .88rem; background: transparent; transition: .2s; color: var(--ink-soft);
}
.chip:hover { border-color: var(--clay); color: var(--clay); }
.chip.on { background: var(--clay); border-color: var(--clay); color: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gal-grid .gal-item img { aspect-ratio: auto; height: 280px; }
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(24, 15, 8, .93);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.lightbox img { max-width: min(1000px, 92vw); max-height: 88vh; border-radius: 10px; object-fit: contain; }
.lightbox button {
  position: absolute; top: 20px; inset-inline-end: 26px; background: none;
  border: 0; color: #fff; font-size: 2rem;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--paper); border-block: 1px solid var(--line); }
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-inner h2 { margin-block: 12px 14px; }
.cta-inner p { color: var(--ink-soft); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- page banner (inner pages) ---------- */
.page-banner { padding: clamp(44px, 7vw, 84px) 0 clamp(28px, 4vw, 40px); }
.page-banner h1 { margin-top: 10px; }
.page-banner p { color: var(--ink-soft); max-width: 60ch; margin-top: 10px; }

/* ---------- collection filters ---------- */
.filters-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.search-box {
  flex: 1 1 220px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 20px;
  background: var(--paper);
}
.search-box input { border: 0; outline: 0; background: transparent; width: 100%; }
.results-zero { text-align: center; color: var(--ink-soft); padding: 70px 0; }

/* ---------- product (piece) page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 60px); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery .main-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  background: var(--sand); box-shadow: var(--shadow-soft);
}
.thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumbs img {
  width: 76px; height: 76px; object-fit: cover; border-radius: 10px;
  cursor: pointer; border: 2px solid transparent; background: var(--sand); transition: .2s;
}
.thumbs img.on, .thumbs img:hover { border-color: var(--clay); }
.pdp-info .kicker { margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.pdp-desc { color: var(--ink-soft); white-space: pre-line; }
.spec-table { width: 100%; border-collapse: collapse; margin-block: 22px; }
.spec-table th, .spec-table td {
  text-align: start; padding: 11px 4px; border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.spec-table th {
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  font-size: .74rem; color: var(--olive); width: 42%;
}
.pdp-note {
  font-size: .85rem; color: var(--olive); background: rgba(107,112,66,.09);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 22px;
}
.pdp-actions { display: flex; flex-direction: column; gap: 12px; }
.back-link {
  display: inline-block; color: var(--ink-soft); font-size: .9rem;
  margin-bottom: 26px; transition: .2s;
}
.back-link:hover { color: var(--clay); }

/* inquiry modal */
.modal-bg {
  position: fixed; inset: 0; z-index: 110; background: rgba(24,15,8,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--paper); border-radius: 18px; padding: 30px;
  width: min(480px, 100%); box-shadow: var(--shadow-soft);
  max-height: 90vh; overflow: auto;
}
.modal h3 { font-size: 1.4rem; margin-bottom: 16px; }

/* ---------- forms ---------- */
.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 6px; font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 15px; background: var(--paper); outline: none; transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--clay); }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 48px; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .2s;
}
.contact-card:hover { border-color: var(--clay); transform: translateY(-2px); }
.contact-card h3 { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; font-family: var(--sans); font-weight: 600; }
.contact-card a.big, .contact-card span.big { font-family: var(--serif); font-size: 1.25rem; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); }
@media (max-width: 800px) { .contact-cols { grid-template-columns: 1fr; } }
.map-frame {
  width: 100%; aspect-ratio: 16/10; border: 1px solid var(--line);
  border-radius: var(--radius); filter: sepia(.18) saturate(.9);
}

/* ---------- footer ---------- */
.site-footer, footer#site-footer {
  background: #2b2015; color: #cbbba6; margin-top: clamp(50px, 8vw, 90px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
  padding-block: 56px;
}
footer#site-footer .logo { color: #f4ead9; font-size: 1.4rem; }
.footer-grid p { margin-top: 12px; font-size: .92rem; max-width: 34ch; }
.footer-grid h4 {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #e8b58e; margin-bottom: 14px; font-weight: 600;
}
.footer-grid > div > a:not(.logo), .footer-grid > div > span {
  display: block; padding: 4px 0; font-size: .93rem;
}
.footer-grid > div > a:not(.logo):hover { color: #fff; }
.social-links { display: flex; gap: 16px; margin-top: 16px; font-size: .9rem; }
.social-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(232, 181, 142, .18); padding-block: 18px;
  font-size: .8rem; letter-spacing: .06em;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- floating whatsapp + toast ---------- */
.wa-fab, #wa-fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #3f9c57;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(63,156,87,.45); transition: .22s;
}
#wa-fab:hover { transform: scale(1.07); }
.toast, #toast {
  position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 16px);
  background: var(--ink); color: #fff; padding: 12px 24px; border-radius: 99px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 130;
  max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--sand) 25%, #f1e8d6 50%, var(--sand) 75%);
  background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius);
}
@keyframes sk { to { background-position: -200% 0; } }
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }

/* ============================================================
   BOUTIQUE v2 — shop engine in the atelier theme (terracotta/cream).
   Story kept: same fonts, same clay tokens, no neon marketplace look.
   ============================================================ */

/* header shop icons */
.cart-mini, .track-mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  position: relative; transition: .2s; font-size: 1.05rem;
}
.cart-mini:hover, .track-mini:hover { border-color: var(--clay); color: var(--clay); }
.cart-count {
  position: absolute; top: -6px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; border-radius: 99px;
  background: var(--clay); color: #fff; font-size: .7rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.cart-count[hidden] { display: none; }

/* cards: price + shop actions */
.card-media { display: block; }
.card-badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.stock {
  display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; font-weight: 500;
}
.stock.ok { background: rgba(107,112,66,.14); color: var(--olive); }
.stock.low { background: rgba(179,87,47,.14); color: var(--clay-deep); }
.stock.out { background: rgba(46,36,29,.85); color: #fff; }
.card-price { font-family: var(--serif); font-size: 1.25rem; color: var(--clay-deep); margin-top: 10px; }
.card-old { font-size: .9rem; color: var(--ink-soft); text-decoration: line-through; margin-inline-start: 8px; font-family: var(--sans); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.card-add {
  border: 1px solid var(--clay); color: var(--clay); background: transparent;
  border-radius: 99px; padding: 8px 16px; font-size: .82rem; font-weight: 500; transition: .2s;
  white-space: nowrap;
}
.card-add:hover { background: var(--clay); color: #fff; }
.sort-select {
  border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px;
  background: var(--paper); font-size: .88rem;
}

/* piece page: price / variants / qty */
.pdp-price { font-family: var(--serif); font-size: 2rem; color: var(--clay-deep); margin: 6px 0 2px; }
.pdp-old { font-size: 1.1rem; color: var(--ink-soft); text-decoration: line-through; margin-inline-start: 10px; font-family: var(--sans); }
.pdp-variant { margin: 16px 0 4px; }
.pdp-variant-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; font-weight: 500; }
.pdp-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 99px;
  padding: 8px 16px 8px 10px; font-size: .88rem; transition: .2s;
}
.pdp-chip.on { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.pdp-qty { display: inline-flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px; background: var(--paper); }
.pdp-qty button { background: none; border: 0; font-size: 1.3rem; line-height: 1; padding: 0 4px; }
.pdp-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* checkout */
.co-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } }
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.co-notice {
  background: rgba(179,87,47,.1); border: 1px solid rgba(179,87,47,.3); color: var(--clay-deep);
  border-radius: 12px; padding: 12px 18px; margin-bottom: 18px; font-size: .9rem;
}
.co-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.co-line:last-child { border-bottom: 0; }
.co-line img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.co-line-name { font-family: var(--serif); font-size: 1.05rem; }
.co-line-meta { color: var(--ink-soft); font-size: .85rem; margin-top: 2px; }
.co-qty { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.co-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1rem; line-height: 1; }
.co-qty button:hover { border-color: var(--clay); color: var(--clay); }
.co-rm { background: none; border: 0; color: var(--ink-soft); font-size: .82rem; text-decoration: underline; margin-inline-start: 6px; }
.co-line-price { font-family: var(--serif); font-size: 1.1rem; color: var(--clay-deep); white-space: nowrap; }
.co-totals > div { display: flex; justify-content: space-between; padding-block: 6px; font-size: .95rem; }
.co-totals .grand { font-family: var(--serif); font-size: 1.3rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.promo-entry { display: flex; gap: 10px; margin-top: 14px; }
.promo-entry input { flex: 1; border: 1px solid var(--line); border-radius: 99px; padding: 11px 18px; background: var(--cream); outline: none; }
.promo-entry input:focus { border-color: var(--clay); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.co-error, .co-hint { font-size: .85rem; margin-top: 10px; }
.co-error { color: #b3402e; display: none; }
.co-error.show { display: block; }
.co-hint { color: var(--ink-soft); }
.deliv-choice { display: grid; gap: 10px; }
.deliv-opt {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; cursor: pointer; transition: .2s; background: var(--cream);
}
.deliv-opt:has(input:checked) { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.deliv-opt input { margin-top: 4px; accent-color: var(--clay); }
.deliv-opt b { display: block; font-size: .95rem; }
.deliv-opt small { color: var(--ink-soft); font-size: .82rem; }
.fd-bar { background: rgba(107,112,66,.1); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.fd-msg { font-size: .85rem; margin-bottom: 8px; color: var(--olive); }
.fd-track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.fd-track i { display: block; height: 100%; background: var(--clay); border-radius: 99px; transition: width .4s; }
.co-faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--paper); }
.co-faq-item summary { padding: 14px 18px; cursor: pointer; font-weight: 500; }
.co-faq-item p { padding: 0 18px 16px; color: var(--ink-soft); font-size: .92rem; }
.co-success { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 48px 28px; max-width: 560px; margin: 20px auto; }
.co-check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--olive); color: #fff;
  font-size: 1.8rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* tracking */
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.track-head b { font-family: var(--serif); font-size: 1.6rem; }
.track-head span { color: var(--ink-soft); font-size: .88rem; }
.track-trail { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.track-trail li { text-align: center; font-size: .78rem; color: var(--ink-soft); }
.track-trail .dot { display: block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); margin: 0 auto 6px; background: var(--paper); }
.track-trail li.done { color: var(--olive); }
.track-trail li.done .dot { background: var(--olive); border-color: var(--olive); }
.track-trail li.current { color: var(--clay-deep); font-weight: 600; }
.track-trail li.current .dot { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(179,87,47,.2); background: var(--clay); }
.track-cancelled { background: rgba(179,64,46,.1); border: 1px solid rgba(179,64,46,.35); color: #8f3226; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; text-align: center; }
.track-items { list-style: none; }
.track-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); }
.track-items img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.track-items b { display: block; font-size: .95rem; }
.track-items span { color: var(--ink-soft); font-size: .82rem; }
.track-price { font-family: var(--serif); color: var(--clay-deep); }
.track-totals > div { display: flex; justify-content: space-between; padding-block: 5px; font-size: .92rem; }
.track-totals .grand { font-family: var(--serif); font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.parcel-box { background: rgba(107,112,66,.09); border: 1px dashed var(--olive); border-radius: 12px; padding: 14px 18px; margin-top: 16px; }
.parcel-box > div { display: flex; justify-content: space-between; font-size: .9rem; padding-block: 2px; }
.parcel-box small { color: var(--ink-soft); font-size: .8rem; }
