
:root{
  --bg:#0a0a0c;
  --bg-alt:#111114;
  --surface:#161619;
  --surface-2:#1c1c20;
  --line:#2a2a30;
  --gold:#d4af37;
  --gold-deep:#b8942e;
  --gold-soft:#e8cc6f;
  --gold-light:#f5d97c;
  --text:#ffffff;
  --text-dim:#9a9aa5;
  --denim:#3a4d70;
  --danger:#e0554b;
  --success:#3ecf8e;
  --warn:#e0a63c;
  --radius:12px;
  --maxw:1280px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden;max-width:100%}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Tajawal',sans-serif;
  direction:rtl;
  text-align:right;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4,.brand,strong{font-family:'Cairo',sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input,select,textarea{font-family:inherit;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:.85rem 1rem;width:100%;font-size:.95rem;transition:.2s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--gold)}
.container{max-width:var(--maxw);margin:0 auto;padding:0 1.5rem}

/* ====== Top Bar ====== */
.top-bar{
  background:var(--bg-alt);
  border-bottom:1px solid var(--line);
  padding:.6rem 0;
  font-size:.82rem;
}
.top-bar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.top-left{
  display:flex;
  align-items:center;
  gap:.8rem;
  color:var(--text-dim);
}
.top-left a{
  color:var(--text-dim);
  transition:.2s;
  display:flex;
  align-items:center;
  gap:.3rem;
}
.top-left a:hover{color:var(--gold)}
.top-right{
  display:flex;
  align-items:center;
  gap:1.2rem;
}
.top-right a{
  color:var(--text-dim);
  transition:.2s;
  display:flex;
  align-items:center;
  gap:.3rem;
}
.top-right a:hover{color:var(--gold)}
.divider{color:var(--line)}

/* ====== Header ====== */
.site-header{
  background:rgba(10,10,12,.95);
  backdrop-filter:blur(15px);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}
.header-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 0;
  gap:1.5rem;
}

/* Logo */
.logo{
  display:flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
}
.logo-icon{
  width:44px;height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  object-fit:contain;
}
.logo-text strong{
  font-size:1.35rem;
  letter-spacing:1.5px;
  display:block;
  line-height:1.2;
}
.logo-text small{
  font-size:.72rem;
  color:var(--text-dim);
  font-weight:400;
}

/* Navigation */
.main-nav{
  display:flex;
  align-items:center;
  gap:2rem;
}
.main-nav a{
  color:var(--text-dim);
  font-weight:600;
  font-size:.92rem;
  padding:.5rem 0;
  position:relative;
  transition:.25s;
}
.main-nav a::after{
  content:'';
  position:absolute;
  bottom:0;
  right:0;
  left:0;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transition:.25s;
}
.main-nav a:hover,
.main-nav a.active{
  color:var(--gold);
}
.main-nav a:hover::after,
.main-nav a.active::after{
  transform:scaleX(1);
}

/* Header Actions */
.header-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
}
.action-btn{
  width:42px;height:42px;
  border-radius:50%;
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.15rem;
  color:var(--text-dim);
  transition:.2s;
  cursor:pointer;
  border:none;
}
.action-btn:hover{
  background:var(--surface-2);
  color:var(--gold);
}
.cart-btn,.wishlist-btn-header{position:relative}
.cart-badge,.wishlist-badge{
  position:absolute;
  top:-4px;left:-4px;
  background:var(--gold);
  color:#000;
  font-size:.68rem;
  font-weight:800;
  min-width:18px;height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
}
.burger{display:none;font-size:1.6rem;color:var(--text)}

/* Search Dropdown */
.search-dropdown{
  max-height:0;
  overflow:hidden;
  transition:.3s;
  background:var(--bg-alt);
  border-top:1px solid var(--line);
}
.search-dropdown.show{max-height:80px;overflow:visible}
.search-input-wrap{position:relative}
.search-dropdown input{
  border-radius:0;
  border:none;
  border-bottom:2px solid var(--gold);
  background:transparent;
  padding:1rem 0;
  font-size:1rem;
  width:100%;
}
.search-dropdown input:focus{background:transparent}

.search-results-panel{
  position:absolute;
  top:100%;
  left:0;right:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-top:none;
  border-radius:0 0 12px 12px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .25s ease,opacity .2s ease;
  z-index:60;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.5);
}
.search-results-panel.show{
  max-height:380px;
  overflow-y:auto;
  opacity:1;
}
.search-result-item{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.7rem 1rem;
  border-bottom:1px solid var(--line);
  transition:.15s;
}
.search-result-item:last-child{border-bottom:none}
.search-result-item:hover{background:var(--bg-alt)}
.search-result-item img{
  width:44px;height:44px;
  border-radius:8px;
  object-fit:cover;
  flex-shrink:0;
  background:var(--bg-alt);
}
.search-result-info{flex:1;min-width:0}
.search-result-name{
  font-size:.9rem;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--text);
}
.search-result-price{
  font-size:.82rem;
  color:var(--gold);
  font-weight:700;
  margin-top:.15rem;
}
.search-result-empty{
  padding:1.2rem;
  text-align:center;
  color:var(--text-dim);
  font-size:.88rem;
}

/* ====== Marquee Bar ====== */
.marquee-bar{
  background:linear-gradient(90deg,var(--gold),var(--gold-deep),var(--gold));
  padding:.75rem 0;
  overflow:hidden;
  position:relative;
}
.marquee-content{
  display:flex;
  white-space:nowrap;
  animation:marquee 30s linear infinite;
}
.marquee-item{
  color:#000;
  font-weight:700;
  font-size:.88rem;
  padding:0 2rem;
  font-family:'Cairo',sans-serif;
}
.marquee-sep{
  color:rgba(0,0,0,.4);
  font-size:1rem;
}
.marquee-bar:hover .marquee-content{animation-play-state:paused}
@keyframes marquee{
  0%{transform:translateX(-50%)}
  100%{transform:translateX(0)}
}

/* ====== Hero Section ====== */
.hero-section{
  padding:5rem 0 4rem;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero-section::before{
  content:'';
  position:absolute;
  top:-50%;left:-50%;
  width:200%;height:200%;
  background:radial-gradient(circle at center,rgba(212,175,55,.06) 0%,transparent 50%);
  pointer-events:none;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:rgba(212,175,55,.1);
  border:1px solid rgba(212,175,55,.3);
  color:var(--gold);
  padding:.55rem 1.4rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
  margin-bottom:1.8rem;
  font-family:'Cairo',sans-serif;
}
.hero-title{
  font-size:3.8rem;
  font-weight:900;
  line-height:1.2;
  margin-bottom:1.2rem;
  letter-spacing:-1px;
  min-height:calc(1.2em * 2);
}
.gold-text{color:var(--gold)}

/* Typewriter cursor for hero title */
.hero-title.typing-cursor::after{
  content:'';
  display:inline-block;
  width:4px;
  height:.85em;
  margin-inline-start:5px;
  background:var(--gold);
  vertical-align:-0.08em;
  animation:heroCaretBlink .85s steps(1) infinite;
}
@keyframes heroCaretBlink{50%{opacity:0}}
.hero-desc{
  color:var(--text-dim);
  font-size:1.08rem;
  margin-bottom:2.2rem;
  line-height:1.9;
  max-width:550px;
  margin-left:auto;
  margin-right:auto;
}
.hero-buttons{
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

/* Buttons */
.btn-primary{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  background:var(--gold);
  color:#000;
  font-weight:800;
  font-family:'Cairo',sans-serif;
  padding:.95rem 2rem;
  border-radius:10px;
  font-size:1rem;
  transition:.25s;
  box-shadow:0 8px 25px -8px rgba(212,175,55,.5);
}
.btn-primary:hover{
  background:var(--gold-soft);
  transform:translateY(-2px);
  box-shadow:0 12px 35px -8px rgba(212,175,55,.6);
}
.btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  background:transparent;
  color:var(--text);
  font-weight:700;
  font-family:'Cairo',sans-serif;
  padding:.95rem 2rem;
  border-radius:10px;
  font-size:1rem;
  border:2px solid var(--line);
  transition:.25s;
}
.btn-secondary:hover{
  border-color:var(--gold);
  color:var(--gold);
}
.full-width{width:100%;justify-content:center}

/* ====== Stats Section ====== */
.stats-section{
  padding:3rem 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg-alt);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2rem;
  text-align:center;
}
.stat-number{
  font-size:2.4rem;
  font-weight:900;
  font-family:'Cairo',sans-serif;
  color:var(--gold);
  line-height:1;
  margin-bottom:.4rem;
}
.stat-label{
  color:var(--text-dim);
  font-size:.92rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
}

/* ====== Features Section ====== */
.features-section{
  padding:3.5rem 0;
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
}
.feature-card{
  display:flex;
  align-items:center;
  gap:1rem;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.4rem;
  transition:.25s;
}
.feature-card:hover{
  border-color:var(--gold-deep);
  transform:translateY(-3px);
}
.feature-icon{
  width:52px;height:52px;
  background:rgba(212,175,55,.1);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  color:var(--gold);
  flex-shrink:0;
  font-weight:800;
  font-family:'Cairo',sans-serif;
  font-size:1rem;
}
.discount-icon{
  background:linear-gradient(135deg,#ff4757,#ff6b81);
  color:#fff;
}

/* ====== Animated Feature Icons ====== */
.feature-icon svg{ overflow:visible }

/* Shipping truck: wheels spin, whole truck drives in place, smoke puffs */
.icon-shipping svg{ animation:truckBob 1.8s ease-in-out infinite }
.icon-shipping .truck-wheel{
  transform-origin:center;
  animation:wheelSpin .7s linear infinite;
}
.icon-shipping .truck-smoke{ animation:smokePuff 1.4s ease-in-out infinite }
@keyframes truckBob{
  0%,100%{ transform:translateX(0) }
  50%{ transform:translateX(-2px) }
}
@keyframes wheelSpin{ to{ transform:rotate(360deg) } }
@keyframes smokePuff{
  0%,100%{ opacity:.3; transform:translateX(0) }
  50%{ opacity:1; transform:translateX(-2px) }
}

/* Discount tag: diagonal shine sweeps across, tag gently tilts */
.icon-discount svg{
  animation:tagTilt 2.6s ease-in-out infinite;
  transform-origin:20% 20%;
}
.icon-discount .tag-shine{ animation:tagShine 2.2s ease-in-out infinite }
@keyframes tagTilt{
  0%,100%{ transform:rotate(0deg) }
  50%{ transform:rotate(-8deg) }
}
@keyframes tagShine{
  0%{ transform:translateX(-20px) }
  60%,100%{ transform:translateX(70px) }
}

/* Package: lid flaps open and close like it's being unwrapped */
.icon-package .box-lid-left{
  transform-origin:10px 26px;
  animation:lidLeft 2.4s ease-in-out infinite;
}
.icon-package .box-lid-right{
  transform-origin:54px 26px;
  animation:lidRight 2.4s ease-in-out infinite;
}
@keyframes lidLeft{
  0%,20%,100%{ transform:rotate(0deg) }
  50%{ transform:rotate(-18deg) }
}
@keyframes lidRight{
  0%,20%,100%{ transform:rotate(0deg) }
  50%{ transform:rotate(18deg) }
}

/* Secure payment: shield pulses, checkmark draws in on loop */
.icon-secure .shield-shape{ animation:shieldPulse 2.4s ease-in-out infinite }
.icon-secure .shield-check{ animation:checkDraw 2.4s ease-in-out infinite }
@keyframes shieldPulse{
  0%,100%{ filter:drop-shadow(0 0 0 rgba(212,175,55,0)) }
  50%{ filter:drop-shadow(0 0 4px rgba(212,175,55,.6)) }
}
@keyframes checkDraw{
  0%,15%{ stroke-dashoffset:1 }
  55%,100%{ stroke-dashoffset:0 }
}

@media (prefers-reduced-motion: reduce){
  .icon-shipping svg,.icon-shipping .truck-wheel,.icon-shipping .truck-smoke,
  .icon-discount svg,.icon-discount .tag-shine,
  .icon-package .box-lid-left,.icon-package .box-lid-right,
  .icon-secure .shield-shape,.icon-secure .shield-check{
    animation:none !important;
  }
}
.feature-info h3{
  font-size:.98rem;
  font-weight:700;
  margin-bottom:.2rem;
}
.feature-info p{
  color:var(--text-dim);
  font-size:.82rem;
}

/* ====== Sections Common ====== */
.section{padding:4.5rem 0}

/* ====== SEO Intro Section ====== */
.seo-intro-text{
  color:var(--text-dim);
  font-size:1rem;
  line-height:2.1;
  max-width:900px;
}
.seo-intro-text strong{color:var(--gold);font-weight:800}

/* ====== FAQ Section ====== */
.faq-list{
  display:flex;
  flex-direction:column;
  gap:1rem;
  max-width:850px;
}
.faq-item{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.1rem 1.4rem;
  transition:.2s;
}
.faq-item:hover{border-color:var(--gold-deep)}
.faq-item summary{
  cursor:pointer;
  font-weight:700;
  font-size:1rem;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'\002B';
  font-size:1.4rem;
  color:var(--gold);
  flex-shrink:0;
  transition:transform .25s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{
  color:var(--text-dim);
  font-size:.92rem;
  line-height:1.9;
  margin-top:.8rem;
}

.section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:2rem;
  flex-wrap:wrap;
  gap:1rem;
}
.eyebrow{
  color:var(--gold);
  font-weight:700;
  letter-spacing:2px;
  font-size:.78rem;
  display:block;
  margin-bottom:.4rem;
  font-family:'Cairo',sans-serif;
}
.section-header h2{
  font-size:2rem;
  font-weight:800;
}
.view-all{
  color:var(--gold);
  font-weight:600;
  font-size:.92rem;
  transition:.2s;
}
.view-all:hover{color:var(--gold-soft)}

/* ====== Category Filters ====== */
.category-filters{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin-bottom:2rem;
}
.cat-chip{
  padding:.65rem 1.4rem;
  border-radius:999px;
  background:var(--surface);
  border:1.5px solid var(--line);
  font-weight:600;
  font-size:.88rem;
  color:var(--text-dim);
  transition:.2s;
  cursor:pointer;
}
.cat-chip:hover,
.cat-chip.active{
  background:var(--gold);
  color:#000;
  border-color:var(--gold);
  font-weight:700;
}

/* ====== Products Grid ====== */
.products-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
}

/* Product Card Wrapper for Flip Animation */
.product-card-wrapper{
  perspective:1200px;
  height:100%;
}
.product-card-inner{
  position:relative;
  width:100%;
  height:100%;
  transition:transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style:preserve-3d;
}
.product-card-wrapper:hover .product-card-inner{
  transform:rotateY(180deg);
}

/* Front & Back Faces */
.product-front,.product-back{
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.product-back{
  transform:rotateY(180deg);
}

.product-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
}
.product-card:hover{
  box-shadow:0 15px 40px -15px rgba(0,0,0,.5);
}
.product-image{
  position:relative;
  aspect-ratio:3/4;
  overflow:hidden;
  background:var(--surface-2);
  flex-shrink:0;
}
.product-image img{
  width:100%;height:100%;
  object-fit:cover;
  transition:.5s;
}
.product-card:hover .product-image img{
  transform:scale(1.08);
}
.product-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  opacity:0;
  transition:.35s;
}
.product-card:hover .product-overlay{opacity:1}
.overlay-btn{
  width:42px;height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  color:#fff;
  transition:.2s;
  border:none;
  cursor:pointer;
}
.overlay-btn:hover{
  background:var(--gold);
  color:#000;
}
.add-cart-btn{
  width:auto;
  padding:0 1.2rem;
  border-radius:25px;
  font-size:.82rem;
  font-weight:700;
  font-family:'Cairo',sans-serif;
  gap:.4rem;
}
.product-body{
  padding:1.1rem;
}
.product-name{
  font-size:.98rem;
  font-weight:600;
  margin-bottom:.6rem;
  min-height:2.5em;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.product-name a{color:var(--text);transition:.2s}
.product-name a:hover{color:var(--gold)}
.product-meta{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-bottom:.7rem;
  font-size:.82rem;
}
.meta-label{color:var(--text-dim)}
.meta-value{
  color:var(--text);
  font-weight:600;
  font-family:'Cairo',sans-serif;
}
.product-pricing{
  display:flex;
  align-items:center;
  gap:.7rem;
}
.current-price{
  color:var(--gold);
  font-weight:800;
  font-size:1.15rem;
  font-family:'Cairo',sans-serif;
}
.old-price{
  color:var(--text-dim);
  text-decoration:line-through;
  font-size:.88rem;
}

/* Product Back Face (Flip Animation) */
.product-back{
  background:linear-gradient(145deg,var(--surface),var(--surface-2));
  border:1px solid var(--gold-deep);
  border-radius:var(--radius);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
  text-align:center;
}
.product-back .back-icon{
  font-size:3.5rem;
  color:var(--gold);
  margin-bottom:1rem;
  animation:pulseIcon 1.5s ease-in-out infinite;
}
@keyframes pulseIcon{
  0%,100%{transform:scale(1) rotate(0deg)}
  50%{transform:scale(1.15) rotate(5deg)}
}
.product-back .back-text{
  font-size:1.05rem;
  font-weight:700;
  margin-bottom:.6rem;
  font-family:'Cairo',sans-serif;
  color:var(--text);
}
.product-back .back-price{
  font-size:1.4rem;
  color:var(--gold);
  font-weight:900;
  font-family:'Cairo',sans-serif;
  margin-bottom:1.3rem;
}

/* ====== Deals/Featured Grid ====== */
.deals-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}
.deal-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:3/4;
  background:var(--surface);
}
.deal-card img{
  width:100%;height:100%;
  object-fit:cover;
  transition:.4s;
}
.deal-card:hover img{transform:scale(1.05)}
.deal-badge{
  position:absolute;
  top:1rem;right:1rem;
  background:linear-gradient(135deg,#ff4757,#ff6b81);
  color:#fff;
  font-weight:800;
  font-family:'Cairo',sans-serif;
  padding:.45rem .9rem;
  border-radius:8px;
  font-size:.9rem;
  z-index:2;
}
.deal-info{
  position:absolute;
  bottom:0;left:0;right:0;
  padding:1.2rem;
  background:linear-gradient(0deg,rgba(0,0,0,.85),transparent);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.7rem;
}
.deal-price{
  color:var(--gold);
  font-weight:900;
  font-family:'Cairo',sans-serif;
  font-size:1.1rem;
  white-space:nowrap;
}
.deal-tag{
  background:var(--gold);
  color:#000;
  font-weight:800;
  padding:.55rem 1.1rem;
  border-radius:8px;
  font-size:.85rem;
  font-family:'Cairo',sans-serif;
  display:flex;
  align-items:center;
  gap:.4rem;
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, box-shadow .2s;
  white-space:nowrap;
}
.deal-tag:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 8px 20px rgba(212,175,55,.4)}
.deal-tag.added{background:var(--success)}
.deal-card:hover .corner-heart{opacity:1;transform:translateY(0)}
@media(max-width:480px){
  .deal-price{font-size:.95rem}
  .deal-tag{padding:.5rem .8rem;font-size:.78rem}
  .deal-tag span{display:none}
}

/* ====== Footer ====== */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--line);
  padding:4rem 0 2rem;
  margin-top:3rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr 1.1fr;
  gap:2rem;
  margin-bottom:3rem;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-bottom:1rem;
}
.footer-brand strong{
  font-size:1.3rem;
  letter-spacing:1px;
}
.footer-col p{
  color:var(--text-dim);
  font-size:.9rem;
  margin-bottom:.6rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.footer-col h3{
  font-weight:700;
  margin-bottom:1.2rem;
  color:var(--gold-soft);
  font-size:1rem;
}
.footer-col a{
  display:block;
  color:var(--text-dim);
  margin-bottom:.7rem;
  font-size:.9rem;
  transition:.2s;
}
.footer-col a:hover{color:var(--gold)}
.social-links{
  display:flex;
  gap:.7rem;
  margin-top:1.2rem;
}
.social-links a{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  color:var(--text-dim);
  transition:.2s;
}
.social-links a:hover{
  background:var(--gold);
  color:#000;
}
.footer-bottom{
  text-align:center;
  padding-top:2rem;
  border-top:1px solid var(--line);
  color:var(--text-dim);
  font-size:.85rem;
}
.footer-legal-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.4rem 1.4rem;
  margin-bottom:1rem;
}
.footer-legal-links a{
  color:var(--text-dim);
  font-size:.85rem;
  transition:.2s;
}
.footer-legal-links a:hover{color:var(--gold)}

/* ====== Static / Legal Pages (about, contact, privacy, terms, returns) ====== */
.static-hero{
  padding:3.2rem 0 2.2rem;
  border-bottom:1px solid var(--line);
  background:var(--bg-alt);
  text-align:center;
}
.static-hero .breadcrumb{color:var(--text-dim);font-size:.85rem;margin-bottom:1rem}
.static-hero .breadcrumb a:hover{color:var(--gold)}
.static-hero h1{font-size:2.1rem;font-weight:900;margin-bottom:.6rem}
.static-hero p{color:var(--text-dim);max-width:560px;margin:0 auto;font-size:.98rem}
.static-eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  color:var(--gold);font-size:.8rem;font-weight:700;
  letter-spacing:1px;margin-bottom:.8rem;
  font-family:'Cairo',sans-serif;
}
.static-content{padding:3rem 0 4rem;max-width:820px;margin:0 auto}
.static-content h2{font-size:1.25rem;font-weight:800;margin:2.2rem 0 .9rem;color:var(--gold-soft)}
.static-content h2:first-child{margin-top:0}
.static-content p{color:var(--text-dim);line-height:2;margin-bottom:1rem;font-size:.98rem}
.static-content ul{margin:0 0 1.2rem;padding-inline-start:1.4rem;color:var(--text-dim);line-height:2;font-size:.98rem}
.static-content li{margin-bottom:.5rem}
.static-content strong{color:var(--text)}
.static-content .updated-note{color:var(--text-dim);font-size:.85rem;margin-bottom:2rem}
.contact-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.2rem;
  margin-bottom:2rem;
}
.contact-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:1.6rem;
  text-align:center;
}
.contact-card i{font-size:1.7rem;color:var(--gold);margin-bottom:.7rem;display:block}
.contact-card h3{font-size:1rem;margin-bottom:.4rem}
.contact-card p,.contact-card a{color:var(--text-dim);font-size:.9rem}
.contact-card a:hover{color:var(--gold)}

/* ====== Developer Credit - Chic Design with Heartbeat ====== */
.footer-dev-credit{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.5rem 1rem;
  margin-bottom:.8rem;
  font-family:'Cairo',sans-serif;
}

.credit-text{
  color:var(--text-dim);
  font-size:.9rem;
  font-weight:500;
}

/* Heartbeat Animation */
.heartbeat{
  display:inline-block;
  font-size:1.1rem;
  animation:heartbeat 1.2s ease-in-out infinite;
  filter:drop-shadow(0 0 6px rgba(224,75,85,.6));
}

@keyframes heartbeat{
  0%, 100%{ transform:scale(1); }
  14%{ transform:scale(1.25); }
  28%{ transform:scale(1); }
  42%{ transform:scale(1.15); }
  70%{ transform:scale(1); }
}

/* Developer Name Link */
.dev-name{
  position:relative;
  display:inline-flex;
  align-items:center;
  font-weight:800;
  font-size:.95rem;
  text-decoration:none;
  background:linear-gradient(90deg,var(--gold-deep) 0%,var(--gold) 30%,#fff6d8 50%,var(--gold) 70%,var(--gold-deep) 100%);
  background-size:250% auto;
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:creditShine 4s linear infinite;
  transition:all .3s ease;
  letter-spacing:.5px;
}
.dev-name:hover{
  filter:drop-shadow(0 0 8px rgba(212,175,55,.7));
  transform:translateY(-2px);
}

/* Developer Social Buttons */
.dev-social{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-right:auto; /* Push to left in RTL */
  margin-left:0;
}

.dev-social-btn{
  width:34px;height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.05rem;
  color:#fff;
  text-decoration:none;
  transition:all .3s cubic-bezier(.34,1.56,.64,1);
  position:relative;
  overflow:hidden;
}

.dev-social-btn::before{
  content:'';
  position:absolute;
  inset:0;
  background:inherit;
  opacity:0;
  transition:opacity .3s ease;
}

.facebook-btn{
  background:linear-gradient(135deg,#1877f2,#0d65d9);
  box-shadow:0 3px 10px rgba(24,119,242,.35);
}
.facebook-btn:hover{
  transform:translateY(-3px) scale(1.1);
  box-shadow:0 6px 18px rgba(24,119,242,.5);
}

.whatsapp-btn{
  background:linear-gradient(135deg,#25d366,#128c7e);
  box-shadow:0 3px 10px rgba(37,211,102,.35);
}
.whatsapp-btn:hover{
  transform:translateY(-3px) scale(1.1);
  box-shadow:0 6px 18px rgba(37,211,102,.5);
}

/* Copyright Text */
.copyright-text{
  font-size:.78rem;
  color:var(--text-dim);
  margin-top:.3rem;
}

@keyframes creditShine{
  to{ background-position:-250% center }
}

/* Mobile Responsive for Footer Credit */
@media (max-width:480px){
  .footer-dev-credit{
    flex-direction:column;
    gap:.6rem;
  }
  .dev-social{
    margin-right:0;
    order:3;
  }
  .dev-name{
    font-size:.9rem;
  }
}

@media (prefers-reduced-motion: reduce){
  .heartbeat{ animation:none }
  .dev-name{ animation:none }
}

/* ====== Auth Modal ====== */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:500;
  display:none;
  align-items:center;
  justify-content:center;
  padding:1rem;
}
.modal-overlay.show{display:flex}
.auth-modal{
  background:var(--bg-alt);
  border:1px solid var(--line);
  border-radius:16px;
  width:420px;
  max-width:100%;
  padding:2rem;
  position:relative;
  animation:modalIn .3s ease;
}
@keyframes modalIn{
  from{opacity:0;transform:scale(.95) translateY(20px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
.close-modal{
  position:absolute;
  top:1rem;left:1rem;
  width:32px;height:32px;
  border-radius:50%;
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.3rem;
  color:var(--text-dim);
  cursor:pointer;
  transition:.2s;
}
.close-modal:hover{background:var(--danger);color:#fff}
.auth-tabs{
  display:flex;
  gap:.5rem;
  margin-bottom:1.8rem;
  background:var(--surface);
  border-radius:10px;
  padding:.3rem;
}
.auth-tab{
  flex:1;
  padding:.7rem;
  border-radius:8px;
  font-weight:700;
  font-size:.9rem;
  color:var(--text-dim);
  transition:.2s;
  text-align:center;
}
.auth-tab.active{
  background:var(--gold);
  color:#000;
}
.auth-form.hidden{display:none}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:600px){.row2{grid-template-columns:1fr}}
.field{margin-bottom:1.1rem}
.field label{
  display:block;
  margin-bottom:.5rem;
  font-size:.88rem;
  font-weight:600;
  color:var(--text-dim);
}
.auth-divider{
  text-align:center;
  color:var(--text-dim);
  margin:1.2rem 0;
  position:relative;
}
.auth-divider::before,
.auth-divider::after{
  content:'';
  position:absolute;
  top:50%;
  width:calc(50% - 20px);
  height:1px;
  background:var(--line);
}
.auth-divider::before{right:0}
.auth-divider::after{left:0}
.btn-google{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  width:100%;
  padding:.85rem;
  background:#fff;
  color:#333;
  border-radius:10px;
  font-weight:600;
  font-size:.92rem;
  transition:.2s;
}
.btn-google:hover{background:#f5f5f5}

/* ====== Toast ====== */
.toast{
  position:fixed;
  bottom:2rem;
  left:50%;
  transform:translateX(-50%) translateY(20px);
  background:var(--surface-2);
  border:1px solid var(--gold-deep);
  color:var(--text);
  padding:.9rem 1.6rem;
  border-radius:10px;
  z-index:600;
  opacity:0;
  transition:.3s;
  font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
  pointer-events:none;
}
.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* ====== Loading & Empty States ====== */
.loading-state{
  grid-column:1/-1;
  text-align:center;
  padding:4rem 0;
  color:var(--text-dim);
}
.empty-state{
  grid-column:1/-1;
  text-align:center;
  padding:4rem 1rem;
  color:var(--text-dim);
}
.empty-state i{
  font-size:3.5rem;
  color:var(--line);
  display:block;
  margin-bottom:1rem;
}

/* ====== Responsive ====== */
@media(max-width:1024px){
  .products-grid{grid-template-columns:repeat(3,1fr)}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .deals-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .top-bar{display:none}
  .main-nav{display:none !important}
  .burger{display:none !important}
  .hero-title{font-size:2.6rem}
  .stats-grid{grid-template-columns:repeat(3,1fr);gap:1rem}
  .stat-number{font-size:1.8rem}
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .features-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr 1fr;gap:2rem}
  .deals-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .hero-title{font-size:2rem}
  .stats-grid{grid-template-columns:1fr 1fr 1fr}
  .products-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .btn-primary,.btn-secondary{padding:.8rem 1.4rem;font-size:.9rem}
}

/* ==========================================================
   ====== TIGER JEANS v2 — Animations & New Interactions =====
   ========================================================== */

/* ---- Badge bump animation (cart & wishlist) ---- */
@keyframes badgeBump{
  0%{transform:scale(1)}
  35%{transform:scale(1.45)}
  60%{transform:scale(.9)}
  100%{transform:scale(1)}
}
.cart-badge.bump,.wishlist-badge.bump{animation:badgeBump .45s cubic-bezier(.34,1.56,.64,1)}

/* ---- Scroll reveal ---- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  will-change:transform,opacity;
}
.reveal.in{opacity:1;transform:translateY(0)}
.reveal-scale{opacity:0;transform:scale(.92);transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1)}
.reveal-scale.in{opacity:1;transform:scale(1)}

/* ---- Redesigned Product Card (v2) ---- */
.product-card-wrapper{perspective:none}
.product-card-inner{transform:none !important;transition:none !important}
.product-front{position:relative !important;inset:auto !important;backface-visibility:visible !important}
.product-back{display:none !important}

.product-card.v2{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
  transition:transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .3s ease;
}
.product-card.v2:hover{
  transform:translateY(-8px);
  border-color:var(--gold-deep);
  box-shadow:0 25px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.15);
}
.product-image.v2{position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--surface-2)}
.product-image.v2 img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:opacity .5s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.product-image.v2 .img-primary{opacity:1;transform:scale(1)}
.product-image.v2 .img-secondary{opacity:0}
.product-card.v2:hover .img-primary{opacity:0;transform:scale(1.1)}
.product-card.v2:hover .img-secondary{opacity:1;transform:scale(1.1)}

.corner-heart{
  position:absolute;
  top:.7rem;left:.7rem;
  width:38px;height:38px;
  border-radius:50%;
  background:rgba(10,10,12,.55);
  backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:1.05rem;
  z-index:3;
  opacity:0;
  transform:translateY(-10px);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), background .25s, color .25s, opacity .3s ease;
  border:1px solid rgba(255,255,255,.12);
}
.product-card.v2:hover .corner-heart{opacity:1;transform:translateY(0)}
.corner-heart.active{opacity:1;transform:translateY(0)}
.corner-heart:hover{transform:scale(1.12)}
@media(max-width:768px){
  .corner-heart{opacity:1;transform:translateY(0)}
  .product-overlay.v2 .overlay-btn{opacity:1;transform:translateY(0)}
}
.corner-heart.active{
  background:var(--gold);
  color:#000;
  border-color:var(--gold);
  animation:heartPop .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes heartPop{
  0%{transform:scale(1)}
  40%{transform:scale(1.35) rotate(-8deg)}
  70%{transform:scale(.92) rotate(4deg)}
  100%{transform:scale(1) rotate(0)}
}

.product-badge-tag{
  position:absolute;top:.7rem;right:.7rem;
  z-index:3;
  padding:.3rem .7rem;
  border-radius:20px;
  font-size:.7rem;
  font-weight:800;
  font-family:'Cairo',sans-serif;
  background:linear-gradient(135deg,var(--gold),var(--gold-soft));
  color:#000;
  box-shadow:0 4px 14px rgba(212,175,55,.4);
}
.product-badge-tag.sale{background:linear-gradient(135deg,var(--danger),#c9403a);color:#fff;box-shadow:0 4px 14px rgba(224,85,75,.4)}

.product-overlay.v2{
  position:absolute;inset:auto 0 0 0;
  display:flex;
  gap:.5rem;
  padding:.8rem;
  background:linear-gradient(0deg,rgba(0,0,0,.75) 0%,rgba(0,0,0,0) 100%);
  z-index:2;
}
.product-overlay.v2 .overlay-btn{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .35s ease, transform .35s cubic-bezier(.34,1.2,.64,1), background .2s, color .2s;
  transition-delay:calc(var(--d,0) * .07s);
}
.product-card.v2:hover .product-overlay.v2 .overlay-btn{
  opacity:1;
  transform:translateY(0);
}
.product-overlay.v2 .overlay-btn.eye-btn{
  width:42px;flex-shrink:0;
}
.product-overlay.v2 .add-cart-btn{flex:1;justify-content:center}
.add-cart-btn.added{background:var(--success) !important;color:#000 !important}

/* ---- Fly to cart flying icon ---- */
.fly-icon{
  position:fixed;
  z-index:9999;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--gold);
  display:flex;align-items:center;justify-content:center;
  color:#000;font-size:.9rem;
  pointer-events:none;
  transition:transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s ease, left .7s cubic-bezier(.2,.8,.2,1), top .7s cubic-bezier(.2,.8,.2,1);
  box-shadow:0 4px 14px rgba(212,175,55,.5);
}

/* ---- Quick View Modal ---- */
.qv-modal{
  background:var(--bg-alt);
  border:1px solid var(--line);
  border-radius:18px;
  width:820px;max-width:100%;
  max-height:88vh;
  overflow:auto;
  position:relative;
  animation:modalIn .35s cubic-bezier(.16,1,.3,1);
  display:grid;
  grid-template-columns:1fr 1fr;
}
.qv-modal .qv-image{aspect-ratio:3/4;background:var(--surface);overflow:hidden}
.qv-modal .qv-image img{width:100%;height:100%;object-fit:cover}
.qv-modal .qv-info{padding:2rem}
.qv-modal .qv-info h2{font-size:1.4rem;margin-bottom:.6rem}
.qv-modal .qv-price{font-size:1.6rem;color:var(--gold);font-weight:900;font-family:'Cairo',sans-serif;margin-bottom:1rem;display:flex;align-items:center;gap:.7rem}
.qv-modal .qv-price .old-price{font-size:1rem;color:var(--text-dim);text-decoration:line-through;font-weight:600}
.qv-modal .qv-desc{color:var(--text-dim);font-size:.92rem;margin-bottom:1.2rem;line-height:1.8}
.qv-modal .qv-actions{display:flex;gap:.7rem;margin-top:1.4rem}
@media(max-width:700px){
  .qv-modal{grid-template-columns:1fr}
  .qv-modal .qv-image{aspect-ratio:4/3}
}

/* ---- Scroll to top button ---- */
.scroll-top-btn{
  position:fixed;
  bottom:1.6rem;right:1.6rem;
  width:48px;height:48px;
  border-radius:50%;
  background:var(--gold);
  color:#000;
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;
  z-index:400;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s;
  box-shadow:0 8px 24px rgba(212,175,55,.4);
}
.scroll-top-btn.show{opacity:1;visibility:visible;transform:translateY(0)}
.scroll-top-btn:hover{transform:translateY(-4px) scale(1.05)}

/* ---- Hero floating ambient shapes ---- */
.hero-section{position:relative;overflow:hidden}
.hero-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.25;
  pointer-events:none;
  z-index:0;
}
.hero-blob.b1{width:340px;height:340px;background:var(--gold);top:-100px;right:-60px;animation:floatBlob 9s ease-in-out infinite}
.hero-blob.b2{width:260px;height:260px;background:var(--denim);bottom:-80px;left:-40px;animation:floatBlob 11s ease-in-out infinite reverse}
@keyframes floatBlob{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(20px,-25px) scale(1.08)}
}
.hero-section .container{position:relative;z-index:1}

/* ---- Image skeleton shimmer (while loading) ---- */
.img-skeleton{
  background:linear-gradient(110deg,var(--surface) 30%,var(--surface-2) 50%,var(--surface) 70%);
  background-size:200% 100%;
  animation:shimmer 1.4s infinite;
}
@keyframes shimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

/* ---- Generic button micro-interaction ---- */
.btn-primary,.btn-secondary{transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease}
.btn-primary:active,.btn-secondary:active{transform:scale(.96)}

/* ---- Nav link underline extra shine already exists; add cat-chip motion ---- */
.cat-chip{transition:transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s}
.cat-chip:hover{transform:translateY(-2px)}

@media(max-width:768px){
  .corner-heart{width:34px;height:34px;font-size:.95rem}
}

/* =========================================================
   PREMIUM MOBILE NAVIGATION SYSTEM
   Floating glassmorphism bottom nav (store + admin)
   Light/Dark theme + RTL/LTR support
   ========================================================= */

/* ---- Light theme tokens (default stays dark) ---- */
:root[data-theme="light"]{
  --bg:#f6f6f8;
  --bg-alt:#ffffff;
  --surface:#ffffff;
  --surface-2:#f0f0f3;
  --line:#e4e4ea;
  --text:#121214;
  --text-dim:#68686f;
}
:root[data-theme="light"] .hero-blob{opacity:.12}
:root[data-theme="light"] .img-skeleton{background:linear-gradient(110deg,#eee 30%,#f6f6f8 50%,#eee 70%)}

.theme-toggle{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--surface);border:1px solid var(--line);
  color:var(--text);transition:.25s;
}
.theme-toggle:active{transform:scale(.9)}

/* ---- Bottom Navigation shell (shared by store + admin) ---- */
.bottom-nav{
  display:none;
  position:fixed;
  bottom:calc(14px + env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 22px);
  max-width:480px;
  z-index:400;
  background:color-mix(in srgb, var(--surface) 68%, transparent);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
  border:1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius:24px;
  box-shadow:0 12px 34px rgba(0,0,0,.35), 0 2px 10px rgba(0,0,0,.18);
  padding:6px;
}
.bottom-nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-around;
}
.bottom-nav a{
  position:relative;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:9px 2px 7px;
  border-radius:16px;
  color:var(--text-dim);
  font-size:.65rem;
  font-weight:700;
  white-space:nowrap;
  transition:color .25s ease, background .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.bottom-nav a i{
  font-size:1.32rem;
  line-height:1;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.bottom-nav a span{transition:opacity .2s ease}
.bottom-nav a:active{transform:scale(.92)}
.bottom-nav a.active{color:var(--gold);background:color-mix(in srgb, var(--gold) 12%, transparent)}
.bottom-nav a.active i{transform:translateY(-2px) scale(1.12)}
.bottom-nav a.active::after{
  content:"";
  position:absolute;
  top:4px;
  inset-inline-start:50%;
  transform:translateX(-50%);
  width:4px;height:4px;border-radius:50%;
  background:var(--gold);
}
.bn-badge{
  position:absolute;
  top:2px;
  inset-inline-end:16%;
  min-width:15px;height:15px;
  border-radius:50%;
  background:var(--danger);
  color:#fff;
  font-size:.6rem;
  font-weight:800;
  display:none;
  align-items:center;
  justify-content:center;
  padding:0 3px;
}

/* Show bottom nav + reserve space only on mobile/tablet */
@media (max-width:991px){
  .bottom-nav{display:block}
  .bottom-nav-inner{display:flex}
}

/* ---- Store frontend: reserve scroll space so content isn't hidden ---- */
@media (max-width:991px){
  body{padding-bottom:96px}
  .site-header .burger{display:none !important}
  .main-nav{display:none !important}
  .container{padding:0 1rem}
  
  /* ====== MOBILE HEADER FIX - Prevent icons overlapping logo ====== */
  .header-main{
    padding:.7rem 0;
    gap:.8rem;
  }
  
  /* Logo - smaller on mobile */
  .logo-icon{
    width:36px;height:36px;
  }
  .logo-text strong{
    font-size:1.05rem;
    letter-spacing:1px;
  }
  .logo-text small{
    font-size:.65rem;
  }
  
  /* Header actions - compact on mobile */
  .header-actions{
    gap:.35rem;
  }
  .action-btn{
    width:36px;height:36px;
    font-size:.95rem;
  }
  .theme-toggle{
    width:32px;height:32px;
    font-size:.85rem;
  }
  
  /* Badge positioning for mobile */
  .cart-badge,.wishlist-badge{
    top:-3px;left:-3px;
    min-width:15px;height:15px;
    font-size:.6rem;
  }
}

/* Extra small phones */
@media (max-width:380px){
  .logo-text strong{
    font-size:.9rem;
  }
  .logo-text small{
    display:none; /* Hide Arabic subtitle on very small screens */
  }
  .action-btn{
    width:33px;height:33px;
    font-size:.85rem;
  }
  .header-actions{
    gap:.25rem;
  }
}
@media (max-width:480px){
  .container{padding:0 .85rem}
}

/* ---- Admin: sidebar becomes a bottom nav below 992px ---- */
@media (max-width:991px){
  .admin-sidebar{display:none !important}
  .admin-main{margin-right:0 !important;margin-left:0 !important;padding:1.2rem 1rem 110px !important}
}
@media (min-width:992px){
  .admin-bottom-nav{display:none !important}
}

/* ---- Quick Categories Sheet (opens from bottom-nav "الأقسام") ---- */
.cat-sheet{
  position:fixed;
  left:50%;
  bottom:calc(88px + env(safe-area-inset-bottom));
  transform:translateX(-50%) translateY(12px);
  width:calc(100% - 22px);
  max-width:480px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  pointer-events:none;
  z-index:399;
  background:color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 12px 34px rgba(0,0,0,.35);
  transition:max-height .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease, transform .25s ease;
}
.cat-sheet.show{
  max-height:220px;
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}
.cat-sheet-inner{
  padding:.9rem;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  overflow-y:auto;
  max-height:220px;
}
.cat-sheet-inner .cat-chip{flex:0 0 auto}
@media (min-width:992px){ .cat-sheet{display:none} }
