* { font-family: 'Vazirmatn', sans-serif; }
html { scroll-behavior: smooth; }
body {
  background: #0f0f10;
  color: #f5f5f5;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Ensure all text containers respect RTL */
h1, h2, h3, h4, h5, h6, p, span, a, div, li, td, th, label, input, textarea, select, button {
  direction: inherit;
  unicode-bidi: inherit;
}
/* Numbers and prices should stay LTR for readability */
.price, .text-amber-400, [class*="price"] {
  direction: ltr;
  unicode-bidi: embed;
}
.gradient-gold {
  background: linear-gradient(135deg, #c9a35c 0%, #f4d57a 50%, #b8860b 100%);
}
.text-gold {
  background: linear-gradient(135deg, #f4d57a 0%, #c9a35c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-gradient {
  background:
    radial-gradient(ellipse at top left, rgba(201,163,92,0.15), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(184,134,11,0.12), transparent 50%),
    linear-gradient(180deg, #0f0f10 0%, #1a1410 100%);
}
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(201, 163, 92, 0.2);
}
.category-card {
  background: linear-gradient(145deg, #1c1c1c 0%, #141414 100%);
  transition: all 0.3s ease;
}
.category-card:hover {
  background: linear-gradient(145deg, #2a2018 0%, #1a1410 100%);
  border-color: #c9a35c;
}
.shine {
  position: relative;
  overflow: hidden;
}
.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244,213,122,0.2), transparent);
  transition: left 0.7s;
}
.shine:hover::before {
  left: 100%;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: float 3s ease-in-out infinite; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-up { animation: slideUp 0.8s ease-out forwards; }

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-content {
  display: flex;
  gap: 3rem;
  animation: scroll 25s linear infinite;
  flex-shrink: 0;
  padding-right: 3rem;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Bottom mobile nav */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(15, 15, 16, 0.85);
    border-top: 1px solid rgba(201, 163, 92, 0.2);
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  }
  body { padding-bottom: 70px; }
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* Sticky top header style */
.sticky-header {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(15, 15, 16, 0.75);
  border-bottom: 1px solid rgba(201, 163, 92, 0.15);
}

.scroll-hide::-webkit-scrollbar { display: none; }
.scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }

.product-image {
  background: linear-gradient(135deg, #2a2218 0%, #151010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.badge {
  background: linear-gradient(135deg, #c9a35c 0%, #8b6914 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #c9a35c 0%, #f4d57a 50%, #c9a35c 100%);
  color: #0f0f10;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(201,163,92,0.4);
  transform: translateY(-2px);
}

.glass {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,163,92,0.1);
}

.nav-dot {
  transition: all 0.3s ease;
}
.mobile-nav-item.active .nav-dot {
  background: #f4d57a;
  width: 24px;
  border-radius: 999px;
  height: 3px;
  margin-bottom: 4px;
}

/* Mobile menu drawer */
.mobile-drawer {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, visibility 0s 0.35s;
}
.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.35s ease, visibility 0s 0s;
}
.drawer-overlay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s 0s;
}

.smoke {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,163,92,0.1) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* === Missing Tailwind utilities (frontend) === */

/* Base utilities */
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.object-cover{object-fit:cover}
.inline-flex{display:inline-flex}
.min-h-\[60vh\]{min-height:60vh}
.min-h-screen{min-height:100vh}
.h-full{height:100%}
.w-full{width:100%}
.flex-shrink-0{flex-shrink:0}
.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.rounded-lg{border-radius:0.5rem}
.shadow-2xl{box-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25)}
.opacity-0{opacity:0}
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.duration-300{transition-duration:300ms}
.duration-500{transition-duration:500ms}
.tracking-wider{letter-spacing:0.05em}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
.font-normal{font-weight:400}
.font-semibold{font-weight:600}
.text-left{text-align:left}
.text-center{text-align:center}
.block{display:block}
.space-y-2>*+*{margin-top:0.5rem}
.space-y-3>*+*{margin-top:0.75rem}
.space-y-4>*+*{margin-top:1rem}
.space-y-6>*+*{margin-top:1.5rem}
.space-y-1>*+*{margin-top:0.25rem}
.placeholder-gray-500::placeholder{color:#6b7280}

/* Arbitrary text sizes */
.text-\[9px\]{font-size:9px;line-height:1}
.text-\[10px\]{font-size:10px;line-height:1}
.text-\[11px\]{font-size:11px;line-height:1}

/* Text colors */
.text-green-400{color:#4ade80}
.text-red-400{color:#f87171}
.text-blue-400{color:#60a5fa}
.text-yellow-400{color:#facc15}
.text-gray-300{color:#d1d5db}
.text-gray-500{color:#6b7280}
.text-gray-600{color:#4b5563}
.text-gray-700{color:#374151}

/* Sizing */
.w-7{width:1.75rem}
.w-16{width:4rem}
.h-7{height:1.75rem}
.h-1\.5{height:0.375rem}
.w-1\.5{width:0.375rem}
.h-40{height:10rem}
.min-w-0{min-width:0}
.min-w-\[100px\]{min-width:100px}
.max-h-48{max-height:12rem}
.max-w-lg{max-width:32rem}
.max-w-3xl{max-width:48rem}
.max-w-4xl{max-width:56rem}
.max-w-\[85vw\]{max-width:85vw}

/* Arbitrary sizing */
.h-\[400px\]{height:400px}

/* Spacing - margin */
.ml-0\.5{margin-left:0.125rem}
.mr-1{margin-right:0.25rem}
.mr-4{margin-right:1rem}
.mr-5{margin-right:1.25rem}
.mt-0\.5{margin-top:0.125rem}
.mt-4{margin-top:1rem}
.mt-10{margin-top:2.5rem}
.mt-16{margin-top:4rem}
.mb-1\.5{margin-bottom:0.375rem}
.mb-5{margin-bottom:1.25rem}
.mx-4{margin-left:1rem;margin-right:1rem}

/* Spacing - padding */
.p-12{padding:3rem}
.pt-2{padding-top:0.5rem}
.pt-4{padding-top:1rem}
.pb-3{padding-bottom:0.75rem}
.pb-4{padding-bottom:1rem}
.pb-5{padding-bottom:1.25rem}
.px-1\.5{padding-left:0.375rem;padding-right:0.375rem}
.px-2\.5{padding-left:0.625rem;padding-right:0.625rem}
.py-0\.5{padding-top:0.125rem;padding-bottom:0.125rem}
.py-1\.5{padding-top:0.375rem;padding-bottom:0.375rem}
.py-2\.5{padding-top:0.625rem;padding-bottom:0.625rem}
.py-3\.5{padding-top:0.875rem;padding-bottom:0.875rem}
.py-20{padding-top:5rem;padding-bottom:5rem}

/* Gap */
.gap-1\.5{gap:0.375rem}
.gap-5{gap:1.25rem}

/* Positioning */
.top-24{top:6rem}
.left-1\/2{left:50%}

/* Transform */
.translate-y-20{transform:translateY(5rem)}

/* Background colors */
.bg-\[#0f0f10\]{background-color:#0f0f10}
.bg-\[#111\]{background-color:#111}
.bg-\[#141416\]{background-color:#141416}
.bg-\[#1a1a1a\]{background-color:#1a1a1a}
.bg-\[#2a2a2a\]{background-color:#2a2a2a}
.bg-amber-400\/10{background-color:rgb(251 191 36 / 0.1)}
.bg-amber-500\/5{background-color:rgb(245 158 11 / 0.05)}
.bg-amber-500\/10{background-color:rgb(245 158 11 / 0.1)}
.bg-amber-500\/20{background-color:rgb(245 158 11 / 0.2)}
.bg-black\/40{background-color:rgb(0 0 0 / 0.4)}
.bg-black\/50{background-color:rgb(0 0 0 / 0.5)}
.bg-black\/60{background-color:rgb(0 0 0 / 0.6)}
.bg-blue-400\/10{background-color:rgb(96 165 250 / 0.1)}
.bg-blue-500\/5{background-color:rgb(59 130 246 / 0.05)}
.bg-blue-500\/10{background-color:rgb(59 130 246 / 0.1)}
.bg-gray-800{background-color:#1f2937}
.bg-gray-900{background-color:#111827}
.bg-gray-900\/50{background-color:rgb(17 24 39 / 0.5)}
.bg-green-500\/5{background-color:rgb(34 197 94 / 0.05)}
.bg-green-500\/10{background-color:rgb(34 197 94 / 0.1)}
.bg-red-500\/10{background-color:rgb(239 68 68 / 0.1)}
.bg-yellow-500\/10{background-color:rgb(234 179 8 / 0.1)}

/* Border colors */
.border-\[#222\]{border-color:#222}
.border-\[#2a2a2a\]{border-color:#2a2a2a}
.border-\[#333\]{border-color:#333}
.border-amber-500\/10{border-color:rgb(245 158 11 / 0.1)}
.border-amber-500\/15{border-color:rgb(245 158 11 / 0.15)}
.border-amber-500\/20{border-color:rgb(245 158 11 / 0.2)}
.border-blue-500\/20{border-color:rgb(59 130 246 / 0.2)}
.border-gray-700{border-color:#374151}
.border-gray-800\/50{border-color:rgb(31 41 55 / 0.5)}
.border-green-500\/20{border-color:rgb(34 197 94 / 0.2)}
.border-red-500\/20{border-color:rgb(239 68 68 / 0.2)}
.border-red-500\/30{border-color:rgb(239 68 68 / 0.3)}

/* Hover states */
.hover\:bg-\[#222\]:hover{background-color:#222}
.hover\:bg-\[#2a2a2a\]:hover{background-color:#2a2a2a}
.hover\:bg-\[#333\]:hover{background-color:#333}
.hover\:bg-amber-400\/20:hover{background-color:rgb(251 191 36 / 0.2)}
.hover\:bg-amber-500\/10:hover{background-color:rgb(245 158 11 / 0.1)}
.hover\:bg-amber-500\/20:hover{background-color:rgb(245 158 11 / 0.2)}
.hover\:bg-gray-700:hover{background-color:#374151}
.hover\:bg-gray-800:hover{background-color:#1f2937}
.hover\:bg-red-400\/10:hover{background-color:rgb(248 113 113 / 0.1)}
.hover\:bg-red-500:hover{background-color:#ef4444}
.hover\:bg-red-500\/20:hover{background-color:rgb(239 68 68 / 0.2)}
.hover\:border-\[#333\]:hover{border-color:#333}
.hover\:border-\[#444\]:hover{border-color:#444}
.hover\:border-amber-500\/30:hover{border-color:rgb(245 158 11 / 0.3)}
.hover\:border-amber-500\/40:hover{border-color:rgb(245 158 11 / 0.4)}
.hover\:border-amber-500\/50:hover{border-color:rgb(245 158 11 / 0.5)}
.hover\:border-gray-600:hover{border-color:#4b5563}
.hover\:shadow-amber-500\/20:hover{--tw-shadow-color:rgb(245 158 11 / 0.2)}
.hover\:shadow-amber-500\/30:hover{--tw-shadow-color:rgb(245 158 11 / 0.3)}
.hover\:text-amber-300:hover{color:#fcd34d}
.hover\:text-amber-400:hover{color:#fbbf24}
.hover\:text-gray-400:hover{color:#9ca3af}
.hover\:text-red-300:hover{color:#fca5a5}
.hover\:text-red-400:hover{color:#f87171}
.hover\:text-white:hover{color:#fff}
.hover\:scale-110:hover{transform:scale(1.1)}

/* Focus states */
.focus\:border-amber-500{border-color:#f59e0b}
.focus\:border-amber-500\/50{border-color:rgb(245 158 11 / 0.5)}
.focus\:outline-none{outline:2px solid transparent;outline-offset:2px}

/* Shadow */
.shadow-amber-500\/20{--tw-shadow-color:rgb(245 158 11 / 0.2)}
.shadow-amber-500\/30{--tw-shadow-color:rgb(245 158 11 / 0.3)}

/* Has pseudo-class */
.has-\[:checked\]\:bg-amber-500\/5:has(:checked){background-color:rgb(245 158 11 / 0.05)}
.has-\[:checked\]\:border-amber-500\/50:has(:checked){border-color:rgb(245 158 11 / 0.5)}

/* === Responsive utilities === */
@media(min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:items-center{align-items:center}
  .sm\:gap-2{gap:0.5rem}
  .sm\:gap-3{gap:0.75rem}
  .sm\:gap-4{gap:1rem}
  .sm\:gap-6{gap:1.5rem}
  .sm\:gap-8{gap:2rem}
  .sm\:h-8{height:2rem}
  .sm\:h-20{height:5rem}
  .sm\:p-4{padding:1rem}
  .sm\:p-8{padding:2rem}
  .sm\:p-12{padding:3rem}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:py-20{padding-top:5rem;padding-bottom:5rem}
  .sm\:py-24{padding-top:6rem;padding-bottom:6rem}
  .sm\:text-right{text-align:right}
  .sm\:text-sm{font-size:0.875rem;line-height:1.25rem}
  .sm\:text-base{font-size:1rem;line-height:1.5rem}
  .sm\:text-lg{font-size:1.125rem;line-height:1.75rem}
  .sm\:text-xl{font-size:1.25rem;line-height:1.75rem}
  .sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}
  .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .sm\:text-5xl{font-size:3rem;line-height:1}
  .sm\:w-8{width:2rem}
  .sm\:w-10{width:2.5rem}
  .sm\:w-20{width:5rem}
  .sm\:w-64{width:16rem}
  .sm\:flex-row{flex-direction:row}
  .sm\:inline-flex{display:inline-flex}
  .sm\:block{display:block}
  .sm\:flex{display:flex}
  .sm\:mb-14{margin-bottom:3.5rem}
}
@media(min-width:768px){
  .md\:col-span-1{grid-column:span 1/span 1}
  .md\:col-span-2{grid-column:span 2/span 2}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .md\:pb-8{padding-bottom:2rem}
}
@media(min-width:1024px){
  .lg\:col-span-1{grid-column:span 1/span 1}
  .lg\:col-span-2{grid-column:span 2/span 2}
  .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
  .lg\:h-\[500px\]{height:500px}
  .lg\:p-16{padding:4rem}
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:py-28{padding-top:7rem;padding-bottom:7rem}
  .lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}
  .lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .lg\:text-6xl{font-size:3.75rem;line-height:1}
  .lg\:block{display:block}
  .lg\:flex{display:flex}
}
