/* OMNIA storefront — mobile first, RTL-aware (logical properties throughout). */
:root {
  --black: #000;
  --text: #1E1C19;
  --muted: #6E675D;
  --white: #fff;
  --beige: #EDE5D8;
  --beige-soft: #F6F2EB;
  --line: #E3DBCE;
  --gold: #C9AE7C;
  --gold-deep: #85703F;
  --sale: #8C2F1F;
  --ok: #2F6B4A;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --arabic: "Noto Kufi Arabic", "Geeza Pro", Tahoma, sans-serif;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 60px;
  --r-sm: 2px;
  --r-md: 6px;
}
html[lang="ar"] { --sans: var(--arabic); --serif: var(--arabic); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--black); letter-spacing: -.005em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 600; line-height: 1.4; letter-spacing: 0; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 20px; }
html[lang="ar"] h1 { font-size: clamp(24px, 4vw, 34px); }
html[lang="ar"] h2 { font-size: clamp(20px, 3vw, 26px); }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 480px; padding-block: 32px 64px; }
.narrow-wide { max-width: 760px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
[hidden] { display: none !important; }

/* ---------- buttons & form controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 500; font-size: 14px; letter-spacing: .02em; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-decoration: none !important; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2A2723; }
.btn-outline { border-color: var(--black); background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #D8C196; }
.btn-ghost { background: transparent; padding: 0; min-height: 40px; color: var(--text); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 54px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { background: var(--beige); color: var(--muted); cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.link-btn.danger { color: var(--sale); }
.link-arrow { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; text-decoration: none !important; }
.small-link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; position: relative; color: var(--black); border-radius: 50%; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-label { font-size: 13px; font-weight: 500; }
.field-label .opt { font-style: normal; color: var(--muted); font-weight: 400; }
.field-hint { font-size: 12px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 16px; /* 16px stops iOS zoom */
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 12px center; padding-inline-end: 40px; }
html[dir="rtl"] select { background-position: left 12px center; }
input:focus, select:focus, textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 1px var(--black); }
textarea { min-height: 80px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--black); flex: none; margin: 0; }
.check em { margin-inline-start: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: 4px; }
.stack-lg > * + * { margin-top: 16px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(18px, 3vw, 28px); }
.card h2 { font-size: 22px; }
.form-card h1 { font-size: 34px; }
.form-alt { margin: 18px 0 0; font-size: 14px; text-align: center; }
.form-alt a { text-decoration: underline; text-underline-offset: 3px; }

.flashes { padding-top: 14px; }
.flash { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 12px; border-inline-start: 3px solid var(--gold); background: var(--beige-soft); }
.flash-error { border-color: var(--sale); background: #FBF1EE; }
.flash-success { border-color: var(--ok); background: #F0F6F2; }

.badge { display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 600; letter-spacing: .03em; background: var(--white); color: var(--black); border-radius: var(--r-sm); }
.badge-gold { background: var(--gold); color: var(--black); }
.badge-muted { background: var(--beige); color: var(--muted); }

/* ---------- top bars & header ---------- */
.demo-banner { background: var(--gold); color: var(--black); text-align: center; font-size: 12px; padding: 6px var(--gutter); }
.announcement { background: var(--black); color: var(--beige); text-align: center; font-size: 12.5px; padding: 8px var(--gutter); letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.logo { margin-inline-end: auto; text-decoration: none !important; }
.logo-word { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 28px; letter-spacing: .32em; color: var(--black); padding-inline-start: .32em; line-height: 1; }
.logo-word.light { color: var(--white); }
.header-search { display: none; }
.header-icons { display: flex; align-items: center; }
.lang-link { font-size: 13px; padding: 8px; font-weight: 500; }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--black); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.hide-sm { display: none; }
.category-nav { border-top: 1px solid var(--line); display: none; }
.category-nav-inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; height: 44px; align-items: center; font-size: 13.5px; }
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-nav a.accent, .drawer-nav a.accent { color: var(--sale); }
.mobile-search { position: relative; padding-bottom: 10px; }
.mobile-search svg, .header-search svg { position: absolute; inset-inline-start: calc(var(--gutter) + 12px); top: 12px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.6; pointer-events: none; }
.mobile-search input { min-height: 44px; background: var(--beige-soft); border-color: transparent; padding-inline-start: 42px; }
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .menu-toggle, .mobile-search { display: none; }
  .hide-sm { display: inline-grid; }
  .logo { margin-inline-end: 0; }
  .logo-word { font-size: 32px; }
  .header-inner { gap: 32px; }
  .header-search { display: block; position: relative; flex: 1; max-width: 520px; margin-inline: auto; }
  .header-search svg { inset-inline-start: 14px; }
  .header-search input { min-height: 44px; background: var(--beige-soft); border-color: transparent; padding-inline-start: 44px; font-size: 14px; }
  .category-nav { display: block; }
  .category-nav-inner { justify-content: center; }
}

/* ---------- drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); animation: fade .2s ease; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 380px); background: var(--white); overflow-y: auto; animation: slide-in .25s ease; display: flex; flex-direction: column; }
html[dir="rtl"] .drawer-panel { animation-name: slide-in-rtl; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer-nav a { padding: 13px 22px; font-size: 16px; border-bottom: 1px solid var(--beige-soft); }
.drawer-nav.secondary a { font-size: 14px; color: var(--muted); border: 0; padding-block: 10px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes slide-in-rtl { from { transform: translateX(100%); } }
body.no-scroll { overflow: hidden; }

/* ---------- hero ---------- */
.hero { background: var(--beige); overflow: hidden; position: relative; }
.hero-inner { display: grid; gap: 28px; padding-block: 32px 36px; align-items: center; }
.kicker { font-size: 13px; color: var(--gold-deep); font-weight: 500; letter-spacing: .04em; margin-bottom: 14px; }
.kicker.light { color: var(--gold); }
.hero-title { font-size: clamp(44px, 9.5vw, 104px); line-height: .95; letter-spacing: -.02em; margin-bottom: 22px; max-width: 9ch; font-weight: 500; }
html[lang="ar"] .hero-title { font-size: clamp(34px, 7vw, 68px); line-height: 1.3; letter-spacing: 0; max-width: 12ch; }
.hero-sub { font-size: 16px; max-width: 46ch; color: #3D3830; }
.hero-search { display: none; margin: 22px 0 18px; max-width: 480px; }
.hero-search input { border-color: var(--black); border-radius: var(--r-sm) 0 0 var(--r-sm); }
html[dir="rtl"] .hero-search input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hero-search .btn { border-radius: 0; min-height: 48px; padding: 0 18px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hc { position: relative; display: block; background: var(--beige-soft); overflow: hidden; text-decoration: none !important; }
.hc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.hc:hover img { transform: scale(1.03); }
.hc-label { position: absolute; inset-inline-start: 8px; bottom: 8px; background: var(--white); font-size: 11px; padding: 3px 7px; font-weight: 500; }
@media (max-width: 599px) { .hc-label { display: none; } }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 64px 72px; }
  .hero-collage { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hc-2, .hc-4 { transform: translateY(40px); }
  .hero-sub { font-size: 17px; }
  .hero-search { display: flex; }
}
.hero-photo { min-height: min(78vh, 720px); display: grid; align-items: end; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 65%); }
.hero-photo .hero-inner { position: relative; z-index: 1; grid-template-columns: 1fr; }
.hero-photo .hero-title, .hero-photo .hero-sub { color: var(--white); }
.hero-photo .btn-outline { border-color: var(--white); color: var(--white); }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.promise strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--black); }
.promise p { margin: 0; font-size: 13px; color: var(--muted); }
.promise { border-inline-start: 2px solid var(--gold); padding-inline-start: 12px; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 34px; } }

/* ---------- sections, rails, grids ---------- */
.section { padding-block: 40px 8px; }
@media (min-width: 900px) { .section { padding-block: 64px 12px; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 31%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; margin-inline: 0; padding-inline: 0; } }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; } }
@media (min-width: 1280px) { .account .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* product card */
.product-card { position: relative; min-width: 0; }
.pc-media { position: relative; display: block; background: var(--beige-soft); aspect-ratio: 4 / 5; overflow: hidden; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-media .pc-alt { opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) { .product-card:hover .pc-alt { opacity: 1; } }
.pc-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.pc-wish { position: absolute; top: 6px; inset-inline-end: 6px; }
.wish-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; }
.pc-wish .wish-btn { width: 38px; height: 38px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.85); }
.wish-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--black); stroke-width: 1.5; }
.wish-btn.is-saved svg { fill: var(--black); }
.pc-body { padding-top: 12px; }
.pc-brand { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; display: block; margin-bottom: 2px; }
.pc-name { font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.4; margin: 0 0 6px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-weight: 600; font-size: 14px; }
.price-now.is-sale { color: var(--sale); }
.price-was { color: var(--muted); font-size: 13px; }
.product-card.is-unavailable .pc-media img { opacity: .55; }

/* categories */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.category-tile { background: var(--beige-soft); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; text-align: center; font-size: 13px; font-weight: 500; text-decoration: none !important; transition: background .2s; }
.category-tile:hover { background: var(--beige); }
.cat-icon { width: 40px; height: 40px; fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linejoin: round; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(9, 1fr); gap: 10px; } .category-tile { aspect-ratio: 3 / 4; } }

/* offers band */
.offer-band { background: var(--black); color: var(--beige); margin-top: 56px; padding-block: 44px; }
.offer-band h2 { color: var(--white); font-size: clamp(32px, 5vw, 52px); font-weight: 500; }
.offer-inner { display: grid; gap: 28px; }
.offer-copy p { color: #CFC6B8; max-width: 36ch; }
.rail-dark .pc-brand { color: #A9A091; }
.rail-dark .pc-name, .rail-dark .price-now { color: var(--white); }
.rail-dark .price-now.is-sale { color: var(--gold); }
@media (min-width: 1024px) {
  .offer-inner { grid-template-columns: 280px 1fr; align-items: center; gap: 48px; }
  .rail-dark { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}

/* brands */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand-tile { background: var(--white); padding: 24px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; text-decoration: none !important; transition: background .2s; }
.brand-tile:hover { background: var(--beige-soft); }
.brand-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; font-weight: 600; color: var(--black); line-height: 1.1; }
.brand-tag { font-size: 13px; color: var(--muted); }
.brand-origin { margin-top: auto; font-size: 12px; color: var(--gold-deep); }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }

/* newsletter */
.newsletter { background: var(--beige); margin-top: 64px; padding-block: 48px; }
.newsletter-inner { display: grid; gap: 20px; align-items: center; }
.newsletter p { margin: 0; color: #4A443B; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 220px; border-color: var(--black); }
@media (min-width: 900px) { .newsletter-inner { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* footer */
.site-footer { background: var(--black); color: #CFC6B8; padding-top: 52px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 36px; }
.footer-brand { grid-column: 1 / -1; }
.footer-tag { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; color: var(--gold); margin: 14px 0 12px; }
html[lang="ar"] .footer-tag { font-family: var(--arabic); font-size: 17px; }
.site-footer h3 { font-family: var(--sans); font-size: 13px; color: var(--white); font-weight: 600; letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .muted { color: #958C7F; }
.socials { display: flex; gap: 16px; flex-wrap: wrap; }
.socials a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid #2A2723; padding-block: 20px 28px; font-size: 12.5px; color: #958C7F; }
.pay-badge { border: 1px solid #3A3631; padding: 4px 10px; border-radius: var(--r-sm); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- listing ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding-block: 18px 6px; }
.listing-head { padding-bottom: 8px; }
.listing-head h1 { margin-bottom: 8px; }
.listing-desc { color: var(--muted); max-width: 60ch; }
.page-narrow-head { padding-block: 32px 0; }
.listing-toolbar { position: sticky; top: calc(var(--header-h) + 54px); z-index: 20; background: var(--white); display: flex; align-items: center; gap: 12px; padding-block: 10px; border-block: 1px solid var(--line); margin-bottom: 16px; }
.listing-toolbar .sort { margin-inline-start: auto; }
.listing-toolbar select { min-height: 38px; padding-block: 6px; font-size: 13.5px; border-color: var(--line); width: auto; }
.result-count { white-space: nowrap; font-size: 13px; color: var(--muted); }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--black); color: var(--white); font-size: 11px; }
.filter-toggle:hover .count-dot { background: var(--gold); color: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font-size: 12.5px; padding: 6px 12px; background: var(--beige-soft); border-radius: 20px; text-decoration: none !important; }
.chip-clear { background: none; text-decoration: underline !important; }
.listing-body { display: block; }
.filters-panel { padding-bottom: 90px; }
.filters { padding: 0 20px; }
.filter-group { border-bottom: 1px solid var(--line); padding-block: 4px; }
.filter-group summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-weight: 400; }
.filter-group[open] summary::after { content: "−"; }
.filter-group[open] { padding-bottom: 12px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.price-range label span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip input, .color-chip input, .size-opt input, .swatch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-chip span, .size-opt span { display: grid; place-items: center; min-width: 46px; height: 40px; padding: 0 10px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; border-radius: var(--r-sm); }
.size-chip input:checked + span, .size-opt input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.size-chip input:focus-visible + span, .size-opt input:focus-visible + span, .swatch-opt input:focus-visible + .swatch, .color-chip input:focus-visible + .swatch { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.color-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; padding: 4px 0; position: relative; }
.swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; display: inline-block; }
.color-chip input:checked + .swatch { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black); }
.filters-actions { position: fixed; bottom: 0; inset-inline-start: 0; width: min(88vw, 380px); display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .listing-body { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
  .filter-toggle { display: none; }
  .drawer-filters { display: block; position: sticky; top: calc(var(--header-h) + 110px); inset: auto; z-index: 1; max-height: calc(100vh - var(--header-h) - 130px); overflow-y: auto; }
  .drawer-filters .drawer-backdrop, .filters-head { display: none; }
  .drawer-filters .drawer-panel { position: static; width: auto; animation: none; padding: 0; }
  .filters { padding: 0; }
  .filters-panel { padding-bottom: 0; }
  .filters-actions { position: static; width: auto; padding: 16px 0; border: 0; grid-template-columns: 1fr; }
  .js .filters-actions .btn-dark { display: none; }
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; font-size: 13px; }
.empty { text-align: center; padding: 64px 0; max-width: 460px; margin-inline: auto; }
.empty-title { font-family: var(--serif); font-size: 26px; color: var(--black); margin-bottom: 8px; }
.empty .btn { margin-top: 12px; }
.error-code { font-family: "Cormorant Garamond", serif; font-size: 96px; line-height: 1; color: var(--gold); margin: 0; }

/* ---------- product page ---------- */
.product-page { padding-bottom: 24px; }
.pdp { display: grid; gap: 24px; }
.gallery-main { position: relative; background: var(--beige-soft); margin-inline: calc(var(--gutter) * -1); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-main img.is-hidden { display: none; }
.gallery-badge { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 12px; padding: 5px 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 64px; padding: 0; border: 1px solid transparent; background: var(--beige-soft); cursor: pointer; }
.thumb.is-active { border-color: var(--black); }
.pdp-brand { font-size: 13px; letter-spacing: .08em; color: var(--gold-deep); font-weight: 500; }
.pdp-title { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 12px; }
.price-lg .price-now { font-size: 20px; }
.price-lg .price-was { font-size: 16px; }
.buy-form { margin-top: 22px; }
.opt-group { border: 0; padding: 0; margin: 0 0 20px; }
.opt-group legend { font-size: 13px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.opt-group legend span { font-weight: 400; color: var(--muted); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-opt { position: relative; cursor: pointer; }
.swatch-opt .swatch { width: 34px; height: 34px; }
.swatch-opt input:checked + .swatch { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--black); }
.size-opt { position: relative; }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); flex: none; }
.qty button { width: 40px; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty input { width: 40px; min-height: 46px; border: 0; padding: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.qty-sm button { width: 32px; } .qty-sm input { width: 32px; min-height: 36px; font-size: 14px; }
.form-error { color: var(--sale); font-size: 13px; margin-top: 10px; }
.wish-inline { margin-top: 8px; }
.delivery-box { display: flex; gap: 14px; background: var(--beige-soft); padding: 16px; margin-top: 18px; font-size: 14px; }
.delivery-box svg { width: 26px; height: 26px; fill: none; stroke: var(--black); stroke-width: 1.5; flex: none; }
.delivery-box p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.prose { font-size: 14.5px; color: #3A3630; max-width: 62ch; }
.specs { margin: 0 0 16px; font-size: 14px; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.specs div:last-child { border: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: 30; display: flex; gap: 12px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
.sticky-buy-info { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 13px; }
.sticky-buy-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  .gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 64px); }
  .gallery-main { margin: 0; grid-column: 2; grid-row: 1; }
  .thumbs { flex-direction: column; margin: 0; grid-column: 1; grid-row: 1; }
  .thumb { width: 76px; }
  .sticky-buy { display: none !important; }
}

/* ---------- cart & checkout ---------- */
.cart-page, .checkout-page, .order-page, .account { padding-block: 28px 64px; }
.cart-grid, .checkout-grid, .order-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) {
  .cart-grid, .checkout-grid { grid-template-columns: 1fr 380px; gap: 32px; }
  .order-grid { grid-template-columns: 1fr 360px; gap: 24px; }
  .summary, .checkout-side { position: sticky; top: calc(var(--header-h) + 64px); }
}
.line-items { list-style: none; margin: 0; padding: 0; }
.line-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:first-child { padding-top: 0; }
.line-item img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--beige-soft); }
.line-item.is-removed { opacity: .55; }
.li-info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; min-width: 0; }
.li-info strong { font-weight: 500; }
.li-controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.li-price { font-weight: 600; font-size: 14px; }
.line-items.compact .line-item { padding: 10px 0; }
.thumb-wrap { position: relative; }
.thumb-wrap img { width: 56px; }
.qty-badge { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--black); color: var(--white); font-size: 11px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; }
.totals { margin: 16px 0; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dd { margin: 0; }
.totals .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 17px; font-weight: 600; }
.summary .link-arrow { display: inline-block; margin-top: 16px; }
.checkout-main { display: grid; gap: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 13px; margin-inline-end: 10px; vertical-align: 3px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; cursor: pointer; font-size: 14px; }
.radio-card input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--black); flex: none; }
.radio-card:has(input:checked) { border-color: var(--black); background: var(--beige-soft); }
.radio-card:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.saved-addresses { margin-bottom: 14px; }
.secure { display: flex; gap: 8px; align-items: flex-start; }
.secure svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; margin-top: 1px; }
body.is-checkout .category-nav, body.is-checkout .mobile-search { display: none; }

/* order status */
/* ---------- order confirmation / order page ---------- */
.order-top { max-width: 880px; margin: 0 auto 28px; display: grid; gap: 20px; }
.order-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0; }
.order-head.is-placed { text-align: center; padding-top: 8px; }
.confirm-check { width: 60px; height: 60px; border-radius: 50%; background: var(--black); display: grid; place-items: center; margin: 0 auto 18px; }
.confirm-check svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 2; }

.order-ticket { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.ot-cell { display: grid; gap: 6px; min-width: 0; }
.ot-cell:last-child { justify-items: end; text-align: end; }
.ot-label, .mc-label { font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.ot-number, .mc-value { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.ot-number strong { font-size: clamp(22px, 4vw, 28px); font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--black); font-family: var(--sans); }

.state-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.state-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.state-pending { background: #F6ECD6; color: #6B5526; }
.state-ok { background: #E5EFE8; color: var(--ok); }
.state-neutral { background: var(--beige); color: var(--black); }
.state-muted { background: #EEEBE6; color: var(--muted); }

.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--black); font: 500 13px/1 var(--sans); cursor: pointer; transition: border-color .15s, background .15s; flex: none; }
.copy-btn:hover { border-color: var(--black); }
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.copy-btn.is-copied { background: var(--black); border-color: var(--black); color: var(--white); }

.pay-panel { border: 1px solid var(--black); border-radius: var(--r-md); overflow: hidden; background: var(--beige-soft); }
.pp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; padding: clamp(20px, 4vw, 30px); background: var(--black); color: var(--white); }
.pp-head h2 { color: var(--white); font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; }
.pp-head p { margin: 0; color: #D8D1C5; max-width: 42ch; }
.pp-amount { display: grid; gap: 2px; text-align: end; }
.pp-amount span { font-size: 12.5px; color: #B8AE9C; }
.pp-amount strong { font-family: var(--sans); font-size: clamp(30px, 6vw, 40px); font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.1; }
.pp-body { padding: clamp(18px, 4vw, 30px); display: grid; gap: 20px; }
.pp-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.method-card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.method-card h3 { font-size: 22px; margin: 0 0 4px; }
.mc-value strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--black); letter-spacing: .02em; }
.mc-value strong.mc-text { font-size: 16px; letter-spacing: 0; overflow-wrap: anywhere; }
.mc-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.mc-sub b { color: var(--text); font-weight: 600; }
.pp-note { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: center; padding: 16px 20px; background: var(--white); border: 1px dashed var(--gold-deep); border-radius: var(--r-md); }
.pp-note > div { display: grid; gap: 6px; }
.pp-note p { margin: 0; font-size: 14px; color: var(--text); }
.pp-steps { margin: 0; padding: 0; list-style: none; counter-reset: pp; display: grid; gap: 10px; }
.pp-steps li { counter-increment: pp; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; }
.pp-steps li::before { content: counter(pp); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--black); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.pp-extra { margin: 0; font-size: 14px; color: var(--muted); }
.pp-actions { display: grid; gap: 12px; justify-items: start; border-top: 1px solid var(--line); padding-top: 20px; }
.btn-wa { background: #0F7A43; color: #fff; min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 600; }
.btn-wa:hover { background: #0B6236; }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }
.pp-attach { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; background: var(--white); border-inline-start: 3px solid var(--gold); font-size: 14px; font-weight: 500; color: var(--black); max-width: 60ch; }
.pp-attach svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; margin-top: 1px; }
.pp-verify { margin: 0; font-size: 14px; color: var(--muted); max-width: 60ch; }
.next-steps { background: var(--beige-soft); border: 0; }
.next-steps .steps { margin-bottom: 0; }

@media (max-width: 640px) {
  .order-ticket { grid-template-columns: 1fr; padding: 16px 18px; }
  .ot-cell:last-child { justify-items: start; text-align: start; }
  .pp-head { flex-direction: column; align-items: stretch; }
  .pp-amount { text-align: start; padding-top: 14px; border-top: 1px solid #3A3631; }
  .pp-note { grid-template-columns: 1fr; }
  .pp-actions { justify-items: stretch; }
  .btn-wa, .pp-actions .btn { width: 100%; }
}
.order-page > .card { margin-bottom: 20px; }
.order-meta { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-bottom: 22px; font-size: 14px; }
.order-meta div { display: flex; flex-direction: column; gap: 2px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.progress::before { content: ""; position: absolute; top: 7px; inset-inline: 8%; height: 2px; background: var(--line); }
.progress li { position: relative; text-align: center; font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.progress .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); position: relative; z-index: 1; }
.progress li.done .dot { background: var(--black); border-color: var(--black); }
.progress li.current .dot { background: var(--gold); border-color: var(--black); }
.progress li.current { color: var(--black); font-weight: 600; }
@media (max-width: 560px) { .progress .lbl { display: none; } .progress li.current .lbl { display: block; position: absolute; top: 24px; white-space: nowrap; } .progress { padding-bottom: 26px; } }
.status-pill { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 20px; background: var(--beige); }
.status-pill.status-cancelled { background: #F4E3DF; color: var(--sale); }
.status-pill.status-delivered { background: #E3EFE7; color: var(--ok); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.timeline li { padding: 0 0 14px 16px; border-inline-start: 2px solid var(--line); position: relative; padding-inline-start: 16px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.timeline p { margin: 2px 0 0; color: #4A443B; }
.tl-date { display: block; font-size: 12px; color: var(--muted); }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: baseline; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; white-space: nowrap; }
.tabs a { padding: 12px 0; font-size: 14px; border-bottom: 2px solid transparent; text-decoration: none !important; }
.tabs a[aria-current="page"] { border-color: var(--black); font-weight: 600; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 16px 18px; }
.order-row > div { display: flex; flex-direction: column; font-size: 14px; }
@media (min-width: 700px) { .order-row { grid-template-columns: 1fr auto 100px auto; } }
.account-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; } }
.address-card { margin-bottom: 12px; font-size: 14px; }
.inline-actions { display: flex; gap: 16px; }
.back-link { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* info pages */
.page { padding-block: 36px 64px; }
.page h2 { font-size: 24px; margin-top: 1.6em; }
.page p { font-size: 15.5px; line-height: 1.7; color: #3A3630; }
.legal-note { background: var(--beige-soft); border-inline-start: 3px solid var(--gold); padding: 10px 14px; font-size: 13px !important; }
.contact-grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none !important; }

/* toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; z-index: 80; background: var(--black); color: var(--white); padding: 13px 20px; font-size: 14px; border-radius: var(--r-sm); box-shadow: 0 8px 30px rgba(0,0,0,.18); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); }
.toast a { color: var(--gold); text-decoration: underline; white-space: nowrap; }
.has-sticky-buy .toast { bottom: 84px; }

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

/* discount codes */
.discount-form { margin: 14px 0 4px; }
.discount-row { display: flex; gap: 8px; }
.discount-row input { min-height: 40px; padding-block: 8px; text-transform: uppercase; }
.discount-row .btn { flex: none; }
.discount-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--beige-soft); padding: 10px 12px; font-size: 13.5px; border-inline-start: 3px solid var(--gold); }
.totals .discount dd, .totals .discount dt { color: var(--ok); }

/* card payment */
.pay-amount { display: flex; justify-content: space-between; align-items: baseline; border-block: 1px solid var(--line); padding: 14px 0; margin: 18px 0; }
.pay-amount strong { font-size: 22px; }
.pay-card .link-btn { margin-top: 14px; display: inline-block; }
.pay-notice { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: #FBF4E6; border-inline-start: 3px solid var(--gold); padding: 14px 16px; margin-bottom: 20px; }
.pay-notice form { margin: 0; }

/* WhatsApp button & app page */
.wa-float { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 35; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none !important; }
.wa-float svg { width: 30px; height: 30px; }
.has-sticky-buy .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
.app-card { text-align: center; }
.app-card h2 { font-size: 20px; margin-top: 24px; }
.app-icon { margin: 0 auto 14px; border-radius: 16px; }
