/* خليجيات بوتيك — storefront
   Romantic direction: petal-pink ground, Ruqaa calligraphy for headings,
   Amiri (classic Naskh) for reading, photos framed in arches. */
:root {
  --petal: #f7e8e6;     /* page */
  --blush: #f0d7d8;     /* soft bands, image placeholders */
  --ivory: #fffaf7;     /* dialogs, cards */
  --plum: #4a2433;      /* text */
  --mauve: #74505e;     /* secondary text */
  --line: #e6c9cc;      /* hairlines, inputs */
  --rose: #ff66c4;      /* the logo pink — decoration only */
  --rose-deep: #a8346b; /* buttons + prices — passes contrast with white */
  --gold: #c2a06b;      /* champagne hairlines around the arches — echoes the gold embroidery */
  --display: "Aref Ruqaa", "Amiri", serif;
  --text: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --gutter: clamp(18px, 4.5vw, 56px);
  --arch: 999px 999px 6px 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--petal);
  color: var(--plum);
  font: 400 1.12rem/1.9 var(--text);
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
.logo-img { mix-blend-mode: multiply; } /* the logo's white card melts into the pink */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 2em;
  background: var(--rose-deep); color: #fff;
  border: 0; border-radius: 999px;
  font: 700 1.12rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background .2s ease;
}
.btn:hover { background: #8d2659; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 8px var(--gutter);
  background: color-mix(in srgb, var(--petal) 90%, transparent);
  backdrop-filter: blur(10px);
}
.brand { justify-self: start; }
.brand img { height: 50px; width: auto; transition: opacity .3s ease; }
.cart-btn { justify-self: end; }
.top.at-hero .brand img { opacity: 0; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.cart-btn svg { color: var(--rose-deep); }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: var(--rose-deep); color: #fff;
  display: inline-grid; place-items: center; font-size: .85rem; line-height: 1;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

.preview-note {
  margin: 4px var(--gutter) 0; padding: 6px 14px;
  border: 1px dashed var(--mauve); border-radius: 12px;
  color: var(--mauve); font-size: .95rem; text-align: center;
}

/* ---------- nav ---------- */
.nav { display: flex; gap: clamp(14px, 3vw, 30px); }
.nav a {
  color: var(--mauve); text-decoration: none; font-size: 1.12rem;
  padding: 6px 2px; border-bottom: 1.5px solid transparent;
}
.nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--gold); font-weight: 700; }
.nav a:hover { color: var(--plum); }
@media (max-width: 420px) { .cart-btn > span:not(.cart-count) { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; justify-items: center; text-align: center;
  padding: 18px var(--gutter) 56px;
}
.hero-logo { width: min(460px, 82vw); height: auto; }
.hero h1 {
  margin: 6px 0 0;
  font: 400 clamp(2.4rem, 9vw, 4.2rem)/1.35 var(--display);
  color: var(--plum);
}
.lede { max-width: 38ch; margin: 6px auto 24px; color: var(--mauve); font-size: 1.2rem; }

.arches {
  display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: clamp(10px, 2.4vw, 28px);
  width: min(980px, 100%); margin-top: 36px;
}
.arches img {
  width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; object-position: center 18%;
  border-radius: var(--arch);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.arches img:nth-child(1) { animation-delay: .15s; }
.arches img:nth-child(2) { animation-delay: 0s; aspect-ratio: 3 / 4.9; }
.arches img:nth-child(3) { animation-delay: .3s; }
@media (min-width: 900px) {
  .hero-logo { width: 380px; }
  .arches { width: min(860px, 100%); }
}

/* the signature detail: a fine gold line that follows every arch */
.arches img, .item-photo, .gallery img, .line img {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}
.line img { outline-offset: 3px; }

/* ---------- promise line ---------- */
.promise {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0;
  margin: 0 var(--gutter) 36px; padding: 14px 0;
  border-block: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  list-style: none; color: var(--plum); font-size: 1.08rem;
}
.promise li { display: flex; align-items: center; }
.promise li + li::before {
  content: ""; width: 6px; height: 6px; margin: 0 18px;
  background: var(--gold); transform: rotate(45deg);
}
@media (max-width: 560px) {
  .promise { flex-direction: column; align-items: center; }
  .promise li + li::before { display: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- shop ---------- */
.shop { padding: 12px var(--gutter) 72px; scroll-margin-top: 70px; }
.shop-head { text-align: center; }
.shop-head h2 { margin: 0; font: 400 clamp(2.4rem, 8vw, 3.4rem)/1.3 var(--display); }
.shop-head h2::after {
  content: ""; display: block; width: 140px; height: 14px; margin: 0 auto 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cg fill='none' stroke='%23c2a06b' stroke-width='1'%3E%3Cpath d='M4 6h44M72 6h44'/%3E%3Cpath d='M60 1.5 64.5 6 60 10.5 55.5 6z'/%3E%3C/g%3E%3Ccircle cx='50' cy='6' r='1.2' fill='%23c2a06b'/%3E%3Ccircle cx='70' cy='6' r='1.2' fill='%23c2a06b'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ship-note { margin: 0; color: var(--mauve); }

.tabs {
  display: flex; justify-content: center; gap: 26px; overflow-x: auto; scrollbar-width: none;
  margin: 18px 0 30px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 4px 2px 8px;
  background: none; border: 0; border-bottom: 1.5px solid transparent;
  color: var(--mauve); cursor: pointer; font-size: 1.15rem;
}
.tab[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--rose-deep); font-weight: 700; }
.tabs { flex-wrap: wrap; row-gap: 6px; }

.grid {
  display: grid; gap: 38px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 26px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.item { display: block; min-width: 0; color: inherit; text-decoration: none; cursor: pointer; text-align: center; }
.item-photo {
  display: block; position: relative; aspect-ratio: 3 / 4.2; overflow: hidden;
  border-radius: var(--arch); background: var(--blush);
}
.item-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  opacity: 0; transition: opacity .6s ease, transform .9s ease;
}
.item-photo img.in { opacity: 1; }
.item-photo .alt { position: absolute; inset: 0; }
@media (hover: hover) {
  .item:hover .item-photo img { transform: scale(1.04); }
  .item:hover .item-photo .alt { opacity: 1; }
}
.item-photo { transition: outline-offset .4s ease; }
.item:hover .item-photo, .item:focus-visible .item-photo { outline-offset: 8px; }

/* arch-shaped placeholders while the pieces load */
.skeleton {
  display: block; aspect-ratio: 3 / 4.2; border-radius: var(--arch);
  background: linear-gradient(100deg, var(--blush) 30%, #f8e6e6 50%, var(--blush) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.badge {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  padding: 0 12px; border-radius: 999px; white-space: nowrap;
  background: var(--ivory); color: var(--plum); font-size: .9rem;
}
.badge.sale { background: var(--rose-deep); color: #fff; }
.item.sold .item-photo img { filter: grayscale(.6) opacity(.7); }
.item-name { display: block; margin-top: 12px; font: 400 1.35rem/1.4 var(--display); }
.price { display: block; color: var(--mauve); font-size: 1.08rem; }
.price s { margin-inline-start: 6px; font-size: .88em; }
.price .now { color: var(--rose-deep); font-weight: 700; }

.loading, .empty { grid-column: 1 / -1; color: var(--mauve); text-align: center; }

/* ---------- footer ---------- */
.foot {
  padding: 44px var(--gutter) 60px;
  background: var(--blush);
  color: var(--mauve); text-align: center;
}
.foot img { width: 150px; margin: 0 auto 10px; }
.foot p { max-width: 52ch; margin: 0 auto 6px; }
.foot { border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
  margin-top: 26px;
}
.contact a {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--plum); text-decoration: none; text-align: start;
}
.contact svg {
  flex: none; width: 46px; height: 46px; padding: 11px;
  border: 1px solid var(--gold); border-radius: 50%;
  fill: none; stroke: var(--rose-deep); stroke-width: 1.5; stroke-linejoin: round;
  transition: background .2s ease;
}
.contact a:hover svg { background: var(--ivory); }
.contact b { display: block; font-weight: 700; line-height: 1.3; }
.contact span span { display: block; color: var(--mauve); line-height: 1.4; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--plum); background: var(--ivory); }
dialog::backdrop { background: rgb(74 36 51 / .4); }
.close {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--plum);
}

.sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
.sheet > .close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: var(--ivory); }
.sheet-body { display: grid; min-height: 100%; align-content: start; }
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 20px var(--gutter) 0;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%;
  scroll-snap-align: center; border-radius: var(--arch);
}
.p-info { padding: 18px var(--gutter) 36px; text-align: center; }
.p-info h3 { margin: 0; font: 400 clamp(2.1rem, 7vw, 2.8rem)/1.35 var(--display); }
.p-price { margin: 2px 0 0; font-size: 1.3rem; }
.p-size { margin: 0 0 14px; color: var(--mauve); }
.p-desc { margin: 0 auto 24px; max-width: 40ch; }
.p-ship { margin: 12px 0 0; color: var(--mauve); font-size: 1rem; }
.p-ask { display: inline-block; margin-top: 6px; color: var(--rose-deep); text-underline-offset: 4px; }

@media (min-width: 900px) {
  .sheet { width: min(1040px, 94vw); height: auto; max-height: 92vh; margin: auto; border-radius: 20px; }
  .sheet-body { grid-template-columns: 1fr 1fr; min-height: 0; align-content: stretch; }
  .gallery { padding: 32px; }
  .gallery img { aspect-ratio: auto; height: min(82vh, 720px); }
  .p-info { align-self: center; padding: 40px; }
}

.drawer {
  width: min(460px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; margin-inline-start: auto; /* slides in from the left in RTL */
  display: none; flex-direction: column;
}
.drawer[open] { display: flex; animation: slide .3s ease; }
@keyframes slide { from { transform: translateX(-24px); opacity: 0; } }
.drawer-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { flex: 1; margin: 0; font: 400 1.9rem/1.3 var(--display); }
.back { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--mauve); }
.step { flex: 1; overflow-y: auto; padding: 16px 20px 28px; }

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 70px; height: 96px; object-fit: cover; object-position: center 12%; border-radius: var(--arch); }
.line-name { font: 400 1.25rem/1.4 var(--display); }
.line-price { color: var(--mauve); font-size: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; }
.qty span { min-width: 22px; text-align: center; }
.remove { display: block; background: none; border: 0; padding: 8px 4px; color: var(--mauve); font-size: 1rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.totals { margin: 16px 0 20px; }
.totals div { display: flex; justify-content: space-between; padding: 2px 0; }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.2rem; }
.totals .hint { color: var(--mauve); font-size: .95rem; }

form label { display: block; margin-bottom: 14px; font-weight: 700; }
form input, form textarea {
  display: block; width: 100%; margin-top: 4px;
  padding: 10px 14px; min-height: 50px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  font-weight: 400; font-size: 1.08rem;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgb(168 52 107 / .12); }
form input[aria-invalid="true"], form textarea[aria-invalid="true"] { border-color: #b3261e; }
.opt { color: var(--mauve); font-weight: 400; }
.form-error { margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: #fbe1e4; color: #8c1d2e; }

.pay-intro { margin: 0 0 16px; }
.demo-pay { padding: 14px; border: 1px dashed var(--mauve); border-radius: 14px; color: var(--mauve); }
.mysr-form { margin-top: 8px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 50; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 22px; border-radius: 999px;
  background: var(--plum); color: var(--ivory); font-size: 1.05rem;
  width: max-content; max-width: calc(100vw - 32px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- thank-you page ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 40px var(--gutter); text-align: center; }
.thanks-box { max-width: 30rem; }
.thanks-box > img { width: 190px; margin: 0 auto 6px; }
.thanks h1 { margin: 0 0 6px; font: 400 clamp(2.6rem, 9vw, 3.6rem)/1.3 var(--display); color: var(--rose-deep); }
.thanks p { margin: 0 0 18px; }
.thanks .order-no { font-weight: 700; }
.thanks .help { color: var(--mauve); }
.thanks .help a { color: var(--rose-deep); }

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


/* =====================================================================
   v3 additions: about, collection sections, sizes, checkout, seasons
   ===================================================================== */
.btn-soft { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose-deep); }
.btn-soft:hover { background: var(--ivory); }
.link-btn {
  display: block; margin: 10px auto 0; padding: 8px 4px;
  background: none; border: 0; color: var(--mauve); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.more { margin: 40px 0 0; text-align: center; }

/* ornament under section titles (same as the collection heading) */
.ornate::after, .cat-title::after, .shop-head h1::after {
  content: ""; display: block; width: 140px; height: 14px; margin: 0 auto 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cg fill='none' stroke='%23c2a06b' stroke-width='1'%3E%3Cpath d='M4 6h44M72 6h44'/%3E%3Cpath d='M60 1.5 64.5 6 60 10.5 55.5 6z'/%3E%3C/g%3E%3Ccircle cx='50' cy='6' r='1.2' fill='%23c2a06b'/%3E%3Ccircle cx='70' cy='6' r='1.2' fill='%23c2a06b'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shop-head h1 { margin: 0; font: 400 clamp(2.6rem, 9vw, 3.8rem)/1.3 var(--display); }

/* ---------- about ---------- */
.about {
  position: relative; margin: 8px 0 72px; padding: 64px var(--gutter);
  background:
    radial-gradient(120% 90% at 85% 10%, #fbf1ee 0%, transparent 60%),
    linear-gradient(180deg, var(--blush), #f4dedd);
  border-block: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
  overflow: hidden;
}
/* faint repeating arches in the background, like the boutique's walls */
.about::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='160' viewBox='0 0 120 160'%3E%3Cpath d='M20 160V60a40 40 0 0 1 80 0v100' fill='none' stroke='%23c2a06b' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 120px 160px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.about-inner { position: relative; display: grid; gap: 44px; align-items: center; max-width: 1060px; margin: 0 auto; }

.about-art { position: relative; margin: 0 auto; width: min(340px, 78vw); aspect-ratio: 3 / 3.9; }
.about-art img { position: absolute; object-fit: cover; object-position: center 14%; border-radius: var(--arch); }
.a-main { inset: 0 18% 0 0; width: 82%; height: 100%; outline: 1px solid var(--gold); outline-offset: 7px; box-shadow: 0 24px 40px -28px rgb(74 36 51 / .55); }
.a-side { width: 46%; height: 56%; inset-inline-start: auto; left: 0; bottom: -6%; border: 6px solid var(--ivory); box-shadow: 0 18px 30px -20px rgb(74 36 51 / .5); }
.a-ring { position: absolute; width: 34%; aspect-ratio: 1; right: -8%; top: -6%; border-radius: 50%;
  border: 1px solid var(--gold); background: radial-gradient(circle, rgb(255 250 247 / .7), transparent 70%); }
.a-ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent); }

.about-text { text-align: center; max-width: 46ch; margin: 0 auto; }
.about-kicker { margin: 0; color: var(--rose-deep); font-size: 1.05rem; letter-spacing: .02em; }
.about-text h2 { margin: 0 0 8px; font: 400 clamp(2.6rem, 9vw, 3.6rem)/1.25 var(--display); }
.about-lead { margin: 0 0 14px; font: 700 clamp(1.3rem, 4.6vw, 1.55rem)/1.75 var(--text); color: var(--plum); }
.about-text p { margin: 0 0 14px; font-size: 1.15rem; }
.about-notes { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; gap: 16px; text-align: start; }
.about-notes li { display: flex; align-items: center; gap: 14px; }
.about-notes svg {
  flex: none; width: 52px; height: 52px; padding: 11px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--gold);
  fill: none; stroke: var(--rose-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.about-notes b { display: block; font-size: 1.15rem; line-height: 1.4; }
.about-notes span span, .about-notes li > span { color: var(--mauve); line-height: 1.5; }
.about-notes b { color: var(--plum); }
.about-sign { margin: 0; font: 400 1.7rem/1.4 var(--display); color: var(--rose-deep); }

@media (min-width: 860px) {
  .about { padding: 90px var(--gutter); }
  .about-inner { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .about-art { width: 100%; max-width: 420px; }
  .about-text { text-align: start; margin: 0; }
  .about-notes { max-width: 30rem; }
}

.staff-link { margin: 26px 0 0; font-size: .95rem; }
.staff-link a { color: var(--mauve); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- collection by type ---------- */
.page-head { position: relative; padding-top: 12px; text-align: center; }
.tab small { color: var(--mauve); font-weight: 400; font-size: .85em; }
.cat-section + .cat-section { margin-top: 64px; }
.cat-title { margin: 0 0 26px; text-align: center; font: 400 clamp(2rem, 7vw, 2.7rem)/1.3 var(--display); }
.item-sizes { display: block; color: var(--mauve); font-size: .95rem; word-spacing: .4em; }

/* ---------- size picker ---------- */
.sizes { border: 0; margin: 4px 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sizes legend { width: 100%; margin-bottom: 8px; font-weight: 700; text-align: center; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span {
  display: grid; place-items: center; min-width: 64px; min-height: 52px; padding: 4px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 1.15rem; line-height: 1.2; cursor: pointer;
}
.size span small { font-size: .72rem; color: var(--mauve); }
.size input:checked + span { border-color: var(--rose-deep); background: var(--rose-deep); color: #fff; }
.size input:checked + span small { color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.size.out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.sizes.nudge { animation: nudge .45s ease; }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- checkout page ---------- */
.checkout { padding: 8px var(--gutter) 72px; }
.co-grid { display: grid; gap: 22px; max-width: 1080px; margin: 18px auto 0; }
@media (min-width: 960px) {
  .co-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .co-grid > :first-child { grid-row: span 2; position: sticky; top: 84px; }
}
.co-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 22px;
  padding: 20px clamp(16px, 4vw, 30px) 24px;
}
.co-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 400 1.9rem/1.3 var(--display); }
.co-card .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--gold); border-radius: 50%; font: 700 1.2rem/1 var(--text); color: var(--rose-deep);
}
.co-wait { color: var(--mauve); margin: 0; }
.co-empty { text-align: center; padding: 40px 0; font-size: 1.2rem; }
form :disabled { opacity: .7; }

/* ---------- Ramadan & Eid (added automatically by seasons.js) ---------- */
.season-ribbon {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px;
  padding: 6px var(--gutter);
  background: var(--plum); color: #f6e7c8; text-align: center;
  font: 400 1.25rem/1.4 var(--display);
}
.season-ribbon .sub { font: 400 1rem/1.5 var(--text); color: #e9d6b4; }
[data-season-host] { position: relative; }
.has-garland { padding-top: 120px; }
.page-head.has-garland { padding-top: 110px; }
.garland {
  position: absolute; top: 0; left: 0; width: 100%; height: 150px; pointer-events: none;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.garland .string { stroke-width: 1; opacity: .8; }
.garland .fill { fill: color-mix(in srgb, var(--gold) 55%, transparent); }
.garland .glass { fill: color-mix(in srgb, #ffd98a 40%, transparent); }
.garland .hang { transform-box: fill-box; transform-origin: 50% 0; animation: sway var(--d, 4s) ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.season-greeting {
  margin: 0 0 4px; font: 400 clamp(1.8rem, 7vw, 2.6rem)/1.3 var(--display); color: var(--rose-deep);
}
[data-season] .hero { background:
  radial-gradient(circle at 12% 30%, rgb(194 160 107 / .16) 0 2px, transparent 3px),
  radial-gradient(circle at 82% 22%, rgb(194 160 107 / .16) 0 2px, transparent 3px),
  radial-gradient(circle at 68% 62%, rgb(194 160 107 / .12) 0 2px, transparent 3px),
  radial-gradient(circle at 26% 74%, rgb(194 160 107 / .12) 0 2px, transparent 3px);
  background-size: 220px 220px; }
@media (max-width: 640px) { .has-garland { padding-top: 96px; } .garland { height: 120px; } }
