/* ==========================================================================
   BAREEQ storefront — ivory & gold jewellery aesthetic, RTL-first.
   Logical properties (inline-start/end) keep the layout correct in both
   Arabic (rtl) and English (ltr).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/amiri/amiri-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/amiri/amiri-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/amiri/amiri-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/amiri/amiri-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/cormorant/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/plex/ibm-plex-sans-arabic-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #fbf8f3;
  --cream: #f4eee4;
  --sand: #ebe2d3;
  --line: #e5ddd0;
  --ink: #1b1816;
  --ink-2: #3a3430;
  --muted: #7a7068;
  --gold: #b8975b;
  --gold-2: #d4b978;
  --gold-dark: #8f7340;
  --gold-soft: #f3ead6;
  --rose: #c98a95;
  --success: #2e7d5b;
  --success-soft: #e6f3ec;
  --danger: #b23a48;
  --danger-soft: #f8e7e9;
  --warn: #b07a1a;
  --warn-soft: #fbf1dc;
  --radius: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(27, 24, 22, .06), 0 1px 1px rgba(27, 24, 22, .04);
  --shadow: 0 10px 30px -12px rgba(27, 24, 22, .25);
  --shadow-lg: 0 30px 60px -20px rgba(27, 24, 22, .35);
  --font-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Amiri', 'Cormorant Garamond', Georgia, serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html[lang='en'] { --font-display: 'Cormorant Garamond', 'Amiri', Georgia, serif; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--ivory); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.005em; }
html[lang='en'] h1, html[lang='en'] h2, html[lang='en'] h3 { font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
.site-main { flex: 1; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.mt { margin-top: 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }
.pre { white-space: pre-line; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 1000; transition: top .2s; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.35rem; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; box-shadow: 0 8px 20px -10px rgba(184, 151, 91, .9); text-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); box-shadow: 0 12px 24px -10px rgba(143, 115, 64, .9); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-link { color: var(--gold-dark); padding-inline: .5rem; background: transparent; }
.btn-link:hover { color: var(--ink); text-decoration: underline; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb457; transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem .75rem; font-size: .85rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; position: relative; color: var(--ink); transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold-dark); font-weight: 600; transition: gap .2s; }
.link-arrow:hover { gap: .6rem; color: var(--ink); }
.badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.kicker { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-dark); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.kicker-light { color: rgba(255, 255, 255, .85); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ---------- Announce + header ---------- */
.announce { background: var(--ink); color: var(--gold-2); font-size: .85rem; text-align: center; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .45rem 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background-color .25s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(27, 24, 22, .4); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; height: var(--header-h); }
.menu-btn { display: none; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand-mark { color: var(--gold); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Amiri', serif; font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.brand-sub { font-family: 'Cormorant Garamond', serif; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); margin-top: 2px; }
.brand-logo { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }
.main-nav a { font-weight: 500; font-size: .95rem; padding: .35rem 0; position: relative; color: var(--ink-2); transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .25rem; }
.search-form { position: relative; display: flex; align-items: center; gap: .4rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; width: 230px; transition: width .3s var(--ease), background-color .2s, border-color .2s; }
.search-form:focus-within { width: 300px; background: #fff; border-color: var(--gold); }
.search-form .icon { color: var(--muted); flex: none; }
.search-form input { border: 0; background: transparent; outline: 0; width: 100%; font-size: .9rem; padding: .15rem 0; }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: .4rem; z-index: 60; }
.search-suggest a { display: flex; align-items: center; gap: .7rem; padding: .45rem .5rem; border-radius: var(--radius); }
.search-suggest a:hover { background: var(--cream); }
.search-suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.search-suggest span { flex: 1; font-size: .9rem; }
.search-suggest strong { font-size: .85rem; color: var(--gold-dark); }
.lang-switch { font-size: .82rem; font-weight: 600; padding: .35rem .6rem; border-radius: 999px; color: var(--ink-2); border: 1px solid var(--line); margin-inline-start: .35rem; transition: background-color .2s; }
.lang-switch:hover { background: var(--cream); }
.demo-banner { display: flex; align-items: center; gap: .5rem; margin-top: 10px; padding: .5rem .9rem; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: .85rem; border: 1px dashed rgba(176, 122, 26, .4); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(27, 24, 22, .5); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--ivory); padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 1rem; }
[dir='rtl'] .mobile-menu-panel { transform: translateX(100%); }
.mobile-menu.is-open .mobile-menu-panel { transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-search { width: 100%; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.mobile-wa { margin-top: auto; }

/* ---------- Flash & toasts ---------- */
.flash { display: flex; align-items: center; gap: .6rem; width: min(100% - 32px, var(--container)); margin: 16px auto 0; padding: .8rem 1rem; border-radius: var(--radius); font-weight: 500; animation: fadeDown .4s var(--ease); }
.flash-success { background: var(--success-soft); color: var(--success); }
.flash-error { background: var(--danger-soft); color: var(--danger); }
.flash-info { background: var(--gold-soft); color: var(--gold-dark); }
.checkout-form .flash { width: auto; margin: 0 0 1rem; }
.toasts { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; width: min(92vw, 420px); }
[dir='rtl'] .toasts { transform: translateX(50%); }
.toast { display: flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 500; font-size: .92rem; animation: toastIn .35s var(--ease); pointer-events: auto; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
.toast-error { background: var(--danger); }
.toast-success .icon { color: var(--gold-2); }
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--gold-2), transparent 70%); top: -120px; inset-inline-end: 8%; animation: float 12s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, var(--rose), transparent 70%); bottom: -140px; inset-inline-start: 5%; opacity: .35; animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.sparkles { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(184, 151, 91, .5) 1px, transparent 1.5px), radial-gradient(circle, rgba(184, 151, 91, .35) 1px, transparent 1.5px); background-size: 160px 160px, 90px 90px; background-position: 0 0, 40px 60px; opacity: .5; mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent); -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin: .5rem 0 1rem; }
.hero-text .lead { font-size: 1.1rem; color: var(--ink-2); max-width: 48ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-dark); line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline-start: auto; width: 100%; }
.hero-main { position: absolute; inset: 6% 10% 10% 6%; border-radius: 40% 40% 40% 40% / 45% 45% 40% 40%; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cream); transition: transform .5s var(--ease); }
.hero-main:hover { transform: scale(1.02); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; bottom: 14px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .1rem; background: rgba(251, 248, 243, .92); backdrop-filter: blur(6px); padding: .5rem 1rem; border-radius: 999px; font-size: .8rem; white-space: nowrap; max-width: 90%; }
[dir='rtl'] .hero-caption { transform: translateX(50%); }
.hero-caption span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hero-caption strong { color: var(--gold-dark); }
.hero-side { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); background: var(--cream); transition: transform .4s var(--ease); }
.hero-side:hover { transform: scale(1.06); }
.hero-side img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-1 { top: -2%; inset-inline-start: -4%; animation: float 9s ease-in-out infinite; }
.hero-side-2 { bottom: -2%; inset-inline-end: -2%; animation: float 11s ease-in-out infinite reverse; }
.hero-ring { position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed rgba(184, 151, 91, .5); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Features ---------- */
.features { border-block: 1px solid var(--line); background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1rem; border-inline-end: 1px solid var(--line); }
.feature:last-child { border-inline-end: 0; }
.feature .icon { color: var(--gold); flex: none; }
.feature div { display: flex; flex-direction: column; line-height: 1.3; }
.feature strong { font-size: .95rem; }
.feature span { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--cream), var(--ivory)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2 { margin-bottom: .2rem; position: relative; display: inline-block; }
.section-head h2::after { content: ''; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: .35rem; border-radius: 2px; }
.section-head p { color: var(--muted); margin: 0; }
.page-head { padding: clamp(1.6rem, 4vw, 3rem) 0 1.2rem; }
.page-head h1 { margin-bottom: .2rem; }
.page-head-inline { padding-bottom: 0; }
.page-sub { color: var(--muted); max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span:last-child { color: var(--ink-2); }
.page-product .breadcrumb { margin-top: 1.2rem; }

/* Category tiles */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.category-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); isolation: isolate; }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.category-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 24, 22, .78), rgba(27, 24, 22, .05) 55%); z-index: 1; }
.category-tile:hover img { transform: scale(1.06); }
.category-tile-text { position: absolute; inset-inline: 0; bottom: 0; padding: 1.2rem; z-index: 2; color: #fff; display: flex; flex-direction: column; }
.category-tile-text strong { font-family: var(--font-display); font-size: 1.5rem; }
.category-tile-text span { font-size: .82rem; opacity: .85; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.1rem; }
.product-grid > .reveal { display: contents; }
.product-grid > .reveal > .card { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .3s; }
.product-grid > .reveal.is-visible > .card { opacity: 1; transform: none; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.img-wrap { position: relative; display: block; width: 100%; height: 100%; }
.img-wrap .lqip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px); transform: scale(1.1); }
.img-wrap .card-img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.img-wrap .card-img.loaded { opacity: 1; }
.card-img-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.card:hover .card-img-hover { opacity: 1; }
.card:hover .img-wrap .card-img { transform: scale(1.04); }
.card-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.badge-pill { display: inline-flex; align-items: center; padding: .22rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.badge-new { background: var(--ink); color: var(--gold-2); }
.badge-sale { background: var(--danger); color: #fff; }
.badge-out { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.wish-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); z-index: 3; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), color .2s, background-color .2s; }
.wish-btn:hover { transform: scale(1.1); color: var(--danger); }
.wish-btn.is-active { color: var(--danger); }
.wish-btn.is-active .icon { fill: currentColor; }
.wish-btn.pop { animation: bump .4s var(--ease); }
.card-body { padding: .9rem 1rem .4rem; flex: 1; }
.card-cat { font-size: .74rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: .2rem; }
.card-title { font-family: var(--font-body); font-size: .98rem; font-weight: 600; margin: 0 0 .4rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--gold-dark); }
.card-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.compare { color: var(--muted); font-size: .85rem; }
.demo-tag { font-size: .68rem; background: var(--warn-soft); color: var(--warn); padding: .1rem .4rem; border-radius: 4px; font-weight: 600; }
.card-meta { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.sep { opacity: .6; }
.tone-dot, .color-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); vertical-align: middle; }
.tone-gold { background: linear-gradient(135deg, #f1dc9c, #c89d4c); }
.tone-silver { background: linear-gradient(135deg, #fff, #b9bcc2); }
.tone-black { background: linear-gradient(135deg, #4a4a4a, #111); }
.tone-mixed { background: conic-gradient(#e6c777, #d9d9d9, #333, #e6c777); }
.color-white { background: #fff; } .color-pink { background: #f4a6c0; } .color-blue { background: #2c4fb8; } .color-green { background: #2f9a5a; } .color-red { background: #d4383f; } .color-black { background: #1a1a1a; } .color-purple { background: #8a5bd6; } .color-aqua { background: #5ad0d4; } .color-pearl { background: linear-gradient(135deg, #fff, #efe6d8); } .color-multicolor { background: conic-gradient(#f4a6c0, #5ad0d4, #2f9a5a, #f2d14e, #d4383f, #f4a6c0); }
.card-add { padding: 0 1rem 1rem; }
.btn-add { width: 100%; background: var(--cream); color: var(--ink); border-color: var(--cream); font-size: .88rem; padding: .6rem; }
.btn-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.is-soldout .card-media img { filter: grayscale(.5) opacity(.75); }
.btn-add.is-busy { pointer-events: none; opacity: .7; }
.btn-add.is-done { background: var(--success); color: #fff; border-color: var(--success); }

/* Banners */
.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.banner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; }
.banner-gold { background: linear-gradient(135deg, #8f7340, #c9a86a 60%, #e5d2a2); }
.banner-silver { background: linear-gradient(135deg, #2b2724, #5a544e 60%, #9a938a); }
.banner-text { padding: 2rem; position: relative; z-index: 2; }
.banner h3 { font-size: 1.9rem; margin: .3rem 0 .4rem; color: #fff; }
.banner p { opacity: .9; font-size: .92rem; margin-bottom: 1.1rem; }
.banner img { position: absolute; inset-inline-end: -5%; top: 50%; width: 58%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transform: translateY(-50%) rotate(-6deg); border: 8px solid rgba(255, 255, 255, .25); box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); z-index: 1; }
.banner:hover img { transform: translateY(-50%) rotate(0) scale(1.03); }

/* CTA */
.cta-section { padding-top: 1rem; }
.cta-box { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(212, 185, 120, .35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(201, 138, 149, .3), transparent 45%); }
.cta-box > * { position: relative; }
.cta-box .icon { color: var(--gold-2); margin: 0 auto .8rem; }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255, 255, 255, .8); max-width: 54ch; margin: 0 auto 1.4rem; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.2rem; align-items: start; padding-bottom: 3rem; }
.filters-toggle { display: none; }
.filters { position: sticky; top: calc(var(--header-h) + 12px); }
.filters-head { display: none; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.filters-head h2 { margin: 0; font-size: 1.3rem; }
.filter-group { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.filter-group legend { font-weight: 700; font-size: .92rem; margin-bottom: .6rem; display: block; }
.filter-group legend small { color: var(--muted); font-weight: 400; }
.choice { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; cursor: pointer; font-size: .92rem; }
.choice input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.choice em { font-style: normal; color: var(--muted); font-size: .8rem; margin-inline-start: auto; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; transition: all .2s; }
.chip em { font-style: normal; color: var(--muted); font-size: .72rem; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span em { color: var(--gold-2); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); }
.chip span:hover { border-color: var(--gold); }
.price-range { display: flex; align-items: center; gap: .5rem; }
.price-range input { width: 100%; min-width: 0; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .9rem; }
.filters-actions { padding-top: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.shop-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-bottom: 1rem; }
.sort-select { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.sort-select select { padding: .5rem 2rem .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7068' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right .7rem center; color: var(--ink); font-weight: 500; }
[dir='rtl'] .sort-select select { background-position: left .7rem center; padding: .5rem .8rem .5rem 2rem; }
.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-size: .9rem; color: var(--muted); }
.clear-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--danger); font-weight: 500; }
.shop-results { transition: opacity .25s; }
.shop-results[aria-busy='true'] { opacity: .45; pointer-events: none; }
.pagination { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: 2.2rem; flex-wrap: wrap; }
.page-num, .page-btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 40px; height: 40px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; transition: all .2s; }
.page-num:hover, .page-btn:hover { border-color: var(--ink); }
.page-num.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-gap { color: var(--muted); padding: 0 .3rem; }
.empty-state { text-align: center; padding: 3.5rem 1rem; max-width: 480px; margin: 0 auto; }
.empty-state .icon { color: var(--gold); margin: 0 auto 1rem; }
.empty-state h2 { margin-bottom: .4rem; }
.empty-state p { color: var(--muted); }
.error-state .error-code { font-family: var(--font-display); font-size: 5rem; color: var(--gold-2); line-height: 1; display: block; }
.filters-backdrop { display: none; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-bottom: 2rem; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); border: 1px solid var(--line); cursor: zoom-in; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .4s var(--ease); }
.gallery-slide.is-active { opacity: 1; position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-main.is-zooming .gallery-slide.is-active img { transform: scale(2); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; z-index: 3; opacity: 0; transition: opacity .2s, background-color .2s; }
.gallery-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.zoom-hint { position: absolute; bottom: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: .3rem; background: rgba(255, 255, 255, .9); padding: .25rem .55rem; border-radius: 999px; font-size: .72rem; color: var(--muted); z-index: 2; }
.gallery-thumbs { display: flex; gap: .55rem; margin-top: .7rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
.gallery-thumb { flex: none; width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: var(--cream); transition: border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--gold); }
.product-info { padding-top: .4rem; }
.product-cat { color: var(--gold-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.product-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .3rem 0 .4rem; }
.product-sku { font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.product-price { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .6rem; }
.product-price .price { font-size: 1.9rem; font-family: var(--font-display); }
.product-price .compare { font-size: 1.05rem; }
.demo-note { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--warn); background: var(--warn-soft); padding: .35rem .7rem; border-radius: var(--radius); }
.product-short { color: var(--ink-2); font-size: 1.02rem; }
.attr-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; padding: 1rem 0; border-block: 1px solid var(--line); margin: 1rem 0; }
.attr-list li { display: flex; flex-direction: column; font-size: .88rem; }
.attr-list span { color: var(--muted); font-size: .78rem; }
.attr-list strong { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.buy-form { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1rem; }
.buy-row { display: flex; gap: .7rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; height: 50px; flex: none; }
.qty button { width: 42px; height: 100%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); transition: background-color .2s; }
.qty button:hover { background: var(--cream); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-btn { flex: 1; }
.product-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.product-actions .btn { padding: .55rem .9rem; font-size: .88rem; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: .95rem 0; font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .3s var(--ease); color: var(--muted); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion-body { padding: 0 0 1.1rem; color: var(--ink-2); font-size: .95rem; }
.accordion-body h4 { font-family: var(--font-body); font-size: .9rem; margin: .8rem 0 .3rem; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.spec-list dt { color: var(--muted); font-size: .85rem; }
.spec-list dd { font-weight: 500; }
.faq details summary { font-size: 1.05rem; }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; background: rgba(251, 248, 243, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .6rem 0; z-index: 40; transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-price { font-weight: 700; font-size: 1.15rem; }
.lightbox { position: fixed; inset: 0; background: rgba(20, 17, 15, .92); z-index: 300; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 2rem; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; color: #fff; }
.lightbox-close:hover { background: rgba(255, 255, 255, .15); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.2rem; }
.form-card h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-family: var(--font-body); font-size: .9rem; font-weight: 700; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 151, 91, .18); }
.field .is-invalid { border-color: var(--danger); }
.field textarea { resize: vertical; min-height: 80px; }
.field-error { color: var(--danger); font-size: .82rem; margin: .35rem 0 0; }
.field-ok { color: var(--success); font-size: .85rem; margin: .4rem 0 0; display: flex; align-items: center; gap: .3rem; }
.field-note { color: var(--muted); font-size: .8rem; margin: .35rem 0 0; }
.gift-check { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border: 1.5px dashed var(--gold); border-radius: var(--radius-lg); background: var(--gold-soft); cursor: pointer; font-weight: 600; color: var(--gold-dark); margin-top: .2rem; }
.gift-check input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; }
.gift-check .icon { flex: none; }
.pay-options { display: grid; gap: .6rem; }
.pay-option { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-lg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.pay-option:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.pay-option input { accent-color: var(--gold); width: 18px; height: 18px; }
.pay-icon { color: var(--gold-dark); flex: none; }
.pay-text { display: flex; flex-direction: column; }
.pay-text span { font-size: .82rem; color: var(--muted); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }

/* ---------- Cart ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; padding-bottom: 3rem; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line.is-unavailable { opacity: .6; }
.cart-thumb img { width: 110px; height: 110px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.cart-line-title { font-weight: 600; display: block; }
.cart-line-title:hover { color: var(--gold-dark); }
.cart-line-meta { font-size: .85rem; color: var(--muted); margin: .2rem 0 .6rem; }
.cart-line-form { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cart-line-form .qty { height: 38px; }
.cart-line-form .qty button { width: 34px; }
.cart-line-form .qty input { width: 40px; }
.cart-line-total { font-weight: 700; font-size: 1.05rem; }
.cart-line.is-removing { animation: toastOut .3s forwards; }
.cart-summary, .checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-summary h2 { font-size: 1.3rem; }
.coupon-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius); text-transform: uppercase; }
.coupon-row input:focus { outline: 0; border-color: var(--gold); }
.totals { margin: 1.2rem 0; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem 0; font-size: .95rem; }
.totals dt { color: var(--muted); }
.totals dd { font-weight: 600; text-align: end; }
.totals-grand { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .8rem !important; }
.totals-grand dt { color: var(--ink); font-weight: 700; }
.totals-grand dd { font-size: 1.3rem; font-weight: 700; }
.totals-grand dd small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; }
.free-delivery { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--gold-dark); background: var(--gold-soft); padding: .5rem .7rem; border-radius: var(--radius); }
.free-delivery.is-reached { color: var(--success); background: var(--success-soft); }
.summary-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.summary-lines img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.summary-name { font-size: .9rem; font-weight: 500; display: flex; flex-direction: column; }
.summary-name small { color: var(--muted); font-weight: 400; }
.summary-price { font-weight: 600; font-size: .92rem; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(27, 24, 22, .5); z-index: 100; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(92vw, 420px); background: var(--ivory); z-index: 110; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
[dir='rtl'] .drawer { transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.35rem; }
.drawer-count { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.drawer-empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.drawer-empty .icon { margin: 0 auto 1rem; color: var(--gold); }
.drawer-line { display: grid; grid-template-columns: 70px 1fr auto; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.drawer-line img { width: 70px; height: 70px; border-radius: var(--radius); object-fit: cover; background: var(--cream); }
.drawer-line-name { font-weight: 600; font-size: .9rem; line-height: 1.35; display: block; margin-bottom: .3rem; }
.drawer-line-price { font-size: .82rem; color: var(--muted); }
.drawer-line .qty { height: 34px; margin-top: .4rem; }
.drawer-line .qty button { width: 30px; }
.drawer-line .qty input { width: 34px; font-size: .9rem; }
.drawer-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.drawer-line-total { font-weight: 700; font-size: .95rem; }
.drawer-remove { color: var(--muted); display: inline-flex; padding: .3rem; border-radius: 50%; }
.drawer-remove:hover { color: var(--danger); background: var(--danger-soft); }
.drawer-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.drawer-row { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: .2rem; }
.drawer-note { font-size: .78rem; color: var(--muted); margin-bottom: .8rem; }
.drawer-foot .btn + .btn { margin-top: .35rem; }

/* ---------- Order page ---------- */
.order-page { padding-top: 1.5rem; padding-bottom: 3rem; }
.order-hero { text-align: center; padding: 1rem 0 2rem; }
.order-check { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--success-soft); color: var(--success); margin-bottom: .8rem; animation: popIn .5s var(--ease); }
@keyframes popIn { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.order-number-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.order-number-row > div { display: flex; flex-direction: column; }
.order-number-row .muted { font-size: .78rem; }
.order-number { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-dark); letter-spacing: .04em; cursor: copy; }
.status-line { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.status-line p { margin: 0; color: var(--ink-2); }
.status-pill { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--cream); color: var(--ink-2); white-space: nowrap; }
.status-new { background: #e8eef9; color: #2c4fb8; }
.status-awaiting_payment, .status-awaiting_verification { background: var(--warn-soft); color: var(--warn); }
.status-confirmed, .status-processing { background: var(--gold-soft); color: var(--gold-dark); }
.status-shipped { background: #e6f0f7; color: #1f5f8b; }
.status-completed, .status-receipt-accepted { background: var(--success-soft); color: var(--success); }
.status-cancelled, .status-receipt-rejected { background: var(--danger-soft); color: var(--danger); }
.status-receipt-pending { background: var(--warn-soft); color: var(--warn); }
.progress { display: flex; justify-content: space-between; position: relative; margin-top: 1.2rem; counter-reset: step; }
.progress::before { content: ''; position: absolute; top: 9px; inset-inline: 10%; height: 2px; background: var(--line); }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 1; font-size: .72rem; color: var(--muted); text-align: center; }
.progress .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.progress li.done .dot { background: var(--success); border-color: var(--success); }
.progress li.current .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(184, 151, 91, .22); }
.progress li.done, .progress li.current { color: var(--ink); font-weight: 600; }
.bank-details > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.bank-details dt { color: var(--muted); font-size: .88rem; }
.bank-details dd { font-weight: 600; }
.bank-details dd.big { font-size: 1.25rem; color: var(--gold-dark); }
.bank-details [data-copy-text] { cursor: copy; }
.receipt-form { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .4rem; }
.receipt-form label { font-weight: 600; }
.receipt-form input[type='file'] { padding: .5rem; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--cream); }
.receipt-form .btn { align-self: flex-start; margin-top: .4rem; }
.receipt-list li { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; font-size: .9rem; }
.timeline { position: relative; padding-inline-start: 1.2rem; }
.timeline::before { content: ''; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 4px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: .3rem 0 .9rem; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -1.2rem; top: .7rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline-time { font-size: .76rem; color: var(--muted); }
.timeline-text { font-size: .92rem; }
.order-side .btn + .small { margin-top: .8rem; }

/* ---------- Contact / about / prose ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; padding-bottom: 3rem; }
.contact-side { display: flex; flex-direction: column; gap: .7rem; }
.contact-card { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.1rem; transition: transform .2s, box-shadow .2s; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card .icon { color: var(--gold); flex: none; }
.contact-card div { display: flex; flex-direction: column; }
.contact-card span { font-size: .85rem; color: var(--muted); }
.contact-wa .icon { color: #25d366; }
.prose { padding-bottom: 3rem; font-size: 1.02rem; }
.prose .lead { font-size: 1.15rem; color: var(--ink-2); }
.prose h2 { margin-top: 2rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 2rem; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; }
.value-card .icon { color: var(--gold); margin-bottom: .6rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.terms-list { list-style: decimal; padding-inline-start: 1.4rem; }
.terms-list li { margin-bottom: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding: 3.2rem 0 2rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin-bottom: .9rem; letter-spacing: .02em; }
.site-footer li { margin-bottom: .45rem; font-size: .9rem; }
.site-footer a:hover { color: var(--gold-2); }
.footer-about p { color: rgba(255, 255, 255, .7); font-size: .92rem; margin: .9rem 0; max-width: 34ch; }
.brand-footer { color: #fff; }
.brand-footer .brand-sub { color: var(--gold-2); }
.social-links { display: flex; gap: .5rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: border-color .2s, color .2s, background-color .2s; }
.social-links a:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(255, 255, 255, .05); }
.footer-contact li, .payment-list li { display: flex; align-items: center; gap: .5rem; }
.footer-contact .icon, .payment-list .icon { color: var(--gold-2); flex: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .55); flex-wrap: wrap; }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8); z-index: 45; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
/* Keep the checkout form free of floating buttons on small screens. */
.page-checkout .wa-float, .page-checkout .to-top { display: none; }
.to-top { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; z-index: 45; box-shadow: var(--shadow); opacity: .9; }
.page-product .to-top { bottom: 80px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .product-grid > .reveal > .card { opacity: 1; transform: none; }
.no-js .img-wrap .card-img { opacity: 1; }
.no-js .nojs-only { display: inline-flex; }
.js .nojs-only { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .product-grid > .reveal > .card { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .9rem; }
  .search-form { width: 180px; }
  .product-grid, .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .main-nav, .search-form:not(.mobile-search), .lang-switch { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 420px; margin-inline: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-inline-end: 0; }
  .feature { border-bottom: 1px solid var(--line); }
  .feature:nth-child(n+3) { border-bottom: 0; }
  .banner-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 1rem; }
  .filters-toggle { display: inline-flex; width: fit-content; }
  .filters { position: fixed; inset: 0; inset-inline-start: auto; width: min(88vw, 360px); background: var(--ivory); z-index: 120; overflow-y: auto; padding: 1rem 1.25rem 2rem; transform: translateX(100%); transition: transform .35s var(--ease); top: 0; }
  [dir='rtl'] .filters { transform: translateX(-100%); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; }
  .filters-backdrop { display: block; position: fixed; inset: 0; background: rgba(27, 24, 22, .5); z-index: 115; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .filters-backdrop.is-open { opacity: 1; visibility: visible; }
  .shop-toolbar { margin-top: -2.6rem; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout, .order-layout, .contact-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .sticky-buy { display: block; }
}
@media (min-width: 901px) { .sticky-buy { display: none; } }
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { width: min(100% - 24px, var(--container)); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem .7rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .category-tile-text { padding: .8rem; }
  .category-tile-text strong { font-size: 1.15rem; }
  .card-body { padding: .7rem .75rem .3rem; }
  .card-title { font-size: .9rem; }
  .card-add { padding: 0 .75rem .75rem; }
  .btn-add { font-size: .82rem; padding: .5rem; }
  .btn-add span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-inline-end: 0; }
  .feature:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats strong { font-size: 1.4rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .banner { grid-template-columns: 1fr; min-height: 260px; }
  .banner img { width: 46%; inset-inline-end: -8%; }
  .banner-text { padding: 1.5rem; max-width: 62%; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-thumb img { width: 80px; height: 80px; }
  .cart-line-total { grid-column: 2; }
  .attr-list { grid-template-columns: 1fr 1fr; }
  .buy-row { flex-wrap: wrap; }
  .buy-btn { width: 100%; }
  .progress li { font-size: .62rem; }
  .form-card { padding: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.4rem; }
  .wa-float { bottom: 16px; inset-inline-start: 16px; width: 50px; height: 50px; }
  .to-top { bottom: 16px; inset-inline-end: 16px; }
  .page-product .wa-float, .page-product .to-top { bottom: 84px; }
  .toasts { bottom: 90px; }
}
