/* ANELLÈ storefront styles.
   Colours are taken from the logo: the page background is the logo's own ivory (#F4EFE5)
   and headings use the logo's taupe ink, so the logo sits on the page without a visible edge. */

@font-face { font-family: "Italiana"; src: url("../fonts/Italiana-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }

:root {
  --ivory: #F4EFE5;        /* logo background */
  --paper: #FAF7F1;        /* raised surfaces */
  --sand: #EAE0D0;         /* soft beige */
  --champagne: #D5BF9B;    /* accents, rules */
  --taupe: #7B6956;        /* logo ink — headings, lines */
  --taupe-deep: #625140;   /* buttons (AA contrast with ivory text) */
  --ink: #4C4035;          /* body text */
  --muted: #6E6154;        /* secondary text */
  --line: #DDD1BF;
  --blush: #F0DCD5;
  --blush-deep: #B9837A;
  --danger: #9B3D2F;
  --ok: #4E6A49;

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.4rem, 1.8rem + 2.8vw, 4.1rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html[lang="ar"] {
  --display: "Amiri", "FreeSerif", "Times New Roman", serif;
  --body: "IBM Plex Sans Arabic", "Instrument Sans", "DejaVu Sans", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--taupe-deep); }
:focus-visible { outline: 2px solid var(--taupe-deep); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--taupe); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
bdi { unicode-bidi: isolate; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 50; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- announcement + header */
.announce {
  background: var(--taupe-deep); color: var(--ivory);
  text-align: center; font-size: var(--step--1); padding: .5rem var(--gutter);
  letter-spacing: .02em;
}
.site-header { border-bottom: 1px solid var(--line); background: var(--ivory); position: relative; z-index: 20; }
.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 76px; gap: 1rem;
}
.header-start { display: flex; align-items: center; gap: .75rem; }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.brand img { width: 64px; height: 64px; }
.brand.is-hidden { visibility: hidden; }
.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.site-nav a { display: block; padding: .8rem 0; text-decoration: none; font-size: var(--step--1); letter-spacing: .06em; }
html[lang="ar"] .site-nav a { letter-spacing: 0; font-size: .95rem; }
.site-nav a[aria-current="page"] { color: var(--taupe); box-shadow: inset 0 -1px 0 var(--taupe); }
.lang-switch { text-decoration: none; font-size: var(--step--1); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: 99px; }
.lang-switch:hover { border-color: var(--taupe); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", "DejaVu Sans", sans-serif; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-size: var(--step--1); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  min-width: 1.35rem; height: 1.35rem; border-radius: 99px; background: var(--taupe-deep); color: var(--ivory);
  font-size: .72rem; display: inline-grid; place-items: center; padding: 0 .3rem;
}
.menu-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .header-bar { min-height: 64px; }
  .brand img { width: 52px; height: 52px; }
  .menu-toggle { display: inline-flex; }
  .header-end .lang-switch { display: none; }
  .site-nav { display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav .nav-lang { display: block; }
}
.nav-lang { display: none; }

/* ---------------------------------------------------------------- flash messages */
.flashes { margin: 1rem auto 0; display: grid; gap: .5rem; }
.flash { padding: .8rem 1rem; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.flash-success { border-color: #b9c7b4; }
.flash-error { border-color: #d8aaa2; color: var(--danger); }

/* ---------------------------------------------------------------- buttons + forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem; border-radius: 99px;
  background: var(--taupe-deep); color: var(--ivory); border: 1px solid var(--taupe-deep);
  text-decoration: none; cursor: pointer; font-size: .95rem; letter-spacing: .03em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--taupe-deep); }
.btn-ghost:hover { background: var(--taupe-deep); color: var(--ivory); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: var(--step--1); }

label, .label { display: block; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.hint { font-size: var(--step--1); color: var(--muted); margin: .3rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--champagne); outline-offset: 0; border-color: var(--taupe); }
.field { margin-bottom: 1.1rem; }
.field-error { color: var(--danger); font-size: var(--step--1); margin: .35rem 0 0; }
.is-invalid { border-color: var(--danger) !important; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font-family: var(--display); color: var(--taupe); font-size: var(--step-1); padding: 0; margin-bottom: .75rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sparkle divider (echoes the star in the logo) */
.divider { display: flex; align-items: center; gap: .9rem; justify-content: center; color: var(--taupe); margin: 0 auto; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(28vw, 140px); background: currentColor; opacity: .55; }
.divider svg { width: 12px; height: 12px; flex: none; }

/* ---------------------------------------------------------------- hero */
.hero { text-align: center; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-logo { width: min(78vw, 430px); margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.hero h1 { max-width: 20ch; margin-inline: auto; font-size: var(--step-3); }
html[lang="ar"] .hero h1 { max-width: 24ch; font-size: var(--step-2); }
.hero p { max-width: 46ch; margin: 0 auto 1.8rem; color: var(--muted); }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: min(78vh, 680px); object-fit: cover; }
.hero-photo .hero-panel { background: var(--ivory); padding: 2rem var(--gutter); max-width: 640px; margin: -4rem auto 0; position: relative; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: logo-in 1.4s var(--ease) both; }
  .hero-copy { animation: copy-in 1s var(--ease) .45s both; }
  @keyframes logo-in { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
  @keyframes copy-in { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin-bottom: .4rem; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.section-paper { background: var(--paper); }

/* ---------------------------------------------------------------- product cards with arch frames */
.cards { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.cards-4 { max-width: none; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards-4 { grid-template-columns: 1fr; } .cards-4.cards-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }

.card { text-decoration: none; display: block; text-align: center; }
.card:hover { color: inherit; }
.arch {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand);
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  position: relative;
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .arch img { transform: scale(1.025); }
.arch-frame { padding: 10px; border: 1px solid var(--champagne); border-radius: 50% 50% calc(var(--radius) + 6px) calc(var(--radius) + 6px) / 40% 40% calc(var(--radius) + 6px) calc(var(--radius) + 6px); }
.card-blush .arch { background: var(--blush); }
.placeholder-tag {
  position: absolute; inset-inline: 0; bottom: 0; padding: .45rem .5rem; font-size: .72rem;
  background: rgba(250, 247, 241, .9); color: var(--muted); letter-spacing: .02em;
}
.card-body { padding-top: 1.1rem; }
.card-title { font-family: var(--display); color: var(--taupe); font-size: var(--step-2); margin: 0 0 .15rem; line-height: 1.2; }
html[lang="ar"] .card-title { font-size: var(--step-1); font-weight: 700; }
.cards-4 .card-title { font-size: var(--step-1); }
.card-tagline { color: var(--muted); margin: 0 0 .35rem; font-size: .95rem; }
.card-price { margin: 0; font-size: .95rem; }
.sold-out { color: var(--danger); font-size: var(--step--1); }

/* ---------------------------------------------------------------- personalisation steps (a real sequence) */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); max-width: 980px; counter-reset: step; }
.steps li { text-align: center; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto 1rem;
  border: 1px solid var(--taupe); border-radius: 50%; font-family: var(--display); color: var(--taupe); font-size: 1.4rem;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------------------------------------------------------------- wrapping block */
.wrapping { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wrapping .arch { aspect-ratio: 1 / 1; border-radius: 50%; }
.wrapping figcaption { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 760px) { .wrapping { grid-template-columns: 1fr; } .wrapping .arch { max-width: 320px; margin: 0 auto; } }

/* ---------------------------------------------------------------- listing page */
.page-head { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.filters { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: .4rem 1rem; text-decoration: none; font-size: var(--step--1); }
.chip[aria-current="page"] { background: var(--taupe-deep); color: var(--ivory); border-color: var(--taupe-deep); }

/* ---------------------------------------------------------------- product page */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 1.5rem; max-width: 480px; width: 100%; justify-self: center; }
@media (max-width: 860px) { .gallery { position: static; max-width: 460px; margin: 0 auto; width: 100%; } }
.thumbs { display: flex; gap: .6rem; margin-top: 1rem; justify-content: center; flex-wrap: wrap; }
.thumbs button { width: 64px; height: 80px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--taupe); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-note { text-align: center; font-size: var(--step--1); color: var(--muted); margin-top: .8rem; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; }
.product-title { font-size: var(--step-4); margin-bottom: .2rem; }
html[lang="ar"] .product-title { font-size: var(--step-3); font-weight: 700; }
.product-tagline { color: var(--muted); font-size: var(--step-1); font-family: var(--display); margin-bottom: 1rem; }
.product-price { font-size: var(--step-1); margin-bottom: 1.5rem; }
.product-desc { margin-bottom: 2rem; }

.tiers { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: .5rem; }
.tier { position: relative; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier label { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; background: var(--paper); display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.tier input:checked + label { border-color: var(--taupe-deep); box-shadow: inset 0 0 0 1px var(--taupe-deep); }
.tier input:focus-visible + label { outline: 2px solid var(--taupe-deep); outline-offset: 2px; }
.tier-name { font-weight: 600; }
.tier-price { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.tier-out { color: var(--danger); font-size: .8rem; }

.contents { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; margin: 1.25rem 0 1.75rem; }
.contents h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.contents ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
@media (max-width: 480px) { .contents ul { columns: 1; } }
.contents li { padding: .2rem 0; break-inside: avoid; display: flex; gap: .55rem; }
.contents li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne); flex: none; margin-top: .7em; }
.contents li.intro { column-span: all; font-style: italic; color: var(--muted); }
.contents li.intro::before { display: none; }
.js .contents[hidden] { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill label { margin: 0; min-width: 3rem; text-align: center; border: 1px solid var(--line); border-radius: 99px; padding: .55rem 1rem; cursor: pointer; background: var(--paper); font-size: .92rem; }
.pill input:checked + label { background: var(--taupe-deep); border-color: var(--taupe-deep); color: var(--ivory); }
.pill input:focus-visible + label { outline: 2px solid var(--taupe-deep); outline-offset: 2px; }
.pill input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.personal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.checkline { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.checkline input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--taupe-deep); flex: none; }
.counter { font-size: var(--step--1); color: var(--muted); text-align: end; margin-top: .3rem; }
.js .embroidery-fields[hidden] { display: none; }

.buy-row { display: flex; gap: .75rem; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--taupe-deep); }
.qty input { width: 3rem; border: 0; background: none; text-align: center; min-height: 0; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; white-space: nowrap; padding-inline: 1.1rem; }
@media (max-width: 420px) { .buy-row .btn { font-size: .88rem; } .buy-row [data-total] { display: none; } }
.packaging { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }
.packaging svg { width: 22px; height: 22px; flex: none; color: var(--taupe); margin-top: .15rem; }
.form-errors { border: 1px solid #d8aaa2; color: var(--danger); background: #fbf1ee; padding: .8rem 1rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.form-errors ul { margin: 0; padding-inline-start: 1.2rem; }

/* ---------------------------------------------------------------- cart + checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-line .arch { width: 96px; }
.cart-line h3 { font-size: 1.25rem; margin: 0; }
html[lang="ar"] .cart-line h3 { font-size: 1.1rem; font-weight: 700; }
.cart-meta { margin: .25rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.cart-meta li { overflow-wrap: anywhere; }
.line-price { text-align: end; white-space: nowrap; }
.line-actions { display: flex; align-items: center; gap: 1rem; margin-top: .7rem; flex-wrap: wrap; }
.line-actions .qty button { width: 36px; height: 36px; }
.line-actions .qty span { min-width: 1.6rem; text-align: center; }
.line-problem { color: var(--danger); font-size: .88rem; margin-top: .4rem; }
@media (max-width: 520px) { .cart-line { grid-template-columns: 76px minmax(0, 1fr); } .cart-line .arch { width: 76px; } .line-price { grid-column: 2; text-align: start; } }

.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 1.5rem; }
.summary h2 { font-size: var(--step-1); }
.summary dl { margin: 0 0 1rem; display: grid; grid-template-columns: 1fr auto; row-gap: .55rem; }
.summary dd { padding-inline-start: 1rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: end; }
.summary .total { border-top: 1px solid var(--line); padding-top: .8rem; font-size: 1.15rem; color: var(--ink); }
.summary .total dd { font-weight: 600; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.discount-form { display: flex; gap: .5rem; margin-bottom: 1rem; }
.discount-form input { min-height: 44px; }
.discount-form .btn { min-height: 44px; padding: .5rem 1rem; }
.notice { border: 1px solid var(--champagne); background: #f8f1e4; border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.notice h2, .notice strong { font-family: var(--body); color: var(--ink); font-size: 1rem; font-weight: 600; margin: 0 0 .25rem; display: block; }
.notice p { margin: 0; color: var(--muted); }
.notice-test { border-color: #b9c7b4; background: #eef3ea; }
.ship-options { display: grid; gap: .6rem; }
.ship-option { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; background: var(--paper); cursor: pointer; }
.ship-option input { accent-color: var(--taupe-deep); margin-top: .35rem; }
.ship-option .price { margin-inline-start: auto; white-space: nowrap; }
.empty { text-align: center; padding: 3rem 0 5rem; }
.empty p { color: var(--muted); }
.disabled-form { opacity: .6; }
.test-badge { display: inline-block; background: #e3ead9; color: var(--ok); border-radius: 99px; padding: .15rem .7rem; font-size: .8rem; font-weight: 600; }

/* ---------------------------------------------------------------- content pages */
.prose { padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose h2 { font-size: var(--step-1); margin-top: 2rem; }
.prose ul { padding-inline-start: 1.2rem; }
mark.todo { background: #fbecc9; color: #6b4a10; padding: .05em .35em; border-radius: 3px; border: 1px dashed #d9b46a; }
.draft-banner { border: 1px dashed #d9b46a; background: #fdf6e6; color: #6b4a10; padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 2rem; font-size: .92rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-list summary { cursor: pointer; font-family: var(--display); color: var(--taupe); font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
html[lang="ar"] .faq-list summary { font-size: 1.2rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--body); color: var(--taupe); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding-top: .75rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.contact-list .k { color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { width: 120px; height: 120px; margin-bottom: .75rem; }
.footer-brand p { color: var(--muted); max-width: 30ch; }
.site-footer h2 { font-family: var(--body); font-size: .95rem; color: var(--ink); font-weight: 600; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: var(--step--1); }

/* ---------------------------------------------------------------- order confirmation */
.confirm { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.confirm .number { font-size: var(--step-1); color: var(--taupe); letter-spacing: .03em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
