/* Bedaya storefront — warm, bright theme. Brand navy is kept for text; blue is the action colour,
   amber the energy accent (the lightning bolt), and each category gets its own soft tone. */
:root {
  --ink: #1b2440;
  --ink-2: #3a4560;
  --muted: #6b7489;
  --navy: #1b2a5e;
  --primary: #1e63d6;
  --primary-2: #3b82f6;
  --primary-soft: #e8f0fe;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-soft: #fff4dc;
  --gold: #c19a4b;
  --bg: #fbf8f3;
  --bg-2: #f4efe6;
  --card: #fff;
  --line: #ece6db;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 10px 30px rgba(60, 45, 20, .07);
  --shadow-lg: 0 24px 60px rgba(40, 30, 10, .16);
  --font: 'Cairo', system-ui, sans-serif;
}
/* category tones: background tint / strong colour */
.tone-amber  { --t-bg: #fff4dc; --t-fg: #c47a00; --t-2: #fde3a7; }
.tone-sky    { --t-bg: #e3f1fd; --t-fg: #1673c7; --t-2: #bfdffa; }
.tone-mint   { --t-bg: #def7ec; --t-fg: #0f8a5f; --t-2: #b5ead2; }
.tone-rose   { --t-bg: #fde7ea; --t-fg: #d0384d; --t-2: #fac7cf; }
.tone-violet { --t-bg: #efe8fd; --t-fg: #6d45d6; --t-2: #d9cbfa; }
.tone-teal   { --t-bg: #dcf4f3; --t-fg: #0d8b86; --t-2: #b0e4e1; }
.tone-orange { --t-bg: #ffeadb; --t-fg: #e05d10; --t-2: #fdcfae; }
.tone-indigo { --t-bg: #e6e9fd; --t-fg: #3f4fd0; --t-2: #c7cdfa; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
[dir=ltr] body { --font: 'Montserrat', 'Cairo', system-ui, sans-serif; }
[x-cloak] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }
[dir=rtl] .flip-rtl { transform: scaleX(-1); }

/* server-rendered copy: visible only without JS (crawlers that don't run JS, no-JS visitors) */
.js .ssr { display: none; }
.ssr { padding: 24px 0; }
.ssr table { border-collapse: collapse; margin: 10px 0 24px; }
.ssr th, .ssr td { border: 1px solid var(--line); padding: 4px 10px; }

/* ---------- top bar & header ---------- */
.topbar { background: linear-gradient(90deg, var(--accent-soft), #fdf0e6 60%, var(--primary-soft)); color: var(--ink-2); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; }
.topbar .group { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; gap: 6px; align-items: center; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar .note { color: #a5670b; font-weight: 700; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #f2d39a; background: #fff; color: #9a5f06; border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 700; transition: .2s; }
.lang-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-btn .icon { color: inherit !important; }

header.site { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--gold); font-weight: 700; }
.search { flex: 1; position: relative; max-width: 560px; margin-inline: auto; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); padding-block: 0; padding-inline: 46px 18px; outline: none; transition: .2s; }
.search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(30, 99, 214, .12); }
.search .icon { position: absolute; inset-inline-start: 16px; top: 13px; color: var(--muted); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--primary); color: #fff; font-weight: 700; transition: .2s; box-shadow: 0 8px 20px rgba(30, 99, 214, .25); }
.cart-btn:hover { background: #1853b8; transform: translateY(-1px); }
.cart-btn .count { position: absolute; top: -6px; inset-inline-start: -6px; min-width: 22px; height: 22px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; border: 2px solid #fff; }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.12); } }

nav.cats { border-top: 1px solid var(--line); }
nav.cats .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
nav.cats .container::-webkit-scrollbar { display: none; }
nav.cats a { white-space: nowrap; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: .15s; display: inline-flex; align-items: center; gap: 6px; }
nav.cats a:hover { background: var(--primary-soft); color: var(--primary); }
nav.cats a.active { background: var(--primary); color: #fff; }
nav.cats a.pl-link { background: var(--accent-soft); color: #9a5f06; }
nav.cats a.pl-link .icon { width: 16px; height: 16px; }
nav.cats a.pl-link.active { background: var(--accent); color: #fff; }

/* ---------- buttons & form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; border: 0; font-weight: 700; transition: .2s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1853b8; }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #3b2300; box-shadow: 0 10px 24px rgba(245, 158, 11, .35); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn-block { width: 100%; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label i { color: var(--danger); font-style: normal; }
.field input, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; outline: none; transition: .2s; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 99, 214, .1); }
.field.err input { border-color: var(--danger); }
.field .hint { font-size: 12px; color: var(--danger); }
.num-input { text-align: start; }
[dir=rtl] .num-input { text-align: right; }

/* ---------- hero slider ---------- */
.hero { position: relative; margin-top: 22px; border-radius: 28px; overflow: hidden; min-height: 400px; background: var(--primary); box-shadow: var(--shadow-lg); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 6s ease; }
.slide.on .bg { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(20, 60, 160, .94) 0%, rgba(30, 99, 214, .78) 45%, rgba(30, 99, 214, .05) 100%); }
.slide .content { position: relative; z-index: 2; padding: 48px 56px; max-width: 640px; color: #fff; }
.slide h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.25; margin: 14px 0 10px; font-weight: 800; }
.slide p { font-size: 18px; opacity: .92; margin: 0 0 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.theme-navy::after { background: linear-gradient(270deg, rgba(27, 42, 94, .95), rgba(30, 99, 214, .8) 50%, rgba(30, 99, 214, .1)); }
.theme-gold { background: linear-gradient(135deg, #fbbf24, #f97316); }
.theme-gold::after { background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(270deg, rgba(234, 88, 12, .9), rgba(245, 158, 11, .75) 55%, rgba(251, 191, 36, .4)); }
.theme-blue { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.theme-blue::after { background: linear-gradient(270deg, rgba(14, 116, 144, .92), rgba(6, 182, 212, .7) 55%, rgba(37, 99, 235, .3)); }
.theme-light { background: #fff; }
.theme-light::after { background: linear-gradient(270deg, rgba(255, 252, 245, .98), rgba(255, 248, 235, .9) 50%, rgba(255, 255, 255, .2)); }
.theme-light .content { color: var(--ink); }
.theme-light .badge { background: var(--accent-soft); color: #9a5f06; border-color: #f2d39a; }
.slide .deco { position: absolute; inset-inline-end: 6%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 280px; color: #fff; opacity: .28; z-index: 1; }
.slide .deco svg { width: 100%; height: auto; }
.dots { position: absolute; bottom: 22px; inset-inline-start: 56px; display: flex; gap: 10px; z-index: 3; }
.dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: .3s; }
.dots button.on { background: var(--accent-2); width: 34px; }
[dir=ltr] .slide::after { background: linear-gradient(90deg, rgba(20, 60, 160, .94) 0%, rgba(30, 99, 214, .78) 45%, rgba(30, 99, 214, .05) 100%); }
[dir=ltr] .theme-navy::after { background: linear-gradient(90deg, rgba(27, 42, 94, .95), rgba(30, 99, 214, .8) 50%, rgba(30, 99, 214, .1)); }
[dir=ltr] .theme-gold::after { background: radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(90deg, rgba(234, 88, 12, .9), rgba(245, 158, 11, .75) 55%, rgba(251, 191, 36, .4)); }
[dir=ltr] .theme-blue::after { background: linear-gradient(90deg, rgba(14, 116, 144, .92), rgba(6, 182, 212, .7) 55%, rgba(37, 99, 235, .3)); }
[dir=ltr] .theme-light::after { background: linear-gradient(90deg, rgba(255, 252, 245, .98), rgba(255, 248, 235, .9) 50%, rgba(255, 255, 255, .2)); }
.pager-dots { display: flex; gap: 8px; margin-bottom: 14px; }
.pager-dots span { width: 10px; height: 10px; border-radius: 99px; background: var(--navy); }
.pager-dots span:nth-child(2) { background: var(--accent); }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trust > * { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: 15px; }
.trust a:hover { border-color: #25d366; }
.ti { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ti .icon, .ti svg { width: 22px; height: 22px; }
.ti.amber { background: var(--accent-soft); color: #c47a00; }
.ti.mint { background: #def7ec; color: #0f8a5f; }
.ti.sky { background: #e3f1fd; color: #1673c7; }
.ti.wa { background: #dcfce7; color: #16a34a; }

/* ---------- section heads ---------- */
section.block { margin-top: 56px; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.head h2 { margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); position: relative; }
.head h2::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; margin-top: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.head .sub { color: var(--muted); margin: 6px 0 0; }

/* ---------- strip banner ---------- */
.strip { margin-top: 18px; display: flex; align-items: center; gap: 22px; padding: 22px 28px; border-radius: 22px; background: linear-gradient(120deg, #06b6d4, #2563eb); color: #fff; position: relative; overflow: hidden; }
.strip::before { content: ''; position: absolute; inset-inline-start: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50px; transform: rotate(35deg); background: rgba(255, 255, 255, .12); }
.strip.theme-gold { background: linear-gradient(120deg, #f97316, #fbbf24); color: #3b2300; }
.strip.theme-navy { background: linear-gradient(120deg, var(--navy), var(--primary)); }
.strip.theme-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.strip .txt { flex: 1; position: relative; }
.strip h3 { margin: 4px 0 2px; font-size: 22px; }
.strip p { margin: 0; opacity: .9; }
.strip img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-card { position: relative; overflow: hidden; background: var(--t-bg); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: .25s; min-height: 200px; border: 1px solid transparent; }
.cat-card::before { content: ''; position: absolute; inset-inline-end: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--t-2); opacity: .55; transition: .35s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--t-2); }
.cat-card:hover::before { transform: scale(1.35); }
.cat-card .art { position: relative; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--t-fg); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); transition: .3s; }
.cat-card:hover .art { transform: rotate(-6deg) scale(1.05); }
.cat-card .art svg { width: 42px; height: 42px; }
.cat-card h3 { position: relative; margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.cat-card .n { position: relative; margin-top: auto; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.cat-card .go { display: inline-flex; align-items: center; gap: 4px; color: var(--t-fg); font-weight: 800; }
.cat-card .go .icon { width: 16px; height: 16px; transition: .2s; }
.cat-card:hover .go .icon { transform: translateX(3px); }
[dir=rtl] .cat-card:hover .go .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- product grid ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: .25s; position: relative; }
.p-card:hover { box-shadow: var(--shadow); border-color: var(--t-2, var(--line)); transform: translateY(-2px); }
.p-card .top { display: flex; gap: 12px; align-items: flex-start; }
.p-card .thumb { width: 58px; height: 58px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--t-bg, var(--primary-soft)); color: var(--t-fg, var(--primary)); overflow: hidden; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-card .thumb svg { width: 36px; height: 36px; }
.p-card .sec { font-size: 21px; font-weight: 800; color: var(--ink); direction: ltr; unicode-bidi: plaintext; text-align: start; line-height: 1.3; }
.p-card .top:hover .sec { color: var(--primary); }
.p-card .nm { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cat-tag { font-size: 12px; color: var(--t-fg, var(--primary)); font-weight: 700; background: var(--t-bg, var(--primary-soft)); padding: 2px 10px; border-radius: 99px; align-self: flex-start; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: .15s; }
.opt:hover { border-color: var(--primary); }
.opt.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 24px; font-weight: 800; color: var(--ink); }
.price span { font-size: 13px; color: var(--muted); }
.buy { display: flex; gap: 8px; margin-top: auto; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; height: 44px; background: #fff; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; font-size: 18px; color: var(--primary); }
.qty button:hover { background: var(--bg); }
.qty input { width: 54px; height: 100%; border: 0; text-align: center; outline: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; height: 44px; padding: 0 12px; }
.added { background: var(--ok) !important; }

.ad-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: var(--radius); color: #fff; background: linear-gradient(120deg, var(--primary), #7c3aed); position: relative; overflow: hidden; }
.ad-card::after { content: ''; position: absolute; inset-inline-start: 8%; top: -90px; width: 260px; height: 260px; border-radius: 60px; transform: rotate(45deg); background: rgba(255, 255, 255, .12); }
.ad-card.theme-gold { background: linear-gradient(120deg, #f97316, #fbbf24); color: #3b2300; }
.ad-card.theme-blue { background: linear-gradient(120deg, #0891b2, #3b82f6); }
.ad-card.theme-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ad-card .txt { flex: 1; position: relative; z-index: 1; }
.ad-card h3 { margin: 6px 0 4px; font-size: 24px; }
.ad-card p { margin: 0; opacity: .9; }
.ad-card img { width: 180px; height: 110px; border-radius: 14px; object-fit: cover; position: relative; z-index: 1; }
.ad-card .btn { position: relative; z-index: 1; }

/* ---------- page heads ---------- */
.page-head { margin-top: 26px; padding: 30px 34px; border-radius: 26px; background: var(--t-bg, var(--primary-soft)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-head::before { content: ''; position: absolute; inset-inline-end: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--t-2, #c7dafc); opacity: .5; }
.page-head .txt { position: relative; }
.page-head .crumbs { font-size: 13px; color: var(--ink-2); }
.page-head .crumbs a:hover { color: var(--t-fg); }
.page-head h1 { margin: 6px 0 4px; font-size: clamp(24px, 3.2vw, 36px); color: var(--ink); }
.page-head p { margin: 0; color: var(--ink-2); max-width: 720px; }
.page-head .art { position: relative; width: 104px; height: 104px; border-radius: 28px; background: #fff; color: var(--t-fg); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); transform: rotate(-6deg); }
.page-head .art svg { width: 64px; height: 64px; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 22px 0 16px; flex-wrap: wrap; }
.toolbar .filter { position: relative; flex: 1; max-width: 340px; }
.toolbar .filter input { width: 100%; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); padding-block: 0; padding-inline: 40px 14px; outline: none; background: #fff; }
.toolbar .filter .icon { position: absolute; inset-inline-start: 12px; top: 11px; color: var(--muted); }
.view-switch { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; }
.view-switch button { border: 0; background: transparent; padding: 6px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.view-switch button.on { background: var(--primary); color: #fff; }

/* price table view (mirrors the printed price list) */
.ptable-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.ptable { width: 100%; border-collapse: collapse; min-width: 560px; }
.ptable th { background: #fdfaf4; color: var(--ink-2); font-size: 13px; padding: 12px 14px; text-align: center; border-bottom: 2px solid var(--accent-2); }
.ptable th:first-child { text-align: start; }
.ptable td { padding: 6px 14px; border-top: 1px solid var(--line); text-align: center; }
.ptable td:first-child { text-align: start; font-weight: 800; direction: ltr; unicode-bidi: plaintext; white-space: nowrap; }
.ptable td:first-child a:hover, .sheet td:first-child a:hover { color: var(--primary); text-decoration: underline; }
.ptable tr:nth-child(even) td { background: #fdfbf7; }
.ptable tr:hover td { background: var(--primary-soft); }
.cell-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid transparent; background: transparent; border-radius: 10px; padding: 4px 10px; transition: .15s; font-weight: 700; font-variant-numeric: tabular-nums; }
.cell-btn:hover { border-color: var(--primary); background: #fff; }
.cell-btn small { width: 18px; height: 18px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 13px; line-height: 1; background: var(--primary); color: #fff; font-weight: 800; opacity: 0; transition: .15s; }
.cell-btn:hover small { opacity: 1; }
.cell-btn.in { background: var(--ok); color: #fff; }
.cell-btn.in small { background: #fff; color: var(--ok); opacity: 1; }
.dash { color: #d6cfc2; }

/* ---------- product page ---------- */
.crumbs-bar { margin-top: 22px; font-size: 13px; color: var(--muted); }
.crumbs-bar a:hover { color: var(--primary); }
.pdp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 14px; align-items: start; }
.pdp-media { position: relative; border-radius: 28px; background: var(--t-bg); min-height: 360px; display: grid; place-items: center; overflow: hidden; }
.pdp-media::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--t-2); opacity: .5; }
.pdp-media .art { position: relative; color: var(--t-fg); width: 180px; }
.pdp-media .art svg { width: 100%; height: auto; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.pdp-media .sec-big { position: absolute; bottom: 18px; inset-inline-start: 22px; font-size: 28px; font-weight: 800; color: var(--ink); background: #fff; padding: 4px 16px; border-radius: 14px; box-shadow: var(--shadow); }
.pdp-info { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 14px; }
.pdp-info h1 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; }
.pdp-info p { margin: 0; }
.opt-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.opt-table .row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.opt-table .row:first-child { border-top: 0; }
.opt-table .head { background: #fdfaf4; font-size: 12px; color: var(--muted); font-weight: 700; }
.opt-table .lbl { font-weight: 700; }
.opt-table .pr b { font-size: 20px; font-variant-numeric: tabular-nums; }
.opt-table .pr small { color: var(--muted); }
.opt-table .btn { height: 40px; padding: 0 14px; }
.pdp-qty { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.size-chip { display: grid; gap: 0; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: .2s; }
.size-chip:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.size-chip b { font-size: 16px; }
.size-chip span { font-size: 12px; color: var(--muted); }

/* ---------- full price list ---------- */
.jump { height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 12px; max-width: 260px; }
.sheets { columns: 2 520px; column-gap: 16px; }
.sheet { break-inside: avoid; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 140px; }
.sheet header { padding: 12px 16px; background: var(--t-bg); display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--t-2); }
.sheet .mini-art { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--t-fg); display: grid; place-items: center; flex: none; }
.sheet .mini-art svg { width: 28px; height: 28px; }
.sheet h3 { margin: 0; font-size: 16px; color: var(--ink); }
.sheet h3 a:hover { color: var(--t-fg); }
.sheet header span { font-size: 12px; color: var(--ink-2); }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet th { color: var(--ink-2); font-size: 12px; padding: 7px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.sheet th:first-child, .sheet td:first-child { text-align: start; padding-inline-start: 14px; }
.sheet td { padding: 2px 6px; border-top: 1px solid #f3eee5; text-align: center; }
.sheet td:first-child { font-weight: 800; direction: ltr; unicode-bidi: plaintext; white-space: nowrap; }
.sheet tr:nth-child(even) td { background: #fdfbf7; }
.sheet tr:hover td { background: var(--t-bg); }
.sheet .cell-btn { padding: 2px 8px; font-size: 14px; }

/* ---------- empty / misc ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .art { width: 84px; margin: 0 auto 10px; color: #d9b980; }
.empty .art svg { width: 100%; height: auto; }
.empty h1 { color: var(--ink); }
.skeleton { background: linear-gradient(90deg, #f1ece3 25%, #faf7f1 50%, #f1ece3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); height: 230px; }
@keyframes sk { to { background-position: -200% 0; } }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ---------- about / values ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: #fff; border-radius: 28px; padding: 44px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.about::before { content: ''; position: absolute; inset-inline-start: -120px; top: -140px; width: 380px; height: 380px; border-radius: 80px; transform: rotate(45deg); background: var(--accent-soft); }
.about > * { position: relative; }
.about h2 { color: var(--ink); margin: 0 0 12px; font-size: 30px; }
.about p { color: var(--ink-2); margin: 0; line-height: 2; }
.about .img { position: relative; }
.about .img::before { content: ''; position: absolute; inset-inline-end: -14px; top: -14px; width: 40%; height: 70px; border-radius: 12px; background: var(--accent); }
.about .img img { position: relative; border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.value .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.value.amber .ic { background: var(--accent-soft); color: #c47a00; }
.value.mint .ic { background: #def7ec; color: #0f8a5f; }
.value.sky .ic { background: #e3f1fd; color: #1673c7; }
.value h4 { margin: 0 0 2px; font-size: 17px; }
.value p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(27, 36, 64, .35); z-index: 60; backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; font-size: 20px; }
.x { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--bg); display: grid; place-items: center; }
.drawer .body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer footer { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line .t { font-weight: 700; line-height: 1.4; }
.line .v { font-size: 13px; color: var(--muted); }
.line .lt { font-weight: 800; white-space: nowrap; text-align: end; }
.line .ctrl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.line .qty { height: 36px; }
.line .rm { border: 0; background: transparent; color: var(--danger); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.sum b { font-size: 22px; color: var(--primary); }
.slide-enter { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.slide-from { transform: translateX(-100%); }
[dir=ltr] .slide-from { transform: translateX(100%); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.panel h2 { margin: 0 0 4px; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.info-box { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: #6b4300; font-size: 14px; margin-top: 16px; }
.info-box .icon { color: var(--accent); margin-top: 2px; }
.summary { position: sticky; top: 140px; }
.steps { display: flex; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.steps > span { display: inline-flex; gap: 6px; align-items: center; }
.steps > span.on { color: var(--primary); }
.steps i { width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: var(--line); font-style: normal; font-size: 12px; }
.steps > span.on i { background: var(--primary); color: #fff; }
.done { max-width: 620px; margin: 50px auto; text-align: center; background: #fff; border-radius: 28px; padding: 44px 30px; border: 1px solid var(--line); }
.done .check { width: 84px; height: 84px; border-radius: 99px; margin: 0 auto 16px; display: grid; place-items: center; background: #dcfce7; color: var(--ok); animation: pop .5s; }
.done .check svg { width: 44px; height: 44px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }
.done h1 { margin: 0 0 8px; }
.done .ref { display: inline-block; font-weight: 800; font-size: 20px; letter-spacing: 1px; padding: 6px 18px; border-radius: 12px; background: var(--accent-soft); border: 1px dashed var(--accent); margin: 10px 0 18px; direction: ltr; }
.done .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- footer ---------- */
footer.site { margin-top: 70px; background: #1f2433; color: #c9ccd6; position: relative; }
footer.site::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), #06b6d4, var(--accent-2), var(--accent)); }
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 50px 0 34px; }
footer.site h4 { color: #fff; margin: 0 0 14px; font-size: 17px; }
footer.site .logo { background: #fff; border-radius: 18px; padding: 12px; width: 120px; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
footer.site li a:hover { color: var(--accent-2); }
footer.site .contact li { display: flex; gap: 8px; align-items: center; }
footer.site .contact .icon { color: var(--accent-2); width: 17px; height: 17px; }
footer.site .bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
footer.site .tri { color: var(--accent-2); font-weight: 700; }

.fab { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 99px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: .2s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 600; max-width: calc(100% - 32px); }
.toast .icon { color: var(--accent-2); }
.toast a { color: var(--accent-2); text-decoration: underline; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; padding: 28px; }
  .values { grid-template-columns: 1fr; }
  .checkout, .pdp { grid-template-columns: 1fr; }
  .summary { position: static; }
  .trust { grid-template-columns: 1fr 1fr; }
  footer.site .grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  header.site .bar { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn { margin-inline-start: auto; }
  .cart-btn .lbl { display: none; }
  .brand img { height: 40px; }
  .topbar .hide-sm { display: none; }
  .hero { min-height: 420px; border-radius: 20px; }
  .slide .content { padding: 30px 24px 60px; }
  .slide p { font-size: 15px; }
  .slide .deco { width: 160px; inset-inline-end: -20px; top: auto; bottom: 10px; transform: rotate(-8deg); }
  .dots { inset-inline-start: 24px; }
  .trust > * { padding: 10px 12px; font-size: 13px; }
  .strip, .ad-card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .strip img, .ad-card img { width: 100%; height: 140px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 24px 22px; }
  .page-head .art { width: 72px; height: 72px; border-radius: 20px; }
  .page-head .art svg { width: 44px; height: 44px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { min-height: 170px; padding: 16px; }
  .cat-card h3 { font-size: 15px; }
  .p-grid { grid-template-columns: 1fr; }
  section.block { margin-top: 40px; }
  .head h2 { font-size: 23px; }
  .pdp-media { min-height: 240px; }
  .opt-table .row { grid-template-columns: 1fr auto; }
  .opt-table .row .act { grid-column: 1 / -1; }
  .opt-table .row .act .btn { width: 100%; }
  .opt-table .head span:last-child { display: none; }
}

@media print {
  .topbar, header.site, .toolbar, .fab, footer.site, .page-head p, .page-head .art, .crumbs, .toast, .drawer, .overlay { display: none !important; }
  body { background: #fff; }
  .page-head { background: none; padding: 0; margin: 0 0 8px; }
  .page-head::before { display: none; }
  .sheets { columns: 2; column-gap: 10px; }
  .sheet { box-shadow: none; border-radius: 6px; margin-bottom: 8px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet table { font-size: 10px; }
  .cell-btn small { display: none; }
}
