@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibmplexsansarabic-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibmplexsansarabic-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibmplexsansarabic-500-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibmplexsansarabic-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/readexpro-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/readexpro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/readexpro-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/readexpro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/readexpro-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/readexpro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==========================================================================
   Echo Hamm — Design system
   Brand: deep navy · indigo wordmark · silver ripples · rounded geometric strokes
   ========================================================================== */
:root {
  --ink: #050b1f;
  --navy: #091740;
  --navy-2: #0e1f55;
  --indigo: #16196c;
  --indigo-2: #2d33b8;
  --blue: #5a63ff;
  --blue-soft: #8c95ff;
  --ice: #dfe3ff;
  --silver: #e9ebf2;
  --paper: #f3f4f9;
  --white: #fff;
  --line: #e1e4ee;
  --text: #0b1230;
  --muted: #667090;
  --sale: #ff4a5e;
  --ok: #17a673;
  --star: #ffb020;
  --r-sm: 12px; --r: 18px; --r-lg: 28px; --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(9,23,64,.06), 0 4px 14px rgba(9,23,64,.05);
  --shadow: 0 2px 4px rgba(9,23,64,.05), 0 16px 40px -8px rgba(9,23,64,.16);
  --shadow-lg: 0 30px 80px -20px rgba(9,23,64,.35);
  --font: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-d: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(.22,.8,.2,1);
  --hdr-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.2; margin: 0; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(1280px, 100% - 32px); margin-inline: auto; }
.ic { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); } .sm { font-size: .875rem; }
.hide-sm {} .eyebrow { font-family: var(--font-d); font-size: .78rem; font-weight: 500; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.price { font-family: var(--font-d); font-weight: 600; white-space: nowrap; }
.price .amt { font-size: 1em; }
.price small { font-size: .62em; font-weight: 500; margin-inline-start: 4px; opacity: .75; font-family: var(--font); }
.old { color: var(--muted); font-size: .85em; font-weight: 400; margin-inline-start: 8px; text-decoration-thickness: 1px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; font-family: var(--font-d); font-weight: 500; font-size: .95rem; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 20px; height: 20px; }
.btn.lg { height: 56px; padding: 0 34px; font-size: 1rem; }
.btn.block { display: flex; width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -8px rgba(90,99,255,.65); }
.btn-primary:hover { background: #4750f0; transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(90,99,255,.75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--indigo); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-wa { background: #1fb868; color: #fff; }
.btn-wa:hover { background: #17a45b; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; flex: none; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 11px/19px var(--font-d); text-align: center; box-shadow: 0 0 0 2px var(--ink); }

.badge { display: inline-block; padding: 4px 11px; border-radius: 99px; background: var(--ink); color: #fff; font: 500 .72rem/1.4 var(--font-d); }
.badge.sale { background: var(--sale); } .badge.new { background: var(--blue); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .9rem; transition: all .2s; }
.chip .ic { width: 18px; height: 18px; color: var(--blue); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* ---------- announce + header ---------- */
.announce { background: #02061a; color: #c8cffb; font-size: .82rem; }
.announce p { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; }
.announce .ic { width: 17px; height: 17px; color: var(--blue-soft); }
.announce b { color: #fff; font-weight: 600; } .announce i { opacity: .35; font-style: normal; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(5,11,31,.9); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.logo { display: flex; flex: none; }
.logo img { height: 27px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: 6px; height: 100%; }
.main-nav > a, .has-mega > a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 99px; font-size: .95rem; color: #c5ccf0; transition: color .2s, background .2s; font-weight: 500; }
.main-nav > a:hover, .has-mega:hover > a, .main-nav .on { color: #fff; background: rgba(255,255,255,.08); }
.main-nav .hot { color: #ff8b98; } .main-nav .hot:hover { color: #fff; }
.has-mega > a .ic { width: 15px; height: 15px; transition: transform .25s; } .has-mega:hover > a .ic { transform: rotate(180deg); }
.has-mega { position: static; display: flex; align-items: center; height: 100%; }
.mega { position: absolute; inset-inline: 0; top: 100%; padding-top: 12px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .25s ease, transform .4s var(--ease), visibility .4s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mega-in { width: min(1080px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; padding: 24px; max-height: calc(100dvh - 160px); overflow-y: auto; background: linear-gradient(135deg, #fff, #f5f5ff); color: var(--text); border: 1px solid rgba(111,108,255,.16); border-radius: 28px; box-shadow: 0 24px 60px rgba(5,10,40,.24); }
.mega-item { display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; align-items: center; text-align: center; padding: 20px 12px 16px; border: 1px solid transparent; border-radius: 20px; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .35s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.has-mega:hover .mega-item, .has-mega:focus-within .mega-item { opacity: 1; transform: none; transition-delay: var(--item-delay), var(--item-delay), 0s, 0s, 0s; }
.mega-item:hover, .mega-item:focus-visible { background: #fff; border-color: #dedcff; box-shadow: 0 10px 24px rgba(74,68,160,.1); outline: 2px solid var(--indigo-2); outline-offset: 2px; }
.mega-item .mega-ic { width: 108px; height: 108px; border-radius: 28px; background: #eeedff; transition: transform .4s var(--ease); }
.mega-item:hover .mega-ic, .mega-item:focus-visible .mega-ic { transform: translateY(-5px) rotate(-4deg) scale(1.05); }
.mega-item .mega-ic .ci-img { width: 100%; height: 100%; padding: 8px; border-radius: inherit; object-fit: contain; }
.mega-item .mega-ic > .ic { width: 44px; height: 44px; }
.mega-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--indigo-2); display: grid; place-items: center; flex: none; }
.mega-item b { display: block; font-family: var(--font-d); font-weight: 500; font-size: .95rem; line-height: 1.6; }
.hdr-search { flex: 1; max-width: 340px; margin-inline-start: auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); transition: all .25s; }
.hdr-search:focus-within { background: rgba(255,255,255,.14); border-color: var(--blue); }
.hdr-search .ic { width: 20px; height: 20px; color: #98a2d6; }
.hdr-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: .92rem; }
.hdr-search input::placeholder { color: #8892c4; }
.hdr-actions { display: flex; align-items: center; gap: 2px; }
.menu-btn, .search-btn { display: none; }

/* ---------- overlay, drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(2,6,26,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.overlay.show { opacity: 1; }
.panels { position: fixed; inset: 0; z-index: 100; overflow: hidden; pointer-events: none; }
.drawer, .sidemenu { position: absolute; pointer-events: auto; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
.drawer { left: 0; transform: translateX(-102%); }
.sidemenu { right: 0; transform: translateX(102%); width: min(380px, 92%); }
.drawer.open, .sidemenu.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.15rem; } .drawer-head h2 span { color: var(--muted); font-weight: 400; }
.drawer-head .icon-btn:hover { background: var(--paper); }
.sidemenu .drawer-head { background: var(--ink); border: 0; } .sidemenu .drawer-head .icon-btn { color: #fff; } .sidemenu .drawer-head .icon-btn:hover { background: rgba(255,255,255,.1); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; } .sum-row .price { font-size: 1.3rem; }
.ship-bar { padding: 14px 16px; border-radius: var(--r); background: var(--paper); margin-bottom: 20px; font-size: .88rem; }
.ship-bar p { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; } .ship-bar .ic { width: 18px; color: var(--ok); }
.bar { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); transition: width .6s var(--ease); }
.mini-list { display: grid; gap: 18px; }
.mini-list li { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: start; }
.mini-img { width: 84px; height: 84px; border-radius: 16px; background: var(--paper) url(../img/contours-light.svg) center/cover; padding: 6px; }
.mini-info { display: grid; gap: 2px; font-size: .92rem; } .mini-info > a { font-weight: 500; line-height: 1.35; } .mini-info small { color: var(--muted); }
.mini-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.rm { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: all .2s; } .rm:hover { background: #ffe9ec; color: var(--sale); } .rm .ic { width: 19px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; height: 50px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: 99px; transition: background .2s; } .qty button:hover { background: var(--paper); } .qty .ic { width: 18px; }
.qty span { min-width: 34px; text-align: center; font-family: var(--font-d); font-weight: 600; }
.qty.sm { height: 36px; } .qty.sm button { width: 32px; } .qty.sm .ic { width: 15px; }
.side-cats { display: grid; gap: 4px; margin-bottom: 26px; }
.side-cats a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; font-weight: 500; } .side-cats a:hover { background: var(--paper); }
.side-cats .chev { margin-inline-start: auto; width: 18px; color: var(--muted); }
.side-links { display: grid; } .side-links a { display: flex; align-items: center; gap: 14px; padding: 13px 8px; border-bottom: 1px solid var(--line); } .side-links .ic { color: var(--blue); }
.empty { text-align: center; padding: 56px 20px; display: grid; gap: 10px; justify-items: center; }
.empty.sm { padding: 24px 10px; }
.empty-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--blue); margin-bottom: 8px; } .empty-ic .ic { width: 38px; height: 38px; }
.empty p { color: var(--muted); margin-bottom: 12px; }

/* search overlay */
.search-ov { position: fixed; inset: 0; z-index: 100; display: grid; align-content: start; justify-items: center; padding: 8vh 16px 0; opacity: 0; visibility: hidden; transition: all .3s; pointer-events: none; }
.search-ov.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-box { width: min(720px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(-14px) scale(.98); transition: transform .4s var(--ease); max-height: 80vh; overflow: auto; }
.search-ov.open .search-box { transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.search-form > .ic { margin-inline-start: 8px; color: var(--blue); } .search-form input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; height: 46px; background: none; min-width: 0; }
.search-form .icon-btn:hover { background: var(--paper); }
.search-results { padding: 22px; }
.sr-list { display: grid; gap: 4px; margin-bottom: 14px; }
.sr-list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 16px; } .sr-list a:hover { background: var(--paper); }
.sr-img { width: 58px; height: 58px; border-radius: 14px; background: var(--paper); padding: 4px; flex: none; }
.sr-info { flex: 1; display: grid; line-height: 1.35; } .sr-info small { color: var(--muted); }

/* ---------- tab bar (mobile) ---------- */
.tabbar { display: none; }
.wa-float { position: fixed; z-index: 55; inset-inline-start: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #1fb868; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(31,184,104,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); } .wa-float .ic { width: 28px; height: 28px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 520px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 500; white-space: nowrap; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; transition: gap .25s; }
.link-arrow:hover { gap: 14px; color: var(--blue); } .link-arrow .ic { width: 18px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; }
.dark .muted { color: #9aa5d6; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1000px 600px at 15% 20%, rgba(45,51,184,.5), transparent 60%), radial-gradient(700px 500px at 90% 90%, rgba(90,99,255,.22), transparent 60%), linear-gradient(180deg, #091740 0%, #050b1f 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; opacity: .9; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(760px, calc(100vh - 110px)); padding: 56px 0 64px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #d3d9ff; margin-bottom: 26px; }
.hero-pill b { background: var(--blue); color: #fff; padding: 2px 11px; border-radius: 99px; font-weight: 500; font-size: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.hero h1 span { display: block; } .hero h1 em { font-style: normal; background: linear-gradient(100deg, #8c95ff 0%, #b9c0ff 50%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 26px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #b4bde8; max-width: 520px; line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats { display: flex; gap: 38px; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.hero-stats b { display: block; font: 600 1.9rem/1 var(--font-d); } .hero-stats span { color: #94a0d6; font-size: .85rem; }
.hero-vis { position: relative; aspect-ratio: 1; width: min(100%, 600px); margin-inline: auto; }
.ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(140,149,255,.35); animation: echo 5s ease-out infinite; }
.ring:nth-child(2) { animation-delay: 1.25s; } .ring:nth-child(3) { animation-delay: 2.5s; } .ring:nth-child(4) { animation-delay: 3.75s; }
@keyframes echo { 0% { transform: scale(.45); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
.hero-vis::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(90,99,255,.55), rgba(45,51,184,.12) 60%, transparent 70%); filter: blur(10px); }
.hero-main { position: absolute; inset: 14%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
.hero-main .art { width: 100%; height: 100%; }
@keyframes float { 50% { transform: translateY(-16px) rotate(-1.5deg); } }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite; font-size: .82rem; line-height: 1.35; }
.hero-chip .art { width: 54px; height: 54px; flex: none; background: rgba(255,255,255,.07); border-radius: 14px; padding: 3px; }
.hero-chip b { display: block; font-family: var(--font-d); font-weight: 500; font-size: .92rem; } .hero-chip small { color: #aab4e8; }
.hero-chip.c1 { top: 6%; inset-inline-start: -2%; animation-delay: -1s; } .hero-chip.c2 { bottom: 20%; inset-inline-start: -8%; animation-delay: -3s; } .hero-chip.c3 { top: 30%; inset-inline-end: -4%; animation-delay: -2s; }

/* marquee */
.marquee { background: var(--ink); color: #6e7ab3; border-block: 1px solid rgba(255,255,255,.07); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: slide 36s linear infinite; direction: ltr; }
.marquee span { font: 600 1.5rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 70px; } .marquee span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1 / 1.04; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg, var(--navy)); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; opacity: .8; transition: transform 1.2s var(--ease); }
.cat.lightc { color: var(--ink); } .cat.lightc::after { background-image: url(../img/contours-light.svg); opacity: 1; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); } .cat:hover::after { transform: scale(1.12); }
.cat .art { position: absolute; width: 74%; inset-inline-end: -6%; bottom: -4%; transition: transform .7s var(--ease); filter: drop-shadow(0 18px 20px rgba(0,0,0,.35)); }
.cat:hover .art { transform: scale(1.1) rotate(-5deg) translateY(-4px); }
.cat-top { display: flex; justify-content: space-between; align-items: start; }
.cat h3 { font-size: 1.35rem; margin-bottom: 4px; } .cat small { opacity: .7; font-size: .85rem; }
.cat-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; opacity: .7; transition: all .3s; } .cat:hover .cat-arrow { background: #fff; color: var(--ink); opacity: 1; transform: rotate(0); }
.cat-arrow .ic { width: 18px; }

/* ---------- product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { position: relative; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; border-radius: calc(var(--r-lg) - 8px); background: linear-gradient(160deg, #f4f5fa, #e6e9f2) ; overflow: hidden; isolation: isolate; }
.pcard-media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-light.svg) center/cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard-media::before { transform: scale(1.15); }
.art-wrap { position: absolute; inset: 9%; transition: transform .6s var(--ease); display: grid; }
.art-wrap .art { width: 100%; height: 100%; filter: drop-shadow(0 14px 14px rgba(9,23,64,.18)); }
.pcard:hover .art-wrap { transform: scale(1.08) translateY(-3px) rotate(-2deg); }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.wish { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); transition: all .25s var(--ease); }
.wish .ic { width: 20px; transition: all .25s; } .wish:hover { transform: scale(1.1); color: var(--sale); }
.wish.on { background: var(--sale); color: #fff; } .wish.on .ic { fill: currentColor; }
.pcard-top { position: relative; margin: 8px; }
.quick { position: absolute; z-index: 3; inset-inline: 12px; bottom: 12px; height: 46px; border-radius: 99px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 .9rem var(--font-d); opacity: 0; transform: translateY(14px); transition: all .4s var(--ease); }
.quick:hover { background: var(--blue); } .quick .ic { width: 18px; height: 18px; }
.pcard:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .quick { opacity: 1; transform: none; inset-inline-start: auto; width: 42px; height: 42px; padding: 0; border-radius: 50%; } .quick span { display: none; } }
.pcard-body { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .8rem; min-height: 20px; }
.dots { display: flex; gap: 6px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); position: relative; transition: transform .2s; }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s; } .dot.on::after { border-color: var(--blue); } .dot:hover { transform: scale(1.18); }
.pcard-title { font-size: 1rem; font-weight: 500; line-height: 1.45; min-height: 2.9em; }
.pcard-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .pcard-title a:hover { color: var(--indigo-2); }
.pcard-rate { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); } .pcard-rate em { font-style: normal; opacity: .7; }
.pcard-price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; font-size: 1.2rem; }
.stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 1px; line-height: 1; color: #d6dae8; white-space: nowrap; }
.stars-fg { position: absolute; top: 0; inset-inline-start: 0; overflow: hidden; color: var(--star); }
.stars.lg { font-size: 20px; }

/* carousel */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 28px; margin: -6px -2px -22px; }
.track::-webkit-scrollbar { display: none; } .track > * { scroll-snap-align: start; }
.nav-btns { display: flex; gap: 10px; } .nav-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: all .25s; } .nav-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); } .nav-btn .ic { width: 20px; }
.dark .nav-btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; } .dark .nav-btn:hover { background: #fff; color: var(--ink); }

/* tabs */
.tabs { display: flex; gap: 8px; max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px 22px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-family: var(--font-d); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: all .25s; }
.tab:hover { border-color: var(--ink); } .tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- deal ---------- */
.deal { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: linear-gradient(135deg, #1c1f94 0%, #0e1250 60%, #090b34 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.deal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; opacity: 1; }
.deal-vis { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.deal-vis .ring { inset: 4%; border-color: rgba(255,255,255,.3); }
.deal-vis .art { position: absolute; inset: 10%; width: 80%; height: 80%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
.deal-off { position: absolute; top: 4%; inset-inline-end: 4%; width: 104px; height: 104px; border-radius: 50%; background: var(--sale); display: grid; place-content: center; text-align: center; font: 600 1.7rem/1 var(--font-d); transform: rotate(-12deg); box-shadow: 0 16px 30px -8px rgba(255,74,94,.6); } .deal-off small { font-size: .72rem; font-weight: 500; margin-top: 4px; }
.deal h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin: 8px 0 14px; } .deal p { color: #b7c0f0; max-width: 460px; }
.count-row { display: flex; gap: 12px; margin: 28px 0; }
.cd { min-width: 78px; padding: 14px 8px 10px; text-align: center; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.cd b { display: block; font: 600 2rem/1 var(--font-d); font-variant-numeric: tabular-nums; } .cd span { font-size: .72rem; color: #aab4e8; }
.deal-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; font-size: 2.4rem; } .deal-price .old { color: #8a95cc; font-size: 1.2rem; }

/* promo duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo { position: relative; min-height: 380px; border-radius: var(--r-xl); padding: 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; color: #fff; transition: transform .5s var(--ease); }
.promo:hover { transform: translateY(-5px); }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg); } .promo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; }
.promo.light { color: var(--ink); } .promo.light::after { background-image: url(../img/contours-light.svg); }
.promo h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 10px; max-width: 280px; } .promo p { opacity: .75; max-width: 260px; margin-bottom: 22px; }
.promo .art { position: absolute; width: 58%; inset-inline-end: -4%; top: 50%; transform: translateY(-50%); transition: transform .8s var(--ease); filter: drop-shadow(0 30px 30px rgba(0,0,0,.35)); }
.promo:hover .art { transform: translateY(-52%) scale(1.07) rotate(-4deg); }
.promo .btn { align-self: flex-start; }

/* features / reviews / newsletter */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feat .mega-ic { width: 56px; height: 56px; border-radius: 18px; margin-bottom: 18px; } .feat h3 { font-size: 1.08rem; margin-bottom: 6px; } .feat p { color: var(--muted); font-size: .92rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev { padding: 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 18px; }
.rev q { quotes: none; font-size: 1.05rem; line-height: 1.85; color: #e1e6ff; flex: 1; }
.rev .who { display: flex; align-items: center; gap: 14px; } .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font: 600 1.05rem var(--font-d); flex: none; } .who b { display: block; font-weight: 500; } .who small { color: #94a0d6; }
.news { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: clamp(30px, 5vw, 60px); border-radius: var(--r-xl); background: linear-gradient(135deg, #2a2fb8, #0c1148 70%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.news::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; }
.news h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; } .news p { color: #aab4e8; }
.news-form { display: flex; gap: 8px; padding: 7px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 20px; color: #fff; } .news-form input::placeholder { color: #8892c4; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab3dd; margin-top: 0; }
.foot-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 34px; }
.foot-feats > div { display: flex; gap: 14px; align-items: center; } .foot-feats .ic { width: 34px; height: 34px; color: var(--blue-soft); } .foot-feats b { display: block; color: #fff; font-family: var(--font-d); font-weight: 500; } .foot-feats small { font-size: .82rem; }
.foot-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 40px; padding-block: 60px; }
.foot-brand p { margin: 20px 0; max-width: 340px; font-size: .94rem; line-height: 1.9; }
.socials { display: flex; gap: 10px; } .socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: all .25s; color: #fff; } .socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); } .socials .ic { width: 20px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.site-footer nav, .foot-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: .94rem; }
.site-footer nav a:hover, .foot-contact a:hover { color: #fff; }
.foot-contact a, .foot-contact .line { display: flex; gap: 12px; align-items: center; } .foot-contact .ic { width: 20px; color: var(--blue-soft); }
.foot-bot { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; } .foot-bot .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.pay { display: flex; align-items: center; gap: 8px; } .pay .ic { width: 18px; height: 18px; margin-inline-start: 10px; }

/* ---------- toast ---------- */
#toasts { position: fixed; z-index: 500; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px; pointer-events: none; }
@keyframes toastIn { from { opacity: 0; transform: scale(.88) translateY(10px); } }
.toast { display: flex; align-items: center; gap: 12px; max-width: min(92vw, 460px); padding: 16px 26px 16px 22px; background: rgba(5,11,31,.94); backdrop-filter: blur(10px); color: #fff; border-radius: 22px; box-shadow: 0 30px 80px -10px rgba(0,0,0,.5); transform: scale(.88); opacity: 0; transition: opacity .3s var(--ease), transform .4s var(--ease); font-size: 1rem; font-weight: 500; text-align: start; }
.toast.show { transform: none; opacity: 1; } .toast .ic { width: 26px; flex: none; padding: 3px; border-radius: 50%; background: var(--ok); } .toast.err .ic { background: var(--sale); }

/* ---------- page heads / breadcrumbs ---------- */
.page-head { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding: 44px 0 52px; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 85% 0%, rgba(90,99,255,.35), transparent 70%), url(../img/contours-dark.svg) center/cover; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); } .page-head p { color: #aab4e8; margin-top: 10px; max-width: 560px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #94a0d6; margin-bottom: 18px; } .crumbs .ic { width: 14px; opacity: .6; } .crumbs a:hover { color: #fff; } .crumbs b { color: #fff; font-weight: 400; }
.crumbs.on-light { color: var(--muted); } .crumbs.on-light b { color: var(--text); } .crumbs.on-light a:hover { color: var(--blue); }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; padding-block: 36px 90px; }
.filters { position: sticky; top: calc(var(--hdr-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 24px 24px; max-height: calc(100vh - var(--hdr-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.f-head { display: none; }
.f-group { padding: 20px 0; border-bottom: 1px solid var(--line); } .f-group:last-of-type { border: 0; }
.f-group h4 { font-size: .98rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.f-list { display: grid; gap: 4px; }
.f-opt { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 10px; cursor: pointer; font-size: .94rem; transition: color .2s; } .f-opt:hover { color: var(--blue); }
.f-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-opt .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c3c8da; display: grid; place-items: center; transition: all .2s; flex: none; } .f-opt .box .ic { width: 14px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.5); transition: all .2s; }
.f-opt input:checked + .box { background: var(--blue); border-color: var(--blue); } .f-opt input:checked + .box .ic { opacity: 1; transform: none; }
.f-opt input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.f-opt .n { margin-inline-start: auto; color: var(--muted); font-size: .8rem; }
.f-opt.radio .box { border-radius: 50%; } .f-opt.radio input:checked + .box { background: #fff; border-width: 6px; border-color: var(--blue); } .f-opt.radio .box .ic { display: none; }
.sw-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; transition: transform .2s; } .sw:hover { transform: scale(1.1); }
.sw.on::after { content: ''; position: absolute; inset: -5px; border: 2px solid var(--blue); border-radius: 50%; }
.price-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 14px; } .price-in input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 12px; text-align: center; outline: 0; } .price-in input:focus { border-color: var(--blue); }
input[type=range] { width: 100%; accent-color: var(--blue); direction: rtl; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count-txt { color: var(--muted); } .toolbar .count-txt b { color: var(--text); font-family: var(--font-d); }
.tool-r { display: flex; gap: 10px; align-items: center; }
.select { position: relative; } .select select { appearance: none; -webkit-appearance: none; height: 46px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; padding: 0 20px 0 44px; font-size: .92rem; cursor: pointer; outline: 0; } .select select:focus { border-color: var(--blue); } .select .ic { position: absolute; inset-inline-end: auto; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; pointer-events: none; }
html[dir=rtl] .select select { padding: 0 20px 0 44px; }
.view-t { display: flex; padding: 4px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); } .view-t button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .view-t button.on { background: var(--ink); color: #fff; } .view-t .ic { width: 18px; }
.filter-btn { display: none; }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.af { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 99px; background: var(--ice); color: var(--indigo); font-size: .85rem; font-weight: 500; } .af button { width: 22px; height: 22px; border-radius: 50%; background: rgba(22,25,108,.12); display: grid; place-items: center; } .af .ic { width: 12px; stroke-width: 2.4; }
.af.clear { background: none; color: var(--muted); text-decoration: underline; padding: 7px 4px; }
.shop .pgrid { grid-template-columns: repeat(3, 1fr); }
.pgrid.list { grid-template-columns: 1fr !important; }
.pgrid.list .pcard { flex-direction: row; } .pgrid.list .pcard-top { width: 240px; flex: none; } .pgrid.list .pcard-body { padding: 24px 28px; justify-content: center; } .pgrid.list .pcard-title { min-height: 0; font-size: 1.15rem; }
.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 44px; color: var(--muted); font-size: .9rem; }
.skeleton { background: linear-gradient(90deg, #eceef5 25%, #f6f7fb 50%, #eceef5 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: var(--r-lg); aspect-ratio: .78; } @keyframes sk { to { background-position: -200% 0; } }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; padding-block: 32px 70px; align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.thumbs { display: grid; gap: 12px; align-content: start; } .thumb { aspect-ratio: 1; border-radius: 18px; background: #fff; border: 2px solid transparent; padding: 6px; transition: all .25s; overflow: hidden; box-shadow: var(--shadow-sm); } .thumb.on { border-color: var(--blue); } .thumb:hover { transform: translateY(-2px); }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; cursor: zoom-in; background: linear-gradient(160deg, #f6f7fb, #e2e6f1); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-light.svg) center/cover; }
.stage.v1 { background: linear-gradient(150deg, #1b21a3, #0a1240); } .stage.v1::before { background-image: url(../img/contours-dark.svg); }
.stage.v2 { background: linear-gradient(160deg, #050b1f, #101c52); } .stage.v2::before { background-image: url(../img/contours-dark.svg); }
.stage.v3 { background: linear-gradient(160deg, #dfe3ff, #f6f7fb); }
.stage .art { position: absolute; inset: 8%; width: 84%; height: 84%; transition: transform .5s var(--ease); filter: drop-shadow(0 30px 30px rgba(9,23,64,.28)); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.stage.zoom .art { transform: scale(1.8); }
.stage.v1 .art { transform: rotate(-10deg) scale(1.08); } .stage.v2 .art { transform: scale(.82); } .stage.v3 .art { transform: rotate(8deg) scale(1.12) translateY(-2%); }
.stage.zoom.v1 .art, .stage.zoom.v2 .art, .stage.zoom.v3 .art { transform: scale(1.8); }
.stage .badges { top: 22px; inset-inline-start: 22px; } .stage .wish { top: 22px; inset-inline-end: 22px; width: 48px; height: 48px; }
.stage-nav { position: absolute; bottom: 20px; inset-inline-end: 20px; display: flex; gap: 8px; z-index: 3; } .stage-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow-sm); } .stage-nav .ic { width: 18px; }
.stage-dots { display: none; }
.pinfo .brand-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font: 500 .9rem var(--font-d); letter-spacing: .04em; }
.pinfo h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 10px 0 14px; line-height: 1.3; }
.p-rate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; } .p-rate a { text-decoration: underline; } .p-rate .sep { width: 1px; height: 16px; background: var(--line); } .p-rate .ok { color: var(--ok); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; } .p-rate .ok .ic { width: 16px; }
.p-price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 8px; flex-wrap: wrap; font-size: 2.5rem; } .p-price .old { font-size: 1.3rem; } .p-price .save { font: 500 .85rem var(--font-d); background: #ffe5e9; color: var(--sale); padding: 5px 12px; border-radius: 99px; align-self: center; }
.p-short { color: #404a6e; line-height: 1.95; margin-bottom: 26px; }
.opt { padding: 22px 0; border-top: 1px solid var(--line); } .opt-l { display: flex; justify-content: space-between; margin-bottom: 14px; font-weight: 500; } .opt-l span { color: var(--muted); font-weight: 400; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; } .swatch { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; transition: transform .25s var(--ease); } .swatch:hover { transform: scale(1.08); } .swatch::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; } .swatch.on::after { border-color: var(--blue); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 4px; } .buy .btn { height: 50px; } .buy .btn-primary { height: 50px; }
.buy-2 { display: grid; grid-template-columns: 1fr 54px; gap: 12px; margin-top: 12px; }
.buy-2 .btn { height: 54px; } .wish-btn { height: 54px; width: 54px; border-radius: 99px; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; transition: all .25s; } .wish-btn:hover { border-color: var(--sale); color: var(--sale); } .wish-btn.on { background: var(--sale); border-color: var(--sale); color: #fff; } .wish-btn.on .ic { fill: currentColor; }
.stock { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: var(--ok); } .stock i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(23,166,115,.2); } .stock.low { color: #e58a00; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.trust > div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: .86rem; line-height: 1.4; } .trust .ic { color: var(--blue); width: 26px; height: 26px; } .trust b { display: block; font-weight: 500; font-size: .92rem; } .trust small { color: var(--muted); }
.deliv { margin-top: 18px; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(135deg, #eef0ff, #f6f7fd); display: flex; gap: 14px; align-items: center; font-size: .92rem; } .deliv .ic { color: var(--indigo-2); width: 30px; height: 30px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .88rem; } .share button, .share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; } .share .ic { width: 18px; } .share button:hover, .share a:hover { background: var(--ink); color: #fff; }
.detail { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; margin-bottom: 70px; }
.d-tabs { display: flex; gap: 6px; padding: 12px; background: var(--paper); overflow-x: auto; scrollbar-width: none; } .d-tabs::-webkit-scrollbar { display: none; }
.d-tab { padding: 14px 28px; border-radius: 99px; font: 500 .96rem var(--font-d); white-space: nowrap; color: var(--muted); transition: all .25s; } .d-tab.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); } .d-tab:hover { color: var(--ink); }
.d-panel { padding: clamp(24px, 4vw, 52px); display: none; } .d-panel.on { display: block; animation: fade .5s var(--ease); } @keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.d-desc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; } .d-desc p { color: #404a6e; line-height: 2; margin-bottom: 22px; font-size: 1.04rem; }
.feat-list { display: grid; gap: 10px; } .feat-list li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--paper); } .feat-list .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.spec { width: 100%; border-collapse: collapse; } .spec tr:nth-child(odd) { background: var(--paper); } .spec th, .spec td { padding: 16px 22px; text-align: start; } .spec th { width: 34%; font-weight: 500; color: var(--muted); } .spec tr td:first-child, .spec tr th:first-child { border-radius: 0 14px 14px 0; } .spec tr td:last-child { border-radius: 14px 0 0 14px; }
.inbox { display: flex; flex-wrap: wrap; gap: 14px; } .inbox li { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 99px; background: var(--paper); font-weight: 500; } .inbox .ic { color: var(--blue); }
.rev-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.rev-sum { text-align: center; padding: 30px; border-radius: var(--r-lg); background: var(--paper); align-self: start; } .rev-sum .big { font: 600 4.2rem/1 var(--font-d); } .rev-sum .stars { margin: 10px 0 4px; }
.bars { display: grid; gap: 10px; margin-top: 22px; font-size: .84rem; color: var(--muted); } .bars div { display: grid; grid-template-columns: 20px 1fr 34px; align-items: center; gap: 10px; } .bars .bar { background: #dde0ec; } .bars .bar i { background: var(--star); }
.rev-list { display: grid; gap: 18px; align-content: start; }
.rv { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); } .rv-h { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; } .rv .avatar { background: var(--indigo-2); color: #fff; } .rv-h .stars { margin-inline-start: auto; } .rv-h small { color: var(--muted); display: block; } .rv p { color: #404a6e; line-height: 1.9; } .rv .vf { display: inline-flex; gap: 5px; align-items: center; color: var(--ok); font-size: .8rem; margin-top: 10px; } .rv .vf .ic { width: 15px; }
.sticky-buy { display: none; }

/* ---------- cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding-block: 36px 90px; align-items: start; }
.cart-list { display: grid; gap: 16px; }
.ci { display: grid; grid-template-columns: 128px 1fr auto; gap: 24px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .3s; } .ci:hover { box-shadow: var(--shadow-sm); }
.ci-img { width: 128px; aspect-ratio: 1; border-radius: 20px; background: var(--paper) url(../img/contours-light.svg) center/cover; padding: 10px; }
.ci-info { display: grid; gap: 6px; } .ci-info small { color: var(--muted); } .ci-info h3 { font-size: 1.08rem; font-weight: 500; line-height: 1.4; } .ci-info h3:hover { color: var(--indigo-2); }
.ci-col { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; } .ci-col i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.ci-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.ci-end { display: grid; justify-items: end; gap: 12px; text-align: end; } .ci-end .price { font-size: 1.35rem; } .ci-end .rm { color: var(--muted); }
.ci-end s { color: var(--muted); font-size: .85rem; }
.summary { position: sticky; top: calc(var(--hdr-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.summary h2 { font-size: 1.25rem; margin-bottom: 20px; }
.s-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; color: #404a6e; } .s-row b { color: var(--text); font-weight: 500; } .s-row.green b, .s-row.green { color: var(--ok); }
.s-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 22px; margin-top: 10px; border-top: 1.5px dashed var(--line); font-size: 1.1rem; font-weight: 500; } .s-total .price { font-size: 1.9rem; }
.coupon { display: flex; gap: 8px; margin: 18px 0 6px; } .coupon input { flex: 1; min-width: 0; height: 50px; border-radius: 99px; border: 1.5px solid var(--line); padding: 0 20px; outline: 0; text-transform: uppercase; } .coupon input:focus { border-color: var(--blue); } .coupon .btn { height: 50px; padding: 0 22px; }
.cp-msg { font-size: .85rem; min-height: 22px; padding: 2px 8px; } .cp-msg.ok { color: var(--ok); } .cp-msg.err { color: var(--sale); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .84rem; } .secure .ic { width: 18px; }
.sum-items { display: grid; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); max-height: 300px; overflow: auto; }
.si { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: .9rem; } .si-img { width: 64px; height: 64px; border-radius: 14px; background: var(--paper); padding: 4px; position: relative; } .si-img b { position: absolute; top: -6px; inset-inline-end: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 .72rem/22px var(--font-d); text-align: center; } .si small { color: var(--muted); display: block; }
.steps { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; } .step { display: flex; align-items: center; gap: 10px; color: #8892c4; font-size: .9rem; } .step i { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font: 500 .85rem var(--font-d); font-style: normal; } .step.on { color: #fff; } .step.on i { background: var(--blue); border-color: var(--blue); } .step.done i { background: var(--ok); border-color: var(--ok); color: #fff; } .step.done { color: #cfd6ff; } .steps .line { width: 40px; height: 1.5px; background: rgba(255,255,255,.2); }
.co-layout { display: grid; grid-template-columns: 1fr 440px; gap: 32px; padding-block: 36px 90px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); margin-bottom: 20px; }
.panel h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; } .panel h2 span { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 .95rem var(--font-d); flex: none; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; } .field label { font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; padding: 0 18px; outline: 0; transition: border-color .2s, box-shadow .2s; } .field textarea { padding: 14px 18px; min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(90,99,255,.14); }
.field.err input, .field.err select { border-color: var(--sale); } .field .em { color: var(--sale); font-size: .8rem; display: none; } .field.err .em { display: block; }
.opts { display: grid; gap: 12px; }
.opt-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .25s; background: #fff; } .opt-card:hover { border-color: #b5bbea; }
.opt-card input { position: absolute; opacity: 0; } .opt-card .rad { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #c3c8da; flex: none; transition: all .2s; } .opt-card input:checked ~ .rad { border: 7px solid var(--blue); } .opt-card:has(input:checked) { border-color: var(--blue); background: #f6f7ff; box-shadow: 0 0 0 4px rgba(90,99,255,.1); }
.opt-card .oi { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--indigo-2); flex: none; } .opt-card:has(input:checked) .oi { background: #fff; }
.opt-card div { flex: 1; line-height: 1.5; } .opt-card b { display: block; font-weight: 500; } .opt-card small { color: var(--muted); } .opt-card .p { font-family: var(--font-d); font-weight: 600; }
.card-form { display: none; margin-top: 16px; padding: 22px; border-radius: var(--r); background: var(--paper); }
.opt-card:has(input[value=card]:checked) + .card-form { display: block; animation: fade .4s var(--ease); }
.note-box { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: #eef0ff; color: var(--indigo); font-size: .88rem; margin-top: 14px; } .note-box .ic { width: 20px; flex: none; }
.agree { display: flex; gap: 12px; align-items: start; font-size: .88rem; color: #404a6e; margin: 6px 0 20px; cursor: pointer; }

/* success */
.success { text-align: center; padding: 70px 0 40px; display: grid; justify-items: center; gap: 12px; }
.tick { width: 110px; height: 110px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; position: relative; margin-bottom: 14px; box-shadow: 0 20px 40px -10px rgba(23,166,115,.55); animation: pop .7s var(--ease); } .tick .ic { width: 54px; height: 54px; stroke-width: 2.6; } .tick::before, .tick::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); animation: echo 2.4s ease-out infinite; } .tick::after { animation-delay: 1.2s; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.success h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); } .success > p { color: var(--muted); max-width: 520px; }
.order-no { display: inline-flex; gap: 14px; align-items: center; padding: 12px 26px; border-radius: 99px; background: #fff; border: 1.5px dashed #b5bbea; margin: 14px 0; font-size: 1.05rem; } .order-no b { font: 600 1.3rem var(--font-d); letter-spacing: .05em; color: var(--indigo-2); direction: ltr; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: min(780px, 100%); margin: 30px auto 10px; position: relative; }
.tl { display: grid; justify-items: center; gap: 10px; position: relative; font-size: .88rem; color: var(--muted); } .tl i { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; } .tl.on { color: var(--text); } .tl.on i { background: var(--ok); border-color: var(--ok); color: #fff; } .tl.now i { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 7px rgba(90,99,255,.2); }
.tl::before { content: ''; position: absolute; top: 22px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--line); } .tl:first-child::before { display: none; } .tl.on::before, .tl.now::before { background: var(--ok); }
.recap { width: min(780px, 100%); text-align: start; margin: 26px auto 0; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } .about-hero p { color: #404a6e; line-height: 2; margin-bottom: 18px; }
.about-vis { aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); } .about-vis img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; } .stat { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-align: center; } .stat b { display: block; font: 600 2.6rem/1 var(--font-d); color: var(--indigo-2); margin-bottom: 6px; } .stat span { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.c-cards { display: grid; gap: 14px; align-content: start; } .c-card { display: flex; gap: 18px; align-items: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: all .3s; } a.c-card:hover { transform: translateX(-4px); box-shadow: var(--shadow); } .c-card .mega-ic { width: 56px; height: 56px; border-radius: 18px; } .c-card b { display: block; font-weight: 500; } .c-card small { color: var(--muted); }
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; } .qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; font: 500 1.05rem var(--font-d); text-align: start; } .qa .ic { transition: transform .35s var(--ease); color: var(--blue); } .qa.open .ic { transform: rotate(45deg); } .qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); } .qa.open .a { grid-template-rows: 1fr; } .qa .a > div { overflow: hidden; } .qa p { padding: 0 26px 24px; color: #404a6e; line-height: 1.9; }

/* ================= responsive ================= */
@media (max-width: 1180px) {
  .track { grid-auto-columns: calc((100% - 44px) / 3); }
  .pgrid { grid-template-columns: repeat(3, 1fr); } .shop .pgrid { grid-template-columns: repeat(2, 1fr); }
  .main-nav > a:nth-of-type(n+3) { display: none; } .hdr-search { max-width: 240px; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr 360px; } .co-layout { grid-template-columns: 1fr 390px; }
}
@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
  .menu-btn, .search-btn { display: grid; } .main-nav, .hdr-search { display: none; }
  .hdr { gap: 6px; } .logo { margin-inline: auto; } .hdr-actions a.icon-btn { display: none; } .login-btn span { display: none; } .login-btn { width: 46px; padding: 0; }
  .hdr > .menu-btn { order: -1; }
  .hdr-actions { margin-inline-start: 0; }
  .logo img { height: 24px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 36px 0 48px; gap: 10px; text-align: center; } .hero p.lead { margin-inline: auto; } .hero-cta, .hero-stats { justify-content: center; margin-inline: auto; } .hero-vis { width: min(330px, 84%); order: -1; }
  .hero-chip { padding: 6px 12px 6px 6px; border-radius: 16px; } .hero-chip .art { width: 38px; height: 38px; } .hero-chip b { font-size: .78rem; } .hero-chip small { display: none; } .hero-chip.c1 { inset-inline-start: -6%; } .hero-chip.c3 { inset-inline-end: -6%; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat { padding: 16px; border-radius: 24px; aspect-ratio: 1 / 1.12; } .cat h3 { font-size: 1.05rem; position: relative; z-index: 2; } .cat small { position: relative; z-index: 2; } .cat .art { width: 66%; inset-inline-end: -14%; bottom: 14%; opacity: .95; } .cat-arrow { width: 34px; height: 34px; } .cat .mega-ic { width: 38px; height: 38px; border-radius: 12px; }
  .deal, .news, .about-hero, .contact-grid { grid-template-columns: 1fr; } .deal-vis { max-width: 320px; }
  .duo { grid-template-columns: 1fr; } .promo { min-height: 300px; padding: 28px; }
  .feats, .foot-feats, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; gap: 0; padding-top: 22px; }
  .filter-btn { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 100; max-height: 88vh; border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform .5s var(--ease); padding: 0 22px 110px; border: 0; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .f-head { display: flex; position: sticky; top: 0; z-index: 2; background: #fff; align-items: center; justify-content: space-between; padding: 20px 0 12px; border-bottom: 1px solid var(--line); } .f-head h3 { font-size: 1.15rem; }
  .f-apply { display: block; position: fixed; inset-inline: 0; bottom: 0; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .pdp { grid-template-columns: 1fr; gap: 28px; padding-top: 14px; }
  .gallery { position: static; grid-template-columns: 1fr; } .thumbs { display: none; } .stage { border-radius: var(--r-lg); }
  .stage-dots { display: flex; position: absolute; bottom: 16px; inset-inline: 0; justify-content: center; gap: 7px; } .stage-dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(9,23,64,.3); transition: all .3s; } .stage-dots i.on { width: 22px; background: var(--ink); } .stage-nav { display: none; }
  .d-desc, .rev-wrap { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout, .co-layout { grid-template-columns: 1fr; } .summary { position: static; } .co-layout .summary { order: -1; }
  .detail { border-radius: var(--r-lg); margin-bottom: 40px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; font-size: 15.5px; }
  .announce p { font-size: .76rem; } .hide-sm { display: none; }
  .wa-float { bottom: 92px; width: 50px; height: 50px; inset-inline-start: 14px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px; padding: 0 6px; border-radius: 26px; background: rgba(5,11,31,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 40px -8px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8791c4; font-size: .66rem; transition: color .2s; } .tabbar .ic { width: 23px; height: 23px; } .tabbar .on { color: #fff; } .tabbar .on::before { content: ''; position: absolute; top: 5px; width: 22px; height: 3px; border-radius: 3px; background: var(--blue); }
  .tabbar .count { top: 6px; inset-inline-end: calc(50% - 20px); box-shadow: 0 0 0 2px var(--ink); }
  body[data-page=product], body[data-page=checkout] { padding-bottom: 0; } body[data-page=product] .tabbar, body[data-page=checkout] .tabbar, body[data-page=product] .wa-float, body[data-page=checkout] .wa-float { display: none; }
  .sec-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; } .sec-head .nav-btns { display: none; }
  .track { grid-auto-columns: 62%; gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .pgrid, .shop .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard { border-radius: 22px; } .pcard-top { margin: 6px; } .pcard-media { border-radius: 17px; } .pcard-body { padding: 6px 12px 14px; gap: 4px; } .pcard-title { font-size: .88rem; } .pcard-price { font-size: 1.02rem; } .pcard-rate { font-size: .74rem; } .stars { font-size: 13px; } .pcard-meta { font-size: .72rem; } .dot { width: 13px; height: 13px; } .dots { gap: 5px; }
  .wish { width: 34px; height: 34px; top: 10px; inset-inline-end: 10px; } .wish .ic { width: 17px; }
  .badges { top: 8px; inset-inline-start: 8px; } .badge { font-size: .66rem; padding: 3px 9px; }
  .pgrid.list .pcard { flex-direction: row; } .pgrid.list { grid-template-columns: 1fr !important; } .pgrid.list .pcard-top { width: 130px; } .pgrid.list .pcard-body { padding: 10px 14px; }
  .quick { inset-inline: auto 8px; bottom: 8px; width: 38px; height: 38px; padding: 0; border-radius: 50%; opacity: 1; transform: none; } .quick span { display: none; }
  .hero h1 { font-size: 2.45rem; } .hero-pill { font-size: .78rem; } .hero-stats b { font-size: 1.5rem; } .hero-stats { gap: 18px; padding-top: 22px; margin-top: 34px; } .hero-cta .btn { flex: 1; padding: 0 16px; }
  .btn.lg { height: 54px; }
  .feats { gap: 12px; } .feat { padding: 20px; } .feat .mega-ic { width: 46px; height: 46px; margin-bottom: 12px; } .feat h3 { font-size: .95rem; } .feat p { font-size: .8rem; }
  .foot-feats { grid-template-columns: 1fr; gap: 16px; } .foot-main { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 40px; } .foot-brand, .foot-contact { grid-column: 1 / -1; } .foot-bot .container { flex-direction: column; text-align: center; align-items: center; } .pay { justify-content: center; flex-wrap: wrap; }
  .count-row { gap: 8px; } .cd { min-width: 0; flex: 1; } .cd b { font-size: 1.5rem; } .deal { border-radius: 30px; } .deal-price { font-size: 2rem; }
  .news { border-radius: 30px; } .news-form { flex-direction: column; border-radius: 26px; padding: 8px; } .news-form input { height: 50px; text-align: center; }
  .page-head { padding: 28px 0 34px; } .toolbar .count-txt { flex-basis: 100%; order: 3; }
  .tool-r { flex: 1; } .select { flex: 1; } .select select { width: 100%; } .view-t { display: none; }
  .filter-btn { height: 46px; }
  .stat-row { margin-top: 40px; } .stat { padding: 20px 10px; } .stat b { font-size: 2rem; }
  .p-price { font-size: 2.1rem; margin-top: 18px; } .trust { grid-template-columns: 1fr; }
  .buy { grid-template-columns: 1fr; } .buy .qty { justify-self: start; }
  .buy-2 { display: none; }
  .sticky-buy { display: flex; align-items: center; gap: 12px; position: fixed; inset-inline: 0; bottom: 0; z-index: 70; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(9,23,64,.08); }
  .sticky-buy .p { display: grid; line-height: 1.2; font-size: 1.2rem; } .sticky-buy .p small { font-size: .72rem; color: var(--muted); font-family: var(--font); } .sticky-buy .btn { flex: 1; height: 52px; } .sticky-buy .wish-btn { width: 52px; height: 52px; flex: none; }
  body[data-page=product] main { padding-bottom: 90px; }
  .d-tab { padding: 12px 20px; } .d-panel { padding: 22px 18px; } .spec th, .spec td { padding: 13px 14px; font-size: .9rem; } .rv { padding: 18px; }
  .ci { grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; } .ci-img { width: 92px; border-radius: 16px; padding: 6px; } .ci-end { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; border-top: 1px dashed var(--line); padding-top: 12px; } .ci-end .price { grid-column: 1; font-size: 1.15rem; } .ci-end .rm { grid-row: 1; grid-column: 2; }
  .fgrid { grid-template-columns: 1fr; gap: 14px; }
  .panel { padding: 20px 16px; border-radius: 24px; } .summary { padding: 22px 18px; border-radius: 24px; }
  .steps { gap: 8px; } .step span { display: none; } .step.on span { display: inline; } .steps .line { width: 20px; }
  .timeline { grid-template-columns: 1fr; gap: 20px; justify-items: start; padding-inline: 20px; } .tl { grid-auto-flow: column; justify-content: start; align-items: center; } .tl::before { top: auto; bottom: 100%; inset-inline-start: 22px; width: 2px; height: 20px; } .tl i { width: 44px; height: 44px; }
  .opt-card { padding: 14px; gap: 12px; } .opt-card .oi { width: 40px; height: 40px; }
  .mega-in { grid-template-columns: 1fr; }
  .search-ov { padding-top: 0; } .search-box { border-radius: 0 0 28px 28px; max-height: 92vh; }
  .toolbar { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ================= auth / account additions ================= */
img.art.photo { object-fit: contain; width: 100%; height: 100%; filter: none; border-radius: 12px; }
.stage img.art.photo { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; position: absolute; }
.stage.vp { background: #fff; } .stage.vp::before { display: none; }
.art-wrap img.art.photo { object-fit: cover; border-radius: 14px; }
.badge.out { background: #5a627f; }
.acc { position: relative; }
.login-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; font-weight: 500; transition: all .25s; }
.login-btn:hover { background: var(--blue); border-color: var(--blue); } .login-btn .ic { width: 20px; height: 20px; }
.avatar-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-2); border: 2px solid rgba(255,255,255,.2); overflow: visible; margin-inline: 4px; transition: border-color .2s; } .avatar-btn:hover { border-color: #fff; }
.avatar-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } .avatar-btn b { font: 600 1rem var(--font-d); }
.vip-dot { position: absolute; bottom: -3px; inset-inline-start: -3px; width: 19px; height: 19px; border-radius: 50%; background: linear-gradient(135deg, #ffd36b, #ff9d2e); color: #4a2a00; font-size: 11px; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink); }
.acc-menu { position: absolute; top: calc(100% + 12px); inset-inline-end: -6px; width: 290px; background: #fff; color: var(--text); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 10px; z-index: 80; animation: fade .3s var(--ease); }
.acc-menu::before { content: ''; position: absolute; top: -6px; inset-inline-end: 22px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.acc-head { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); position: relative; }
.acc-head img, .acc-head b { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; background: var(--indigo-2); color: #fff; display: grid; place-items: center; font: 600 1.1rem var(--font-d); }
.acc-head span { display: grid; min-width: 0; line-height: 1.4; } .acc-head strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acc-head small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: end; }
.role { font-style: normal; font-size: .72rem; font-weight: 500; padding: 2px 10px; border-radius: 99px; justify-self: start; margin-top: 4px; background: var(--paper); color: var(--muted); }
.role.r-admin { background: #ffe4e8; color: #c4263f; } .role.r-staff { background: #dff0ff; color: #1b62b8; } .role.r-vip { background: linear-gradient(135deg, #ffe7a8, #ffc56b); color: #5a3500; }
.acc-menu a, .acc-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; font-size: .94rem; text-align: start; transition: background .2s; } .acc-menu a:hover, .acc-menu button:hover { background: var(--paper); } .acc-menu .ic { width: 20px; color: var(--blue); } .acc-menu .adm { color: var(--indigo); font-weight: 500; background: #eef0ff; } .acc-menu button { color: var(--sale); } .acc-menu button .ic { color: var(--sale); }
.search-ov.center { align-content: center; padding: 16px; }
.login-box { text-align: center; padding: 38px 32px 30px; max-width: 440px; position: relative; display: grid; gap: 14px; justify-items: center; }
.lb-close { position: absolute; top: 12px; inset-inline-start: 12px; } .lb-close:hover { background: var(--paper); }
.lb-logo { height: 28px; width: auto; margin-bottom: 4px; } .login-box h2 { font-size: 1.6rem; }
.g-btn { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 56px; border-radius: 99px; background: #fff; border: 1.5px solid #dadce0; font: 500 1rem var(--font-d); transition: all .25s; margin-top: 6px; } .g-btn:hover { box-shadow: 0 6px 20px rgba(60,64,67,.25); border-color: #c0c4c9; transform: translateY(-1px); }
.lb-perks { display: grid; gap: 10px; text-align: start; width: 100%; padding: 16px 18px; background: var(--paper); border-radius: 18px; font-size: .92rem; } .lb-perks li { display: flex; gap: 12px; align-items: center; } .lb-perks .ic { color: var(--blue); width: 20px; }
.vip-note { display: flex; gap: 8px; align-items: center; margin: 4px 0 10px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(135deg, #fff1cf, #ffe2a0); color: #5a3500; font-size: .9rem; } .vip-note .ic { width: 18px; } .vip-note.soft { background: var(--paper); color: var(--muted); }
.vip-banner { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: var(--r); margin-bottom: 20px; background: linear-gradient(135deg, #fff1cf, #ffe2a0); color: #5a3500; } .vip-banner .ic { width: 26px; height: 26px; }
.p-rate .bad { color: var(--sale); font-weight: 500; } .stock.none { color: var(--sale); } .stock.none i { box-shadow: 0 0 0 4px rgba(255,74,94,.2); }
.rev-cta { margin-top: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); text-align: center; display: grid; gap: 12px; justify-items: center; } .rev-cta.ok { color: var(--ok); } .rev-cta .ic { width: 28px; }
.rev-form { margin-top: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 14px; } .rev-form textarea { min-height: 110px; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; outline: 0; resize: vertical; background: #fff; } .rev-form textarea:focus { border-color: var(--blue); }
.star-pick { display: flex; gap: 4px; direction: rtl; font-size: 2rem; line-height: 1; } .star-pick button { color: #cfd4e4; transition: transform .15s, color .15s; } .star-pick button:hover { transform: scale(1.2); } .star-pick button.on { color: var(--star); }
.rv .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } .reply { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--paper); font-size: .9rem; border-inline-start: 3px solid var(--blue); }
/* account */
.acc-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.acc-side { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 16px; }
.acc-card { display: grid; justify-items: center; gap: 4px; padding: 30px 20px; text-align: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); position: relative; overflow: hidden; isolation: isolate; }
.acc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.svg) center/cover; }
.acc-card img, .acc-card > b { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.25); background: var(--indigo-2); display: grid; place-items: center; font: 600 2rem var(--font-d); margin-bottom: 8px; }
.acc-card h3 { font-size: 1.15rem; } .acc-card small { color: #9aa5d6; direction: ltr; } .acc-card .role { justify-self: center; margin-top: 8px; }
.acc-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; display: grid; gap: 2px; }
.acc-nav a, .acc-nav button { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; font-weight: 500; text-align: start; transition: all .2s; } .acc-nav a:hover, .acc-nav button:hover { background: var(--paper); } .acc-nav .on { background: var(--ink); color: #fff; } .acc-nav .ic { width: 21px; } .acc-nav button { color: var(--sale); } .acc-nav .adm { color: var(--indigo); background: #eef0ff; }
.acc-h { font-size: 1.6rem; margin-bottom: 22px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; } .kpi { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); } .kpi small { color: var(--muted); } .kpi b { display: block; font: 600 1.9rem/1.3 var(--font-d); } .kpi b i { font: 400 .9rem var(--font); font-style: normal; color: var(--muted); }
.vip-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--r-lg); margin-bottom: 26px; background: linear-gradient(135deg, #2a2fb8, #0c1148); color: #fff; } .vip-card > .ic { width: 40px; height: 40px; color: #ffd36b; flex: none; } .vip-card h3 { margin-bottom: 4px; } .vip-card p { color: #c4ccff; font-size: .92rem; margin-bottom: 10px; } .vip-card .bar { background: rgba(255,255,255,.2); } .vip-card small { color: #b5beff !important; }
.vip-card.soft { background: #fff; color: var(--text); border: 1px solid var(--line); } .vip-card.soft p { color: var(--muted); } .vip-card.soft small { color: var(--muted) !important; } .vip-card.soft > .ic { color: var(--star); } .vip-card > div { flex: 1; }
.acc-sub { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ord-list { display: grid; gap: 14px; }
.ord { display: block; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: all .3s var(--ease); } .ord:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.ord-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; } .ord-h b { font-family: var(--font-d); direction: ltr; }
.ord-i { display: flex; align-items: center; gap: 10px; } .ord-img { width: 54px; height: 54px; border-radius: 14px; background: var(--paper); padding: 3px; overflow: hidden; } .ord-img .art, .ord-img img { width: 100%; height: 100%; object-fit: cover; } .ord-i .more { font: 500 .85rem var(--font-d); color: var(--muted); } .ord-i .go { margin-inline-start: auto; color: var(--muted); }
.st { display: inline-block; padding: 4px 14px; border-radius: 99px; font-size: .8rem; font-weight: 500; background: #e8ebf5; color: #3a4470; } .st.lg { font-size: .95rem; padding: 6px 18px; }
.st-pending { background: #fff1d6; color: #9a6200; } .st-confirmed, .st-processing { background: #dfe9ff; color: #2748b5; } .st-shipped { background: #e6e0ff; color: #5030b8; } .st-delivered { background: #d9f5e8; color: #0f7a52; } .st-cancelled, .st-cancel_requested { background: #ffe1e5; color: #c4263f; } .st-returned { background: #eee; color: #555; }
.st-banner { padding: 16px 22px; border-radius: var(--r); margin: 18px 0; display: flex; gap: 12px; align-items: center; font-weight: 500; } .st-banner .ic { width: 22px; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; } .addr-card { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); } .addr-card p { color: var(--muted); line-height: 1.9; margin-top: 8px; font-size: .92rem; } .addr-card .rm { position: absolute; top: 14px; inset-inline-start: 14px; }
.addr-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; } .addr { display: grid; text-align: start; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 16px; transition: all .2s; line-height: 1.4; } .addr small { color: var(--muted); } .addr.on { border-color: var(--blue); background: #f6f7ff; } .addr.new { grid-auto-flow: column; align-items: center; gap: 8px; color: var(--blue); border-style: dashed; } .addr .ic { width: 18px; }
.ord-page { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; } .ord-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; } .ord-top h2 { direction: ltr; font-size: 1.5rem; }
.hist { display: grid; gap: 16px; } .hist li { display: flex; gap: 14px; position: relative; } .hist li i { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; flex: none; background: var(--blue); box-shadow: 0 0 0 4px rgba(90,99,255,.18); } .hist li span { display: grid; line-height: 1.5; } .hist small { color: var(--muted); }
.ord-actions { display: grid; gap: 10px; }
@media (max-width: 960px) { .acc-layout, .ord-page { grid-template-columns: 1fr; } .acc-side { position: static; } .acc-nav { display: flex; overflow-x: auto; scrollbar-width: none; } .acc-nav a, .acc-nav button { white-space: nowrap; padding: 12px 16px; } .acc-card { padding: 22px; } }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } .addr-grid { grid-template-columns: 1fr; } .acc-menu { position: fixed; top: 74px; inset-inline: 12px; width: auto; } .acc-menu::before { display: none; } .ord { padding: 16px; } .login-box { padding: 32px 20px 24px; } }

/* perf: reserve header space until it is injected; avoid layout shift */
body[data-page]:not([data-noshell]):not(.has-hdr)::before { content: ''; display: block; height: 110px; background: var(--ink); }
@media (max-width: 960px) { body[data-page]:not([data-noshell]):not(.has-hdr)::before { height: 102px; } }
.acc-sk { display: block; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); animation: sk 1.3s infinite; margin-inline: 4px; }
#bestGrid, #newTrack, #cats, #grid { min-height: 320px; }

/* ================= motion ================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .12s ease-in both; }
::view-transition-new(root) { animation: vt-in .22s ease-out both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.site-header { view-transition-name: hdr; } .announce { view-transition-name: ann; } .tabbar { view-transition-name: dock; } .wa-float { view-transition-name: wafab; }
::view-transition-group(hdr), ::view-transition-group(ann), ::view-transition-group(dock), ::view-transition-group(wafab) { animation-duration: 0s; }
::view-transition-group(pimg) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22,.8,.2,1); z-index: 5; }
::view-transition-old(pimg), ::view-transition-new(pimg) { height: 100%; object-fit: cover; border-radius: 28px; overflow: clip; }
@supports not (view-transition-name: a) { main { animation: vt-in .35s var(--ease) both; } }
body.leaving main { opacity: 0; transform: translateY(-8px); transition: opacity .15s, transform .15s; }

@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.pgrid > .pcard:not(.reveal), .track > .pcard:not(.reveal) { animation: rise .55s var(--ease) both; }
.pgrid > .pcard:nth-child(2), .track > .pcard:nth-child(2) { animation-delay: 45ms; } .pgrid > .pcard:nth-child(3), .track > .pcard:nth-child(3) { animation-delay: 90ms; } .pgrid > .pcard:nth-child(4), .track > .pcard:nth-child(4) { animation-delay: 135ms; }
.pgrid > .pcard:nth-child(5), .track > .pcard:nth-child(5) { animation-delay: 180ms; } .pgrid > .pcard:nth-child(6), .track > .pcard:nth-child(6) { animation-delay: 225ms; } .pgrid > .pcard:nth-child(n+7), .track > .pcard:nth-child(n+7) { animation-delay: 270ms; }
.pdp .gallery, .pdp .pinfo > * { animation: rise .6s var(--ease) both; } .pdp .pinfo > *:nth-child(2) { animation-delay: 50ms; } .pdp .pinfo > *:nth-child(3) { animation-delay: 90ms; } .pdp .pinfo > *:nth-child(4) { animation-delay: 130ms; } .pdp .pinfo > *:nth-child(n+5) { animation-delay: 170ms; }
.cart-list > li, .ord-list > *, .addr-grid > * { animation: rise .5s var(--ease) both; } .cart-list > li:nth-child(2), .ord-list > *:nth-child(2) { animation-delay: 60ms; } .cart-list > li:nth-child(n+3), .ord-list > *:nth-child(n+3) { animation-delay: 120ms; }
.summary, .panel { animation: rise .55s var(--ease) both; }
.count.bump { animation: bump .45s var(--ease); } @keyframes bump { 40% { transform: scale(1.5); } }
#stageArt > * { animation: fadeimg .35s var(--ease) both; } @keyframes fadeimg { from { opacity: 0; transform: scale(.97); } }
.btn, .icon-btn, .chip, .tab, .pill, .qty button, .wish { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.96); } .qty button:active, .wish:active, .icon-btn:active { transform: scale(.88); }
.wish.on .ic { animation: pop2 .45s var(--ease); } @keyframes pop2 { 40% { transform: scale(1.45); } }
.drawer .mini-list li { animation: rise .4s var(--ease) both; }
a, button { transition-property: color, background-color, border-color, box-shadow, transform, opacity; transition-duration: .2s; }

/* ================= place picker ================= */
.pp { display: grid; gap: 14px; }
.pp-label { font-size: .88rem; font-weight: 500; }
.pp-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-reg { display: grid; justify-items: start; gap: 2px; text-align: start; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: all .25s var(--ease); position: relative; }
.pp-reg:hover { border-color: #b5bbea; transform: translateY(-2px); }
.pp-reg b { font-family: var(--font-d); font-weight: 600; font-size: 1.02rem; } .pp-reg small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.pp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--indigo-2); display: grid; place-items: center; margin-bottom: 8px; transition: all .25s; } .pp-ic .ic { width: 21px; }
.pp-reg.on { border-color: var(--blue); background: #f6f7ff; box-shadow: 0 0 0 4px rgba(90,99,255,.12); } .pp-reg.on .pp-ic { background: var(--blue); color: #fff; }
.pp-reg.on::after { content: ''; position: absolute; top: 12px; inset-inline-end: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.pp-search { display: grid; gap: 8px; animation: rise .35s var(--ease) both; }
.pp-box { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pp-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(90,99,255,.14); } .pp-box > .ic { width: 20px; color: var(--muted); flex: none; }
.pp-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 52px; font-size: 1rem; }
.pp-clear { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .pp-clear:hover { background: var(--paper); } .pp-clear .ic { width: 16px; }
.pp-list { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline: 0; max-height: 300px; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; }
.pp-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; } .pp-list li b { font-weight: 500; } .pp-list li small { color: var(--muted); font-size: .78rem; text-align: end; }
.pp-list li.on, .pp-list li:hover { background: #f1f3ff; } .pp-none { color: var(--muted); cursor: default !important; } .pp-none:hover { background: none !important; }
.pp-other { background: #fff8ec; } .pp-other small { color: #8a5600; }
.pp-own { color: var(--indigo-2); font-weight: 500; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px !important; margin-top: 4px; justify-content: flex-start !important; gap: 10px !important; align-items: center !important; } .pp-own .ic { width: 18px; }
.pp-chosen { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #eef7f2; border: 1.5px solid #bfe7d3; } .pp-chosen span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .pp-chosen .ic { width: 22px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 3; } .pp-chosen small { color: var(--muted); } .pp-change { color: var(--indigo-2); font-weight: 500; text-decoration: underline; }
.pp-custom-in { width: 100%; min-height: 54px; border-radius: 16px; border: 1.5px solid var(--line); padding: 0 18px; outline: 0; } .pp-custom-in:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(90,99,255,.14); }
.pp-err { color: var(--sale); font-size: .82rem; min-height: 0; } .pp.err .pp-regions { animation: shake .4s; } @keyframes shake { 25% { transform: translateX(5px); } 75% { transform: translateX(-5px); } }
@media (max-width: 640px) { .pp-regions { grid-template-columns: 1fr; } .pp-reg { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 12px 14px; } .pp-ic { grid-row: span 2; margin: 0; } .pp-list { max-height: 260px; } }

/* ================= brands ================= */
.bm-word { font-family: var(--font-d); font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.bm-img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-tile { position: relative; display: grid; align-content: space-between; gap: 22px; min-height: 210px; padding: 26px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.bt-glow { position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -70px; top: -80px; background: radial-gradient(circle, var(--bc), transparent 68%); opacity: .38; transition: all .7s var(--ease); }
.brand-tile::after { content: ''; position: absolute; z-index: -1; inset-inline: 0; bottom: 0; height: 3px; background: var(--bc); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.brand-tile:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--bc) 60%, #fff 10%); box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--bc) 70%, #000); }
.brand-tile:hover .bt-glow { opacity: .8; transform: scale(1.35) translate(-14px, 14px); } .brand-tile:hover::after { transform: scaleX(1); }
.bt-mark .bm-word { font-size: clamp(1.7rem, 2.6vw, 2.3rem); transition: transform .5s var(--ease); display: inline-block; transform-origin: right; } .brand-tile:hover .bm-word { transform: scale(1.06); }
.bt-ar { margin-top: -10px; color: #b4bde8; font-size: .95rem; }
.bt-meta { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: #9aa5d6; } .bt-meta em { font-style: normal; }
.bt-meta i { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: all .3s; color: #fff; } .bt-meta i .ic { width: 17px; } .brand-tile:hover .bt-meta i { background: #fff; color: var(--ink); border-color: #fff; }
.bt-light .brand-tile { color: var(--ink); background: #fff; border-color: var(--line); backdrop-filter: none; } .bt-light .bt-ar, .bt-light .bt-meta { color: var(--muted); } .bt-light .bm-img { filter: none; } .bt-light .bt-meta i { color: var(--ink); border-color: var(--line); }
.brand-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.bh-mark { min-width: 120px; padding: 18px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); position: relative; overflow: hidden; isolation: isolate; } .bh-mark::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle, var(--bc), transparent 62%); opacity: .55; } .bh-mark .bm-word { font-size: 2rem; }
.brand-chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); transition: all .25s; } .brand-chip:hover { border-color: var(--bc, var(--blue)); box-shadow: 0 8px 24px -10px var(--bc, var(--blue)); transform: translateY(-2px); }
.brand-chip .bc-m { min-width: 44px; height: 44px; border-radius: 50%; padding: 0 12px; display: grid; place-items: center; background: var(--bc, var(--ink)); color: #fff; font: 600 .8rem var(--font-d); } .brand-chip .bm-img { max-height: 26px; max-width: 70px; } .brand-chip b.nm { font-family: var(--font-d); font-weight: 500; } .brand-chip small { color: var(--muted); }
.about-brand { display: flex; gap: 20px; align-items: center; margin-top: 26px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--paper), #fff); border: 1px solid var(--line); flex-wrap: wrap; } .about-brand .ab-mark { min-width: 110px; padding: 14px 22px; border-radius: 18px; background: var(--bc, var(--ink)); color: #fff; text-align: center; } .about-brand .bm-word { font-size: 1.3rem; } .about-brand div.t { flex: 1; min-width: 200px; } .about-brand p { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
@media (max-width: 960px) { .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .brand-tile { min-height: 168px; padding: 18px; border-radius: 24px; gap: 14px; } }

/* ================= صور التصنيفات والماركات ================= */
.cat.has-img { color: #fff; background: var(--ink); }
.cat.has-img::before { display: none; }
.cat.has-img::after { z-index: -1; opacity: 1; background: linear-gradient(180deg, rgba(5,11,31,.1) 18%, rgba(5,11,31,.88)); transition: opacity .5s; }
.cat-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat.has-img:hover .cat-bg { transform: scale(1.1); } .cat.has-img:hover::after { background: linear-gradient(180deg, rgba(5,11,31,0) 10%, rgba(5,11,31,.82)); }
.cat.has-img h3 { font-size: 1.5rem; text-shadow: 0 2px 14px rgba(0,0,0,.4); } .cat.has-img small { opacity: .85; }
.mega-ic.has-img { padding: 0; overflow: hidden; background: var(--paper); } .ci-img { width: 100%; height: 100%; object-fit: cover; }
.brand-tile.has-img { border-color: rgba(255,255,255,.2); aspect-ratio: 3 / 2; min-height: 0; align-content: end; }
.brand-tile.has-img .bt-mark, .brand-tile.has-img .bt-ar, .brand-tile.has-img .bt-glow { display: none; }
.bt-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 1.2s var(--ease), filter .6s; }
.brand-tile.has-img::before { display: none; }
.brand-tile.has-img .bt-meta { color: #fff; text-shadow: 0 1px 4px #050b1f; }
.brand-tile.has-img:hover .bt-img { transform: scale(1.1); filter: saturate(1.15); } .brand-tile.has-img .bt-glow { opacity: .2; }
.page-head.has-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(5,11,31,.94) 30%, rgba(5,11,31,.35) 100%), var(--cover) center/cover; animation: fadeimg .7s var(--ease) both; }

/* ================= شارة "أصلي" ================= */
.badge.orig { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #12a870, #0b8a5a); color: #fff; box-shadow: 0 6px 16px -6px rgba(18,168,112,.7); } .badge.orig .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.orig-line { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 12px; padding: 6px 14px; border-radius: 99px; background: #e5f7ef; color: #0b8a5a; font: 500 .85rem var(--font-d); vertical-align: middle; } .orig-line .ic { width: 16px; height: 16px; }
.orig-t { font-style: normal; color: #0b8a5a; font-weight: 500; } .orig-t2 { display: inline-flex; align-items: center; gap: 4px; color: #0b8a5a; font-size: .8rem; font-weight: 500; } .orig-t2 .ic { width: 14px; }

/* ================= مؤشر التحميل (دائرة تلف) ================= */
.ld { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.ld.lg { width: 84px; height: 84px; }
.ld-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(140,149,255,.16); border-top-color: var(--blue-soft); border-inline-end-color: var(--blue); animation: ldspin .9s cubic-bezier(.5,.1,.5,.9) infinite; filter: drop-shadow(0 0 8px rgba(90,99,255,.55)); }
.ld-ring.r2 { inset: 9px; border-width: 2px; border-top-color: transparent; border-bottom-color: rgba(140,149,255,.7); border-inline-end-color: transparent; animation-duration: 1.4s; animation-direction: reverse; filter: none; }
.ld-logo { width: 46%; height: 46%; border-radius: 28%; animation: ldpulse 1.6s ease-in-out infinite; }
.ld.light .ld-ring { border-color: rgba(22,25,108,.1); border-top-color: var(--indigo-2); border-inline-end-color: var(--blue); filter: none; } .ld.light .ld-ring.r2 { border-bottom-color: rgba(45,51,184,.5); border-color: transparent; }
.ld-wrap { display: grid; place-items: center; min-height: 46vh; width: 100%; }
@keyframes ldspin { to { transform: rotate(360deg); } } @keyframes ldpulse { 50% { transform: scale(.86); opacity: .75; } }

/* Keep mixed-language values independent from surrounding Arabic. */
bdi, [dir="ltr"], [dir="auto"] { unicode-bidi: isolate; }
.amt, .old, .mono, .num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
input[type="email"], input[type="tel"], input[type="url"] { direction: ltr; text-align: start; }

/* Language control and direction-aware storefront layout. */
.language-switch { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; color: #fff; font-size: .8rem; line-height: 1.3; white-space: nowrap; }
.language-switch:hover, .language-switch:focus-visible { background: rgba(255,255,255,.14); border-color: #fff; }
html[lang="en"] { --font: 'Readex Pro', system-ui, sans-serif; --font-d: 'Readex Pro', system-ui, sans-serif; }
html[dir="ltr"] .ic:is([data-directional]), html[dir="ltr"] .crumbs > .ic, html[dir="ltr"] .cat-arrow .ic, html[dir="ltr"] .bt-meta .ic, html[dir="ltr"] .link-arrow .ic, html[dir="ltr"] .chev, html[dir="ltr"] .go { transform: scaleX(-1); }
html[dir="ltr"] .drawer { left: auto; right: 0; transform: translateX(102%); }
html[dir="ltr"] .sidemenu { right: auto; left: 0; transform: translateX(-102%); }
html[dir="ltr"] .drawer.open, html[dir="ltr"] .sidemenu.open { transform: translateX(0); }
html[dir="ltr"] .select select { padding: 0 44px 0 20px; }
html[dir="ltr"] .select .ic { left: auto; right: 14px; }
html[dir="ltr"] .hero h1 { letter-spacing: -.035em; font-size: clamp(2.4rem, 5vw, 4.8rem); }
html[dir="ltr"] .bm-word { transform-origin: left; }
html[dir="ltr"] .spec tr td:first-child, html[dir="ltr"] .spec tr th:first-child { border-radius: 14px 0 0 14px; }
html[dir="ltr"] .spec tr td:last-child { border-radius: 0 14px 14px 0; }
@media (max-width: 600px) { .hdr-actions { gap: 3px; } .language-switch { padding: 7px 8px; font-size: .7rem; } html[dir="ltr"] .hero h1 { font-size: 2.7rem; } }

.main-nav > a, .login-btn { white-space: nowrap; }
.hdr-search { min-width: 100px; }
html[lang="en"] .main-nav > a { padding-inline: 10px; }
@media (max-width: 600px) {
  .hdr { gap: 4px; }
  .hdr .logo img { height: 20px; }
  .hdr .icon-btn, .hdr .login-btn { width: 36px; height: 38px; padding: 0; }
  .hdr .search-btn { display: none; }
  .hdr-actions { gap: 1px; flex-shrink: 0; }
  .hdr .acc-trigger { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Optional account recommendation; guest checkout stays available. */
.guest-checkout { display:flex; align-items:center; gap:16px; padding:22px; margin-bottom:20px; border:1px solid #dcdfff; border-radius:24px; background:#f3f4ff; }
.guest-checkout .guest-icon { display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:14px; background:#fff; color:var(--blue); }
.guest-checkout > div { flex:1; min-width:0; } .guest-checkout b { display:block; margin-bottom:6px; }
.guest-checkout p { margin:0; font-size:.9rem; color:var(--muted); line-height:1.8; } .guest-checkout button { flex:none; }
@media(max-width:600px) { .guest-checkout { flex-wrap:wrap; padding:18px; gap:12px; } .guest-checkout button { width:100%; } }

/* Explicit international phone choice and per-order WhatsApp preference. */
.phone-countries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.phone-country{position:relative;display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:5px 8px;padding:12px 10px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--text);transition:border-color .18s,background .18s,box-shadow .18s;font-size:.92rem}.phone-country>span:first-child{font-size:1.3rem}.phone-country bdi{grid-column:1/-1;font:600 .9rem var(--font-d);color:var(--muted)}.phone-country.on{border-color:var(--blue);background:#f1f2ff;box-shadow:0 0 0 2px #595cff10}.phone-country.on bdi{color:var(--blue)}.phone-country:focus-visible{outline:3px solid #8a8dff;outline-offset:3px}.phone-entry{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}.phone-entry:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #595cff12}.intl-phone .phone-entry input{height:54px;margin:0;border:0;box-shadow:none!important;border-radius:0;background:transparent;min-width:0;flex:1;font:500 1rem var(--font-d);text-align:left}.phone-prefix{display:flex;align-items:center;justify-content:center;align-self:stretch;min-width:82px;background:#f7f8fc;border-inline-end:1px solid var(--line);font:600 1rem var(--font-d)}.intl-phone .phone-entry input.phone-custom-code{width:86px;max-width:30%;flex:none;background:#f7f8fc;border-right:1px solid var(--line);padding-inline:14px}.phone-entry [hidden]{display:none!important}.phone-hint{display:block;color:var(--muted);font-size:.8rem;line-height:1.8;margin-top:8px}.intl-phone.err .phone-entry{border-color:var(--sale)}.phone-tracking{display:flex;align-items:center;gap:12px;margin-top:14px;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fafbfd;cursor:pointer}.phone-tracking:has(input:checked){border-color:#b8e5d0;background:#f0fbf5}.phone-tracking>input{width:20px;height:20px;flex:none;accent-color:#129960;margin:0}.phone-tracking-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:#dff5e8;color:#129960}.phone-tracking>span:last-child{display:grid;gap:4px}.phone-tracking b{font-size:.88rem}.phone-tracking small{font-size:.77rem;line-height:1.7;color:var(--muted)}@media(max-width:500px){.phone-countries{gap:7px}.phone-country{padding:10px 6px;gap:4px;font-size:.84rem}.phone-tracking{gap:9px;padding:12px}.phone-tracking-icon{display:none}}

/* ================= توقيع Inturp ================= */
.foot-credit { border-top: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.18); }
.foot-credit .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 16px; font-size: .8rem; color: #7f8ab8; }
.inturp-credit { display: inline-flex; align-items: center; gap: 10px; color: #c9d0f2; transition: color .25s; } .inturp-credit img { width: 26px; height: 26px; opacity: .9; transition: transform .4s var(--ease), opacity .3s; }
.inturp-credit b { font-family: var(--font-d); font-weight: 600; letter-spacing: .02em; color: #fff; } .inturp-credit:hover { color: #fff; } .inturp-credit:hover img { opacity: 1; transform: rotate(-8deg) scale(1.12); }
.foot-credit .rights { color: #6e7ab3; margin-inline-end: 72px; }
@media (max-width: 640px) { .foot-credit .rights { margin-inline-end: 0; } .foot-credit .container { justify-content: center; text-align: center; } .foot-credit { padding-bottom: 76px; } }
.about-inturp { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: linear-gradient(135deg, #fff, var(--paper)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ai-mark { width: 92px; height: 92px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); } .ai-mark img { width: 58px; height: 58px; }
.about-inturp h3 { font-size: 1.4rem; margin-bottom: 4px; } .about-inturp .tag-line { color: var(--indigo-2); font: 500 .85rem var(--font-d); letter-spacing: .02em; direction: ltr; text-align: start; margin-bottom: 10px; } .about-inturp p { color: #404a6e; line-height: 1.9; max-width: 60ch; }
.ai-links { display: grid; gap: 10px; justify-items: stretch; min-width: 190px; } .ai-links .btn { height: 44px; }
@media (max-width: 760px) { .about-inturp { grid-template-columns: 1fr; text-align: center; justify-items: center; } .about-inturp .tag-line { text-align: center; } .ai-links { width: 100%; } }
/* Passwordless WhatsApp sign-in */
.login-box { max-width:510px;max-height:94dvh;overflow-y:auto;overscroll-behavior:contain; }
.phone-login-root,.phone-login-root form { width:100%;text-align:start; }
.phone-login-root form { display:grid;gap:12px; }
.phone-login-root form[hidden] { display:none; }
.phone-login-root .field { margin:0; }
.phone-login-root .btn-primary { width:100%;justify-content:center;min-height:48px; }
.login-divider { display:flex;align-items:center;gap:12px;width:100%;color:var(--muted);font-size:.85rem; }
.login-divider::before,.login-divider::after { content:'';height:1px;background:var(--line);flex:1; }
.login-error { color:var(--sale);background:#fff0f2;border-radius:12px;padding:12px;font-size:.88rem; }
.login-otp { text-align:center;font:600 1.7rem monospace;letter-spacing:.4em;min-height:60px; }
.login-code-icon { width:56px;height:56px;display:grid;place-items:center;background:#e9f8f0;color:#079c69;border-radius:18px;justify-self:center; }
.login-code-actions { display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap; }

/* ================= طيران للسلة ================= */
.fly { position: fixed; z-index: 600; pointer-events: none; will-change: transform, opacity; border-radius: 18%; overflow: hidden; }
.fly-main { background: #fff; box-shadow: 0 18px 40px -8px rgba(5,11,31,.45), 0 0 0 3px rgba(90,99,255,.35); padding: 8%; display: grid; place-items: center; }
.fly-main .fly-img { width: 100%; height: 100%; object-fit: contain; filter: none; position: static; inset: auto; }
.fly-ghost { background: radial-gradient(circle, rgba(140,149,255,.9), rgba(90,99,255,.15) 70%); opacity: var(--o, .2); filter: blur(2px); }
.fly-ring { position: fixed; z-index: 599; pointer-events: none; width: 54px; height: 54px; border-radius: 50%; border: 2.5px solid var(--blue); box-shadow: 0 0 22px rgba(90,99,255,.6); }
.fly-plus { position: fixed; z-index: 601; pointer-events: none; padding: 3px 10px; border-radius: 99px; background: var(--ok); color: #fff; font: 600 .85rem var(--font-d); box-shadow: 0 8px 20px -6px rgba(23,166,115,.7); }
.is-added { background: var(--ok) !important; color: #fff !important; box-shadow: 0 10px 28px -8px rgba(23,166,115,.7) !important; border-color: transparent !important; transition: background .25s, box-shadow .25s; }
.added-in { display: inline-flex; align-items: center; gap: 8px; animation: addedPop .5s var(--ease) both; } .added-in .ic { width: 20px; height: 20px; stroke-width: 3; }
@keyframes addedPop { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.quick.is-added { opacity: 1 !important; transform: none !important; } .quick.is-added .added-in span { display: inline !important; }
@media (max-width: 640px) { .quick.is-added .added-in span { display: none !important; } }
#loginFullName,#loginOtp { width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--text);padding:13px 15px;outline:none;box-sizing:border-box; }
#loginFullName:focus,#loginOtp:focus { border-color:var(--primary,#5b57ff);box-shadow:0 0 0 3px #5b57ff18; }

.nf-code { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--font-d); letter-spacing: -.04em; background: linear-gradient(120deg, var(--indigo-2), var(--blue-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: nfIn .8s var(--ease) both, nfFloat 5s ease-in-out .8s infinite; direction: ltr; }
@keyframes nfIn { from { opacity: 0; transform: translateY(24px) scale(.9); } } @keyframes nfFloat { 50% { transform: translateY(-10px); } }

/* ================= شاشة الافتتاح ================= */
html.splash-on, html.splash-on body { overflow: hidden; }
#eh-splash { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: radial-gradient(700px 420px at 50% 42%, rgba(45,51,184,.55), transparent 70%), linear-gradient(180deg, #091740, #050b1f); overflow: hidden; clip-path: circle(150% at 50% 50%); }
#eh-splash::before { content: ''; position: absolute; inset: 0; background: url(/assets/img/contours-dark.svg) center/cover; opacity: .9; }
#eh-splash.out { animation: spOut .75s cubic-bezier(.7,0,.2,1) forwards; pointer-events: none; }
#eh-splash.out .sp-logo { animation: spLogoOut .5s ease-in forwards; }
@keyframes spOut { 0% { clip-path: circle(150% at 50% 50%); } 100% { clip-path: circle(0% at 50% 50%); } }
@keyframes spLogoOut { to { transform: scale(1.18); opacity: 0; filter: blur(6px); } }
.sp-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.sp-rings i { position: absolute; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; border: 1px solid rgba(140,149,255,.4); opacity: 0; animation: spRing 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.sp-rings i:nth-child(2) { animation-delay: .5s; } .sp-rings i:nth-child(3) { animation-delay: 1s; }
@keyframes spRing { 0% { transform: scale(.25); opacity: 0; } 25% { opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.sp-logo { position: relative; z-index: 1; width: min(280px, 64vw); height: auto; overflow: visible; filter: drop-shadow(0 0 22px rgba(90,99,255,.55)); animation: spLogoIn .5s ease-out both; }
.sp-echo path, .sp-echo ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; animation: spDraw .8s cubic-bezier(.65,0,.35,1) forwards; }
.sp-echo > :nth-child(2) { animation-delay: .12s; } .sp-echo > :nth-child(3) { animation-delay: .24s; } .sp-echo > :nth-child(4) { animation-delay: .36s; }
.sp-hamm { opacity: 0; animation: spHamm .55s ease-out .7s forwards; }
@keyframes spDraw { to { stroke-dashoffset: 0; } } @keyframes spHamm { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } } @keyframes spLogoIn { from { opacity: 0; transform: scale(.92); } }
.sp-bar { position: absolute; z-index: 1; bottom: 14vh; width: min(160px, 40vw); height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.sp-bar i { display: block; height: 100%; width: 100%; border-radius: 3px; background: linear-gradient(90deg, #5a63ff, #b9c0ff); transform-origin: right; transform: scaleX(0); animation: spBar 1.4s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes spBar { 0% { transform: scaleX(0); } 70% { transform: scaleX(.88); } 100% { transform: scaleX(.96); } }
#eh-splash.out .sp-bar i { transition: transform .2s; transform: scaleX(1); animation: none; }

/* ================= أنيميشن الدخول/الخروج + نافذة التأكيد ================= */
.eh-fx, .eh-dlg { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 20px; background: rgba(5,11,31,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.eh-fx.in, .eh-dlg.in { opacity: 1; } .eh-fx.out, .eh-dlg.out { opacity: 0; }
.fx-card { position: relative; text-align: center; display: grid; justify-items: center; gap: 6px; padding: 38px 52px 34px; border-radius: 32px; background: #fff; box-shadow: 0 40px 100px -20px rgba(5,11,31,.6); transform: scale(.82) translateY(24px); transition: transform .55s cubic-bezier(.34,1.56,.64,1); min-width: min(340px, 86vw); }
.eh-fx.in .fx-card { transform: none; } .eh-fx.out .fx-card { transform: scale(.94) translateY(-10px); transition: transform .35s ease-in; }
.fx-card h3 { font-size: 1.5rem; margin-top: 14px; animation: rise .5s .25s var(--ease) both; } .fx-card p { color: var(--muted); animation: rise .5s .35s var(--ease) both; }
.fx-avatar { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.fx-avatar img, .fx-avatar > b { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--indigo-2); color: #fff; display: grid; place-items: center; font: 600 2rem var(--font-d); animation: avPop .6s .1s cubic-bezier(.34,1.56,.64,1) both; }
.fx-ring { position: absolute; inset: 0; transform: rotate(-90deg); } .fx-ring circle { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: spDraw .9s .15s cubic-bezier(.65,0,.35,1) forwards; filter: drop-shadow(0 0 6px rgba(23,166,115,.6)); }
.fx-avatar.bye .fx-ring circle { stroke: var(--blue); stroke-dashoffset: 0; animation: ringOut 1s .1s ease-in forwards; filter: drop-shadow(0 0 6px rgba(90,99,255,.6)); }
.fx-check { position: absolute; inset-inline-end: -4px; bottom: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(23,166,115,.8); animation: chkPop .5s .75s cubic-bezier(.34,1.56,.64,1) both; } .fx-check .ic { width: 20px; stroke-width: 3.2; }
.fx-wave { position: absolute; inset-inline-end: -8px; bottom: -6px; font-size: 2rem; transform-origin: 70% 70%; animation: wave 1s .3s ease-in-out both; }
@keyframes ringOut { to { stroke-dashoffset: 1; } } @keyframes avPop { from { transform: scale(.4); opacity: 0; } } @keyframes chkPop { from { transform: scale(0) rotate(-40deg); } }
@keyframes wave { 0% { transform: rotate(0); opacity: 0; } 15% { opacity: 1; } 30% { transform: rotate(18deg); } 45% { transform: rotate(-12deg); } 60% { transform: rotate(16deg); } 75% { transform: rotate(-6deg); } 100% { transform: rotate(0); opacity: 1; } }
.fx-conf { position: absolute; left: 50%; top: 96px; border-radius: 2px; pointer-events: none; opacity: 0; }
.dlg-box { width: min(400px, 100%); padding: 32px 28px 24px; border-radius: 28px; background: #fff; text-align: center; display: grid; justify-items: center; gap: 8px; box-shadow: 0 40px 100px -20px rgba(5,11,31,.6); transform: scale(.88) translateY(18px); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.eh-dlg.in .dlg-box { transform: none; } .eh-dlg.out .dlg-box { transform: scale(.95); transition: transform .2s; }
.dlg-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #eceeff; color: var(--indigo-2); margin-bottom: 6px; } .dlg-ic.bad { background: #ffe9ec; color: var(--sale); } .dlg-ic .ic { width: 30px; height: 30px; }
.dlg-box h3 { font-size: 1.25rem; } .dlg-box p { color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.dlg-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; } .dlg-act .btn { height: 50px; padding: 0 12px; } .btn-danger { background: #ffe9ec; color: #c4263f; } .btn-danger:hover { background: var(--sale); color: #fff; }
@media (prefers-reduced-motion: reduce) { .eh-fx, .eh-dlg, .fx-card, .dlg-box { transition: none !important; } }
/* Compact sign-in choices and progressive WhatsApp steps. */
.login-box { max-width:440px;gap:16px;padding:36px 28px 25px;border-radius:28px; }
.login-box h2 { margin:0;font-size:1.65rem; }
.login-intro { margin:0 0 8px;font-size:.94rem; }
.login-methods { display:grid;gap:12px;width:100%; }
.login-methods[hidden],.phone-login-root[hidden] { display:none; }
.login-whatsapp { width:100%;min-height:58px;border:1px solid #bee9d7;border-radius:16px;background:#edf9f3;color:#087d52;display:flex;align-items:center;gap:12px;padding:15px 18px;font:600 1rem inherit;cursor:pointer;transition:background .2s,transform .2s; }
.login-whatsapp span { flex:1;text-align:start; }
.login-whatsapp svg { width:22px;height:22px; }
.login-whatsapp svg:last-child { width:17px; }
.login-whatsapp:hover { background:#def4e8;transform:translateY(-1px); }
.login-methods .g-btn { min-height:58px;border-radius:16px;box-shadow:none; }
.login-back { display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--muted);font:inherit;cursor:pointer;padding:0 0 16px; }
.login-back svg { width:17px;transform:rotate(180deg); }
.login-box .phone-countries { gap:7px; }
.login-box .phone-country { padding:10px 5px;min-height:64px;font-size:.85rem; }
.login-box .phone-hint { font-size:.76rem;line-height:1.6; }
.login-box .lb-logo { height:28px;margin:8px 0; }
.login-box > .muted.sm:last-child { font-size:.74rem;line-height:1.7;margin:3px 0 0;max-width:310px; }
.login-back:focus-visible,.login-whatsapp:focus-visible { outline:3px solid #5b57ff70;outline-offset:3px; }
@media(max-width:480px) { .login-box { padding:30px 20px 22px; } }
@media(prefers-reduced-motion:reduce) { .login-whatsapp { transition:none; } }

/* Public HTML stays useful while the interactive catalog initializes. */
.seo-links { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; padding:14px 20px; background:var(--paper); font-size:.85rem; }
.seo-card { min-width:0; padding:18px; border:1px solid var(--line); border-radius:24px; background:#fff; color:var(--text); }
.seo-card img { display:block; width:100%; height:220px; object-fit:contain; margin-bottom:16px; }
.seo-card h2 { font-size:1.1rem; }.seo-card p { color:var(--muted); margin-block:10px; }
.track > .seo-card { flex:0 0 260px; }
.seo-category { padding:24px; text-align:center; border-radius:24px; background:var(--paper); }
.seo-category img { object-fit:contain; margin:0 auto 16px; }.seo-category h3 { font-size:1rem; }
.seo-gallery img { display:block; width:100%; height:auto; max-height:540px; object-fit:contain; background:#fff; border-radius:24px; }
.seo-gallery img + img { margin-top:16px; }.seo-description { margin-block:20px; line-height:1.9; }
.seo-local { background:var(--paper); }.seo-local h2 { margin-bottom:16px; }.seo-local p:not(.eyebrow) { max-width:780px; color:var(--muted); line-height:1.9; margin-bottom:24px; }

.seo-local .eyebrow { color:#4149bb; }
