:root {
  /* --- Luxury Light Palette --- */
  
  /* Backgrounds: تمیز، روشن و با کنتراست کم برای چشم */
  --primary-bg: #FAFAFA; /* سفید مایل به خاکستری خیلی روشن (برای کل صفحه) */
  --secondary-bg: #FFFFFF; /* سفید خالص (برای سکشن‌ها) */
  --card-bg:rgba(255, 255, 255, 0.877); /* شیشه‌ای سفید */
  
  /* Typography: مشکی خالص استفاده نمی‌کنیم چون چشم را خسته می‌کند */
  --text-color: #2D3436; /* خاکستری تیره و شیک */
  --text-color-faded: rgba(45, 52, 54, 0.6); /* برای متن‌های فرعی */
  
  /* Accents: طلایی شامپاینی - لوکس و جذاب */
  --accent-color: rgb(205,153,103); 
  --hover-bg: rgba(197, 160, 89, 0.08); /* طلایی خیلی خیلی کمرنگ برای هاور */
  
  /* Borders & Overlays */
  --border-color: rgba(197, 160, 89, 0.2); /* خطوط نازک طلایی */
  --overlay-bg: rgba(255, 255, 255, 0.8);
  --hero-layer: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(250,250,250,0.4) 100%);

  /* --- Glassmorphism Effect (شیشه‌ای روشن) --- */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-blur: 20px;

  /* --- Dynamics --- */
  --card-radius: 24px; /* گوشه‌های گردتر برای حس مدرن بودن */
  --transition-smooth: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-standard: all 0.3s ease-in-out;
  
  /* --- Shadows (جادوی اصلی تم لوکس اینجاست) --- */
  /* سایه بسیار نرم و پخش شده که حس معلق بودن می‌دهد */
  --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-light: 0 4px 15px rgba(197, 160, 89, 0.15); /* هاله طلایی */
  --shadow-dark: rgba(0, 0, 0, 0.5);

  /* Status Colors (کمی ملایم شده تا جیغ نباشند) */
  --color-success: #00B894;
  --color-info: #0984E3;
  --color-warning: #FDcB6E;
  --color-danger: #FF7675;
}


@font-face {
  font-family: 'Aparat';
  /* توضیح: ../ یعنی از پوشه styles بیا بیرون، بعد برو تو fonts */
  src: url('../fonts/Aparat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Aparat', Tahoma, sans-serif !important;
  -webkit-font-smoothing: antialiased; /* متن را در مک و آیفون نرم‌تر و زیباتر می‌کند */
  -moz-osx-font-smoothing: grayscale;}

body {
  background-color: var(--primary-bg);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Aparat', Tahoma, sans-serif !important;
    -webkit-font-smoothing: antialiased; /* متن را در مک و آیفون نرم‌تر و زیباتر می‌کند */
    -moz-osx-font-smoothing: grayscale;  
}

.container {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 30px);
}

/* ===== Scrollbar Styles ===== */
@media (min-width: 769px) {
  body::-webkit-scrollbar {
    width: 10px;
  }

  body::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
  }

  body::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
  }

  body::-webkit-scrollbar-thumb:hover {
    background: var(--text-color);
  }
}

@media (max-width: 768px) {
  body::-webkit-scrollbar {
    width: 0;
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 8px;
  border: 2px solid var(--secondary-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #b38057;
}

/* ===== Header & Navigation ===== */
header {
  background-color: var(--primary-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
box-shadow: rgba(0, 0, 0, 0.123) 0rem 0.5rem 10px;
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;


}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-standard);
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width:70px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo span {
  margin-top: 0.06rem;
}



/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-standard);
  opacity: 1;
}

.action-btn:hover {
  background-color: var(--hover-bg);
  transform: translateY(-2px);
}



/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  opacity: 1;
}

.hamburger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition-standard);
  transform-origin: left;
}

.hamburger-menu:hover span {
  background-color: var(--accent-color);
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Navigation */
nav {
  background-color: var(--secondary-bg);
  padding: 5px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  padding: 0;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
  opacity: 1;
  font-weight: 500;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: var(--text-color);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--secondary-bg);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 12px 15px;
  display: block;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.dropdown-content li a:hover {
  background-color: var(--hover-bg);
  color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* User Actions */
.user-actions {
  display: flex;
  gap: 15px;
}

.auth-btn {
  background-color: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-standard);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.auth-btn:hover {
  background-color: var(--text-color);
  color: var(--primary-bg);
  transform: translateY(-2px);
}

.auth-btn.signup {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
  font-weight: 700;
}

.auth-btn.signup:hover {
  background-color: #c08b5d;
  border-color: #c08b5d;
}

/* ===== Modern Mobile Menu 2025 Optimized ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -110%;
  width: 87%; /* کمی عریض‌تر برای دسترسی بهتر */
  max-width: 400px;
  height: 100%;
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  z-index: 200000;
  padding: 30px 25px;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

/* دکمه بستن مدرن */
.close-menu {
  align-self: flex-end;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-color);
  font-size: 1.2rem;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  transition: var(--transition-standard);
}

.close-menu:hover {
  background-color: var(--accent-color);
  color: var(--primary-bg);
  transform: rotate(90deg);
}

/* استایل لیست لینک‌ها */
.mobile-nav-links {
  list-style: none;
  margin-top: 40px;
  padding: 0;
}

.mobile-nav-links li {
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

/* تاخیر در انیمیشن برای ورود پله‌ای آیتم‌ها */
.mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 15px 18px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a.active {
  background: var(--hover-bg);
  color: var(--accent-color);
  border-right: 3px solid var(--accent-color);
  padding-right: 25px;
}

/* دراپ‌داون موبایل */
.mobile-dropbtn {
  justify-content: space-between;
}

.mobile-dropdown-content {
  list-style: none;
  padding-right: 15px;
  margin: 5px 0 15px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.mobile-dropdown-li.active .mobile-dropdown-content {
  max-height: 1000px;
  transition: max-height 1s ease-in-out;
  padding: 10px 0;
}

.mobile-dropdown-content li a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color-faded);
  border-right: none;
  padding: 10px 15px;
}

/* اورلی پشت منو */
.overlay {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.6);
}
/* Hero Banner Modern Style 2025 */
.hero-banner {
    position: relative;
    margin: 10px 10px 40px;
    background-color:  var( --primary-bg);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1004%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(70%2c 70%2c 70%2c 1)'%3e%3c/rect%3e%3cpath d='M0 0L669.52 0L0 767.87z' filter='url(%23SvgjsFilter1005)' fill='rgba(55%2c 47%2c 8%2c 1)'%3e%3c/path%3e%3cpath d='M0 560L669.52 560L0 -207.87z' filter='url(%23SvgjsFilter1005)' fill='rgba(55%2c 47%2c 8%2c 1)'%3e%3c/path%3e%3cpath d='M1440 560L770.48 560L1440 -207.87z' filter='url(%23SvgjsFilter1005)' fill='rgba(55%2c 47%2c 8%2c 1)'%3e%3c/path%3e%3cpath d='M1440 0L770.48 0L1440 767.87z' filter='url(%23SvgjsFilter1005)' fill='rgba(55%2c 47%2c 8%2c 1)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1004'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cfilter height='130%25' id='SvgjsFilter1005'%3e%3cfeGaussianBlur in='SourceAlpha' stdDeviation='5' result='TopLeftG'%3e%3c/feGaussianBlur%3e%3cfeOffset dx='-5' dy='-5' in='TopLeftG' result='TopLeftO'%3e%3c/feOffset%3e%3cfeComponentTransfer in='TopLeftO' result='TopLeftC'%3e%3cfeFuncA type='linear' slope='0.7'%3e%3c/feFuncA%3e%3c/feComponentTransfer%3e%3cfeGaussianBlur in='SourceAlpha' stdDeviation='5' result='TopRightG'%3e%3c/feGaussianBlur%3e%3cfeOffset dx='5' dy='-5' in='TopRightG' result='TopRightO'%3e%3c/feOffset%3e%3cfeComponentTransfer in='TopRightO' result='TopRightC'%3e%3cfeFuncA type='linear' slope='0.7'%3e%3c/feFuncA%3e%3c/feComponentTransfer%3e%3cfeGaussianBlur in='SourceAlpha' stdDeviation='5' result='BottomLeftG'%3e%3c/feGaussianBlur%3e%3cfeOffset dx='-5' dy='5' in='BottomLeftG' result='BottomLeftO'%3e%3c/feOffset%3e%3cfeComponentTransfer in='BottomLeftO' result='BottomLeftC'%3e%3cfeFuncA type='linear' slope='0.7'%3e%3c/feFuncA%3e%3c/feComponentTransfer%3e%3cfeGaussianBlur in='SourceAlpha' stdDeviation='5' result='BottomRightG'%3e%3c/feGaussianBlur%3e%3cfeOffset dx='5' dy='5' in='BottomRightG' result='BottomRightO'%3e%3c/feOffset%3e%3cfeComponentTransfer in='BottomRightO' result='BottomRightC'%3e%3cfeFuncA type='linear' slope='0.7'%3e%3c/feFuncA%3e%3c/feComponentTransfer%3e%3cfeMerge%3e%3cfeMergeNode in='TopLeftC'%3e%3c/feMergeNode%3e%3cfeMergeNode in='TopRightC'%3e%3c/feMergeNode%3e%3cfeMergeNode in='BottomLeftC'%3e%3c/feMergeNode%3e%3cfeMergeNode in='BottomRightC'%3e%3c/feMergeNode%3e%3cfeMergeNode in='SourceGraphic'%3e%3c/feMergeNode%3e%3c/feMerge%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e"); /* SVG خود را اینجا بگذارید */
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    overflow: hidden;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* دو ستون مساوی */
    width: 100%;
    padding: 20px;
    gap: 15px;
    align-items: center;
    direction: rtl;
}

/* بخش سمت راست (متن) */
.hero-content-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 10px;
}

.hero-logo-box {
    position: relative;
    width: 70px;
    margin-bottom: 15px;
}

.hero-logo-small {
    width: 100%;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.badge-new {
    font-size: 0.7rem;
    color: #d49a69;
    background: rgba(212, 154, 105, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(212, 154, 105, 0.3);
}

.hero-title {
    color: #fff;
    font-size: clamp(1.4rem, 6vw, 2.5rem);
    font-weight: 900;
    margin: 10px 0;
}

.accent-gold { color: #d49a69; }

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-cta {
    background: #d49a69;
    color: #372f08;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.7rem;
    transition: 0.3s;
}

/* بخش سمت چپ (محصولات) */
.hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    
}

.mini-product-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.mini-product-item:hover {
    transform: translateY(-5px);
    border-color: #d49a69;
}

.mini-img-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    z-index: 999;
}

.mini-info {
    text-align: center;
    margin-top: 8px;
}

.p-title {
    display: block;
    color: #fff;
    font-size: 0.65rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-price {
    color: #d49a69;
    font-size: 0.8rem;
    font-weight: bold;
}

/* تنظیمات موبایل */
@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
        margin: 10px;
    }
    .hero-grid-container {
        grid-template-columns: 1fr 1.1fr; /* حفظ ساختار بنری در موبایل */
        padding: 15px 10px;
    }
    .hero-subtitle { display: none; } /* حذف برای خلوت شدن در موبایل */
    .hero-title { font-size: 1.2rem; }
    .hero-cta{font-size: 0.6rem;}
}

/* ===== Product Scrollbar ===== */
.product-scrollbar {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 2rem;
  margin-top: -2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--secondary-bg);
  -webkit-overflow-scrolling: touch;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin: 60px 0 30px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(212, 154, 105, 0.3);
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: var(--accent-color);
}

.see-all {
  font-size: 0.9rem;
  color: #000000;
  background-color: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.see-all i {
  transition: transform 0.3s;
}

.see-all:hover {
  background-color: #c08b5d;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.see-all:hover i {
  transform: translateX(5px);
}



.products-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* مخفی کردن اسکرول‌بار در فایرفاکس */
    scroll-snap-type: x mandatory; /* پرش نرم بین کارت‌ها در موبایل */
    padding: 10px;
}

.products-container::-webkit-scrollbar {
    display: none; /* مخفی کردن اسکرول‌بار در کروم و سافاری */
}

/* کارت محصول مدرن */
.product-card {
    flex: 0 0 calc(70% - 10px); /* در موبایل ۷۰٪ عرض را می‌گیرد تا کارت بعدی دیده شود */
    scroll-snap-align: center;
    background: var(--glass-bg);

    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    will-change: transform; /* بهینه سازی برای رندر گرافیکی */
}

/* تنظیمات دسکتاپ */
@media (min-width: 768px) {
    .product-card {
        flex: 0 0 calc(25% - 12px);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* تصویر با نسبت ابعاد ثابت برای جلوگیری از لگ در بارگذاری */
.product-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* مربع کامل - ترند ۲۰۲۵ */
    overflow: hidden;
    background: #2a2406;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg); /* کمی چرخش برای حس داینامیک */
}

/* اطلاعات محصول */
.product-info {
    padding: 15px;
    text-align: right;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #eee;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* جلوگیری از بهم ریختگی متن طولانی */
}

.product-price {
    display: flex;
    flex-direction: column; /* قیمت اصلی و تخفیف زیر هم */
    gap: 4px;
    margin-bottom: 15px;
}

.product-price .current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.product-price .original-price {
    font-size: 0.85rem;
    color: #888;
    text-decoration: line-through;
}

/* دکمه افزودن به سبد خرید مدرن */
.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-to-cart {
    background: var(--accent-color);
    border: none;
    color: #372f08;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 24px;
    border-radius: 12px;
    height: fit-content;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.add-to-cart:active {
    transform: scale(0.95);
}

.add-to-cart i {
    font-size: 1.1rem;
}

/* بج (Badge) تخفیف */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px); /* کمی افزایش ارتفاع برای ظاهر بهتر */
    gap: 15px; /* کاهش گپ برای چسبندگی مدرن‌تر */
    margin: 50px 0;
}

.category-card {
    position: relative;
    border-radius: 20px; /* گوشه‌های گردتر مشابه محصولات */
    overflow: hidden;
    cursor: pointer;
    background: var(--accent-color);
    border: 1px solid var(--glass-border);
    
    /* بهینه‌سازی عملکرد: آماده‌سازی مرورگر برای انیمیشن */
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* افکت Hover بهینه شده */
.category-card:hover {
    transform: scale(0.98); /* افکت فشردگی شیشه به جای بالا آمدن */
}

/* مدیریت چیدمان کارت‌ها */
.category-card:first-child { grid-column: 1; grid-row: 1 / 3; }
.category-card:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* فیلتر تیره ملایم برای خوانایی بهتر متن روی عکس */
    filter: brightness(0.85);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:hover .category-img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* استایل اورلی شیشه‌ای (Liquid Overlay) */
.category-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    padding: 15px;
    border-radius: 15px;
    
    /* افکت شیشه مایع */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    transition: all 0.4s ease;
}

.category-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.category-card:hover .category-overlay {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* ===== Featured Collection ===== */
.featured-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin: 60px 0;
}

.featured-title {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--accent-color);
  position: relative;
  display: inline-block;
}

.featured-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.featured-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}

.featured-category {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 150px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.featured-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-category:hover img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.featured-category-title {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

/* ===== Stores Section ===== */
.stores-section {
  margin: 60px 0;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.store-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.store-card:hover {
  transform: translateY(-8px);
}

.store-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.store-card:hover .store-image {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: #000;
  padding: 8px 15px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.store-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(0);
  transition: transform 0.3s;
}

.store-card:hover .store-info {
  transform: translateY(-10px);
}

.store-location {
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.store-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.store-hours {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-hours i {
  color: var(--accent-color);
}

.view-store-btn {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: color 0.3s;
  font-weight: 600;
}

.view-store-btn:hover {
  color: white;
}

.view-store-btn i {
  margin-right: 8px;
  transition: transform 0.3s;
}

.view-store-btn:hover i {
  transform: translateX(5px);
}

/* ===== Footer ===== */
footer {
  background-color: var(--secondary-bg);
  padding: 70px 0 20px;
  margin-top: 70px;
  border-top: 2px solid var(--accent-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  opacity: 0.6;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 90%;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: var(--text-color);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s;
  display: inline-block;
  position: relative;
  padding-right: 20px;
}

.footer-links a::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(-5px);
  color: var(--accent-color);
}


.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--accent-color);
  color: #000;
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Animations ===== */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== Blog Content ===== */
.belog-content-section .belog-text {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Notification Bar ===== */
.notification-bar {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 14px 20px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

.success-notification {
  background-color: #4CAF50;
}

.notification-bar p {
  margin: 0;
  flex-grow: 1;
}

.notification-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin: 0 5px;
}

.notification-bar i {
  margin-left: 10px;
}

.close-notification {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  margin-right: 15px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.close-notification:hover {
  opacity: 1;
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--secondary-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  transition: all 0.3s ease;
  flex: 1;
}

.nav-item i {
  font-size: 22px;
  margin-bottom: 5px;
}

.nav-item:hover,
.nav-item.active {
  opacity: 1;
  color: var(--accent-color);
}

.nav-item.active i {
  transform: translateY(-3px);
}

.cart-icon-wrapper {
  position: relative;
}

.cart-icon-wrapper .badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  padding: 2px 5px;
  font-size: 9px;
  font-weight: bold;
}

/* ===== Profile Dashboard ===== */
.profile-dashboard {
  display: flex;
  gap: 25px;
  padding: 30px 0;
  min-height: 70vh;
  animation: fadeIn 0.3s ease forwards;
}

.sidebar {
  flex: 1;
  max-width: 280px;
  background: var(--card-bg);
  padding: 25px 20px;
  border-radius: 20px;
  border: none;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2),
              -3px -3px 10px rgba(255, 255, 255, 0.05);
}

.sidebar h3 {
  color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-align: right;
  font-size: 1.3rem;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  margin-bottom: 12px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 12px;
  background-color: transparent;
  transition: all 0.3s ease;
}

.sidebar a i {
  font-size: 1.2rem;
  color: var(--border-color);
  transition: color 0.3s ease;
}

.sidebar a:hover {
  background-color: var(--hover-bg);
}

.sidebar a.active {
  background-color: var(--accent-color);
  color: var(--primary-bg);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.sidebar a.active i {
  color: var(--primary-bg);
}

.main-content {
  flex: 4;
  background: var(--card-bg);
  padding: 35px;
  border-radius: 20px;
  border: none;
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.3),
              inset -3px -3px 8px rgba(255, 255, 255, 0.05);
}

#profile-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  width: 100%;
  margin: 0;
}

#profile-content h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

#profile-content h2 i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

#profile-content .form-group {
  margin-bottom: 20px;
}

#profile-content label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-color);
}

#profile-content input,
#profile-content textarea,
#profile-content select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 0.95rem;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3),
              inset -2px -2px 5px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

#profile-content input:focus,
#profile-content textarea:focus,
#profile-content select:focus {
  outline: none;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3),
              inset -1px -1px 3px rgba(255, 255, 255, 0.05),
              0 0 0 2px var(--accent-color);
}

#profile-content .submit-btn,
#profile-content .btn-primary {
  background: var(--accent-color);
  color: #000;
  padding: 14px 28px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2),
              -1px -1px 3px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

#profile-content .submit-btn:hover,
#profile-content .btn-primary:hover {
  background: #c08b5d;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3),
              -2px -2px 5px rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.profile-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  border: none;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2),
              -2px -2px 5px rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 65px;
  background: var(--card-bg);
  border-top: 3px solid var(--accent-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px 15px 0 0;
}

.mobile-bottom-nav a {
  color: var(--text-color);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  width: 100%;
}

.mobile-bottom-nav a span {
  font-size: 0.7rem;
  margin-top: 5px;
}

.mobile-bottom-nav a.active {
  color: var(--accent-color);
}

/* ===== Orders Table ===== */
.orders-list {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.orders-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.orders-list th,
.orders-list td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  text-align: center;
}

.orders-list th {
  background-color: rgba(212, 154, 105, 0.1);
  font-weight: 600;
  color: var(--accent-color);
}

.orders-list tr:last-child td {
  border-bottom: none;
}

.orders-list tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ===== Tooltips ===== */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 130%;
  right: 50%;
  transform: translateX(50%);
  background: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(50%) translateY(5px);
}

/* ===== Neumorphism & Glass Effects ===== */
.neumorphic {
  border-radius: 15px;
  background: var(--secondary-bg);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2),
              -3px -3px 10px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.3s ease;
}

.neumorphic:hover {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3),
              -2px -2px 8px rgba(255, 255, 255, 0.05);
}

.glass-effect {
  background: rgba(30, 40, 50, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 1200px) {
  .products-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .product-card {
    flex: 0 0 calc(33.33% - 15px);
    scroll-snap-align: start;
  }

  .featured-section {
    grid-template-columns: 1fr;
  }

  .featured-title {
    grid-column: 1;
  }

  .featured-categories {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
      }
    .mobile-bottom-nav{display: none;}
.bottom-nav{display: none;}

nav {
  background-color: var(--secondary-bg);
  padding: 5px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}
}

@media screen and (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .product-card {
    flex: 0 0 calc(50% - 15px);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .category-card:first-child,
  .category-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .profile-dashboard {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    max-width: 100%;
    width: 100%;
  }
  
  .mobile-bottom-nav {
    display: none;
  }
  .category-title {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}
.category-overlay {
  position: absolute;
  padding: 5px;
  border-radius: 17px;

 
}
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 10px 0;
    border: none;
  }



  body {
    padding-top: 110px;
    padding-bottom: 80px;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .search-container {
    order: 3;
    flex: 0 0 100%;
    margin-top: 15px;
  }

  .product-card {
    flex: 0 0 calc(100% - 15px);
  }

  .featured-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .stores-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .auth-btn {
    display: none;
  }
  
  .action-btn {
    display: none;
  }
  
  .bottom-nav {
    display: flex;
  }
  
  .sidebar {
    display: none;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  .orders-list table {
    min-width: 480px;
    font-size: 0.75rem;
  }
  
  .orders-list th,
  .orders-list td {
    padding: 8px 6px;
  }
  
  .orders-list .submit-btn {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    height: 40vh;
    margin-bottom: 30px;
  }
  
  .hero h1 {
    font-size: 0.3rem;
  }
  
  .highlight {
    font-size: 1rem;
  }
  
  .hero p {
    font-size: 0.3rem;
  }
  
  .hero-cta-buttons {
    gap: 15px;
  }
  
  .cta-btn {
    padding: 12px 20px;
    font-size: 0.4rem;
  }
  nav {

display: none;
  }
  .categories-grid {
    grid-template-columns: 2,1fr;

  }

  .featured-categories {
    grid-template-columns: 2,1fr;
  }
  
  .section-title {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .see-all {
    align-self: flex-end;
  }
  
  .main-content {
    padding: 15px;
  }
  
  #profile-content h2 {
    font-size: 1.2rem;
  }
  
  #profile-content input,
  #profile-content textarea,
  #profile-content select {
    font-size: 0.85rem;
    padding: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-bottom-nav {
    display: none;
  }
}

@media (min-width: 1025px) {
  .mobile-bottom-nav {
    display: none;
  }
  
  .bottom-nav {
    display: none !important;
  }
}
/* ===== Luxury Main Banner Style (Responsive Fix) ===== */

.luxury-main-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* سایه نرم و لوکس برای کانتینر */
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1); 
  border-radius: 0 0 24px 24px; /* گرد کردن پایین بنر در دسکتاپ */
}

.luxury-main-banner .banner-link {
  display: block;
  width: 100%;
  height: auto; /* ارتفاع آزاد */
  cursor: pointer;
  text-decoration: none;
  line-height: 0; /* حذف فاصله اضافه پایین عکس */
}

.luxury-main-banner .banner-img {
  width: 100%;
  height: auto; /* ارتفاع اتوماتیک برای حفظ تناسب */
  display: block;
  object-fit: cover; 
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* افکت زوم نرم در دسکتاپ */
.luxury-main-banner:hover .banner-img {
  transform: scale(1.03);
}

/* ===== Responsive Settings ===== */

/* تبلت (تبلت‌های افقی و لپ‌تاپ‌های کوچک) */
@media (max-width: 1024px) {
  .luxury-main-banner {
      border-radius: 0 0 20px 20px;
  }
}

/* موبایل (اصلاح شده برای ریسپانسیو کامل) */
@media (max-width: 768px) {
  .luxury-main-banner {

      border-radius: 16px; /* در موبایل کل گوشه‌ها گرد شود زیباتر است */
      box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.08);
  }

  .luxury-main-banner .banner-img {
      /* نکته مهم: */
      width: 100%;
      height: auto !important; /* ارتفاع را آزاد می‌گذاریم تا عکس دفرمه نشود */
      
      /* اگر می‌خواهید مطمئن شوید نسبت تصویر حفظ می‌شود: */
      object-fit: contain; 
      
      border-radius: 16px;
  }
}

/* بج وضعیت موجودی */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.stock-in { background-color: #2e7d32; /* سبز */ }
.stock-out { background-color: #c62828; /* قرمز */ }

/* دکمه افزودن به سبد خرید */
.btn-add-index {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background-color: var(--accent-color, #C5A059);
  color: #fff; /* رنگ متن دکمه */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-add-index:hover {
  background-color: var(--primary-bg, #362f08);
  transform: translateY(-2px);
}

.btn-add-index:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-add-index i {
  font-size: 1.1em;
}

/* لینک‌های داخل کارت */
.product-link-wrapper {
  text-decoration: none;
  color: inherit;
  flex-grow: 1; /* باعث می‌شود عکس و متن فضا را پر کنند */
}