/* ==========================================================================
   الهنا للأدوات المكتبية والهدايا — Design System
   Colours extracted from the store logo:
     Magenta  #C8177B  (book / gift / pen body)       → primary actions
     Teal     #149E9B  (feather / gift ribbon / gears) → secondary, success accents
     Indigo   #2B2A6E  (book spine / pen outline)      → text, dark surfaces
     Purple   #7A2C8F  (gradient mid-tone)             → gradients
     Pink     #EC88A9  (round badge background)        → soft surfaces, highlights
   ========================================================================== */

:root {
  --magenta: #C8177B; --magenta-700: #A3115F; --magenta-600: #B3146E; --magenta-100: #FBD9EA; --magenta-50: #FDF0F6;
  --teal: #149E9B; --teal-700: #0D7472; --teal-600: #11888A; --teal-100: #CDEFEE; --teal-50: #EAF8F7;
  --indigo: #2B2A6E; --indigo-800: #1E1D52; --indigo-600: #3D3C8A; --indigo-100: #E1E0F2; --indigo-50: #F2F1FA;
  --purple: #7A2C8F; --purple-50: #F5ECF8;
  --pink: #EC88A9; --pink-200: #F6C3D4; --pink-100: #FBE3EB; --pink-50: #FEF4F7;
  --sun: #F5A524; --sun-50: #FFF6E6;

  --ink: #221D3A; --ink-2: #48425E; --muted: #756F88; --line: #ECE6F1; --line-2: #DED6E6;
  --bg: #FFFFFF; --bg-soft: #FBF8FC; --bg-tint: #F7F2F9;
  --success: #12A06C; --success-50: #E7F7F0; --warning: #E39A0B; --warning-50: #FEF5E3; --danger: #D63750; --danger-50: #FCEBEE;
  --whatsapp: #25D366;

  --grad-brand: linear-gradient(135deg, #C8177B 0%, #7A2C8F 52%, #149E9B 100%);
  --grad-warm: linear-gradient(135deg, #C8177B 0%, #EC88A9 100%);
  --grad-cool: linear-gradient(135deg, #2B2A6E 0%, #149E9B 100%);

  --font-display: 'AA Galaxy', 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;

  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(43, 42, 110, .06), 0 1px 3px rgba(43, 42, 110, .05);
  --sh-2: 0 6px 18px -6px rgba(43, 42, 110, .14), 0 2px 6px rgba(43, 42, 110, .05);
  --sh-3: 0 22px 44px -14px rgba(43, 42, 110, .22), 0 6px 14px rgba(43, 42, 110, .06);
  --sh-brand: 0 12px 26px -10px rgba(200, 23, 123, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1280px;
  --header-h: 72px;
}

/* ───────── Reset & base ───────── */
*, *::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: 15.5px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; margin: 0 0 .5em; color: var(--indigo); font-weight: 800; letter-spacing: 0; }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--magenta) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--magenta-100); color: var(--indigo); }
.ic { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; } .ic-lg { width: 26px; height: 26px; } .ic-xl { width: 40px; height: 40px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -50px; right: 12px; z-index: 1000; background: var(--indigo); color: #fff; padding: 8px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); } .center { text-align: center; } .nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
[hidden] { display: none !important; }

/* ───────── Buttons ───────── */
.btn { --bg: var(--magenta); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; position: relative; user-select: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-brand); background: var(--magenta-700); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-teal { --bg: var(--teal); } .btn-teal:hover { background: var(--teal-700); box-shadow: 0 12px 26px -10px rgba(20, 158, 155, .55); }
.btn-indigo { --bg: var(--indigo); } .btn-indigo:hover { background: var(--indigo-800); box-shadow: 0 12px 26px -10px rgba(43, 42, 110, .5); }
.btn-grad { background: var(--grad-brand); background-size: 160% 160%; background-position: 0% 50%; transition: background-position .5s var(--ease), transform .2s var(--ease), box-shadow .2s; }
.btn-grad:hover { background: var(--grad-brand); background-size: 160% 160%; background-position: 100% 50%; }
.btn-outline { --bg: transparent; --fg: var(--indigo); border-color: var(--line-2); }
.btn-outline:hover { background: var(--indigo-50); border-color: var(--indigo); box-shadow: none; color: var(--indigo); }
.btn-ghost { --bg: transparent; --fg: var(--ink-2); padding: 0 14px; }
.btn-ghost:hover { background: var(--bg-tint); box-shadow: none; color: var(--magenta); }
.btn-white { --bg: #fff; --fg: var(--indigo); }
.btn-white:hover { background: #fff; color: var(--magenta); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .3); }
.btn-whatsapp { --bg: var(--whatsapp); --fg: #fff; } .btn-whatsapp:hover { background: #1EBE5A; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .6); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--indigo); transition: background .2s, color .2s, transform .2s var(--ease); position: relative; }
.icon-btn:hover { background: var(--magenta-50); color: var(--magenta); }
.link { color: var(--magenta); font-weight: 600; } .link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ───────── Demo ribbon & announcement ───────── */
.demo-ribbon { background: repeating-linear-gradient(-45deg, #FFF3CD, #FFF3CD 12px, #FFE9A8 12px, #FFE9A8 24px); color: #6B4E00; text-align: center; font-size: .85rem; font-weight: 700; padding: 6px 12px; }
.announce { background: var(--indigo); color: #fff; font-size: .88rem; position: relative; overflow: hidden; }
.announce::before { content: ''; position: absolute; inset: 0; background: var(--grad-brand); opacity: .55; }
.announce-inner { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; }
.announce-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); padding-inline: 12px; text-align: center; }
.announce-msg.is-active { opacity: 1; transform: none; }

/* ───────── Header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(43, 42, 110, .25); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .2px; }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-brand); }
.header-search { flex: 1; max-width: 560px; margin-inline: auto; position: relative; display: none; }
@media (min-width: 900px) { .header-search { display: block; } }
.search-field { display: flex; align-items: center; background: var(--bg-tint); border: 2px solid transparent; border-radius: var(--r-pill); padding-inline: 16px 6px; height: 48px; transition: border-color .2s, background .2s, box-shadow .2s; }
.search-field:focus-within { background: #fff; border-color: var(--magenta); box-shadow: 0 0 0 5px var(--magenta-50); }
.search-field input { flex: 1; border: 0; background: transparent; outline: 0; height: 100%; padding-inline: 10px; min-width: 0; font-size: .95rem; }
.search-field input::placeholder { color: var(--muted); }
.search-field .ic { color: var(--muted); }
.search-field button[type=submit] { height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--magenta); color: #fff; font-weight: 700; font-size: .88rem; transition: background .2s; }
.search-field button[type=submit]:hover { background: var(--magenta-700); }
.suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto; animation: pop .18s var(--ease); }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); transition: background .15s; }
.suggest-item:hover, .suggest-item.is-active { background: var(--bg-tint); }
.suggest-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--bg-tint); }
.suggest-item .name { font-weight: 600; font-size: .92rem; line-height: 1.4; }
.suggest-item .price { font-size: .85rem; color: var(--magenta); font-weight: 700; }
.suggest-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.suggest-all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--magenta); border-top: 1px solid var(--line); margin-top: 6px; }
.suggest-empty { padding: 18px; text-align: center; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
@media (min-width: 900px) { .header-actions { margin-inline-start: 0; } }
.count-badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; border-radius: 10px; background: var(--magenta); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; line-height: 1; }
.count-badge.bump { animation: bump .45s var(--ease); }
.account-link { display: none; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; color: var(--indigo); transition: background .2s; }
.account-link:hover { background: var(--bg-tint); }
@media (min-width: 1100px) { .account-link { display: inline-flex; } .account-icon { display: none; } }
.menu-toggle { display: inline-grid; } @media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-search { padding: 0 0 12px; } @media (min-width: 900px) { .mobile-search { display: none; } }
.mobile-search .search-field { height: 44px; }

/* Main nav */
.main-nav { border-top: 1px solid var(--line); display: none; }
@media (min-width: 1024px) { .main-nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 52px; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-link .ic { width: 18px; height: 18px; color: var(--teal); transition: color .2s, transform .3s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link.is-active { color: var(--magenta); background: var(--magenta-50); }
.nav-link:hover .ic { color: var(--magenta); transform: rotate(-8deg) scale(1.1); }
.nav-link.deal { color: var(--magenta); } .nav-link.deal .ic { color: var(--magenta); }
.mega { position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 55; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: var(--r-sm); font-size: .92rem; color: var(--ink-2); transition: background .15s, color .15s, padding .2s var(--ease); }
.mega a:hover { background: var(--bg-tint); color: var(--magenta); padding-inline-start: 16px; }
.mega .mega-all { font-weight: 700; color: var(--indigo); border-bottom: 1px solid var(--line); margin-bottom: 6px; border-radius: var(--r-sm) var(--r-sm) 0 0; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(30, 29, 82, .45); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 360px); background: #fff; z-index: 95; transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; box-shadow: var(--sh-3); }
[dir=rtl] .drawer { transform: translateX(100%); } .drawer.is-open { transform: none !important; }
.drawer-end { inset-inline-start: auto; inset-inline-end: 0; transform: translateX(-100%); }
[dir=rtl] .drawer-end { transform: translateX(-100%); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px 24px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 16px; background: var(--bg-soft); }
.m-nav a, .m-nav summary { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: var(--r-sm); font-weight: 600; color: var(--indigo); list-style: none; cursor: pointer; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary .chev { margin-inline-start: auto; transition: transform .25s; }
.m-nav details[open] summary .chev { transform: rotate(180deg); }
.m-nav details > div { padding-inline-start: 40px; }
.m-nav details > div a { font-weight: 500; color: var(--ink-2); padding: 8px; }
.m-nav .ic { color: var(--teal); }
.m-nav a:hover, .m-nav summary:hover { background: var(--bg-tint); }

/* ───────── Sections ───────── */
.section { padding-block: 36px; } @media (min-width: 768px) { .section { padding-block: 56px; } }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.section-head h2 .h-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--magenta-50); color: var(--magenta); }
.section-head h2 .h-ico.teal { background: var(--teal-50); color: var(--teal); }
.section-head h2 .h-ico.indigo { background: var(--indigo-50); color: var(--indigo); }
.section-head h2 .h-ico.sun { background: var(--sun-50); color: var(--sun); }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.see-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--magenta); font-size: .92rem; white-space: nowrap; padding: 6px 4px; }
.see-all .ic { transition: transform .25s var(--ease); } .see-all:hover .ic { transform: translateX(-4px); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .18); font-size: .82rem; font-weight: 700; backdrop-filter: blur(6px); }

/* ───────── Hero ───────── */
.hero { padding-top: 18px; }
.hero-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 2.1fr 1fr; } }
.slider { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 360px; isolation: isolate; box-shadow: var(--sh-2); }
@media (min-width: 768px) { .slider { min-height: 440px; } }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 36px 26px 64px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
@media (min-width: 768px) { .slide { padding: 48px 56px; } }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; z-index: -2; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(30, 29, 82, .75) 0%, rgba(30, 29, 82, .35) 55%, rgba(30, 29, 82, 0) 100%); }
.slide.no-img::before { display: none; }
.theme-magenta { background: radial-gradient(120% 120% at 0% 100%, #EC88A9 0%, transparent 45%), linear-gradient(135deg, #C8177B 0%, #7A2C8F 100%); }
.theme-teal { background: radial-gradient(120% 120% at 0% 100%, #6BD3C9 0%, transparent 45%), linear-gradient(135deg, #0D7472 0%, #149E9B 60%, #2B2A6E 140%); }
.theme-indigo { background: radial-gradient(120% 120% at 0% 100%, #149E9B 0%, transparent 50%), linear-gradient(135deg, #1E1D52 0%, #3D3C8A 100%); }
.theme-pink { background: radial-gradient(120% 120% at 100% 0%, #fff 0%, transparent 40%), linear-gradient(135deg, #EC88A9 0%, #C8177B 100%); }
.theme-sunset { background: radial-gradient(120% 120% at 0% 0%, #F5A524 0%, transparent 45%), linear-gradient(135deg, #C8177B 0%, #7A2C8F 70%, #2B2A6E 100%); }
.slide-content { max-width: 560px; position: relative; z-index: 2; }
.slide-content h1, .slide-content h2 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 3rem); margin: 14px 0 12px; text-wrap: balance; }
.slide-content p { font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .92; margin-bottom: 24px; max-width: 46ch; }
.slide.is-active .slide-content > * { animation: rise .7s var(--ease) both; }
.slide.is-active .slide-content > *:nth-child(2) { animation-delay: .08s; } .slide.is-active .slide-content > *:nth-child(3) { animation-delay: .16s; } .slide.is-active .slide-content > *:nth-child(4) { animation-delay: .24s; }
.slide-art { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 340px; height: 340px; opacity: .16; color: #fff; z-index: 0; pointer-events: none; }
@media (min-width: 768px) { .slide-art { width: 420px; height: 420px; opacity: .2; inset-inline-end: 0; } }
.slide-art .ic { width: 100%; height: 100%; stroke-width: 1; }
.slider-dots { position: absolute; bottom: 20px; inset-inline-start: 26px; display: flex; gap: 8px; z-index: 3; }
@media (min-width: 768px) { .slider-dots { inset-inline-start: 56px; } }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .5); transition: width .35s var(--ease), background .3s; }
.slider-dots button.is-active { width: 30px; background: #fff; }
.slider-nav { position: absolute; bottom: 14px; inset-inline-end: 18px; display: flex; gap: 8px; z-index: 3; }
.slider-nav button { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.slider-nav button:hover { background: rgba(255, 255, 255, .35); }
.hero-side { display: grid; gap: 16px; }
@media (min-width: 640px) and (max-width: 1023px) { .hero-side { grid-template-columns: 1fr 1fr; } }
.promo-card { position: relative; border-radius: var(--r-xl); padding: 24px; color: #fff; overflow: hidden; min-height: 160px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.promo-card h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.promo-card p { margin: 0 0 12px; opacity: .9; font-size: .92rem; }
.promo-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.promo-card .go .ic { transition: transform .25s var(--ease); } .promo-card:hover .go .ic { transform: translateX(-5px); }
.promo-card .art { position: absolute; top: -18px; inset-inline-end: -18px; width: 130px; height: 130px; opacity: .22; z-index: -1; transition: transform .5s var(--ease); }
.promo-card .art .ic { width: 100%; height: 100%; stroke-width: 1.2; }
.promo-card:hover .art { transform: rotate(-10deg) scale(1.08); }
.promo-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.trust-item .t-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.trust-item:nth-child(4n+1) .t-ico { background: var(--magenta-50); color: var(--magenta); }
.trust-item:nth-child(4n+2) .t-ico { background: var(--teal-50); color: var(--teal); }
.trust-item:nth-child(4n+3) .t-ico { background: var(--indigo-50); color: var(--indigo); }
.trust-item:nth-child(4n+4) .t-ico { background: var(--sun-50); color: var(--sun); }
.trust-item strong { display: block; font-size: .92rem; color: var(--indigo); line-height: 1.35; }
.trust-item span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }

/* ───────── Category tiles ───────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(7, 1fr); } }
.cat-tile { --c: var(--magenta); --c50: var(--magenta-50); position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; isolation: isolate; }
.cat-tile::before { content: ''; position: absolute; inset: auto 0 0; height: 0; background: var(--c50); z-index: -1; transition: height .35s var(--ease); }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.cat-tile:hover::before { height: 100%; }
.cat-ico { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--c50); color: var(--c); transition: transform .4s var(--ease), background .3s, color .3s, border-radius .4s; }
.cat-ico .ic { width: 34px; height: 34px; stroke-width: 1.6; }
.cat-tile:hover .cat-ico { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.06); border-radius: 50%; }
.cat-tile strong { font-family: var(--font-display); color: var(--indigo); font-size: 1.02rem; }
.cat-tile small { color: var(--muted); font-size: .8rem; margin-top: -8px; }
.c-magenta { --c: var(--magenta); --c50: var(--magenta-50); } .c-teal { --c: var(--teal); --c50: var(--teal-50); }
.c-indigo { --c: var(--indigo); --c50: var(--indigo-50); } .c-purple { --c: var(--purple); --c50: var(--purple-50); }
.c-pink { --c: #D8568A; --c50: var(--pink-50); } .c-sunset { --c: #E0791B; --c50: var(--sun-50); }

/* ───────── Product cards ───────── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .product-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(200px, 31%); gap: 16px; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; margin-inline: 0; padding-inline: 2px; } }
.rail-wrap { position: relative; }
.rail-btn { position: absolute; top: 38%; z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); display: none; place-items: center; color: var(--indigo); transition: transform .2s var(--ease), background .2s, color .2s; }
.rail-btn:hover { background: var(--magenta); color: #fff; transform: scale(1.06); }
@media (min-width: 1024px) { .rail-btn { display: grid; } }
.rail-btn.prev { inset-inline-start: -18px; } .rail-btn.next { inset-inline-end: -18px; }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; height: 100%; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.p-media { position: relative; aspect-ratio: 1; background: var(--bg-tint); overflow: hidden; display: block; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.p-card:hover .p-media img { transform: scale(1.07); }
.p-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 800; line-height: 1.6; }
.badge-sale { background: var(--magenta); color: #fff; box-shadow: 0 4px 10px -4px rgba(200, 23, 123, .6); }
.badge-new { background: var(--teal); color: #fff; }
.badge-best { background: var(--sun); color: #fff; }
.badge-out { background: rgba(34, 29, 58, .78); color: #fff; }
.badge-soft { background: var(--bg-tint); color: var(--ink-2); }
.badge-low { background: var(--warning-50); color: #9A6400; }
.badge-ok { background: var(--success-50); color: var(--success); }
.wish-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--sh-1); transition: transform .2s var(--ease), color .2s, background .2s; }
.wish-btn:hover { transform: scale(1.12); color: var(--magenta); }
.wish-btn.is-on { color: var(--magenta); } .wish-btn.is-on .ic { fill: var(--magenta); }
.wish-btn.pop { animation: heart .45s var(--ease); }
.p-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
@media (min-width: 640px) { .p-body { padding: 14px 16px 16px; } }
.p-cat { font-size: .76rem; color: var(--teal-700); font-weight: 700; }
.p-name { font-weight: 600; font-size: .93rem; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; transition: color .2s; }
.p-name:hover { color: var(--magenta); }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price-now { font-weight: 800; font-size: 1.12rem; color: var(--indigo); font-family: var(--font-body); }
.price-now.sale { color: var(--magenta); }
.price-old { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.add-btn { width: 42px; height: 42px; border-radius: 14px; background: var(--indigo); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .2s var(--ease), border-radius .3s; }
.add-btn:hover { background: var(--magenta); transform: scale(1.08); border-radius: 50%; }
.add-btn.is-done { background: var(--success); }
.add-btn[disabled] { background: var(--line-2); color: var(--muted); cursor: not-allowed; transform: none; }
.add-btn.is-loading .ic { animation: spin .7s linear infinite; }
.p-card.is-out .p-media img { opacity: .55; filter: grayscale(.4); }

/* ───────── Promo banners / seasonal ───────── */
.promo-row { display: grid; gap: 16px; } @media (min-width: 768px) { .promo-row { grid-template-columns: 1fr 1fr; } }
.promo-row .promo-card { min-height: 190px; padding: 28px; }
.seasonal { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 40px 26px; color: #fff; isolation: isolate; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .seasonal { grid-template-columns: 1.3fr 1fr; padding: 56px; } }
.seasonal h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin: 12px 0; }
.seasonal p { opacity: .92; font-size: 1.05rem; max-width: 50ch; }
.seasonal .deco { position: absolute; z-index: -1; border-radius: 50%; }
.seasonal .deco.d1 { width: 320px; height: 320px; background: rgba(255, 255, 255, .08); top: -120px; inset-inline-end: -60px; }
.seasonal .deco.d2 { width: 180px; height: 180px; background: rgba(255, 255, 255, .1); bottom: -60px; inset-inline-start: 30%; }
.seasonal-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.seasonal-icons span { aspect-ratio: 1; border-radius: var(--r-lg); background: rgba(255, 255, 255, .14); display: grid; place-items: center; backdrop-filter: blur(4px); animation: float 5s ease-in-out infinite; }
.seasonal-icons span:nth-child(2n) { animation-delay: -2.5s; }
.seasonal-icons .ic { width: 38%; height: 38%; }
.seasonal img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature { padding: 24px 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.feature .f-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.feature:nth-child(2) .f-ico { background: var(--grad-cool); box-shadow: 0 12px 26px -10px rgba(20, 158, 155, .5); }
.feature:nth-child(3) .f-ico { background: var(--grad-warm); }
.feature:nth-child(4) .f-ico { background: linear-gradient(135deg, var(--teal), var(--teal-700)); box-shadow: 0 12px 26px -10px rgba(20, 158, 155, .5); }
.feature .f-ico .ic { width: 30px; height: 30px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.6; }

/* Testimonials */
.t-grid { display: grid; gap: 16px; } @media (min-width: 768px) { .t-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .t-grid { grid-template-columns: repeat(4, 1fr); } }
.t-card { padding: 22px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 12px; }
.t-card::before { content: '”'; position: absolute; top: 4px; inset-inline-end: 18px; font-size: 4.5rem; line-height: 1; font-family: Georgia, serif; color: var(--pink-200); }
.stars { display: flex; gap: 2px; color: var(--sun); } .stars .ic { width: 16px; height: 16px; fill: currentColor; } .stars .off { color: var(--line-2); fill: var(--line-2); }
.t-card p { margin: 0; color: var(--ink-2); font-size: .95rem; flex: 1; }
.t-who { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad-brand); }
.t-who strong { display: block; color: var(--indigo); font-size: .92rem; line-height: 1.3; } .t-who span { font-size: .8rem; color: var(--muted); }

/* Newsletter */
.newsletter { border-radius: var(--r-xl); background: var(--indigo); color: #fff; padding: 36px 24px; position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; padding: 48px 56px; } }
.newsletter::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(200, 23, 123, .65), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(20, 158, 155, .6), transparent 60%); }
.newsletter h2 { color: #fff; margin: 0 0 6px; } .newsletter p { margin: 0; opacity: .85; }
.nl-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--r-pill); }
.nl-form input { flex: 1; border: 0; outline: 0; padding-inline: 16px; background: transparent; min-width: 0; color: var(--ink); direction: ltr; text-align: right; }
.nl-form input::placeholder { text-align: right; }
.nl-msg { font-size: .88rem; margin-top: 8px; min-height: 1.4em; }

/* ───────── Footer ───────── */
.site-footer { margin-top: 48px; background: var(--indigo-800); color: rgba(255, 255, 255, .78); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--grad-brand); }
.footer-grid { display: grid; gap: 28px; padding-block: 48px 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a:hover { color: #fff; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.f-links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .2s var(--ease); }
.f-links a:hover { transform: translateX(-4px); }
.f-contact { display: grid; gap: 12px; font-size: .92rem; }
.f-contact div { display: flex; gap: 10px; align-items: flex-start; } .f-contact .ic { color: var(--pink); margin-top: 3px; }
.f-brand .brand-name { background: linear-gradient(135deg, #fff 0%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; }
.f-brand p { font-size: .9rem; line-height: 1.8; margin: 14px 0; }
.f-brand .brand-logo { background: #fff; border-radius: 18px; padding: 8px 12px; display: inline-flex; }
.f-brand .brand-logo img { height: 56px; width: auto; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--magenta); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: .85rem; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); font-size: .8rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.wa-float svg { width: 30px; height: 30px; }
.has-sticky-bar .wa-float { bottom: 92px; }

/* ───────── Breadcrumbs / page head ───────── */
.page-head { padding-block: 22px 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; list-style: none; padding: 0; }
.crumbs a:hover { color: var(--magenta); } .crumbs .ic { width: 14px; height: 14px; }
.page-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; }
.page-title small { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.cat-hero { border-radius: var(--r-xl); padding: 26px; color: #fff; margin-top: 8px; position: relative; overflow: hidden; isolation: isolate; }
.cat-hero h1 { color: #fff; margin-bottom: 6px; } .cat-hero p { margin: 0; opacity: .9; max-width: 60ch; }
.cat-hero .art { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); width: 120px; height: 120px; opacity: .2; z-index: -1; } .cat-hero .art .ic { width: 100%; height: 100%; stroke-width: 1.2; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .87rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover, .chip.is-active { border-color: var(--magenta); color: var(--magenta); background: var(--magenta-50); }
.cat-hero .chip { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; backdrop-filter: blur(4px); }
.cat-hero .chip:hover, .cat-hero .chip.is-active { background: #fff; color: var(--magenta); }
.chip .x { width: 14px; height: 14px; }

/* ───────── Shop layout & filters ───────── */
.shop { display: grid; gap: 24px; padding-block: 16px 24px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 270px 1fr; align-items: start; } }
.filters.drawer { background: var(--bg-soft); }
.filters .drawer-body { padding: 14px 16px 24px; }
@media (min-width: 1024px) {
  .filters.drawer { position: sticky; top: calc(var(--header-h) + 64px); transform: none !important; width: auto; box-shadow: none; background: transparent; z-index: 1; inset: auto; max-height: calc(100vh - var(--header-h) - 80px); }
  .filters .drawer-body { padding: 0 0 8px; overflow-y: auto; scrollbar-width: thin; }
  .filters .drawer-head { display: none !important; }
}
.f-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; }
.f-card h3 { font-size: .98rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.f-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .92rem; }
.f-cats a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--r-sm); color: var(--ink-2); transition: background .15s, color .15s; }
.f-cats a:hover, .f-cats a.is-active { background: var(--magenta-50); color: var(--magenta); font-weight: 700; }
.f-cats ul { list-style: none; padding-inline-start: 14px; margin: 2px 0; border-inline-start: 2px solid var(--line); }
.f-cats .count { font-size: .78rem; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 0 10px; text-align: center; background: #fff; transition: border-color .2s; }
.price-inputs input:focus { border-color: var(--magenta); outline: 0; }
.range-wrap { position: relative; height: 30px; margin: 10px 4px 4px; }
.range-wrap input[type=range] { position: absolute; inset: 0; width: 100%; appearance: none; background: none; pointer-events: none; margin: 0; }
.range-wrap input[type=range]::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); box-shadow: var(--sh-2); cursor: grab; }
.range-wrap input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); cursor: grab; }
.range-track { position: absolute; top: 13px; inset-inline: 0; height: 4px; border-radius: 4px; background: var(--line); }
.range-fill { position: absolute; top: 13px; height: 4px; border-radius: 4px; background: var(--grad-brand); }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .93rem; color: var(--ink-2); }
.check input { appearance: none; width: 20px; height: 20px; border: 2px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; transition: all .15s; flex-shrink: 0; cursor: pointer; }
.check input:checked { background: var(--magenta); border-color: var(--magenta); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input[type=radio] { border-radius: 50%; } .check input[type=radio]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.toolbar-actions { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding-inline: 14px 38px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s; }
.select select:focus { border-color: var(--magenta); outline: 0; }
.select .ic { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; color: var(--muted); }
.filter-toggle { display: inline-flex; } @media (min-width: 1024px) { .filter-toggle { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); transition: all .2s; }
.pagination a:hover { border-color: var(--magenta); color: var(--magenta); }
.pagination .is-current { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.pagination .gap { border: 0; background: none; min-width: 20px; }
.grid-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }

/* ───────── Empty / states ───────── */
.empty { text-align: center; padding: 48px 20px; border-radius: var(--r-xl); background: var(--bg-soft); border: 1px dashed var(--line-2); }
.empty .e-ico { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--magenta); box-shadow: var(--sh-2); }
.empty .e-ico .ic { width: 40px; height: 40px; }
.empty h2, .empty h3 { margin-bottom: 6px; } .empty p { color: var(--muted); margin-bottom: 18px; }
.skeleton { background: linear-gradient(90deg, var(--bg-tint) 25%, #fff 50%, var(--bg-tint) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); font-size: .92rem; margin-bottom: 14px; }
.alert .ic { margin-top: 2px; }
.alert-info { background: var(--indigo-50); color: var(--indigo); }
.alert-success { background: var(--success-50); color: #0B7A51; }
.alert-warning { background: var(--warning-50); color: #8A5A00; }
.alert-danger { background: var(--danger-50); color: #A8233A; }

/* ───────── Product page ───────── */
.pdp { display: grid; gap: 28px; padding-block: 8px 24px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 64px); } }
.g-main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-tint); aspect-ratio: 1; cursor: zoom-in; }
.g-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .25s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.g-main.zoom img { transform: scale(1.9); }
.g-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.g-thumbs button { width: 76px; height: 76px; border-radius: var(--r); overflow: hidden; border: 2px solid transparent; flex-shrink: 0; background: var(--bg-tint); transition: border-color .2s, opacity .2s; opacity: .7; }
.g-thumbs button.is-active, .g-thumbs button:hover { border-color: var(--magenta); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-bottom: 10px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .87rem; color: var(--muted); margin-bottom: 14px; }
.pdp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.pdp-price .now { font-size: 2rem; font-weight: 800; color: var(--indigo); line-height: 1; } .pdp-price .now.sale { color: var(--magenta); }
.pdp-price .old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.pdp-price .save { margin-inline-start: auto; }
.pdp-short { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 20px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.buy-row .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); height: 54px; background: #fff; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; color: var(--indigo); border-radius: var(--r-pill); transition: color .2s, background .2s; }
.qty button:hover { color: var(--magenta); background: var(--magenta-50); }
.qty button[disabled] { color: var(--line-2); pointer-events: none; }
.qty input { width: 46px; text-align: center; border: 0; outline: 0; font-weight: 800; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; } .qty-sm button { width: 36px; } .qty-sm input { width: 36px; font-size: .95rem; }
.pdp-perks { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 18px; }
.pdp-perks div { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-2); }
.pdp-perks .ic { color: var(--teal); }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs button.is-active, .tabs a.is-active, .tabs button:hover, .tabs a:hover { color: var(--magenta); border-color: var(--magenta); }
.tab-panel { padding: 20px 0; }
.prose { color: var(--ink-2); line-height: 1.9; font-size: 1rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; } .prose h3 { font-size: 1.1rem; margin-top: 1.2em; }
.prose ul { padding-inline-start: 22px; } .prose li { margin-bottom: 6px; } .prose li::marker { color: var(--magenta); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: 45; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ───────── Cart / checkout ───────── */
.cart-layout { display: grid; gap: 24px; padding-block: 8px 24px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 380px; align-items: start; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; }
@media (min-width: 768px) { .panel { padding: 24px; } }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 18px; }
.panel-title .num { width: 30px; height: 30px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; font-family: var(--font-body); font-size: .9rem; font-weight: 800; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .25s; }
.cart-item:first-child { padding-top: 0; } .cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) { .cart-item { grid-template-columns: 96px 1fr auto; align-items: center; } }
.cart-item img { width: 84px; height: 84px; border-radius: var(--r); object-fit: cover; background: var(--bg-tint); }
@media (min-width: 640px) { .cart-item img { width: 96px; height: 96px; } }
.cart-item .ci-name { font-weight: 600; line-height: 1.5; display: block; margin-bottom: 4px; } .cart-item .ci-name:hover { color: var(--magenta); }
.cart-item .ci-unit { font-size: .85rem; color: var(--muted); }
.ci-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; grid-column: 1 / -1; justify-content: space-between; }
@media (min-width: 640px) { .ci-actions { grid-column: auto; flex-direction: column; align-items: flex-end; margin: 0; gap: 8px; } }
.ci-total { font-weight: 800; color: var(--indigo); font-size: 1.05rem; }
.ci-remove { color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.ci-remove:hover { color: var(--danger); }
.cart-item.is-removing { opacity: .3; pointer-events: none; }
.summary { position: sticky; top: calc(var(--header-h) + 64px); }
.sum-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: .95rem; color: var(--ink-2); gap: 12px; }
.sum-row strong { color: var(--indigo); white-space: nowrap; }
.sum-row.discount strong { color: var(--success); }
.sum-total { border-top: 2px dashed var(--line-2); margin-top: 10px; padding-top: 14px; font-size: 1.1rem; font-weight: 800; color: var(--indigo); }
.sum-total strong { font-size: 1.45rem; color: var(--magenta); }
.free-ship { padding: 12px 14px; border-radius: var(--r); background: var(--teal-50); margin-bottom: 16px; font-size: .88rem; color: var(--teal-700); }
.free-ship .bar { height: 8px; border-radius: 8px; background: rgba(20, 158, 155, .18); margin-top: 8px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--magenta)); border-radius: 8px; transition: width .6s var(--ease); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-form input { flex: 1; min-width: 0; height: 44px; border: 1.5px dashed var(--line-2); border-radius: var(--r-pill); padding: 0 16px; text-transform: uppercase; direction: ltr; text-align: center; letter-spacing: 1px; font-weight: 700; }
.coupon-form input:focus { border-color: var(--magenta); outline: 0; border-style: solid; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: var(--r); background: var(--success-50); color: #0B7A51; font-weight: 700; font-size: .9rem; margin-top: 12px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Forms */
.form-grid { display: grid; gap: 14px; } @media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--indigo); }
.field label .req { color: var(--magenta); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 10px 14px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: .95rem; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756F88' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-50); outline: 0; }
.field input[type=tel], .field input[type=email], .field input.ltr-input { direction: ltr; text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-50); }
.field .err { color: var(--danger); font-size: .82rem; font-weight: 600; min-height: 0; }
.field .hint { color: var(--muted); font-size: .8rem; }
.pw-wrap { position: relative; } .pw-wrap input { padding-left: 48px; }
.pw-toggle { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.pw-toggle:hover { color: var(--magenta); background: var(--magenta-50); }
.option-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .2s, background .2s; }
.option-card:hover { border-color: var(--pink-200); }
.option-card:has(input:checked) { border-color: var(--magenta); background: var(--magenta-50); }
.option-card strong { color: var(--indigo); display: block; } .option-card small { color: var(--muted); }
.option-card .check { padding: 0; }
.saved-addresses { display: grid; gap: 10px; margin-bottom: 16px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 300px); display: grid; place-items: center; padding-block: 32px; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh-2); padding: 28px 22px; position: relative; overflow: hidden; }
@media (min-width: 640px) { .auth-card { padding: 36px 36px; } }
.auth-card::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--grad-brand); }
.auth-card h1 { font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: .92rem; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Account */
.account-layout { display: grid; gap: 24px; padding-block: 8px 24px; }
@media (min-width: 900px) { .account-layout { grid-template-columns: 260px 1fr; align-items: start; } }
.acc-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 12px; }
@media (min-width: 900px) { .acc-nav { position: sticky; top: calc(var(--header-h) + 64px); } }
.acc-user { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-user .t-avatar { width: 48px; height: 48px; font-size: 1.15rem; }
.acc-user strong { display: block; color: var(--indigo); line-height: 1.3; } .acc-user span { font-size: .82rem; color: var(--muted); word-break: break-all; }
.acc-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .acc-links { flex-direction: column; } }
.acc-links a, .acc-links button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r); font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; width: 100%; text-align: start; }
.acc-links a:hover, .acc-links a.is-active, .acc-links button:hover { background: var(--magenta-50); color: var(--magenta); }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s; }
.order-row:hover { border-color: var(--pink-200); box-shadow: var(--sh-1); }
.order-row .o-num { font-weight: 800; color: var(--indigo); direction: ltr; text-align: right; }
.order-row .o-meta { font-size: .85rem; color: var(--muted); }
.order-row .o-total { font-weight: 800; color: var(--magenta); text-align: end; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-new { background: var(--indigo-50); color: var(--indigo); }
.st-processing { background: var(--warning-50); color: #9A6400; }
.st-ready { background: var(--purple-50); color: var(--purple); }
.st-shipped { background: var(--teal-50); color: var(--teal-700); }
.st-delivered { background: var(--success-50); color: #0B7A51; }
.st-cancelled { background: var(--danger-50); color: var(--danger); }
.addr-card { padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-lg); position: relative; }
.addr-card.is-default { border-color: var(--magenta); background: var(--magenta-50); }
.addr-card p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.addr-actions { display: flex; gap: 8px; margin-top: 12px; }

/* Order page */
.order-hero { text-align: center; padding: 32px 20px; border-radius: var(--r-xl); background: var(--bg-soft); margin-bottom: 24px; position: relative; overflow: hidden; }
.order-hero .ok { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(18, 160, 108, .6); animation: pop .5s var(--ease); }
.order-hero .ok .ic { width: 42px; height: 42px; stroke-width: 2.5; }
.order-hero .num { display: inline-block; padding: 6px 16px; border-radius: var(--r-pill); background: #fff; border: 1px dashed var(--line-2); font-weight: 800; color: var(--indigo); direction: ltr; letter-spacing: 1px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 15px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-inline-start: 46px; padding-bottom: 18px; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); }
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { color: var(--indigo); display: block; } .timeline time { font-size: .8rem; color: var(--muted); }
.progress-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 20px; }
.progress-steps div { text-align: center; font-size: .75rem; color: var(--muted); }
.progress-steps div::before { content: ''; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 6px; }
.progress-steps div.done { color: var(--magenta); font-weight: 700; } .progress-steps div.done::before { background: var(--grad-brand); }

/* Contact & content */
.contact-grid { display: grid; gap: 16px; } @media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.contact-card .c-ico { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; }

/* 404 */
.notfound { text-align: center; padding: 56px 16px; }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 10rem); line-height: 1; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

/* ───────── Cart drawer & toasts ───────── */
.mini-cart .drawer-body { padding: 0 16px; }
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mini-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg-tint); }
.mini-item .n { font-size: .88rem; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item .p { font-size: .85rem; color: var(--magenta); font-weight: 700; }
.toasts { position: fixed; top: 16px; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 200; pointer-events: none; padding-inline: 16px; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r-lg); background: var(--indigo); color: #fff; box-shadow: var(--sh-3); font-weight: 600; font-size: .92rem; max-width: 460px; animation: toastIn .35s var(--ease); }
.toast.success .ic { color: #6EE7B7; } .toast.error { background: #8E1D33; } .toast.error .ic { color: #FFB3C1; }
.toast a { color: var(--pink); text-decoration: underline; margin-inline-start: 6px; white-space: nowrap; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: 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 { opacity: 1; transform: none; }
}

/* ───────── Keyframes ───────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes heart { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px) scale(.96); } }

/* Print */
@media print { .site-header, .site-footer, .announce, .wa-float, .demo-ribbon, .no-print { display: none !important; } body { background: #fff; } }
