/*
==========================================================
  CUSTOM STYLE SHEET — FINAL OPTIMIZED VERSION
  Project: Gift Shop / Landing + Product Sections
  Author: You
  Structure: Modular / Scalable / Production‑Ready
==========================================================

  TABLE OF CONTENTS
  ---------------------------------------------------------
  01) RESET & GLOBALS
  02) HERO SECTION
  03) SECTION BADGE & TITLES (shared)
  04) FEATURE CARDS
  05) PRODUCT CARDS
  06) SECTIONS WRAPPERS (gift-packs, cosmetics, etc.)
  07) RESPONSIVE
==========================================================
*/

/* ==========================================================
   01) RESET & GLOBALS
   ========================================================== */
@font-face {
  font-family: "yekan";
  src: url("../fonts/Yekan-Bakh-FaNum-04-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*:not(.fas) {
  font-family: yekan !important;
}
body {
  font-family: "IRANSans", sans-serif;
  background: #fffdfb;
  color: #2c1810;
}
:root {
  --color-primary: #ef3462;
  --color-secondary: #fb6261;
  --color-light: #fff1e9;
  --color-accent: #e7cfc3;
  --color-dark: #3a2a24;
  --font-main: "Vazirmatn", "Tahoma", sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: #fefaf7;
  margin: 0;
}
img {
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================
   HEADER (includes/header.php)
   ========================================================== */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0.8rem 0;
  background: #fff1e9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 9999;
}



/* ===== Logo Style ===== */
.navbar .navbar-brand img {
  filter: drop-shadow(0 0 4px rgba(180, 93, 59, 0.2));
}


/* Logo */
.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-primary) !important;
  letter-spacing: -0.5px;
  transition: 0.3s;
}

.navbar-brand:hover {
  opacity: 0.85;
}

.navbar-brand span {
  color: var(--color-secondary);
}

/* Nav Links */
.nav-link {
  color: var(--color-dark) !important;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.5rem 0.9rem !important;
  margin: 0 0.15rem;
  border-radius: 8px;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
  background-color: rgba(231, 207, 195, 0.4);
}

/* Search Box */
.search-box {
  position: relative;
}

.search-box .form-control {
  border-radius: 50px;
  padding: 0.4rem 1.2rem 0.4rem 2.6rem;
  border: 1.5px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition:
    0.3s border-color,
    0.3s box-shadow;
  min-width: 200px;
}

.search-box .form-control:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 0.2rem rgba(215, 132, 95, 0.25);
  background: #fff;
}

.search-box .btn {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--color-secondary);
  padding: 0.3rem 0.6rem;
}

.search-box .btn:hover {
  color: var(--color-primary);
}

/* Cart Icon */
.cart-icon {
  color: var(--color-dark);
  transition: 0.3s;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 241, 233, 0.6);
}

.cart-icon:hover {
  color: var(--color-primary);
  background: rgba(231, 207, 195, 0.8);
}

.cart-icon .badge {
  font-size: 0.7rem;
  padding: 0.15em 0.35em;
  background-color: var(--color-secondary) !important;
}

/* Auth Buttons */
.btn-outline-primary {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  border-radius: 50px;
  padding: 0.35rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.btn-primary {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  border-radius: 50px;
  padding: 0.35rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Toggler icon for mobile */
.navbar-toggler {
  border: none;
  color: var(--color-primary);
  font-size: 1.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler.fix{
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 999;
}
.user-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Toggle Button */
.user-dropdown .dropdown-toggle {
  background: linear-gradient(
    135deg,
    var(--color-light) 0%,
    var(--color-accent) 100%
  );
  border: 2px solid var(--color-accent);
  color: var(--color-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 4px 12px rgba(215, 132, 95, 0.15);
}

.user-dropdown .dropdown-toggle:hover {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-light) 100%
  );
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(215, 132, 95, 0.25);
}

.user-dropdown .dropdown-toggle:active,
.user-dropdown .dropdown-toggle:focus {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-light) 100%
  );
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 0.25rem rgba(215, 132, 95, 0.25);
}

.user-dropdown .dropdown-toggle::after {
  margin-right: 0.5rem;
  margin-left: 0;
  border-top-color: var(--color-secondary);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(180, 93, 59, 0.3);
}

/* Dropdown Menu */
.user-dropdown .dropdown-menu {
  border: none;
  border-radius: 18px;
  padding: 1rem 0;
  margin-top: 0.8rem !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  animation: fadeIn 0.3s ease;
  border: 1px solid rgba(231, 207, 195, 0.3);
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: white;
  transform: rotate(45deg);
  border-top: 1px solid rgba(231, 207, 195, 0.3);
  border-left: 1px solid rgba(231, 207, 195, 0.3);
}

/* Dropdown Items */
.user-dropdown .dropdown-item {
  padding: 0.85rem 1.5rem;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-right: 3px solid transparent;
  margin: 0.2rem 0.5rem;
  border-radius: 10px;
  width: auto;
}

.user-dropdown .dropdown-item:hover {
  background: rgba(231, 207, 195, 0.3);
  color: var(--color-primary);
  border-right-color: var(--color-secondary);
  transform: translateX(-5px);
}

.user-dropdown .dropdown-item:active {
  background: rgba(215, 132, 95, 0.2);
}

/* Icons in dropdown items */
.user-dropdown .dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

/* Divider */
.user-dropdown .dropdown-divider {
  margin: 0.8rem 1rem;
  border-color: rgba(231, 207, 195, 0.5);
}

/* Logout item */
.user-dropdown .dropdown-item.logout {
  color: var(--color-danger);
  border-right-color: var(--color-danger);
}

.user-dropdown .dropdown-item.logout:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #c82333;
}

.user-dropdown .dropdown-item.logout i {
  color: var(--color-danger);
}

/* User info header in dropdown */
.dropdown-user-info {
  padding: 0.8rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(231, 207, 195, 0.5);
  margin-bottom: 0.5rem;
}

.dropdown-user-info .user-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.dropdown-user-info .user-email {
  font-size: 0.85rem;
  color: #777;
  direction: ltr;
  text-align: center;
}

/* Badge for new notifications */
.badge-notification {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  margin-right: auto;
}

/* Demo note */
.demo-note {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: 12px;
  color: var(--color-dark);
  font-size: 0.9rem;
  text-align: right;
}

.demo-note h5 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
/* ==========================================================
   02) HERO SECTION (includes/sections/hero.php) — OPTIMIZED
   ========================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at 90% 10%, rgba(251, 98, 97, 0.22), transparent 55%),
    linear-gradient(155deg, #f8e6e4 0%, #f3dad6 50%, #e8c9c1 100%);
}


/* لایه ذرات: پشت محتوا، روی بک‌گراند */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto; /* تعامل موس برای repulse */
}

/* محتوای هیرو: همیشه روی ذرات */
.hero-content {
  position: relative;
  z-index: 2; /* مهم: بالاتر از ذرات */
  text-align: center;
  color: #2b2320;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 213, 79, 0.95);
  color: #2b2320;
  padding: 0.55rem 1.6rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(255, 213, 79, 0.25);
  animation: badgePulse 2.2s infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 10px 25px rgba(255, 213, 79, 0.22);
  }
  50% {
    box-shadow: 0 14px 34px rgba(255, 213, 79, 0.35);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 1.2rem;
  color: #221c19;
  letter-spacing: -0.5px;
}

.hero-title .brand {
  color: var(--color-primary); /* #ef3462 */
  display: inline-block;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 2;
  color: rgba(43, 35, 32, 0.78);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* دکمه اصلی */
.btn-main {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.1rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 14px 30px rgba(239, 52, 98, 0.22);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(239, 52, 98, 0.30);
  filter: saturate(1.05);
}

/* دکمه خطی */
.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: var(--color-primary);
  border: 1.8px solid rgba(239, 52, 98, 0.55);
  border-radius: 999px;
  padding: 0.85rem 2.1rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover {
  background: rgba(239, 52, 98, 0.10);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(239, 52, 98, 0.15);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-text  { font-size: 1rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.75rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-main,
  .btn-outline {
    width: 86%;
    justify-content: center;
  }
}


/* ==========================================================
   FEATURES (features.php)
   ========================================================== */
.benefits-section {
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.section-subtitle {
  color: var(--color-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: inline;
  max-width: 150px;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 0.4rem 1.2rem;
  background: rgba(215, 132, 95, 0.1);
  border-radius: 50px;
  letter-spacing: 1px;
}

.section-title {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.section-description {
  color: var(--color-text);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Content Layout */
.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Vector/Image Side */
.vector-side {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vector-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-light) 0%,
    var(--color-accent) 100%
  );
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(180, 93, 59, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vector-placeholder {
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  border: 2px dashed var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.vector-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 15%;
  left: 10%;
  background: var(--color-light);
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  background: var(--color-accent);
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  background: rgba(215, 132, 95, 0.2);
  animation-delay: 4s;
}

.floating-element i {
  font-size: 1.8rem;
  color: var(--color-primary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Benefits Cards */
.benefits-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-right: 5px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(180, 93, 59, 0.15);
  border-right-color: var(--color-secondary);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 241, 233, 0.1) 100%
  );
  z-index: 0;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.benefit-card:nth-child(1) .benefit-icon {
  background: rgba(180, 93, 59, 0.1);
  color: var(--color-primary);
}

.benefit-card:nth-child(2) .benefit-icon {
  background: rgba(215, 132, 95, 0.1);
  color: var(--color-primary);
}

.benefit-card:nth-child(3) .benefit-icon {
  background: rgba(231, 207, 195, 0.2);
  color: var(--color-primary);
}

.benefit-title {
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.benefit-description {
  color: var(--color-text);
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Decorative Elements */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(215, 132, 95, 0.05) 0%,
    rgba(255, 241, 233, 0.1) 100%
  );
  top: -150px;
  left: -150px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(231, 207, 195, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  bottom: -100px;
  right: -100px;
}

/* INDEX SEO */
.minimal-description-section {
  position: relative;
  background-color: var(--color-light);
  padding: 5rem 0;
  overflow: hidden;
}

/* عنوان اصلی */
.section-title {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

/* خط تزئینی نازک زیر عنوان */
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* متن توضیحات */
.section-text {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--color-dark);
  opacity: 0.85;
  max-width: 750px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* شکل‌های هندسی بسیار کمرنگ در پس‌زمینه */
.shape-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

.bg-shape-1 {
  width: 350px;
  height: 350px;
  background-color: var(--color-primary);
  top: -120px;
  right: -80px;
}

.bg-shape-2 {
  width: 220px;
  height: 220px;
  background-color: var(--color-secondary);
  bottom: -60px;
  left: -40px;
}

/* تضمین می‌کند محتوا روی اشکال قرار بگیرد */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/*
FOOTER
*/
/* ============================================
   فوتر شیک گلورینو
   ============================================ */

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #3a2437 0%, #211a2d 100%);
  color: var(--text-light);
  font-family: "Vazir", sans-serif;
  overflow: hidden;
}

/* موج بالای فوتر */
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: #fefaf7;
  transform: rotate(180deg);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

/* محتوای اصلی */
.footer-main {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

/* الگوی پس‌زمینه تزئینی */
.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* گرید فوتر */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 30px;
  position: relative;
}

/* ستون‌ها */
.footer-col {
  position: relative;
}

/* لوگو */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-tag {
  color: #fff;
}

@keyframes logoSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.footer-logo h3 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #fff1e9, #d7845f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* متن درباره */
.about-text {
  color: rgba(255, 241, 233, 0.7);
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: justify;
}

/* شبکه‌های اجتماعی */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 400ms;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link:hover::after {
  opacity: 1;
}

/* عنوان ستون‌ها */
.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  color: #fff1e9;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #d7845f, transparent);
  border-radius: 2px;
}

/* لینک‌ها */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 241, 233, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex; /* تغییر از flex به inline-flex برای محدود شدن به محتوا */
    align-items: center;
    gap: 8px;
    width: fit-content; /* تضمین می‌کند عرض لینک فقط به اندازه متن و آیکون باشد */
}


.footer-links ul li a::before {
  content: "❯";
  font-size: 0.8rem;
  color: var(--secondary);
  transition: transform 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
  transform: translateX(-5px);
}


.footer-links ul li a:hover::before {
  transform: translateX(-3px);
}

/* اطلاعات تماس */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 241, 233, 0.7);
}

.contact-list li i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 4px;
  min-width: 18px;
  text-align: center;
}

.contact-list li span {
  line-height: 1.7;
}


/* نوار پایینی */
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  color: rgba(255, 241, 233, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
  color: rgba(255, 241, 233, 0.7);
}

.payment-methods i {
  transition: color 0.3s;
}

.payment-methods i:hover {
  color: var(--secondary);
}

/* دکمه بازگشت به بالا */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b45d3b, #d7845f);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(180, 93, 59, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(180, 93, 59, 0.6);
}

/* انیمیشن‌های کوچک */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-col {
  animation: fadeInUp 0.6s ease-out both;
}

.footer-col:nth-child(1) {
  animation-delay: 0.1s;
}
.footer-col:nth-child(2) {
  animation-delay: 0.2s;
}
.footer-col:nth-child(3) {
  animation-delay: 0.3s;
}
.footer-col:nth-child(4) {
  animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vector-side {
    height: 400px;
    order: 2;
  }

  .benefits-cards {
    order: 1;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .vector-side {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .benefit-title {
    font-size: 1.2rem;
  }

  .benefit-description {
    font-size: 0.95rem;
  }
}

/* Animation for cards on scroll */
.benefit-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   03) SECTION BADGE & TITLES (shared across sections)
   ========================================================== */

.section-badge {
  display: inline-block;
  background: #f0e1d4;
  color: #b45d3b;
  font-size: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.section-title-modern {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c1810;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: #7a5a4a;
  font-size: 0.95rem;
}

.view-all-link {
  color: #b45d3b;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: 0.2s;
}
.view-all-link span {
  transition: transform 0.2s;
}
.view-all-link:hover {
  color: #9a4a2c;
}
.view-all-link:hover span {
  transform: translateX(-4px);
}

/* ==========================================================
   04) FEATURE CARDS - COMBINED STYLE
   ========================================================== */

/* --- Header Section (Original Professional Style) --- */
.features-header { max-width: 750px; margin: 0 auto; }
.features-badge { 
    display: inline-flex; align-items: center; background: rgba(180, 93, 59, 0.08); 
    color: #b45d3b; padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; 
}
.features-title { font-size: 2rem; font-weight: 800; color: #2c1810; }
.features-title span { color: #b45d3b; position: relative; }
.features-subtitle { color: #6b4e3e; font-size: 1rem; margin-top: 1rem; opacity: 0.9; }
.features-divider { 
    width: 60px; height: 4px; margin: 2rem auto 0; 
    background: linear-gradient(to left, #b45d3b, #ffb38a); border-radius: 3px; 
}

/* --- Luxury Cards Section --- */
.luxury-card {
    background: #ffffff;
    border-radius: 2.5rem;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.luxury-card:hover {
    border: 2px solid #b45d3b;
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(180, 93, 59, 0.15);
}

.feature-icon-wrapper {
    width: 90px; height: 90px;
    background: #fdfaf8;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.8rem;
    border: 1px dashed #b45d3b;
    transition: all 0.5s ease;
}

.luxury-card:hover .feature-icon-wrapper {
    background: #b45d3b;
}

.luxury-card:hover .feature-icon-wrapper i {
    color: #fff;
}

.feature-icon { font-size: 2.2rem; color: #b45d3b; transition: 0.3s; }

.luxury-card h5 {
    font-size: 1.3rem; font-weight: 800;
    color: #2c1810; margin-bottom: 1.2rem;
}

.luxury-card p {
    font-size: 0.95rem; color: #7a5e4e;
    line-height: 1.8; font-weight: 400;
}


/* ==========================================================
   05) PRODUCT CARDS (gift-packs, cosmetics, products.php)
   ========================================================== */

.gift-showcase {
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
}

/* گرید دوستونه اصلی */
.showcase-grid {
  display: flex;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ========================
           ستون راست: محتوای متنی + تصویر
        ========================= */
.content-col {
  text-align: right;
  padding: 2rem 0;
  position: relative;
  padding-right: 2.5rem;
}
.content-col::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215, 132, 95, 0.3) 20%,
    #d7845f 50%,
    rgba(180, 93, 59, 0.7) 50%,
    rgba(180, 93, 59, 0.3) 80%,
    transparent 100%
  );
  border-radius: 1px;
  animation: gentlePulse 4s ease-in-out infinite;
}
#cosmetics .content-col::after {
  right: 0;
  left: unset;
}
@keyframes gentlePulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.05);
  }
}

.content-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  padding: 0.4rem 1.6rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(180, 93, 59, 0.25);
}

.content-title {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.content-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.content-title span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(215, 132, 95, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.content-desc {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 2rem;
  max-width: 450px;
}

.content-image-wrapper {
  margin: 1.5rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: column;
}
.content-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  max-width: 240px;

  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(180, 93, 59, 0.15));
  animation: gentleFloat 5s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.01);
  }
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--primary);
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-bottom: 10px;
  position: absolute;
  top: -60px;
  left: 0;
  z-index: 9999;
}
.view-all-btn i {
  transition: transform 0.3s;
}
.view-all-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 15px 25px rgba(180, 93, 59, 0.3);
}
.view-all-btn:hover i {
  transform: translateX(5px);
}
#cosmetics .view-all-btn {
  right: 0 !important;
  left: unset !important;
}
/* ========================
           ستون چپ: اسلایدر Swiper
        ========================= */
.slider-col {
  position: relative;
}

.swiper-container {
  width: 100%;
  padding: 20px 20px 20px 50px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

/* ========================
           کارت محصول (لرزش برطرف شده)
        ========================= */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(231, 207, 195, 0.4);
  transform: translateY(0) scale(1);
  will-change: transform, box-shadow;
}

/* هاور نرم بدون لرزش (استفاده از scale و translateY جزئی) */
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(180, 93, 59, 0.15);
  border-color: var(--secondary);
  z-index: 2;
}

.product-img-modern {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-modern {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-primary)
  );
  color: white;
  padding: 0.3rem 1.1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.product-body {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.product-subtitle {
  font-size: 0.8rem;
  color: #7a6e6a;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price-wrapper {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.current-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}
.price-unit {
  font-size: 0.7rem;
  color: #888;
  margin-right: 3px;
}
.old-price {
  text-decoration: line-through;
  color: #b0a7a3;
  font-size: 0.85rem;
}

.btn-cart-modern {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.7rem;
  transition: all 0.25s;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(180, 93, 59, 0.25);
  font-size: 0.9rem;
}
.btn-cart-modern:hover {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-primary)
  );
  box-shadow: 0 8px 20px rgba(180, 93, 59, 0.4);
  transform: translateY(-2px);
  color: white;
}

/* ========================
           ناوبری Swiper
        ========================= */
.swiper-button-next,
.swiper-button-prev {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  color: var(--primary) !important;
  transition: 0.3s;
  top: 45%;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  color: white !important;
}
.swiper-pagination-bullet {
  background: #d0ccc9;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  transform: scale(1.3);
}

/* ==========================================================
   06) SECTION WRAPPERS (gift-packs, cosmetics…)
   ========================================================== */

.gift-packs-section,
.cosmetics-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.gift-packs-section .section-title-modern,
.cosmetics-section .section-title-modern {
  margin-bottom: 1rem;
}

/* ==========================================================
   07) RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
  .hero-title-modern {
    font-size: 1.8rem;
  }

  .hero-text-modern {
    max-width: 100%;
  }

  .section-title-modern {
    font-size: 1.4rem;
  }

  .product-img-modern,
  .product-img-wrap img {
    height: 180px;
  }

  .hero-banner-modern {
    padding: 2rem 1rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar .container {
    flex-wrap: nowrap;
    
  }

  .navbar-collapse {
    background: rgba(255, 241, 233, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.2rem;
    margin-top: 0.8rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .navbar.glass-nav .navbar-collapse {
    background: rgba(255, 241, 233, 0.98);
  }

  .search-box,
  .cart-icon,
  .auth-buttons {
    margin: 0.6rem 0;
  }

  .auth-buttons {
    display: flex;
    gap: 0.5rem;
  }
}
@media (max-width: 576px) {
  .demo-container {
    padding: 2rem 1.5rem;
  }

  .user-dropdown .dropdown-menu {
    min-width: 220px;
  }
}
@media (max-width: 768px) {
  .section-title-modern {
    font-size: 1.5rem;
  }
}
/* ========================
           ریسپانسیو اصلاح‌شده
        ========================= */
@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-col {
    order: -1;
    text-align: center;
    padding: 1rem 0;
  }
  .content-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .content-image-wrapper {
    margin: 1rem auto;
  }

  .viewport-btn {
    justify-content: center;
  }
  .swiper-container {
    padding: 15px 30px 45px 30px;
  }
}

@media (max-width: 576px) {
  .gift-showcase {
    padding: 2rem 1rem;
  }
  .content-title {
    font-size: 1.9rem;
  }
  .content-desc {
    font-size: 1rem;
  }
  .product-img-modern {
    height: 160px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }
}
/* ============================================
   ریسپانسیو
   ============================================ */
@media (max-width: 992px) {
  .parallax-section {
    min-height: auto;
    padding: 80px 0;
  }

  .parallax-title {
    font-size: 2rem;
  }

  .parallax-desc {
    font-size: 0.95rem;
    text-align: center;
    text-align-last: center;
  }

  .content-wrapper {
    padding: 2rem 1.5rem;
    margin: 0 15px;
  }

  .shape-1 {
    width: 200px;
    height: 200px;
  }

  .shape-2 {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 576px) {
  .parallax-section {
    padding: 60px 0;
  }

  .parallax-title {
    font-size: 1.6rem;
  }

  .parallax-desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .content-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .floating-particles {
    display: none;
  }
}

/* برای مرورگرهایی که transform را بهتر هندل می‌کنند */
@media (prefers-reduced-motion: reduce) {
  .parallax-bg,
  .particle,
  .shape,
  .content-wrapper {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 768px) {
  .footer-wave svg {
    height: 80px;
  }
}
/* ریسپانسیو */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-col::after{
    position: unset;
  }

}

@media (max-width:991px) {
  
.showcase-grid {
  flex-direction: column;
}
}
@media (min-width:992px) and (max-width:1474px) {
.showcase-grid {
  max-width: 90vw;
}
  }
@media (min-width:992px) and (max-width: 1086px) {
  .nav-link{
    white-space: nowrap;
    padding: 0;
    margin:0
  }
  }
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo h3 {
    font-size: 1.5rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
  }
}

/* استایل اختصاصی برای کانتینر ذرات در هیرو */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* بالاتر از تصویر پس‌زمینه ولی پشت محتوا */
    pointer-events: auto; /* برای اینکه موس واکنش نشان دهد */
}

/* اطمینان از اینکه کانتینر هیرو موقعیت نسبی دارد */
.hero-section {
    position: relative;
    z-index: 0;
}
