/* ============================================================
   GX STORE — SHARED THEME
   This file defines the design system used on every page.
   Do not duplicate these rules in page-specific stylesheets —
   page-specific CSS files should only contain layout unique
   to that page.
   ============================================================ */

:root{
  --bg:#090b10;
  --bg2:#0d1018;
  --card:#12151f;
  --card2:#161a26;
  --cyan:#00e5ff;
  --pink:#ff2d78;
  --lime:#c6ff3d;
  --white:#f5f6f8;
  --gray:#8b90a0;
  --border:rgba(255,255,255,0.08);
  --green:#25D366;

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:20px;
  --radius-xl:28px;

  --ease:cubic-bezier(.4,0,.2,1);
}

*:where(:not(.gx-account-main):not(.gx-account-main *)){margin:0; padding:0; box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg); color:var(--white);
  font-family:'Almarai',sans-serif; line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,.brand-word,.btn,.price,.stat-num{font-family:'Tajawal',sans-serif;}
a{color:inherit; text-decoration:none;}
img,svg{display:block;}
button{font-family:inherit;}
ul{list-style:none;}
.wrap{max-width:1240px; margin:0 auto; padding:0 24px;}

/* JS mount points (navbar-root, cart-drawer-root, footer-root) must not
   generate their own box — otherwise a wrapper with auto height equal to
   its sticky child's height would trap that child with zero room to stick,
   causing the whole navbar to scroll away instead of sticking to the top. */
#navbar-root, #cart-drawer-root, #footer-root{display:contents;}

/* ---------- FADE-IN ANIMATION UTILITY ---------- */
@keyframes fadeInUp{
  from{opacity:0; transform:translateY(16px);}
  to{opacity:1; transform:translateY(0);}
}
.fade-in{animation:fadeInUp .5s var(--ease) both;}
.fade-in-1{animation-delay:.05s;}
.fade-in-2{animation-delay:.1s;}
.fade-in-3{animation-delay:.15s;}
.fade-in-4{animation-delay:.2s;}

/* ---------- CURRENCY PICKER (now lives inside the navbar) ---------- */
.currency-pick{
  display:flex; align-items:center; gap:6px; color:var(--white);
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-sm);
  padding:10px 14px; flex-shrink:0; cursor:pointer;
  font-family:'Almarai',sans-serif; font-weight:800; font-size:12.5px;
  transition:border-color .2s var(--ease);
  direction:ltr;
}
.currency-pick:hover{border-color:rgba(0,229,255,0.4);}
.currency-pick svg{color:var(--gray); flex-shrink:0;}

/* ---------- CURRENCY MODAL ---------- */
.currency-modal-overlay{
  position:fixed; inset:0; z-index:400;
  background:rgba(0,0,0,0.65); backdrop-filter:blur(2px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .25s var(--ease);
  padding:20px;
}
.currency-modal-overlay.open{opacity:1; pointer-events:auto;}
.currency-modal{
  width:380px; max-width:100%;
  background:#12151f; border:1.5px solid var(--border); border-radius:var(--radius-lg);
  padding:26px; box-shadow:0 24px 60px -18px rgba(0,0,0,0.7);
  transform:scale(.96); transition:transform .25s var(--ease);
}
.currency-modal-overlay.open .currency-modal{transform:scale(1);}
.cm-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:8px;}
.cm-head h3{font-size:17px; font-weight:800;}
.cm-close{
  width:30px; height:30px; border-radius:9px; background:var(--card); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--white); font-size:14px;
}
.cm-sub{font-size:12.5px; color:var(--gray); margin-bottom:20px; line-height:1.7;}
.cm-select-wrap{position:relative; margin-bottom:20px;}
.cm-select-wrap svg{position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--gray); pointer-events:none;}
.cm-select-wrap select{
  width:100%; appearance:none; background:#0d0f16; border:1.5px solid var(--border); border-radius:10px;
  padding:13px 40px 13px 16px; color:var(--white); font-family:'Almarai',sans-serif; font-weight:800; font-size:13.5px;
  cursor:pointer; outline:none; direction:rtl;
}
.cm-select-wrap select:focus{border-color:var(--cyan);}
.cm-select-wrap select option{background:#12151f; color:var(--white);}

/* ---------- NAVBAR ---------- */
.nav{
  position:sticky; top:0; z-index:2000;
  background:rgba(9,11,16,0.94); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav .wrap{display:flex; align-items:center; gap:20px; height:78px;}
.brand{display:flex; align-items:center; gap:10px; flex-shrink:0;}
.brand .mark{
  width:64px; height:42px; display:flex; align-items:center; justify-content:center;
}
.brand .mark img{width:100%; height:100%; object-fit:contain;}

.brand-word{font-weight:900; font-size:19px; letter-spacing:0.3px; white-space:nowrap;}
.brand-word span{color:var(--cyan);}


.search-box{
  flex:1; max-width:460px;
  display:flex; align-items:center; gap:10px;
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-sm);
  padding:11px 16px;
  position:relative;
}
.search-box input{
  flex:1; background:transparent; border:none; outline:none; color:var(--white);
  font-family:'Almarai',sans-serif; font-size:14px; font-weight:700;
}
.search-box input::placeholder{color:var(--gray);}
.search-box svg{flex-shrink:0; opacity:0.6;}
.gx-search-results{
  position:absolute; top:calc(100% + 8px); left:0; right:0;
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-sm);
  box-shadow:0 20px 40px rgba(0,0,0,.45); z-index:1000;
  max-height:380px; overflow-y:auto; padding:6px;
}
.gx-search-item{
  display:flex; align-items:center; gap:12px; padding:10px 12px;
  border-radius:10px; color:var(--white); text-decoration:none; transition:background .15s;
}
.gx-search-item{ width:100%; border:none; background:transparent; cursor:pointer; font-family:inherit; text-align:inherit; }
html[dir="rtl"] .gx-search-item{ text-align:right; }
html[dir="ltr"] .gx-search-item{ text-align:left; }
.gx-search-item:hover{ background:rgba(0,229,255,.08); }
.gx-search-ico{
  width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.05); font-size:18px; flex-shrink:0;
}
.gx-search-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.gx-search-txt b{ font-size:13px; font-weight:800; color:var(--white); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gx-search-txt small{ font-size:11px; color:var(--gray); font-weight:700; }
.gx-search-empty{ padding:14px; text-align:center; color:var(--gray); font-size:13px; font-weight:700; }

.nav-right{display:flex; align-items:center; gap:14px; margin-right:auto; position:relative; z-index:1;}
.icon-btn{
  position:relative; width:44px; height:44px; border-radius:var(--radius-sm);
  background:var(--card); border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:border-color .2s var(--ease);
}
.icon-btn:hover{border-color:rgba(0,229,255,0.4);}
.badge-count{
  position:absolute; top:-6px; left:-6px;
  background:var(--pink); color:#fff; font-size:10.5px; font-weight:900;
  width:19px; height:19px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.cart-clear-link{
  width:100%; margin-top:10px; padding:10px 12px; cursor:pointer;
  background:transparent; border:1.5px solid var(--border); border-radius:var(--radius-sm);
  color:var(--muted); font-weight:800; font-size:13px;
  transition:border-color .2s var(--ease), color .2s var(--ease);
}
.cart-clear-link:hover{border-color:var(--pink); color:var(--pink);}




/* menu dropdown (top-right) */
.menu-wrap{position:relative;}
.menu-btn{
  display:flex; align-items:center; gap:8px;
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-sm);
  padding:10px 16px; cursor:pointer; font-weight:800; font-size:13.5px; color:var(--white);
  transition:border-color .2s var(--ease);
}
.menu-btn:hover{border-color:rgba(0,229,255,0.4);}
.menu-btn .bars{display:flex; flex-direction:column; gap:3px;}
.menu-btn .bars span{width:16px; height:2px; background:var(--white); border-radius:2px;}
.menu-panel{
  position:absolute; top:calc(100% + 10px); inset-inline-end:0; inset-inline-start:auto; width:300px;
  background:#0e1119; border:1.5px solid var(--border); border-radius:var(--radius-md);
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
  padding:10px; z-index:2100;
  max-height:calc(100vh - 90px); overflow-y:auto; overscroll-behavior:contain;
  opacity:0; pointer-events:none; transform:translateY(-8px);
  transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.menu-panel.open{opacity:1; pointer-events:auto; transform:translateY(0);}

/* Combined currency + language chip */
.currency-lang-combo{
  padding:0; gap:0; overflow:hidden;
}
.currency-lang-combo .cl-part{
  background:transparent; border:none; color:var(--white);
  font:inherit; padding:10px 12px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background .15s var(--ease);
}
.currency-lang-combo:hover{background:rgba(0,229,255,0.08); border-color:rgba(0,229,255,0.4);}
.currency-lang-combo .cl-part:hover{background:transparent;}
.currency-lang-combo .cl-sep{
  color:var(--gray); opacity:.55; font-weight:700; align-self:center;
  pointer-events:none;
}
.menu-section{padding:8px 10px;}
.menu-section .ms-title{
  font-size:11.5px; font-weight:800; color:var(--gray); letter-spacing:.5px;
  margin-bottom:6px; padding:0 4px;
}
.menu-link{
  display:flex; align-items:center; gap:10px;
  padding:10px 10px; border-radius:10px; font-weight:700; font-size:13.5px;
  color:var(--white); transition:background .15s var(--ease);
}
.menu-link:hover{background:rgba(255,255,255,0.05);}
.menu-link.active{background:rgba(0,229,255,0.08); color:var(--cyan);}
.menu-link .mi{font-size:16px; width:22px; text-align:center; display:inline-flex; align-items:center; justify-content:center;}
.wa-menu-link .mi{color:var(--green);}
.wa-menu-link{flex-wrap:wrap;}
.wa-menu-link .wa-number{
  margin-right:auto; color:var(--green); font-weight:800; font-size:12.5px;
  font-family:'Almarai',sans-serif;
}
.menu-divider{height:1px; background:var(--border); margin:6px 4px;}

.nav-links-inline{display:flex; gap:22px;}
.nav-links-inline a{font-weight:700; font-size:14px; color:var(--gray); transition:color .2s var(--ease);}
.nav-links-inline a:hover, .nav-links-inline a.active{color:var(--cyan);}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:800; font-size:15px; padding:14px 26px; border-radius:12px;
  cursor:pointer; border:none; transition:filter .2s var(--ease), transform .2s var(--ease);
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--cyan); color:#05060a;}
.btn-primary:hover{filter:brightness(1.08);}
.btn-ghost{background:transparent; color:var(--white); border:1.5px solid var(--border);}
.btn-ghost:hover{border-color:rgba(255,255,255,0.25);}
.btn-block{width:100%; justify-content:center;}
.btn-green{background:var(--green); color:#fff;}
.btn-green:hover{filter:brightness(1.06);}
.btn:disabled{opacity:.4; cursor:not-allowed; filter:none;}

/* ---------- SECTIONS ---------- */
.section{padding:64px 0;}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:30px; flex-wrap:wrap; gap:12px;
}
.section-head .k{color:var(--cyan); font-weight:800; font-size:13px; letter-spacing:0.5px; margin-bottom:8px; display:block;}
.section-head h2{font-size:27px; font-weight:900;}
.section-head p{color:var(--gray); font-size:14.5px; margin-top:8px;}

/* ---------- PRODUCT / PLAN CARDS (shared everywhere) ---------- */
.prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.prod-card{
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column;
  transition:border-color .2s var(--ease), transform .2s var(--ease);
  position:relative;
}
.prod-card:hover{border-color:rgba(0,229,255,0.3); transform:translateY(-4px);}
.prod-thumb{
  height:150px; position:relative; display:flex; align-items:center; justify-content:center;
  font-size:52px; overflow:hidden;
}
.prod-thumb::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 60%);
}
.discount-badge{
  position:absolute; top:12px; inset-inline-end:12px; z-index:2;
  background:var(--pink); color:#fff; font-weight:900; font-size:12px;
  padding:4px 10px; border-radius:999px; white-space:nowrap;
  unicode-bidi:isolate;
}
.tag-badge{
  position:absolute; top:12px; inset-inline-start:12px; z-index:2;
  background:var(--lime); color:#05060a; font-weight:900; font-size:11px;
  padding:4px 10px; border-radius:999px;
}

.prod-body{padding:16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1;}
.prod-stars{color:var(--lime); font-size:12px; letter-spacing:1px;}
.prod-name{
  font-weight:800; font-size:14.5px; line-height:1.4;
  min-height:calc(2 * 1.4em); max-height:calc(2 * 1.4em);
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; overflow-wrap:break-word; text-wrap:pretty;
}
.prod-prices{display:flex; align-items:baseline; gap:8px;}
.prod-old{color:var(--gray); font-size:12.5px; text-decoration:line-through;}
.prod-new{font-size:19px; font-weight:900; color:var(--cyan);}
.add-cart-btn{
  margin-top:auto; width:100%; background:rgba(0,229,255,0.10); color:var(--cyan);
  border:1.5px solid rgba(0,229,255,0.35); border-radius:10px; padding:11px;
  font-weight:800; font-size:13.5px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.add-cart-btn:hover{background:var(--cyan); color:#05060a;}
.add-cart-btn.added{background:var(--lime); color:#05060a; border-color:var(--lime);}

.buy-actions{margin-top:auto; display:flex; flex-direction:column; gap:8px;}
.buy-actions .add-cart-btn{margin-top:0;}
.buy-now-btn{
  width:100%; background:var(--cyan); color:#05060a;
  border:none; border-radius:10px; padding:11px;
  font-weight:800; font-size:13.5px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
  transition:filter .2s var(--ease);
}
.buy-now-btn:hover{filter:brightness(1.1);}

/* ---------- CATEGORY GRID (shared: home + product nav) ---------- */
.cat-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:16px;}
.cat-card{
  background:var(--card); border:1.5px solid var(--border); border-radius:var(--radius-lg);
  padding:22px 14px; text-align:center; cursor:pointer;
  transition:border-color .2s var(--ease), transform .2s var(--ease);
  display:flex; flex-direction:column; align-items:center; gap:12px;
}
.cat-card:hover{border-color:rgba(0,229,255,0.35); transform:translateY(-3px);}
.cat-ic{width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:26px;}
.cat-card .cname{font-weight:800; font-size:13px; line-height:1.4;}

/* ---------- FEATURE ACCORDION CARDS (shared: any product page) ---------- */
.features-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.feature-card{
  background:var(--card); border:1.5px solid var(--border); border-radius:16px;
  overflow:hidden; cursor:pointer; transition:border-color .2s var(--ease);
}
.feature-card:hover{border-color:rgba(0,229,255,0.25);}
.feature-card.open{border-color:rgba(0,229,255,0.4);}
.feature-card .fhead{display:flex; align-items:center; justify-content:space-between; padding:20px 22px;}
.feature-card .fleft{display:flex; align-items:center; gap:14px;}
.feature-card .ficon{
  width:44px; height:44px; border-radius:12px; background:rgba(0,229,255,0.10);
  display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;
}
.feature-card .ftitle{font-weight:800; font-size:15px;}
.feature-card .chev{color:var(--gray); font-size:18px; font-weight:700; transition:transform .25s var(--ease), color .25s var(--ease);}
.feature-card.open .chev{transform:rotate(180deg); color:var(--cyan);}
.feature-card .fbody{max-height:0; overflow:hidden; transition:max-height .3s var(--ease);}
.feature-card.open .fbody{max-height:220px;}
.feature-card .fbody-inner{padding:0 22px 22px;}
.feature-card .fbody p{color:var(--gray); font-size:13.5px; line-height:1.75;}

/* ---------- TRUST STRIP (shared) ---------- */
.trust-strip{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.trust-item{
  background:var(--card); border:1.5px solid var(--border); border-radius:16px;
  padding:22px; display:flex; align-items:center; gap:14px; min-width:0;
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.trust-item > div{min-width:0;}
.trust-item:hover{border-color:rgba(0,229,255,0.28); transform:translateY(-2px);}
.trust-ic{width:44px; height:44px; border-radius:12px; flex-shrink:0; background:rgba(0,229,255,0.10); color:var(--cyan); display:flex; align-items:center; justify-content:center; font-size:20px;}
.trust-item h4{font-size:14px; font-weight:800; margin-bottom:4px;}
.trust-item p{font-size:12px; color:var(--gray);}

/* Premium counter card variant, sits inside the trust-strip in place
   of one of the trust items. Matches the site's cyan/dark identity
   instead of the old lime/green look. */
.trust-item--stat{
  background:linear-gradient(140deg, rgba(0,229,255,0.10), rgba(255,45,120,0.06) 60%, var(--card) 100%);
  border-color:rgba(0,229,255,0.28);
  box-shadow:0 10px 30px -18px rgba(0,229,255,0.35);
  position:relative; overflow:hidden;
}
.trust-item--stat::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(220px 140px at 100% 0%, rgba(0,229,255,0.14), transparent 65%);
  pointer-events:none;
}
.trust-item--stat .stat-ic{
  background:rgba(0,229,255,0.14); color:var(--cyan);
}
.trust-stat-body{min-width:0;}
.stat-number{
  font-family:'Tajawal',sans-serif; font-weight:900; font-size:26px;
  color:var(--cyan); direction:ltr; line-height:1.1; margin-bottom:2px;
  letter-spacing:.3px;
}
.stat-label{font-size:12px; color:var(--gray); font-weight:700;}

/* ---------- FOOTER (shared) ---------- */
footer{border-top:1px solid var(--border); padding:24px 0 26px; background:var(--bg2);}
.back-to-top{
  display:flex; align-items:center; justify-content:center; gap:8px;
  color:var(--gray); font-size:12.5px; font-weight:700; padding-bottom:24px;
  transition:color .2s var(--ease);
}
.back-to-top:hover{color:var(--cyan);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:28px;}
.footer-brand p{color:var(--gray); font-size:13px; margin-top:14px; max-width:280px;}
.footer-col h5{font-weight:800; font-size:14px; margin-bottom:16px;}
.footer-col a{display:block; color:var(--gray); font-size:13px; margin-bottom:10px; transition:color .2s var(--ease);}
.footer-col a:hover{color:var(--white);}
.payment-row{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  padding:20px 0; border-top:1px solid var(--border);
}
.pay-badge{
  background:var(--card); border:1px solid var(--border); border-radius:8px;
  padding:7px 14px; font-size:11px; font-weight:800; color:var(--gray); direction:ltr;
}
.footer-bottom{
  border-top:1px solid var(--border); padding-top:22px;
  display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:var(--gray);
}
.footer-col a.footer-wa{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(37,211,102,0.10); border:1px solid rgba(37,211,102,0.4);
  padding:8px 16px; border-radius:999px; font-weight:800; direction:ltr; color:var(--white);
  margin-bottom:0;
}
.footer-wa svg{color:var(--green); flex-shrink:0;}
.social-row{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap;}
.footer-col a.social-pill{
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 14px; border-radius:999px; font-weight:800; font-size:12px;
  transition:filter .2s var(--ease), transform .2s var(--ease);
  margin-bottom:0;
}
.social-pill:hover{transform:translateY(-2px);}
.fb-pill{background:rgba(24,119,242,0.12); border:1px solid rgba(24,119,242,0.4); color:#5b9bf7;}
.fb-pill:hover{background:rgba(24,119,242,0.2);}
.ig-pill{
  background:rgba(225,48,108,0.12); border:1px solid rgba(225,48,108,0.4); color:#f277a8;
}
.ig-pill:hover{background:rgba(225,48,108,0.2);}

/* ---------- CART DRAWER (shared, injected on every page) ---------- */
.overlay{position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:200; opacity:0; pointer-events:none; transition:opacity .25s var(--ease);}
.overlay.open{opacity:1; pointer-events:auto;}
.cart-drawer{
  position:fixed; top:0; left:0; height:100vh; width:400px; max-width:92vw;
  background:#0c0e15; border-right:1.5px solid var(--border);
  z-index:201; transform:translateX(-100%); transition:transform .3s var(--ease);
  display:flex; flex-direction:column;
}
.cart-drawer.open{transform:translateX(0);}
.cart-head{display:flex; align-items:center; justify-content:space-between; padding:22px 24px; border-bottom:1px solid var(--border);}
.cart-head h3{font-size:17px; font-weight:800;}
.cart-close{width:36px; height:36px; border-radius:10px; background:var(--card); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--white); font-size:16px;}
.cart-items{flex:1; overflow-y:auto; padding:16px 24px;}
.cart-item{display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px dashed var(--border);}
.cart-item .ci-thumb{width:52px; height:52px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0;}
.cart-item .ci-info{flex:1;}
.cart-item .ci-name{font-weight:800; font-size:13.5px; margin-bottom:6px;}
.cart-item .ci-price{font-size:12.5px; color:var(--cyan); font-weight:800;}
.qty-ctrl{display:flex; align-items:center; gap:8px;}
.qty-ctrl button{width:24px; height:24px; border-radius:6px; background:var(--card); border:1px solid var(--border); color:var(--white); cursor:pointer; font-size:13px; display:flex; align-items:center; justify-content:center;}
.qty-ctrl span{font-size:13px; font-weight:800; min-width:16px; text-align:center;}
.cart-empty{text-align:center; color:var(--gray); font-size:14px; padding:60px 20px;}
.cart-footer{padding:20px 24px 26px; border-top:1px solid var(--border);}
.cart-total-row{display:flex; justify-content:space-between; align-items:center; margin-bottom:16px;}
.cart-total-row .lbl{font-weight:800; font-size:15px;}
.cart-total-row .val{font-weight:900; font-size:24px; color:var(--cyan);}
.checkout-btn{width:100%; background:var(--green); color:#fff; border:none; border-radius:12px; padding:16px; font-weight:800; font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:filter .2s var(--ease);}
.checkout-btn:hover{filter:brightness(1.06);}
.checkout-btn:disabled{opacity:0.4; cursor:not-allowed;}
.view-cart-link{display:block; text-align:center; margin-top:12px; font-size:12.5px; color:var(--gray); font-weight:700;}
.view-cart-link:hover{color:var(--cyan);}

/* ---------- ADD-TO-CART TOAST ---------- */
.add-toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(140%);
  z-index:300; width:360px; max-width:calc(100vw - 32px);
  background:#12151f; border:1.5px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:0 20px 50px -14px rgba(0,0,0,0.6);
  padding:18px 18px 16px; opacity:0;
  transition:transform .35s var(--ease), opacity .35s var(--ease);
}
.add-toast.show{transform:translateX(-50%) translateY(0); opacity:1;}
.toast-top{display:flex; align-items:flex-start; gap:12px; margin-bottom:14px;}
.toast-icon{
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background:rgba(198,255,61,0.14); color:var(--lime);
  display:flex; align-items:center; justify-content:center; font-weight:900; font-size:15px;
}
.toast-title{font-weight:800; font-size:13.5px; margin-bottom:4px;}
.toast-sub{font-size:12px; color:var(--gray);}
.toast-sub strong{color:var(--cyan);}
.toast-actions{display:flex; gap:10px;}
.toast-btn-ghost, .toast-btn-primary{
  flex:1; padding:10px; border-radius:10px; font-weight:800; font-size:12.5px; cursor:pointer;
  transition:filter .2s var(--ease);
}
.toast-btn-ghost{background:transparent; border:1.5px solid var(--border); color:var(--white);}
.toast-btn-ghost:hover{border-color:rgba(255,255,255,0.3);}
.toast-btn-primary{background:var(--cyan); border:none; color:#05060a;}
.toast-btn-primary:hover{filter:brightness(1.08);}
@media(max-width:480px){
  .add-toast{bottom:14px; width:calc(100vw - 28px);}
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px){
  .wrap{padding:0 20px;}
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .prod-grid, .featured-grid{grid-template-columns:repeat(2,1fr);}
  .features-grid{grid-template-columns:1fr;}
  .trust-strip{grid-template-columns:repeat(3,1fr); gap:12px;}
  .trust-item{padding:16px; gap:10px;}
  .trust-item h4{font-size:13px;}
  .trust-item p{font-size:11.5px;}
  .stat-number{font-size:22px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .search-box{max-width:280px; padding:9px 12px;}
  .nav-links-inline{display:none;}
  .section-head h2{font-size:24px;}
}
@media(max-width:760px){
  .menu-panel{
    position:fixed; top:76px;
    width:calc(100vw - 24px); max-width:320px;
    max-height:calc(100vh - 92px);
    left:auto; right:auto;
  }
  html[dir="rtl"] .menu-panel,
  html[dir="ltr"] .menu-panel{ right:12px; left:auto; }
  .account-panel{
    position:fixed; top:76px;
    width:calc(100vw - 24px); max-width:280px;
    left:auto; right:auto;
  }
  html[dir="rtl"] .account-panel,
  html[dir="ltr"] .account-panel{ right:12px; left:auto; }
}
@media(max-width:560px){
  .wrap{padding:0 12px;}
  .section{padding:44px 0;}
  .section-head h2{font-size:22px;}
  .section-head .k{font-size:12px;}

  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .prod-grid{grid-template-columns:1fr 1fr;}
  .cart-drawer{width:100%;}

  /* Mobile navbar: single row — brand + compact actions, search hidden by default */
  .nav .wrap{
    gap:6px; height:auto; min-height:56px;
    padding-top:8px; padding-bottom:8px;
    flex-wrap:wrap;
  }
  .brand{gap:6px;}
  .brand .mark{width:36px; height:26px;}
  .brand-word{font-size:13px;}
  .nav-right{gap:6px; margin-right:auto; flex-wrap:nowrap;}
  .currency-pick{padding:6px 8px; font-size:11px;}
  .currency-lang-combo .cl-part{padding:6px 7px; font-size:11px;}
  .menu-btn{padding:8px 9px;}
  .menu-btn .btn-label{display:none;}
  .menu-panel{
    position:fixed; top:64px;
    width:calc(100vw - 24px); max-width:320px;
    max-height:calc(100vh - 80px);
    left:auto; right:auto;
  }
  html[dir="rtl"] .menu-panel,
  html[dir="ltr"] .menu-panel{ right:12px; left:auto; }
  .account-panel{
    position:fixed; top:64px;
    width:calc(100vw - 24px); max-width:280px;
    left:auto; right:auto;
  }
  html[dir="rtl"] .account-panel,
  html[dir="ltr"] .account-panel{ right:12px; left:auto; }
  .icon-btn{width:34px; height:34px;}
  .icon-btn svg{width:17px; height:17px;}
  .account-avatar-btn{width:32px; height:32px;}
  .account-link{width:34px; height:34px;}
  .badge-count{width:16px; height:16px; font-size:9px; top:-4px; left:-4px;}

  /* Show search as a full-width second row on mobile */
  .search-box{
    display:flex !important;
    order:99; flex:0 0 100%; max-width:100%;
    padding:8px 12px;
  }
  .search-box input{font-size:13px;}

  .trust-strip{grid-template-columns:1fr; gap:12px;}
  .trust-item{padding:16px;}
  .trust-item h4{font-size:13.5px;}
  .stat-number{font-size:22px;}

  .prod-card{min-width:0;}
  .prod-name{font-size:13.5px; min-height:calc(2 * 1.4em); max-height:calc(2 * 1.4em);}
  .prod-new{font-size:17px;}
  .add-cart-btn, .buy-now-btn{padding:10px; font-size:12.5px;}

  .footer-grid{grid-template-columns:1fr; gap:24px;}
  .footer-brand p{max-width:100%;}
}

@media(max-width:380px){
  .nav .wrap{gap:4px; padding-left:8px; padding-right:8px;}
  .brand .mark{width:30px; height:22px;}
  .brand-word{font-size:12px;}
  .icon-btn{width:32px; height:32px;}
  .account-avatar-btn{width:30px; height:30px;}
  .currency-lang-combo .cl-part{padding:5px 6px; font-size:10.5px;}
  .menu-btn{padding:7px 8px;}
  .nav-right{gap:5px;}
}

/* ---------- UX POLISH (smooth transitions, subtle feedback) ---------- */
.btn, .add-cart-btn, .buy-now-btn, .checkout-btn,
.icon-btn, .menu-btn, .currency-pick, .cat-card, .cat-card-big,
.prod-card, .trust-item, .testi-card, .feature-card, .social-pill{
  transition:transform .25s var(--ease), border-color .25s var(--ease),
             background-color .25s var(--ease), color .25s var(--ease),
             box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:active, .add-cart-btn:active, .buy-now-btn:active,
.icon-btn:active, .menu-btn:active, .currency-pick:active{
  transform:scale(0.97);
}
.prod-card:hover{box-shadow:0 14px 32px -18px rgba(0,229,255,0.35);}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    transition-duration:0.001ms !important;
  }
}

/* Account/login icon in navbar */
.account-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0;
  color:var(--white); text-decoration:none;
  background:var(--card); border:1.5px solid var(--border);
  border-radius:50%;
  transition:transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.account-link:hover{
  border-color:var(--cyan); color:var(--cyan);
  box-shadow:0 0 0 4px color-mix(in oklab, var(--cyan) 18%, transparent);
  transform:translateY(-1px);
}
.account-link--signed{
  border-color:color-mix(in oklab, var(--cyan) 55%, var(--border));
  color:var(--cyan);
}
.account-link svg{ display:block; }

/* Account dropdown panel */
.account-wrap{ position:relative; }
.account-link{ background:transparent; cursor:pointer; }
.account-panel{
  position:absolute; top:calc(100% + 10px); inset-inline-end:0;
  min-width:230px; background:var(--card); border:1.5px solid var(--border);
  border-radius:14px; padding:6px; box-shadow:0 20px 50px -12px rgba(0,0,0,.55);
  opacity:0; transform:translateY(-6px) scale(.98); pointer-events:none;
  transition:opacity .18s var(--ease), transform .18s var(--ease);
  z-index:1000;
}
.account-panel.open{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.acc-link{
  display:flex; align-items:center; gap:10px; width:100%;
  padding:10px 12px; border-radius:9px;
  background:transparent; border:0; color:var(--white); text-decoration:none;
  font-size:13.5px; font-weight:600; text-align:right; cursor:pointer; font-family:inherit;
  transition:background .15s var(--ease), color .15s var(--ease);
}
.acc-link:hover{ background:color-mix(in oklab, var(--cyan) 12%, transparent); color:var(--cyan); }
.acc-link .ai{ font-size:15px; width:22px; text-align:center; }
.acc-link .soon-tag{
  margin-inline-start:auto; font-size:10px; padding:2px 7px; border-radius:99px;
  background:color-mix(in oklab, var(--cyan) 15%, transparent); color:var(--cyan); font-weight:700;
}
.acc-divider{ height:1px; background:var(--border); margin:5px 4px; }
.acc-admin{ color:#ffd166; }
.acc-admin:hover{ background:color-mix(in oklab, #ffd166 15%, transparent); color:#ffd166; }
.acc-logout{ color:#ff6b6b; }
.acc-logout:hover{ background:color-mix(in oklab, #ff6b6b 12%, transparent); color:#ff6b6b; }

@media (max-width: 520px){
  .account-panel{ inset-inline-end:0; min-width:230px; }
}

@media (max-width: 760px){
  .account-panel{
    position:fixed; top:76px;
    width:calc(100vw - 24px); max-width:280px; min-width:0;
    left:auto; right:auto; inset-inline-end:auto;
  }
  html[dir="rtl"] .account-panel,
  html[dir="ltr"] .account-panel{ right:12px; left:auto; }
}

/* Avatar-style account button */
.account-avatar-btn{
  position:relative; padding:0; overflow:visible;
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid color-mix(in oklab, var(--cyan) 55%, var(--border));
  background:var(--card);
}
.account-avatar-btn img{
  width:100%; height:100%; border-radius:50%; object-fit:cover; display:block;
}
.account-avatar-fallback{
  width:100%; height:100%; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--cyan); font-size:11px; font-weight:900; letter-spacing:0;
  background:radial-gradient(circle at 50% 20%, color-mix(in oklab, var(--cyan) 22%, transparent), var(--card) 70%);
}
.account-avatar-btn:hover{
  box-shadow:0 0 0 3px color-mix(in oklab, var(--cyan) 22%, transparent);
  transform:translateY(-1px);
}
.account-lvl-dot{
  position:absolute; bottom:-3px; inset-inline-end:-3px;
  min-width:16px; height:16px; padding:0 4px;
  background:linear-gradient(135deg, var(--cyan), #7c5cff);
  color:#05060a; font-size:9px; font-weight:900;
  border-radius:999px; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--card); line-height:1;
}
.account-notif-dot{
  position:absolute; top:-3px; inset-inline-start:-3px;
  width:12px; height:12px; border-radius:50%;
  background:#ff4757; border:2px solid var(--card);
  box-shadow:0 0 0 0 rgba(255,71,87,.55);
  animation:gxPulse 1.6s ease-out infinite;
}
@keyframes gxPulse{
  0%{ box-shadow:0 0 0 0 rgba(255,71,87,.55); }
  70%{ box-shadow:0 0 0 10px rgba(255,71,87,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,71,87,0); }
}
.acc-unread-badge{
  background:#ff4757 !important; color:#fff !important; border:0 !important;
  font-weight:800; padding:2px 7px !important; border-radius:999px !important;
}

@media (max-width: 720px){
  .account-avatar-btn{width:34px; height:34px;}
  .account-lvl-dot{min-width:14px; height:14px; font-size:8.5px;}
}


/* Compact dropdown header (name + handle only) */
.acc-mini{ padding:10px 12px 8px; }
.acc-mini__name{
  font-size:13px; font-weight:800; color:var(--white);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.acc-mini__handle{
  font-size:11.5px; color:var(--cyan); font-weight:700; margin-top:2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* Clickable profile header in the account dropdown */
.acc-hero{
  display:flex; align-items:center; gap:10px; text-decoration:none;
  padding:10px 11px; margin:6px; border-radius:14px;
  background:linear-gradient(135deg, color-mix(in oklab, var(--cyan) 14%, transparent), rgba(124,92,255,.10));
  border:1px solid color-mix(in oklab, var(--cyan) 26%, transparent);
  transition:all .18s var(--ease);
}
.acc-hero:hover{
  border-color:color-mix(in oklab, var(--cyan) 55%, transparent);
  box-shadow:0 6px 22px -12px rgba(0,229,255,.7);
  transform:translateY(-1px);
}
.acc-hero__av{
  width:38px; height:38px; border-radius:50%; flex:0 0 auto; overflow:hidden;
  border:1.5px solid color-mix(in oklab, var(--cyan) 50%, var(--border)); background:var(--card);
  display:block;
}
.acc-hero__av img{ width:100%; height:100%; object-fit:cover; display:block; }
.acc-hero__txt{ min-width:0; flex:1; display:block; }
.acc-hero__name{
  display:block; font-size:13px; font-weight:900; color:var(--white);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.acc-hero__handle{
  display:block; font-size:11.5px; font-weight:700; margin-top:2px;
  background:linear-gradient(90deg, var(--cyan), #7c5cff);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.acc-hero__lvl{
  flex:0 0 auto; font-size:10.5px; font-weight:900; color:#05060a;
  padding:3px 8px; border-radius:999px; line-height:1;
  background:linear-gradient(135deg, var(--cyan), #7c5cff);
  box-shadow:0 0 14px -4px rgba(0,229,255,.8);
}
.acc-balances{
  display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px 11px 4px;
}
.acc-bal{
  border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:8px 10px;
  background:rgba(255,255,255,.03);
}
.acc-bal__l{ display:block; font-size:10px; color:#8b90a0; font-weight:700; }
.acc-bal__v{ display:block; font-size:15px; font-weight:900; line-height:1.2; margin-top:2px; }
.acc-bal__v.coins{ color:#ffc44d; }
.acc-bal__v.credit{ color:#34d399; }
.acc-bal small{ font-size:9.5px; color:#7c8394; }
.acc-bal--link{ display:block; text-decoration:none; transition:border-color .16s, background .16s; }
.acc-bal--link:hover{ border-color:rgba(255,196,77,.45); background:rgba(255,196,77,.06); }
.acc-group{ padding:2px 0; }

.acc-group__label{
  font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:#7c8394; padding:6px 13px 3px;
}



/* ============================================================
   In-page Auth Modal
   ============================================================ */
.gx-auth-modal{ position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; padding:20px; }
.gx-auth-modal.open{ display:flex; animation:gxFadeIn .18s var(--ease); }
.gx-auth-modal__scrim{ position:absolute; inset:0; background:rgba(4,6,10,.72); backdrop-filter:blur(6px); }
.gx-auth-modal__card{
  position:relative; width:100%; max-width:400px; background:var(--card);
  border:1.5px solid var(--border); border-radius:20px; padding:26px 22px 22px;
  box-shadow:0 30px 70px -20px rgba(0,229,255,.18), 0 20px 50px -12px rgba(0,0,0,.7);
  color:var(--white); animation:gxRise .22s var(--ease);
}
.gx-auth-modal__close{
  position:absolute; top:12px; inset-inline-start:12px; width:32px; height:32px;
  border-radius:10px; background:transparent; border:1.5px solid var(--border);
  color:#ff6b6b; cursor:pointer; font-size:14px; font-weight:800;
  display:flex; align-items:center; justify-content:center; transition:all .15s var(--ease);
}
.gx-auth-modal__close:hover{ background:rgba(255,107,107,.1); border-color:#ff6b6b; }
.gx-auth-modal__avatar{
  width:66px; height:66px; border-radius:50%; margin:4px auto 14px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(0,229,255,.15), rgba(0,229,255,.04));
  border:1.5px solid color-mix(in oklab, var(--cyan) 35%, transparent);
  color:var(--cyan);
}
.gx-auth-modal__tabs{
  display:grid; grid-template-columns:1fr 1fr; background:#0d1018;
  border:1.5px solid var(--border); border-radius:12px; padding:4px; margin-bottom:14px;
}
.gx-auth-modal__tabs button{
  background:transparent; border:0; padding:9px; border-radius:9px;
  color:#8b90a0; font-weight:700; font-size:13px; cursor:pointer; font-family:inherit;
  transition:all .18s var(--ease);
}
.gx-auth-modal__tabs button.on{ background:var(--cyan); color:#05060a; }
.gx-auth-modal__title{ text-align:center; font-size:20px; font-weight:900; margin:0 0 16px; }
.gx-auth-modal__form{ display:flex; flex-direction:column; gap:6px; }
.gx-auth-modal__form label{ font-size:12.5px; font-weight:700; color:#c8ccd6; margin-top:8px; text-align:right; }
.gx-auth-modal__form input{
  background:#0d1018; border:1.5px solid var(--border); border-radius:10px;
  padding:11px 13px; color:var(--white); font-size:14px; outline:none; font-family:inherit;
  transition:border-color .18s var(--ease);
}
.gx-auth-modal__form input:focus{ border-color:var(--cyan); }
.gx-auth-modal__submit{
  margin-top:14px; padding:12px; border-radius:11px; border:0; cursor:pointer;
  background:linear-gradient(135deg, var(--cyan), #00b8d4); color:#05060a;
  font-weight:800; font-size:14px; font-family:inherit; transition:all .18s var(--ease);
}
.gx-auth-modal__submit:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.gx-auth-modal__link{
  margin-top:10px; background:none; border:0; cursor:pointer; color:#8b90a0;
  font-size:12.5px; font-family:inherit; font-weight:600; transition:color .18s var(--ease);
}
.gx-auth-modal__link:hover{ color:var(--cyan); }
.gx-auth-modal__divider{ display:flex; align-items:center; gap:10px; margin:16px 0 10px; color:#8b90a0; font-size:12px; }
.gx-auth-modal__divider::before, .gx-auth-modal__divider::after{ content:''; flex:1; height:1px; background:var(--border); }
.gx-auth-modal__social{ display:flex; align-items:center; justify-content:center; gap:12px; }
.gx-social-btn{
  width:44px; height:44px; border-radius:50%; background:#0d1018; border:1.5px solid var(--border);
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .18s var(--ease);
}
.gx-social-btn:hover{ border-color:var(--cyan); transform:translateY(-2px); }
.gx-auth-modal__msg{ min-height:18px; margin-top:12px; text-align:center; font-size:12.5px; font-weight:600; }
.gx-auth-modal__msg.err{ color:#ff6b6b; }
.gx-auth-modal__msg.ok{ color:#00e5ff; }
@keyframes gxFadeIn { from{opacity:0} to{opacity:1} }
@keyframes gxRise { from{opacity:0; transform:translateY(10px) scale(.98)} to{opacity:1; transform:translateY(0) scale(1)} }

/* ============================================================
   Notifications Drawer (slides in from the right)
   ============================================================ */
.gx-notif{ position:fixed; inset:0; z-index:10001; pointer-events:none; }
.gx-notif__scrim{
  position:absolute; inset:0; background:rgba(4,6,10,.55);
  backdrop-filter:blur(4px); opacity:0; transition:opacity .22s var(--ease);
}
.gx-notif__panel{
  position:absolute; top:0; bottom:0; right:0;
  width:min(380px, 92vw);
  background:linear-gradient(180deg, #0b0f1a 0%, #0d1220 100%);
  border-left:1.5px solid color-mix(in oklab, var(--cyan) 25%, var(--border));
  box-shadow:-24px 0 60px -12px rgba(0,0,0,.65);
  transform:translateX(100%); transition:transform .28s var(--ease);
  display:flex; flex-direction:column;
  will-change: transform;
}
[dir="rtl"] .gx-notif__panel{ right:auto; left:0; border-left:none; border-right:1.5px solid color-mix(in oklab, var(--cyan) 25%, var(--border)); box-shadow:24px 0 60px -12px rgba(0,0,0,.65); transform:translateX(-100%); }
.gx-notif.open{ pointer-events:auto; }
.gx-notif.open .gx-notif__scrim{ opacity:1; }
.gx-notif.open .gx-notif__panel{ transform:translateX(0) !important; }

.gx-notif__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px; border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(0,229,255,.06), transparent);
}
.gx-notif__title{
  display:flex; align-items:center; gap:8px;
  font-weight:800; font-size:15px; color:var(--white);
}
.gx-notif__title span:first-child{ color:var(--cyan); font-size:17px; }
.gx-notif__close{
  width:32px; height:32px; border-radius:10px;
  background:transparent; border:1.5px solid var(--border);
  color:#ff6b6b; cursor:pointer; font-size:13px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  transition:all .15s var(--ease);
}
.gx-notif__close:hover{ background:rgba(255,107,107,.1); border-color:#ff6b6b; }

.gx-notif__list{
  flex:1; overflow-y:auto; padding:10px;
  display:flex; flex-direction:column; gap:8px;
}
.gx-notif__empty{
  padding:40px 20px; text-align:center; color:#8b90a0; font-size:13px; font-weight:600;
}
.gx-notif__item{
  display:flex; gap:11px; padding:12px;
  background:var(--card); border:1px solid var(--border);
  border-radius:12px; transition:all .18s var(--ease);
  position:relative;
}
.gx-notif__item:hover{ border-color:color-mix(in oklab, var(--cyan) 35%, var(--border)); transform:translateY(-1px); }
.gx-notif__item.is-unread{
  background:linear-gradient(135deg, rgba(0,229,255,.06), rgba(0,229,255,.02));
  border-color:color-mix(in oklab, var(--cyan) 40%, var(--border));
}
.gx-notif__item.is-unread::before{
  content:''; position:absolute; top:14px; inset-inline-start:6px;
  width:6px; height:6px; border-radius:50%; background:var(--cyan);
  box-shadow:0 0 8px var(--cyan);
}
.gx-notif__ico{
  flex-shrink:0; width:36px; height:36px; border-radius:10px;
  background:linear-gradient(135deg, rgba(0,229,255,.15), rgba(124,92,255,.08));
  display:flex; align-items:center; justify-content:center; font-size:17px;
}
.gx-notif__body{ min-width:0; flex:1; }
.gx-notif__t{ font-weight:800; font-size:13.5px; color:var(--white); margin-bottom:3px; }
.gx-notif__b{ font-size:12.5px; color:#c8ccd6; line-height:1.55; }
.gx-notif__time{ font-size:11px; color:#8b90a0; margin-top:6px; font-weight:600; }

/* ============================================================
   LTR OVERRIDES — applied when html[dir="ltr"]
   ============================================================ */
html[dir="ltr"] body,
html[dir="ltr"] .wrap,
html[dir="ltr"] .section,
html[dir="ltr"] .hero,
html[dir="ltr"] .nav { text-align: left; }
html[dir="ltr"] .nav .wrap { direction: ltr; }
html[dir="ltr"] .nav-right { flex-direction: row; margin-right: 0; margin-left: auto; }
html[dir="ltr"] .section-head,
html[dir="ltr"] .hero-inner,
html[dir="ltr"] .trust-strip,
html[dir="ltr"] .featured-grid,
html[dir="ltr"] .cat-grid-big,
html[dir="ltr"] .footer-grid { direction: ltr; }
html[dir="ltr"] .menu-panel,
html[dir="ltr"] .account-panel,
html[dir="ltr"] .currency-modal,
html[dir="ltr"] .gx-notif-drawer { direction: ltr; text-align: left; }
html[dir="ltr"] .badge-count { right: auto; left: -4px; }
html[dir="ltr"] .carrow .arrow-ic { transform: scaleX(-1); }

/* React account pages share the store navbar, while preserving Tailwind/shadcn spacing. */
.gx-auth-page-shell{
  --background:#090b10;
  --foreground:#f5f6f8;
  --card:#12151f;
  --card-foreground:#f5f6f8;
  --popover:#12151f;
  --popover-foreground:#f5f6f8;
  --primary:#00e5ff;
  --primary-foreground:#05060a;
  --secondary:#161a26;
  --secondary-foreground:#f5f6f8;
  --muted:#161a26;
  --muted-foreground:#8b90a0;
  --accent:#1b2030;
  --accent-foreground:#f5f6f8;
  --destructive:#ff2d78;
  --destructive-foreground:#ffffff;
  --border:rgba(255,255,255,0.08);
  --input:rgba(255,255,255,0.1);
  --ring:#00e5ff;
  color-scheme:dark;
  background:var(--background);
  color:var(--foreground);
}
.gx-auth-page-shell .gx-account-main{ box-sizing:border-box; }

@media(max-width:640px){
  html[dir="ltr"] .nav-right { margin-right: 0; margin-left: auto; }
}

/* Testimonial card refinements */
.testi-verified{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:800;color:#34d399;background:rgba(52,211,153,.1);border:1px solid rgba(52,211,153,.25);border-radius:999px;padding:2px 8px;margin:3px 0 5px}
.testi-clamp{display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
