:root{
  --lux-black: #0b0b0b;
  --lux-black-soft: #111111;
  --lux-gold: #d4af37;
  --lux-gold-soft: #c9a227;
  --lux-card: #111111;
  --lux-border: rgba(212,175,55,0.25);
  --lux-text-dim: #b8b8b8;
}

/* ===============================
   💰 GLOBAL PRICE DISPLAY
================================ */

.price-current{
  color:var(--lux-gold);
  font-weight:700;
}

.price-original{
  text-decoration:line-through;
  color:#666;
  font-size:11px;
  font-weight:400;
  margin-left:4px;
}

.price-badge{
  background:rgba(76,175,80,0.18);
  color:#4caf50;
  font-size:10px;
  padding:2px 6px;
  border-radius:4px;
  font-weight:600;
  margin-left:4px;
}

/* Form inline error/success messages */
.auth-error-msg{
  background:rgba(229,115,115,0.10);
  border:1px solid rgba(229,115,115,0.30);
  color:#e57373;
  padding:10px 14px;
  border-radius:8px;
  font-size:13px;
  margin:4px 0 8px;
  display:none;
}

.auth-success-msg{
  background:rgba(76,175,80,0.10);
  border:1px solid rgba(76,175,80,0.30);
  color:#4caf50;
  padding:10px 14px;
  border-radius:8px;
  font-size:13px;
  margin:4px 0 8px;
  display:none;
}

.horizontal-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:10px;
}

.horizontal-scroll::-webkit-scrollbar{
  display:none;
}

.horizontal-scroll .card{
  flex:0 0 240px;   /* 🔥 controlled width */
}

@media(max-width:768px){

  .horizontal-scroll .card{
    flex:0 0 48%;   /* 🔥 perfect 2 items */
  }

}

.show-more-card{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed rgba(212,175,55,0.4);
  cursor:pointer;
  font-size:14px;
  transition:0.2s;
}

.show-more-card:hover{
  background:rgba(212,175,55,0.1);
}

/* ===============================
   📦 ORDER CARDS PREMIUM
=============================== */

.orders-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.order-card{
  background:#0b0b0b;
  border:1px solid rgba(212,175,55,0.2);
  border-radius:12px;
  padding:16px;
}

.order-head{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
  color:var(--lux-gold);
  font-weight:600;
}

.order-status{
  font-size:12px;
  color:#aaa;
}

.order-items{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.order-item{
  display:flex;
  gap:10px;
  align-items:center;
}

.order-item img{
  width:50px;
  height:50px;
  object-fit:cover;
  border-radius:6px;
}

.order-total{
  margin-top:12px;
  font-weight:600;
  color:var(--lux-gold);
}

/* ===============================
   🚚 ORDER STATUS COLORS
=============================== */

.status-placed{ color:#e6c65a; }
.status-confirmed{ color:#4caf50; }
.status-packed{ color:#4caf50; }
.status-shipped{ color:#2196f3; }
.status-out{ color:#ff9800; }
.status-delivered{ color:#00c853; }
.status-cancelled{ color:#f44336; }

/* ===============================
   🚚 ORDER TIMELINE PREMIUM
=============================== */

.order-timeline{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.t-step{
  font-size:11px;
  padding:4px 8px;
  border:1px solid #444;
  border-radius:20px;
  color:#666;
}

.t-step.active{
  background:rgba(212,175,55,0.15);
  border-color:var(--lux-gold);
  color:var(--lux-gold);
}

.qty-box{
  display:flex;
  align-items:center;
  gap:14px;
  margin:12px 0;
}

.qty-box button{
  width:42px;
  height:36px;
  border:1px solid var(--lux-gold);
  background:transparent;
  color:var(--lux-gold);
  cursor:pointer;
  font-size:18px;
  transition:0.2s;
}

.qty-box button:hover{
  background:var(--lux-gold);
  color:#000;
}

html{
  scroll-behavior: smooth;
}

/* ===============================
   🛒 PRIMARY BUTTON (GOLD)
   =============================== */

.add-btn {
  background: #d4af37 !important;
  color: #000 !important;
  border: none;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.add-btn:hover {
  background: #e6c65a !important;
  transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header{
  height:125px;
  display: flex;
  align-items:center;
  padding:0 40px;
  position:sticky;
  top:0;
  z-index: 9999;
  overflow: visible;

  transform: translateZ(0);
  backface-visibility: hidden;

  /* PREMIUM GLASS DARK */
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  border-bottom:1px solid rgba(212,175,55,0.12);
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.55),
    0 1px 0 rgba(212,175,55,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;
  background:linear-gradient(
    to right,
    transparent 0%,
    rgba(212,175,55,0.45) 30%,
    rgba(212,175,55,0.7) 50%,
    rgba(212,175,55,0.45) 70%,
    transparent 100%
  );
  pointer-events:none;
}

/* scrolled state - handled by JS */
.header.scrolled{
  background: rgba(8,8,8,0.95);
  box-shadow:
    0 6px 32px rgba(0,0,0,0.7),
    0 1px 0 rgba(212,175,55,0.12);
}

.brand-main{
  font-family:'Cinzel', serif;
  font-size:20px;
  letter-spacing:2px;
  color:var(--lux-gold);
  display:block;
}

.brand-sub{
  font-family:'Montserrat', sans-serif;
  font-size:10px;
  letter-spacing:6px;
  color:#aaa;
  display:block;
  margin-top:2px;
}

.brand-logo{
  height:70px;
  width:auto;
  display:block;
  transition:transform .3s ease;
}

.brand-logo:hover{
  transform: scale(1.03);
}

@media (max-width:768px){

  .brand-logo{
    height:55px;
  }

  .nav-center{
    flex:0 0 auto;
  }

}

.cart-float-btn{
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%) translateY(100px);
  
  background:linear-gradient(135deg,#d4af37,#e6c65a);
  color:#000;
  padding:14px 28px;
  border-radius:40px;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.5px;

  box-shadow:
    0 10px 30px rgba(212,175,55,0.4),
    0 0 0 1px rgba(212,175,55,0.2);

  cursor:pointer;
  z-index:9999;
  opacity:0;

  transition:all 0.4s ease;
}

/* 🔥 visible state */
.cart-float-btn.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* hover premium */
.cart-float-btn:hover{
  transform:translateX(-50%) translateY(-2px) scale(1.02);
  box-shadow:
    0 14px 40px rgba(212,175,55,0.5);
}

.footer-logo{
  width:40px;
  height:40px;
  object-fit:cover;
  border-radius:50%;
  border:1px solid rgba(212,175,55,0.3);
}

header,
.navbar{
  min-height: 130px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.brand-name{
  color:#d4af37;
  font-family:'Cormorant Garamond', serif;
  font-size:34px;
  font-weight:700;
  line-height:1;
  letter-spacing:1px;
}

.brand-subtitle{
  color:#d4af37;
  font-size:11px;
  letter-spacing:6px;
  margin-top:2px;
}

.brand-text{
  margin-top:2px;
  text-align:center;
}

.nav-center{
  text-align:center;
  font-family:'Montserrat',sans-serif;
  color:var(--lux-gold);
  flex:0 0 250px;

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:0;
  line-height:1;
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  min-width:0;
}

.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  min-width:0;
  gap: 16px;
}

.nav-left a{
  white-space:nowrap;
}

.nav-icon-btn{
  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(212,175,55,.25);
  border-radius:10px;

  cursor:pointer;

  transition:.25s ease;
}

.nav-icon-btn:hover{
  background:rgba(212,175,55,.08);
  border-color:#d4af37;
  transform:translateY(-2px);
}

@media (max-width:768px){
  .nav-icon-btn{
    display:none;
  }
}

.user-area {
  color: var(--lux-gold);
  font-weight: 600;
  cursor: pointer;
  padding: 7px 10px;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 8px;
  transition: all 0.2s ease;
  background: rgba(212,175,55,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-area:hover {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
}

.user-area:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
}

.user-area svg{
  transition: transform 0.2s ease;
}

.user-area:hover svg{
  transform:scale(1.12);
}

.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(212,175,55,0.04);
  transition: background 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.hamburger:hover {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.45);
}

.hamburger:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
}

.hamburger .bar {
  width: 18px;
  height: 2px;
  background: var(--lux-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  display: block;
}

.hamburger .bar:nth-child(2) {
  width: 13px;
  align-self: flex-end;
  margin-right: 11px;
}

/* open state - X shape */
.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 18px;
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 18px;
}

.cart-icon{
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  position:relative;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.18);
  background: rgba(212,175,55,0.04);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-icon:hover {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
}

.cart-icon:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
}

.cart-icon svg{
  transition: transform 0.2s ease;
}

.cart-icon:hover svg{
  transform:scale(1.1);
}

/* count badge */
#cartCount{
  position:absolute;
  top:-8px;
  right:-8px;

  background: linear-gradient(135deg, #d4af37, #f0d878);
  color:#000;
  font-size:9px;
  font-weight:700;

  padding:2px 5px;
  border-radius:10px;
  min-width:16px;
  text-align:center;
  line-height:1.4;
  box-shadow: 0 2px 6px rgba(212,175,55,0.4);
}

/* ===== SIDE MENU ===== */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #0c0c0c 0%, #080808 100%);
  border-right: 1px solid rgba(212,175,55,0.18);
  padding: 0;
  transition: left 0.38s cubic-bezier(0.4,0,0.2,1), box-shadow 0.38s ease;
  z-index: 10000;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.side-menu.active {
  left: 0;
  box-shadow:
    6px 0 40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(212,175,55,0.06);
}

/* Side menu header bar */
.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  background: rgba(212,175,55,0.03);
  flex-shrink: 0;
}

.side-menu-logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.side-menu-body {
  padding: 12px 0 24px;
  flex: 1;
}

.side-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  color: rgba(212,175,55,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.side-menu a:hover {
  color: var(--lux-gold);
  background: rgba(212,175,55,0.06);
  border-left-color: var(--lux-gold);
  padding-left: 24px;
}

.submenu {
  display: none;
  padding: 4px 0 4px 20px;
  background: rgba(0,0,0,0.3);
  border-left: 2px solid rgba(212,175,55,0.1);
  margin: 0 0 4px 20px;
  border-radius: 0 0 6px 6px;
}

.submenu div {
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(212,175,55,0.6);
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-left: 2px solid transparent;
}

.submenu div:hover {
  color: var(--lux-gold);
  padding-left: 18px;
  border-left-color: rgba(212,175,55,0.5);
}

.menu-item {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  color: rgba(212,175,55,0.75);
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-item:hover {
  color: var(--lux-gold);
  background: rgba(212,175,55,0.06);
  border-left-color: var(--lux-gold);
}

.menu-item .menu-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.menu-item.open .menu-arrow {
  transform: rotate(180deg);
}

.menu-title {
  padding: 18px 20px 6px;
  color: rgba(212,175,55,0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.menu-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--lux-gold);
  font-size: 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu-close:hover {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.4);
}

.menu-close:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
  z-index: 9998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== BUTTON ===== */
button:hover {
  opacity: 0.9;
}

/* ===== PAGE TRANSITION ===== */
.page-transition{
  position:fixed;
  inset:0;
  background:#000;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.35s ease;
}

.page-transition.active{
  opacity:1;
  pointer-events:auto;
}

.logo-text{
  color:var(--lux-gold);
  font-size:28px;
  letter-spacing:4px;
  font-family:'Montserrat',sans-serif;
  animation:fadeLogo 0.5s ease;
}

@keyframes fadeLogo{
  from{ opacity:0; transform:scale(0.9); }
  to{ opacity:1; transform:scale(1); }
}

/*new logo*/

.transition-logo{
  width:160px;
  opacity:0;
  transform:scale(0.85);
  filter: drop-shadow(0 0 0px rgba(212,175,55,0));
}

/* 🔥 animation ONLY when active */
.page-transition.active .transition-logo{
  animation:logoPremium 0.7s ease forwards;
}

@keyframes logoPremium{
  0%{
    opacity:0;
    transform:scale(0.8);
    filter: drop-shadow(0 0 0px rgba(212,175,55,0));
  }
  50%{
    opacity:1;
    transform:scale(1.05);
    filter: drop-shadow(0 0 16px rgba(212,175,55,0.6));
  }
  100%{
    opacity:0;
    transform:scale(1.1);
    filter: drop-shadow(0 0 0px rgba(212,175,55,0));
  }
}

@media (max-width:768px){
  .transition-logo{
    width:120px;
  }
}

@keyframes logoFade{
  from{
    opacity:0;
    transform:scale(0.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

.out-stock-btn{
  background:#333;
  color:#aaa;
  border:none;
  padding:14px 26px;
  font-weight:600;
  cursor:not-allowed;
  width:100%;
  letter-spacing:1px;
}

/* ⭐ PREMIUM WISHLIST BUTTON */

/* ===============================
   🎯 PRODUCT ACTION BUTTONS SYNC
================================ */

.add-btn,
.wishlist-btn{
  width:100%;
  height:48px;            /* ⭐ fixed equal height */
  padding:0 24px;         /* ⭐ remove vertical padding difference */
  font-weight:600;
  font-family:'Montserrat',sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
}

.back-home-btn{
  background: transparent;
  border: 1px solid var(--lux-gold);
  color: var(--lux-gold);
  padding: 6px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.25s ease;
}

.back-home-btn:hover{
  background:var(--lux-gold);
  color:#000;
}


/* secondary button */
/* ===============================
   ❤️ WISHLIST BUTTON
   =============================== */

.wishlist-btn {
  width: 100%;
  padding: 14px 24px;
  margin-top: 12px;
  background: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* hover */
.wishlist-btn:hover {
  background: rgba(212,175,55,0.08);
}

/* ⭐ ACTIVE STATE (VERY IMPORTANT) */
.wishlist-btn.active {
  background: #d4af37;
  color: #000;
  border-color: #d4af37;
}

.w-remove{
  position:absolute;
  top:6px;
  right:6px;
  background:#000;
  color:var(--lux-gold);
  border:1px solid var(--lux-gold);
  width:20px;
  height:20px;
  font-size:14px;
  cursor:pointer;
}

.wish-name{
  font-size:13px;
  margin-top:6px;
}

.wish-price{
  color:var(--lux-gold);
  font-size:13px;
}

.wishlist-card{
  position:relative;
  cursor:pointer;
  transition:0.25s ease;
}

.wishlist-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(212,175,55,0.15);
}

html, body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  background-color:#121212;
  padding:0;
  width:100%;
  overflow-x:hidden;
  background:#121212;
}

.nav-center,
.hero h1{
  font-family:'Cinzel',serif;
}

.hero{
  height:70vh;
  min-height:420px;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.85)),
    url("https://images.unsplash.com/photo-1594035910387-fea47794261f?q=80&w=1600&auto=format&fit=crop")
    center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
}

.hero h1{
  font-size:48px;
  color:var(--lux-gold);
  letter-spacing:2px;
  margin-bottom:10px;
}

.hero p{
  color:#ddd;
  margin-bottom:22px;
}

.hero-btn{
background:rgba(0,0,0,0.25);
color:#d4af37;
border:1px solid rgba(212,175,55,0.7);
padding:14px 32px;
font-weight:600;
cursor:pointer;
letter-spacing:1px;
transition:all 0.3s ease;
backdrop-filter:blur(4px);
position:relative;
overflow:hidden;
}

.hero-btn:active{
  transform:scale(0.98);
  background:#d4af37;
  color:#000; 
}

/* 🔥 FIX STUCK COLOR */
.hero-btn:focus{
  outline:none;
  background:rgba(0,0,0,0.25);
  color:#d4af37;
}

.hero-btn:focus-visible{
  outline:none;
}

button:focus,
button:active{
  outline:none;
  box-shadow:none;
}

button{
  -webkit-tap-highlight-color: transparent;
}

.hero-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.4),
    transparent
  );
  transition:0.5s;
}

.hero-btn:hover::before{
  left:100%;
}

.hero-btn:hover{
  background:#d4af37;
  color:#000;
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(212,175,55,0.35);
}

.arabic-decor{
  position:absolute;
  font-family:'Amiri',serif;
  font-size:120px;
  color:rgba(212,175,55,0.06);
  pointer-events:none;
  user-select:none;
  z-index:0;
}

.a1{ top:10%; left:5%; }
.a2{ bottom:10%; right:5%; }

@media (max-width:768px){
  .hero h1{
    font-size:32px;
  }

  .hero{
    opacity: 100%;
    height:55vh;
  }

  .header{
    height: 85px;
    padding:0 14px;
    background: rgba(8,8,8,0.82);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom:1px solid rgba(212,175,55,.25);
  }

    .brand-subtitle{
    font-size:8px;
    letter-spacing:3px;
  }

    .brand-name{
    font-size:18px;
  }

  .brand-logo{
    height: 42px;
  }
}

.profile-icon{
  width:22px;
  height:22px;
  opacity:0.9;
  transition:0.2s;
}

.profile-icon:hover{
  opacity:1;
  transform:scale(1.1);
}

.search-icon{
  width: 36px;
  height: 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border: 1px solid rgba(212,175,55,0.18);
  cursor:pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  background: rgba(212,175,55,0.04);
}

.search-icon img{
  width:18px;
  height:18px;
  opacity:0.8;
}

.search-icon:hover{
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.4);
}

.search-icon:hover img{
  opacity:1;
  transform:scale(1.1);
}

.search-icon:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
}

@media (max-width:768px){
  .nav-right{
    gap:8px;
  }

  .search-icon{
    width:34px;
    height:34px;
  }
}

.search-overlay{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  display:none; /* 🔥 default hidden */

  align-items:center;
  justify-content:center;

  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);

  z-index:9999;
}

.search-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.search-box{
  width:90%;
  max-width:600px;
}

.search-box input{
  width:100%;
  padding:14px;
  background:#111;
  border:1px solid rgba(212,175,55,0.3);
  color:white;
  font-size:16px;
  outline:none;
}

#searchInput{
  width:100%;
  padding:16px;
  font-size:16px;
  border-radius:10px;
  border:1px solid rgba(212,175,55,0.3);
  background:#000;
  color:#fff;
}

#searchResults{
  margin-top:10px;
  max-height:300px;
  overflow-y:auto;
}

.search-item{
  display:flex;
  gap:10px;
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,0.05);
  cursor:pointer;
}

.search-item img{
  width:50px;
  height:50px;
  object-fit:cover;
  border-radius:6px;
}

.search-item:hover{
  background:rgba(212,175,55,0.1);
}

.products-section{
  background:
    radial-gradient(
      circle at top,
      rgba(212,175,55,0.1),
      transparent 40%
    ),
    linear-gradient(#161616,#101010);
}

.lux-divider{
  height:1px;
  width:100%;
  background:linear-gradient(
    to right,
    transparent,
    rgba(212,175,55,0.35),
    transparent
  );
}

.nav-menu{
  display:flex;
  gap:14px;
  align-items:center;
  font-size:13px;
  font-weight:500;
  letter-spacing:0.8px;
  text-transform:uppercase;
  color:var(--lux-gold);
  z-index: 10001;
}
.nav-menu > div,
.nav-item{
  white-space:nowrap;
}

.nav-menu > div{
  cursor:pointer;
  position:relative;
  display:flex;
  align-items:center;
  padding: 8px 14px;
  min-height:36px;
  line-height:1.2;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  color: rgba(212,175,55,0.85);
}

.nav-menu > div::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px);
  height: 1px;
  background: var(--lux-gold);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-menu > div:hover {
  background: rgba(212,175,55,0.07);
  color: var(--lux-gold);
}

.nav-menu > div:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu > div.nav-active {
  color: var(--lux-gold);
}

.nav-menu > div.nav-active::after {
  transform: translateX(-50%) scaleX(1);
  background: var(--lux-gold);
  opacity: 0.7;
}

.nav-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:4px;
  padding: 8px 14px !important;
  line-height:1.2;
}

.nav-item .nav-caret{
  font-size:11px;
  line-height:1;
  transform:translateY(-1px);
}

/* bridge gap between nav-item and dropdown */
.nav-item::before{
  content:"";
  position:absolute;
  bottom:-8px;
  left:0;
  width:100%;
  height:12px;
  background:transparent;
}

.nav-item::after{
  content:"";
  position:absolute;
  bottom:2px;
  left:50%;
  transform:translateX(-50%) scaleX(0);
  width:calc(100% - 28px);
  height:1px;
  background:var(--lux-gold);
  transition:transform 0.25s ease;
  transform-origin:center;
}

.nav-item:hover::after{
  transform:translateX(-50%) scaleX(1);
}

/* DROPDOWN */
.nav-dropdown{
  position:absolute;
  top:calc(100% + 6px);
  left:0;

  background: rgba(12,12,12,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border:1px solid rgba(212,175,55,0.18);
  border-radius: 10px;

  min-width:190px;
  padding:8px 0;

  display:none;
  z-index:10000;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(212,175,55,0.06);

  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* hover stable - bridge gap */
.nav-item:hover .nav-dropdown{
  display:block;
}

.nav-dropdown div{
  padding:10px 18px;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  font-size:13px;
  color: rgba(212,175,55,0.8);
  letter-spacing:0.5px;
  position:relative;
}

.nav-dropdown div::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%) scaleY(0);
  width:2px;
  height:60%;
  background:var(--lux-gold);
  border-radius:2px;
  transition:transform 0.18s ease;
}

.nav-dropdown div:hover{
  background:rgba(212,175,55,0.07);
  color:var(--lux-gold);
  padding-left:22px;
}

.nav-dropdown div:hover::before {
  transform:translateY(-50%) scaleY(1);
}

@media(min-width:1200px){

  .nav-menu{
    font-size:15px;
    letter-spacing:1px;
  }

  .nav-menu > div,
  .nav-item{
    padding:10px 18px !important;
  }

}

@media (max-width:768px){

  .nav-menu{
    display:none;
  }

  .hamburger{
    display:flex;
  }

}

@media (min-width:769px){

  .hamburger{
    display:none;
  }

}

/* ===== NAV ITEM FOCUS VISIBLE for keyboard users ===== */
.nav-menu > div:focus-visible,
.nav-menu > .nav-item:focus-visible {
  outline: 2px solid rgba(212,175,55,0.7);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===============================
   👤 PROFILE BUTTON VISIBILITY FIX
================================ */

.edit-profile-btn{
  background: transparent;
  border:1px solid var(--lux-gold);
  color:var(--lux-gold);
  padding:10px 18px;
  border-radius:6px;
  cursor:pointer;
  transition:0.25s ease;
}

.edit-profile-btn:hover{
  background:var(--lux-gold);
  color:#000;
}

/* logout premium */
.logout-btn{
  background:#8b0000;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:6px;
  cursor:pointer;
}

/* =========================
   🌙 GLOBAL FOOTER
========================= */

.site-footer{
  background:#0b0b0b;
  border-top:1px solid rgba(212,175,55,0.2);
  padding:40px 20px;
  margin-top:60px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}

.footer-container > div{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-title{
  color:var(--lux-gold);
  font-weight:600;
  margin-bottom:14px;
}

.footer-links div{
  color:#aaa;
  margin-bottom:8px;
  cursor:pointer;
  font-size:14px;
}

.footer-links div:hover{
  color:var(--lux-gold);
}

.footer-bottom{
  text-align:center;
  margin-top:30px;
  font-size:13px;
  color:#666;
}

@media (max-width:768px){
  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }
}

.category-bar{
  width:100%;
  max-width:1200px;
  margin:30px auto;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center; /* ⭐ center properly */
  padding:0 20px;
  box-sizing:border-box;
  scroll-snap-type:x mandatory;  
}

.category-bar button{
  background:transparent;
  border:1px solid var(--lux-gold);
  color:var(--lux-gold);
  padding:8px 18px;
  cursor:pointer;
  border-radius:20px;
  transition:0.25s ease;
  white-space:nowrap;
  scroll-snap-align:start;
}

img{
  display:block;
  max-width:100%;
}

.category-bar button:hover{
  background:rgba(212,175,55,0.1);
}

.category-bar button.active{
  background:var(--lux-gold);
  color:#000;
}

@media(max-width:768px){
  .category-bar{
    flex-wrap:nowrap;
    overflow-x:auto;
    justify-content:flex-start;
  }

  .category-bar::-webkit-scrollbar{
    display:none;
  }
}

.loading-text{
  animation:luxPulse 1.2s ease-in-out infinite;
  grid-column:1 / -1;
  text-align:center;  
}

@keyframes luxPulse{
  0%{ opacity:0.4; }
  50%{ opacity:1; }
  100%{ opacity:0.4; }
}

/* ===============================
   🎩 CATEGORY INTRO SECTION
================================ */

.category-intro{
  height:55vh;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.category-overlay{
  width:100%;
  height:100%;
  background:linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.85)
  );
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
}

.category-overlay h1{
  font-family:'Cinzel',serif;
  font-size:42px;
  color:var(--lux-gold);
  letter-spacing:2px;
  margin-bottom:12px;
}

.category-overlay p{
  color:#ddd;
  max-width:700px;
  font-size:15px;
  line-height:1.6;
}

@media (max-width:768px){
  .category-intro{
    height:40vh;
  }

  .category-overlay h1{
    font-size:26px;
  }
}

/* ===============================
   🎩 CATEGORY CARD VARIATIONS
================================ */

.card img{
  width:100%;
  object-fit:cover;
  border-radius:6px;
  transition:0.4s ease;
  overflow:hidden;
}

.card:hover img{
  transform:scale(1.05);
}

/* 🔥 BAKHOOR - WIDE */
.card-wide img{
  aspect-ratio: 16 / 9;
}

/* 🔥 OUDH - TALL */
.card-tall img{
  aspect-ratio: 3 / 4;
}

/* 🔥 ATTAR - MEDIUM */
.card-medium img{
  aspect-ratio: 4 / 5;
}

/* 🔥 BODY MIST - SQUARE */
.card-square img{
  aspect-ratio: 1 / 1;
}

/* DEFAULT */
.card-default img{
  aspect-ratio: 1 / 1;
}

/* 🔥 MOBILE: 2 PRODUCTS PER ROW */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:22px;
}

@media (max-width:768px){
  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
  }

.card{
  opacity: 100%;
  padding:10px;
  border-radius:10px;
  will-change: transform;
  position:relative;
  z-index:1;
}

}

/* ===============================
   🔥 HERO PRODUCT CARD
================================ */

.card-hero{
  grid-column: 1 / -1;
}

.card-hero img{
  aspect-ratio: 21 / 9;
}

.card-hero .name{
  font-size:20px;
}

.card-hero .price{
  font-size:18px;
}

@media (max-width:768px){

  .card-hero img{
    aspect-ratio: 16 / 9;
  }

}

.hero-video{
position:relative;
width:100vw;
height:100vh;
overflow:hidden;
}

.hero-video video{
min-width:100%;
min-height:100%;
}

.bg-video{
position:absolute;
top:0;
left:0;
width:100vw;
height:100vh;
object-fit:cover;
}

*{
box-sizing:border-box;
}

.video-overlay{
  animation:fadeInHero 1.5s ease;
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
}

@keyframes fadeInHero{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

.video-overlay h1{
  font-family:'Cinzel',serif;
  font-size:48px;
  color:var(--lux-gold);
  letter-spacing:2px;
  margin-bottom:10px;
}

@media(max-width:768px){
  .video-overlay h1{
    font-size:30px;
  }
}

/* ===============================
   ⭐ FEATURED COLLECTION SECTION
================================ */

.featured-section{
  padding:80px 20px;
  max-width:1200px;
  margin:auto;
}

.featured-title{
  text-align:center;
  font-family:'Cinzel',serif;
  font-size:32px;
  color:var(--lux-gold);
  margin-bottom:50px;
  letter-spacing:2px;
}

.featured-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
}

.featured-card{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  border-radius:12px;
  border:1px solid rgba(212,175,55,0.25);
  transition:0.3s ease;
}

.featured-card img{
  width:100%;
  height:300px;
  object-fit:cover;
  transition:0.4s ease;
}

.featured-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.85)
  );
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding-bottom:30px;
}

.featured-overlay h3{
  color:var(--lux-gold);
  font-size:20px;
  letter-spacing:1px;
}

.featured-card:hover{
  transform:translateY(-4px) scale(1.01);
}

.featured-card:hover img{
  transform:scale(1.08);
}

@media (max-width:768px){
  .featured-card img{
    opacity: 100%;
    height:220px;
  }

  .featured-title{
    font-size:24px;
  }
}

/* ===============================
   🔥 BEST SELLER SECTION
================================ */

.best-section{
  padding:80px 20px;
  max-width:1200px;
  margin:auto;
}

.best-title{
  text-align:center;
  font-family:'Cinzel',serif;
  font-size:30px;
  color:var(--lux-gold);
  margin-bottom:40px;
  letter-spacing:2px;
}

.best-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:24px;
}

.best-card{
  background:linear-gradient(180deg,#111,#0b0b0b);
  border:1px solid rgba(212,175,55,0.25);
  padding:14px;
  border-radius:10px;
  transition:0.3s ease;
  cursor:pointer;
}

.best-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:6px;
  transition:0.4s ease;
}

.best-card:hover{
  transform:translateY(-4px) scale(1.01);
}

.best-card:hover img{
  transform:scale(1.06);
}

.best-name{
  margin-top:10px;
  font-size:15px;
}

.best-price{
  color:var(--lux-gold);
  margin-top:4px;
  font-weight:600;
}

/* ===============================
   📱 MOBILE EDGE FIX
================================ */

@media (max-width:768px){

  html,body{
    overflow-x:hidden;
  }

  .featured-section,
  .best-section,
  .products-section{
    opacity: 1;
    padding-left:12px;
    padding-right:12px;
  }

  .hero-video{
    opacity: 1;
    margin-left:0;
    margin-right:0;
    height:70vh;
  }

}

/* ===============================
   📱 MOBILE CARD FOCUS EFFECT
================================ */

@media(max-width:768px){

  .card{
    opacity: 1;
    transition:0.35s ease;
  }

  .card.active{
    transform:translateY(-4px) scale(1.02);
    box-shadow:0 12px 30px rgba(212,175,55,0.25);
    border:1px solid rgba(212,175,55,0.7);
  }

  .best-card.active,
  .featured-card.active{
    transform:translateY(-4px) scale(1.02);
    box-shadow:0 12px 30px rgba(212,175,55,0.22);
    border:1px solid rgba(212,175,55,0.55);
  }

}

@media (hover:hover){

.best-card:hover,
.featured-card:hover,
.card:hover{
  transform: translate3d(0, -4px, 0) scale(1.008); /* 🔥 GPU SAFE */
  box-shadow:none;
}
}


.category-section{
  display:block;
  width:100%;
}

.category-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
  padding:0 6px;
  border-bottom:1px solid rgba(212,175,55,0.2);
  padding-bottom:6px;
}

.category-title{
  font-family:'Cinzel', serif;
  color:var(--lux-gold);
  font-size:18px;
}

.show-more{
  font-size:12px;
  color:var(--lux-gold);
  cursor:pointer;
  transition:0.2s;
}

.show-more:hover{
  transform:translateX(4px);
  color:#e6c65a;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

/* mobile center fix */
@media(max-width:768px){
  .footer-brand{
    justify-content:center;
  }
}

/* ===============================
   🎨 SPACING UTILITIES
================================ */

.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-80 { margin-top: 80px !important; }

.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }

.pt-40 { padding-top: 40px !important; }
.pt-60 { padding-top: 60px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pb-60 { padding-bottom: 60px !important; }

/* ===============================
   ✏️ TYPOGRAPHY UTILITIES
================================ */

.text-gold { color: var(--lux-gold) !important; }
.text-dim { color: #aaa !important; }
.text-center { text-align: center !important; }
.text-sm { font-size: 13px !important; }
.text-base { font-size: 15px !important; }
.text-lg { font-size: 18px !important; }
.text-xl { font-size: 22px !important; }
.text-2xl { font-size: 28px !important; }

.font-cinzel { font-family: 'Cinzel', serif !important; }
.font-600 { font-weight: 600 !important; }
.letter-space { letter-spacing: 1px !important; }
.letter-space-lg { letter-spacing: 2px !important; }

/* ===============================
   🃏 CARD UTILITY
================================ */

.lux-card {
  background: linear-gradient(180deg, #111, #0b0b0b);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lux-card:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ===============================
   📐 SECTION HEADING
================================ */

.section-heading {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 30px;
  color: var(--lux-gold);
  letter-spacing: 2px;
  margin-bottom: 40px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--lux-gold);
  margin: 12px auto 0;
  opacity: 0.6;
}

/* ===============================
   🌀 FADE-IN ANIMATION
================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.5s ease both;
}

.fade-in-slow {
  animation: fadeInUp 0.8s ease both;
}