/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */


@font-face {
  font-family: 'smartmindbold-en';
  src: url('../../font/eng/smartmindbold-en.otf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'smartmindlight-en';
  src: url('../../font/eng/smartmindlight-en.otf') format('truetype');
  font-weight: 500;
}


@font-face {
  font-family: 'smartmindbold-ar';
  src: url('../../font/arb/smartmindbold-ar.otf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'smartmindthin-ar';
  src: url('../../font/arb/smartmindthin-ar.otf') format('truetype');
  font-weight: 500;
}





html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


*, *::before, *::after{ box-sizing: border-box; }


html, body{ overscroll-behavior-x: none; }


.hero, .footerhero, .glass-topbar, .mobile-pillnav{
  max-width: 100%;
}


/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */

:root { --hero-top-gap: 220px; }           
@media (max-width: 992px){ :root{ --hero-top-gap: 140px; } }  
@media (max-width: 640px){ :root{ --hero-top-gap: 120px; } }  


:root { --alexa-img-lift: -45px; }         
@media (max-width: 992px){ :root{ --alexa-img-lift: -70px; } }
@media (max-width: 640px){ :root{ --alexa-img-lift: -50px; } }

/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------- Base -------------------------------------------------- */

body.landing{ position: relative; z-index: 0; }
body.landing::before{ z-index: 0; }  


.hero::before,
.hero2::before{ z-index: 1; }

.hero .container-xxl,
.hero2 .wrap,
.pgrid{ position: relative; z-index: 5; }

.pcard,
.tile,
.tile .pimg,
.p-name,
.pills{ position: relative; z-index: 6; }

.cart-fab{ z-index: 1010; }

.starfield{ position: fixed; inset: 0; z-index: -2; pointer-events: none; }



body.landing::before{
  content: "";
  position: fixed;
  inset: 0;                
  background: rgba(0,0,0,.30);  
  pointer-events: none;                  
}


body { background:#0b1220; color:#e8f0ff; }

.card { border-radius:14px; overflow:hidden; }

.navbar { box-shadow: 0 3px 10px rgba(0,0,0,.25); }

.product-card img { object-fit: cover; height: 180px; }

a, .btn-link { text-decoration: none; }

.bg-light { background:#f8f9fa !important; }

html[dir="rtl"] body, html[dir="rtl"] 

.form-label, html[dir="rtl"] 

html[lang="ar"] .form-label{
  font-family: 'smartmindbold-ar';
}

html[lang="en"] .form-label{
  font-family: 'smartmindbold-en';
}

.card-title { text-align:right; }


.landing { overflow-x: hidden; }



/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------- Top glass bar --------------------------------------------- */

.glass-topbar{
  position: fixed;
  top: 16px; left: 16px; right: 16px;
  width: auto; margin: 0;

  display: grid;
  grid-template-columns: auto 1fr auto; 
  align-items: center; gap: 12px;

  padding: 10px 14px; z-index: 50;
  will-change: transform, opacity;
  transition: transform .28s ease, opacity .28s ease;
  
}

.glass-topbar.--hide{
  transform: translateY(-140%); 
  opacity: 0;
  pointer-events: none;
}


.glass-topbar .lang-item { color:#eaf2ff; }

.glass-topbar .lang-item:hover { color:#fff; }

.glass-topbar .sep { opacity:.6; margin: 0 .5rem; }


.glass-topbar{ position: fixed; top:16px; left:16px; right:16px; }

.glass-topbar{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; }

.glass-topbar{ position: fixed; } 

.glass-topbar .top-center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  white-space: nowrap;     
  pointer-events: auto;      
  
}

.glass-topbar .top-left  { justify-self: start; }
.glass-topbar .top-right { justify-self: end;   }


@media (max-width: 640px){
  .glass-topbar .top-center{
    position: static;
    transform: none;
    justify-self: center;   
    white-space: normal;
  }
}


.glass {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
}
.pillnavbar {
  border-radius: 20px;
  font-family: 'smartmindbold-en';
  padding: .55rem 1rem;
  font-weight: 600;
  letter-spacing: .2px;
}
html[dir="rtl"] .pillnavbar{ 
    font-family: 'smartmindbold-ar';
}
.glass-link, .glass-btn {
  color:#eaf2ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.glass-link:hover, .glass-btn:hover {
  transform: translateY(-1px);
  color:#fff;
  background: rgba(255,255,255,.16);
}



/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------- Hero -------------------------------------------------- */

.hero{
  position: relative;
  min-height: 100vh;
  padding-top: var(--hero-top-gap); 
  display: grid;
  place-items: center;
  background:
    
    var(--hero-bg) center/cover no-repeat fixed;
}

.hero2{
  position: relative;
  min-height: 10vh;
  display: grid;
  place-items: center;
  background:
    
    var(--hero-bg) center/cover no-repeat fixed;
}

.footerhero{
  position: relative;
  min-height: 10vh;
  display: grid;
  place-items: center;
  background:
    
    var(--hero-bg) center/cover no-repeat fixed;
}




/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------- Admin Icon ----------------------------------------------- */

.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  padding:0; border-radius:50%;
  line-height:1;
}

.icon-btn i{ font-size:1.1rem; }



/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------- Stars At The Background ---------------------------------------- */

.starfield{
  position: fixed;
  inset: 0;            
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 2;           
  mix-blend-mode: screen;  
  opacity: .95;            
}


.hero .hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 5;          
}



/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------- Footer ------------------------------------------------ */



.glass-footer{
  padding: 24px 16px 34px;
  position: relative;
  z-index: 1000;                 
  isolation: isolate;            
}

.footer-pill{
  display:flex; align-items:center; gap:20px;
  padding: 14px 18px;
  border-radius: 9999px;

  background: transparent;
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(1px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow:
    0 20px 48px rgba(10,20,35,.28),
    inset 0 1px 0 rgba(255,255,255,.8);
  position: relative;
  isolation: isolate;
  flex-wrap: wrap;
}


.footer-pill::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  padding: 1.5px;
  
  
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  z-index: 1;
}


.footer-pill::after{
  content:"";
  position:absolute; inset: -10px -14px;
  border-radius: inherit;
  
  filter: blur(18px);
  z-index: 0;
  pointer-events:none;
}


.footer-left, .footer-center, .footer-right{ position: relative; z-index: 5; }

.footer-left{
  flex: 0 1 auto;
  opacity:.9; font-weight: 600;
  white-space: nowrap;
}

html[lang="en"] .footer-left{
  font-family: 'smartmindbold-en';
}

html[lang="ar"] .footer-left{
  font-family: 'smartmindbold-ar';
}
.footer-center{
  flex: 1 1 auto;
  text-align:center;
  font-weight: 800;
  text-decoration:none;
  color:#fff;
  padding: 6px 10px;
  border-radius: 12px;
  transition: transform .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.footer-center:hover{
  color:#eaf1ff;
  background: rgba(255,255,255,.45);
  box-shadow: 0 8px 20px rgba(27,102,255,.18);
}


.footer-right{ display:flex; align-items:center; gap:10px; }

.social-btn{
  width: 40px; height: 40px; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; text-decoration:none;


  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.18));
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 12px 24px rgba(10,20,35,.22),
    inset 0 1px 0 rgba(255,255,255,.6);
  position: relative; isolation: isolate;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}


.social-btn::before{
  content:"";
  position:absolute; inset:2px 2px 55% 2px;
  border-radius: 50%;
  
  z-index: 1; pointer-events:none;
}


.social-btn::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  padding: 1px;
  
  
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  box-shadow:
    0 0 22px 6px rgba(38,166,253,.35),
    0 0 26px 10px rgba(42,234,175,.25);
  opacity: 0; transition: opacity .12s ease;
  z-index: 0; pointer-events:none;
}

.social-btn i{ font-size: 18px; line-height: 1; position: relative; z-index: 2; }

.social-btn:hover,
.social-btn:focus{
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 16px 32px rgba(10,20,35,.28),
    inset 0 1px 0 rgba(255,255,255,.65);
  outline: none;
}
.social-btn:hover::after,
.social-btn:focus::after{ opacity: 1; }



html[dir="rtl"] .footer-left{ text-align: right; }
html[dir="rtl"] .footer-center .bi{ transform: scaleX(-1); } 



@media (max-width: 480px){

  .glass-footer{
    padding: 12px 10px 18px;
    display: block;
    text-align: center;
  }

  .footer-pill{
    width: min(320px, calc(100vw - 28px));
    margin-inline: auto;             
    padding: 10px 12px;
    gap: 8px;
    border-radius: 24px;

    border: 1px solid rgba(255,255,255,.45);
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    box-shadow:
      0 12px 26px rgba(10,20,35,.22),
      inset 0 1px 0 rgba(255,255,255,.7);

    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-right{ order: 1; width: 100%; justify-content: center; gap: 8px; }
  .footer-center{ order: 2; width: 100%; font-size: 13px; padding: 4px 6px; }
  .footer-left{ order: 3; width: 100%; font-size: 11px; opacity: .9; }

  .social-btn{ width: 32px; height: 32px; }
  .social-btn i{ font-size: 14px; }

  html[dir="rtl"] .footer-left{ text-align: center; }
}


@media (width: 390px){
  .footer-pill{ width: 300px; }     
}


/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------ Mobile top pill navbar ---------------------------------------- */

.mobile-pillnav{
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 92vw);
  padding: 10px 14px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,12,18,.42);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 18px 40px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.18);
  z-index: 1200; 
}

@media (min-width: 768px){ .mobile-pillnav{ display:none; } }

.mobile-pillnav::after{
  content:"";
  position:absolute; inset:-10px -14px;
  border-radius: 20px;
  background:
    radial-gradient(60% 130% at 18% 20%, rgba(38,166,253,.28), transparent 60%),
    radial-gradient(60% 130% at 82% 80%, rgba(42,234,175,.28), transparent 60%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.mp-item{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  position: relative;
  transition: transform .12s ease, filter .12s ease;
}
.mp-item i{ font-size: 20px; line-height: 1; }

.mp-item:hover{ transform: translateY(-1px); filter: brightness(1.15); }

.mp-item.is-active::after{
  content:"";
  position:absolute; bottom:6px;
  width:6px; height:6px; border-radius:3px;
  background: linear-gradient(90deg, #26a6fd, #2aeaaf);
  box-shadow: 0 0 10px rgba(38,166,253,.55);
}

.mp-lang-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 84px; 
  padding: 6px;
  display: flex; gap: 6px;
  border-radius: 12px;
  background: rgba(10,14,20,.88);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(0,0,0,.28);
  z-index: 1300;
}

.mp-lang-menu .chip{
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  background: rgba(255,255,255,.1);
  transition: filter .12s ease, transform .12s ease, background .12s ease;
}
.mp-lang-menu .chip:hover{ transform: translateY(-1px); filter: brightness(1.15); }
.mp-lang-menu .chip.on{
  background: linear-gradient(135deg, #26a6fd, #2aeaaf);
  color: #06213a;
}

html[dir="rtl"] .mp-lang-menu{ left: 84px; right: auto; }

.mobile-pillnav { display: none; }

@media (max-width: 767px){
  .glass-topbar{ display: none !important; }  
  .mobile-pillnav{ display: flex; }          
}

.mobile-pillnav{ z-index: 1200; }



.mobile-pillnav .mp-item {
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important; 
  border: 0;
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 12px;               
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, opacity .12s ease, filter .12s ease;
}

.mobile-pillnav .mp-item:hover   { filter: brightness(1.08); }
.mobile-pillnav .mp-item:active  { transform: scale(0.96); }


.mobile-pillnav .mp-item:focus-visible {
  outline: 2px solid rgba(38,166,253,.9);
  outline-offset: 2px;
  border-radius: 12px;
}

.mobile-pillnav .mp-item.is-active i { color: #26a6fd; }






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------- hide and show the navbar --------------------------------------- */


@media (max-width: 767px){
  .glass-topbar{ display:none !important; }   
  .mobile-pillnav{ display:flex; }
}


.mobile-pillnav{
  position: fixed;
  top: max(8px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translate(-50%, 0);           
  transition: transform .25s ease, opacity .25s ease;
  z-index: 1400;                             
}


.mobile-pillnav.is-hidden{
  transform: translate(-50%, -160%);
  opacity: 0;
  pointer-events: none;
}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------- Body and hero -------------------------------------------- */


:root{
  --navy:#11315a;
  --blue:#26a6fd;
  --teal:#2aeaaf;
  --text:#eaf2ff;

  --ring: rgba(255,255,255,.28);
  --inner: rgba(255,255,255,.70);
  --blur: 14px;
  --shadow: 0 18px 40px rgba(0,0,0,.22);
  --shadow-lg: 0 26px 60px rgba(0,0,0,.28);
}


body.landing{
  background:
    radial-gradient(900px 560px at 8% 0%, color-mix(in oklab, var(--blue) 18%, transparent), transparent 70%),
    radial-gradient(900px 560px at 100% 100%, color-mix(in oklab, var(--teal) 14%, transparent), transparent 70%),
    #4f79ff;
  color: var(--text);
}


.hero2,
.hero{
  position: relative;
  isolation: isolate;
}
.hero2::before,
.hero::before{
  content:"";
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(1200px 600px at 50% -10%, color-mix(in oklab, var(--blue) 18%, transparent), transparent 60%),
    radial-gradient(900px 500px at 10% 30%,  color-mix(in oklab, var(--teal) 16%, transparent), transparent 60%);
}
.hero2 > .wrap,
.hero > .container-xxl{ position:relative; z-index:2; }
.hero2{ padding: 24px 0 8px; }




/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------- Search pill ---------------------------------------------- */

:root{
  --gap: clamp(8px, 1.8vw, 12px);
  --pill-pad-y: clamp(8px, 1.6vh, 12px);
  --pill-pad-x: clamp(10px, 3vw, 16px);
  --pill-radius: 14px;

  --chip-pad-y: clamp(6px, 1.2vh, 10px);
  --chip-pad-x: clamp(10px, 2.6vw, 16px);
  --chip-radius: 12px;

  --icon-size: clamp(16px, 2.6vw, 20px);
  --font-sm: clamp(12px, 2.8vw, 14px);
  --font-md: clamp(14px, 3.2vw, 16px);
}

.search-pill{
  display:flex; align-items:center; gap:var(--gap);
  background: rgba(0,0,0,.45);
  border: 1px solid #000;
  border-radius: var(--pill-radius);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  color: var(--text);
  min-height: 44px;                
  box-shadow: inset 0 1px 0 #ffffff24, 0 10px 24px rgba(0,0,0,.25);
}
.search-pill .bi,
.search-pill i{ font-size: var(--icon-size); line-height: 1; }
.search-pill input{
  background:transparent; border:0; outline:0; color:var(--text);
  width:100%; min-width:0; font-size: var(--font-md);
}
.search-pill input::placeholder{ color:#d9ecffcc; }

.cat-scroll{
  display:flex; gap:var(--gap);
  overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none; padding-bottom: 4px;
  scroll-snap-type: x proximity;
}
.cat-scroll::-webkit-scrollbar{ display:none; }



/* Category dropdown (pill style) */
.cat-select-wrap{ width:100%; }
.select-pill{
  display:flex; align-items:center; gap:var(--gap);
  background: rgba(0,0,0,.45);
  border: 1px solid #000;
  border-radius: var(--pill-radius);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  color: var(--text);
  min-height: 44px;
  box-shadow: inset 0 1px 0 #ffffff24, 0 10px 24px rgba(0,0,0,.25);
  position: relative;
}
.select-pill .bi{ font-size: var(--icon-size); line-height:1; }

.cat-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  font-size: var(--font-md);
  padding-inline-end: 28px; /* room for caret */
}
.cat-select option{ color:#0b0b0b; } /* dropdown list text */
.select-caret{
  position: absolute;
  inset-inline-end: 12px;
  pointer-events: none;
  opacity: .85;
  font-size: var(--icon-size);
}

@media (min-width: 992px){
  .select-pill{ max-width: 560px; margin-inline: auto; }
}

.chip{
  display:inline-flex; align-items:center; justify-content:center;
  white-space: nowrap;
  min-height: 40px;             
  min-width: clamp(56px, 18vw, 100px);
  padding: var(--chip-pad-y) var(--chip-pad-x);
  border-radius: var(--chip-radius);
  font-size: var(--font-sm);
  color:#0b0b0b; font-weight:800;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  text-decoration:none;
  box-shadow:0 12px 22px rgba(0,0,0,.25);
  transition: transform .12s ease;
  scroll-snap-align: start;
}

.chip.on, .chip:hover{ transform: translateY(-1px); }


@media (max-width: 360px){
  .chip{ min-width: max(48px, 22vw); }
  .search-pill{ border-radius: 12px; }
}

@media (min-width: 992px){
  .search-pill{ max-width: 560px; margin-inline: auto; }
  .chip{ font-size: 15px; min-height: 42px; }
}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------- Products Grid --------------------------------------------- */

.pgrid{ display:grid; grid-template-columns: repeat(4,1fr); gap:28px; }
@media (max-width:1200px){ .pgrid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width:992px){  .pgrid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){  .pgrid{ grid-template-columns: 1fr;} }


.pcard{ color:var(--text); }


.tile{
  position: relative;
  height: 210px;
  border-radius: 22px;

  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border: 1px solid var(--ring);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: var(--shadow);
  overflow: visible;
}

.tile::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(60% 120% at 100% -20%, color-mix(in oklab, var(--blue) 14%, transparent), transparent 60%),
    radial-gradient(45% 100% at 0% 120%,  color-mix(in oklab, var(--teal) 12%, transparent), transparent 60%);
  mix-blend-mode: screen;
}

.tile::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 var(--inner);
}

.tile .pimg{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  transform: translateY(-36px);
 
  pointer-events:none;
}

.tile .pimg img{
  width:84%; height:84%; object-fit:contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
}

.p-name{
  margin:20px 6px 6px; font-weight:900; letter-spacing:.01em;
  color:var(--teal);
}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------- pill for price & add to cart & view ---------------------------------- */

.pills{
  display:flex;
  align-items:center;
  gap:10px;
  margin-inline:6px;
  flex-wrap: wrap;          
  max-width: 100%;
}

.pills .pill{ flex: 0 0 auto; } 

.pill{
  position:relative;
  display:inline-flex; align-items:center; gap:6px;
  height:32px; padding:0 12px;
  border-radius:12px;
  background: rgba(255,255,255,.10);
  border:1px solid var(--ring);
  color: var(--text);
  text-decoration:none; font-weight:800;
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 10px 20px rgba(0,0,0,.25), inset 0 1px 0 var(--inner);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.pill::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 45%);
}

.pill:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(0,0,0,.28), inset 0 1px 0 var(--inner);
}

.pill i{ font-size:14px; color: currentColor; opacity:.95; }


.pill.view,
.pill.add{
  color:#fff;
  background: rgba(255,255,255,.12);
}


.pill.price{
  color:#0b0b0b;
  border-color: transparent;
  flex: 1 1 220px;            
  min-width: 220px;           
  max-width: 100%;           
  white-space: nowrap;        
  padding: 8px 14px;
  background:
    linear-gradient(90deg,
      color-mix(in oklab, var(--teal) 85%, transparent),
      color-mix(in oklab, var(--blue) 85%, transparent)
    );
  box-shadow: 0 12px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.55);
}

.pill.price::after{
  background: linear-gradient(180deg, rgba(255,255,255,.30), transparent 40%);
}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------- Cart button ---------------------------------------------- */

.cart-fab{
  position: fixed;
  top: 14px;
  right: 14px;            
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 0;
  background: #000;
  color: #fff;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
}

[dir="rtl"] .cart-fab{
  right: auto;
  left: 14px;
}

.cart-fab .count{
  min-width:22px; height:22px; padding:0 6px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; font-weight:800; font-size:12px; color:#0b0b0b;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}





/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------ robot in products page ---------------------------------------- */

.corner-illus{
  position: absolute;
  top: 40px;
  right: -80px;
  left: auto;
  width: min(280px, 24vw);
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
  opacity: .95;
  transform: rotate(-90deg);
}

[dir="rtl"] .corner-illus{
  right: auto;
  left: -80px;       
  top: 40px;      
  transform: translate(-8px, 0) rotate(90deg); 
}

@media (max-width: 560px){
  .corner-illus{ 
    left: 280px; 
  }

  [dir="rtl"] .corner-illus{
    left: -30px;       
  }
}

@media (max-width: 992px){
  .corner-illus{ width: min(200px, 38vw); opacity:.9; }
}

@media (max-width: 560px){
  .corner-illus{ width: 140px; opacity:.85; }
}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------- Discount & out of stock & timer badge --------------------------------- */

[dir="rtl"] .flag{ left:auto; right:10px; }

.pill.add.disabled{
  opacity:.55; cursor:not-allowed;
  filter: grayscale(.2);
}

.pcard .tile .flag{
  position: absolute;
  top: 10px;
  z-index: 999 !important;     
  pointer-events: none;        
}

.pcard .tile .flag-off{ left: 10px; right: auto; }  

.pcard .tile .flag-oos{ right: 10px; left: auto; }   

.pills{display:flex;align-items:center;gap:10px;margin-inline:6px;flex-wrap:wrap}

.pill.price{display:inline-flex;align-items:center;gap:8px;padding-inline:12px;white-space:nowrap}

.pill.price .old{opacity:.85;text-decoration:line-through;font-weight:700}

.pill.price .new{font-weight:900}

.pill.timer{display:inline-flex;align-items:center;gap:6px;font-weight:800;background:rgba(255,255,255,.12);border:1px solid var(--ring);backdrop-filter:blur(var(--blur)) saturate(140%);-webkit-backdrop-filter:blur(var(--blur)) saturate(140%)}

.tile{position:relative}

.flag{position:absolute;top:10px;z-index:2;height:28px;line-height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:800;color:#0b0b0b;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 8px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.5)}

.flag-off{left:10px;color:#0b0b0b;background:linear-gradient(90deg, color-mix(in oklab, var(--teal) 85%, #ffffff), color-mix(in oklab, var(--blue) 85%, #ffffff));border-color:transparent}

.flag-oos{right:10px;left:auto;color:#fff;background:linear-gradient(90deg,#d90429,#9b0d0d);border-color:rgba(255,255,255,.25)}

@media (max-width:420px){.pill.price .old{font-size:12px}.pill.price .new{font-size:13px}.pill.timer{font-size:12px}}






/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------ Cart style ---------------------------------------------- */

.cart-modal{ position:fixed; inset:0; display:none; }
.cart-modal[aria-hidden="false"]{ display:block; }


.cart-backdrop{
  position:fixed; inset:0; z-index:10000;
  background:rgba(10,15,25,.55);
  backdrop-filter:blur(12px) saturate(120%);
  -webkit-backdrop-filter:blur(12px) saturate(120%);
}


.cart-panel{
  position:fixed; left:50%; top:50%; transform:translate(-50%,-50%);
  z-index:10010;
  width:min(720px,94vw);
  border-radius:20px; padding:16px; color:#eaf2ff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);

  max-height:min(75vh,720px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scrollbar-gutter:stable both-edges;


  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.45) transparent;
}

.cart-panel::-webkit-scrollbar{ width:10px; }
.cart-panel::-webkit-scrollbar-track{ background:transparent; }
.cart-panel::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.35);
  border-radius:999px;
  border:2px solid rgba(255,255,255,.15);
}
.cart-panel::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.5); }


.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 4px 14px 4px; margin-bottom:6px;
  border-bottom:1px solid rgba(255,255,255,.18);
}


.cart-panel .table{
  --bs-table-color:#eaf2ff;
  --bs-table-bg:transparent;
  --bs-table-border-color:rgba(255,255,255,.15);
}


.cart-thumb{ height:38px; width:38px; object-fit:cover; border-radius:8px; }


.cart-panel::before,
.cart-panel::after{
  content:""; position:sticky; left:0; right:0; height:14px; display:block;
  pointer-events:none; z-index:4; opacity:0; transition:opacity .18s ease;
}
.cart-panel::before{ top:0; margin-top:-14px; }
.cart-panel::after{ bottom:0; margin-bottom:-14px; }
.cart-panel:not(.at-top)::before{ opacity:1; }
.cart-panel:not(.at-bottom)::after{ opacity:1; }


body.cart-locked{
  overflow:hidden;
  touch-action:none;
  overscroll-behavior:contain;
}



.cart-panel .small.text-muted{
  color:#fff !important;
  opacity:1 !important; 
}














.nav-count {
  background: #e53935;
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 18px;
  min-width: 18px;
  display: inline-block;   
  text-align: center;
  vertical-align: middle;
  margin-left: 4px;
}


html[dir="rtl"] .nav-count {
  margin-left: 0;
  margin-right: 4px;
}

.mobile-pillnav .mp-item {
  position: relative;
}

.mobile-pillnav .mp-badge {
  position: absolute;
  top: -4px;
  right: 4px;                
  background: #e53935;
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 18px;
  min-width: 18px;
  display: inline-block;     
  text-align: center;
  vertical-align: middle;
}

/* RTL position for mobile badge */
html[dir="rtl"] .mobile-pillnav .mp-badge {
  right: auto;
  left: 4px;
}



.search-select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;                   

}
.search-select-group > * + * {
  margin-top: 4px;
}


.search-select-inner {
  position: relative;
  width: 100%;
  height: 40px;
}


.cart-select {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  padding-left: 32px;       
  font-size: 0.8rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0,0,0,0.18);
  appearance: none;
  -webkit-appearance: none;
}


html[dir="rtl"] .cart-select {
  padding-left: 12px;
  padding-right: 32px;
}


.search-input-wrapper {
  position: absolute;
  top: 0;
  right: 0;                  
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* the search icon */
.cart-search-icon {
  margin-left: 10px;        
  font-size: 0.85rem;
  opacity: 0.6;
}

html[dir="rtl"] .cart-search-icon {
  margin-left: 0;
  margin-right: 10px;
}


.cart-search-input {
  pointer-events: auto;
  flex: 1 1 auto;
  max-width: 100%;          
  max-width: calc(100% - 32px);
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding-left: 8px;          
  padding-right: 8px;
  font-size: 0.8rem;
  color: #000000;
}

html[dir="rtl"] .cart-search-input {
  text-align: right;
}

.cart-search-input::placeholder {
  color: #6b7280;
  font-size: 0.75rem;
}

.cart-search-input:focus {
  outline: none;
}


.dropdown-field {
  position: relative;
  width: 100%;
}


.dropdown-display {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #ffffff;
  color: #000000;
  font-size: 0.8rem;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.dropdown-display .dropdown-placeholder {
  color: #9ca3af;
}

.dropdown-field.is-disabled .dropdown-display {
  opacity: 0.6;
  cursor: not-allowed;
}


.dropdown-display::after {
  content: '▾';
  font-size: 0.75rem;
  opacity: 0.6;
}


.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;                 
  width: 100%;
  margin-top: 4px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.4);
  border: 1px solid rgba(148,163,184,0.5);
  padding: 6px 0 6px;
  z-index: 1050;
  display: none;
}


html[dir="rtl"] .dropdown-panel {
  left: auto;
  right: 0;
}

.dropdown-panel.open {
  display: block;
}


.dropdown-search {
  width: calc(100% - 12px);
  margin: 0 6px 6px;
  padding: 6px 12px;
  border: none;
  border-radius: 999px;
  background: #d4d4d4;
  font-size: 0.8rem;
}

.dropdown-search::placeholder {
  color: #4b5563;
}

.dropdown-search:focus {
  outline: none;
  background: #c4c4c4;
}


.dropdown-list {
  max-height: 220px;
  overflow-y: auto;
}


.dropdown-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

html[dir="rtl"] .dropdown-option {
  text-align: right;
}

.dropdown-option:hover {
  background: #f3f4f6;
}





/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------ Popup Complete order ---------------------------------------------- */

.osm-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  display:none; align-items:center; justify-content:center; z-index:1100;
}
.osm-backdrop.show{ display:flex; }
.osm-card{
  width:min(92vw, 520px); background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.osm-head{
  padding:14px 16px; background:linear-gradient(90deg,#2aeaaf,#26a6fd); color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:space-between;
}
.osm-body{ padding:16px; color:#1d2b3a; }
.osm-body .muted{ color:#5b6b85; }
.osm-actions{ padding:12px 16px 16px; display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.osm-actions .btn{ border-radius:10px; }

@media (max-width:480px){
  .osm-card{ width: min(96vw, 420px); }
}



/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* ----------------------------------- add more items in cart and main page --------------------------------- */

.cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;    
  border-radius: 999px;  
}
.cart-qty-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
.cart-qty-btn:active { transform: translateY(1px); }
.cart-qty-input {
  max-width: 10px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0;
  font-size: 10px;
  box-shadow: none;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pills-add-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.prod-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
}
.prod-qty-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
.prod-qty-btn:active { transform: translateY(1px); }
.prod-qty-input {
  max-width: 10px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0;
  font-size: 13px;
}
.prod-qty-input::-webkit-outer-spin-button,
.prod-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 576px) {
  .pills-add-form { margin-top: 4px; }
}

