/* ==========================================================================
   LUMIVIE STORE - PREMIUM COSMETICS DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=Cinzel+Decorative:wght@400;700&family=Pinyon+Script&display=swap');

:root {
  /* --- LIGHT LUXURY COSMETICS THEME --- */
  --bg-primary: #f4eae1;
  --bg-secondary: #fbf8f4;
  --bg-tertiary: #eedcd2;
  --bg-glass: rgba(244, 234, 225, 0.85);
  --border-gold: rgba(176, 137, 109, 0.25);
  --border-gold-hover: rgba(176, 137, 109, 0.5);
  --gold-primary: #b0896d;
  --gold-light: #c39e82;
  --gold-dark: #7c6353;
  --text-primary: #4e3c30;
  --text-secondary: #7c6353;
  --text-muted: #9d8574;
  --shadow-gold: 0 8px 32px 0 rgba(176, 137, 109, 0.06);
  --shadow-gold-hover: 0 12px 40px 0 rgba(176, 137, 109, 0.12);
  --accent-blush: #e29578;
  --input-bg: #fdf8f4;
  --toast-bg: rgba(78, 60, 48, 0.95);
  --card-glow: radial-gradient(circle at top right, rgba(176, 137, 109, 0.05), transparent 60%);

  /* --- COMMON STYLES --- */
  --font-serif: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-round: 50%;
}



/* ==========================================================================
   RESET & GLOBAL BASICS
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: background-color 0.4s ease, color 0.4s ease;
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] {
  text-align: right;
  --font-sans: 'Cairo', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 3px;
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT CONSTRAINTS
   ========================================================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-blush); /* Coral pink */
  display: block;
  margin-top: 0.6rem;
  letter-spacing: 2px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

/* Premium Buttons */
.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--gold-primary);
  border-radius: var(--border-radius-sm);
  color: var(--gold-primary);
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-smooth);
}

.gold-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold-hover);
}

.gold-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--gold-primary);
  border-radius: var(--border-radius-sm);
  color: var(--bg-primary);
  background: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gold-btn-solid:hover {
  background: transparent;
  color: var(--gold-primary);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-2px);
}

.gold-btn-solid:disabled {
  background: var(--text-muted);
  border-color: var(--text-muted);
  color: var(--bg-primary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Badge count indicator */
.btn-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
  background: #000000;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 40px;
  opacity: 1;
  display: flex;
  align-items: center;
  z-index: 1002;
  direction: ltr; /* Force LTR so it always scrolls consistently */
}

.announcement-bar-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.announcement-bar-track:hover {
  animation-play-state: paused;
}

.announcement-bar-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.announcement-bar span {
  white-space: nowrap;
}

.announcement-bar .separator {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

header.scrolled .announcement-bar {
  max-height: 0;
  padding: 0 16px;
  opacity: 0;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 65px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

/* Logo Image Styling */
.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 52px;
}

/* Text Logo fallback */
.logo-text {
  display: none !important;
}

.logo-text:hover {
  letter-spacing: 7px;
}

.logo-l {
  font-family: 'Cinzel Decorative', 'Cinzel', var(--font-serif);
  font-weight: 700;
  font-style: normal;
  color: var(--text-primary);
}

.logo-text span:not(.logo-l) {
  font-family: 'Bodoni Moda', 'Playfair Display', var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-primary);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: var(--transition-smooth);
}

.nav-links li.active a,
.nav-links li a:hover {
  color: var(--gold-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-round);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.action-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(223, 182, 159, 0.05);
}

.lang-switch-btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.5rem 0.8rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.lang-switch-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */

/* ==========================================================================
   HERO / BANNER SECTION (NEW LUXURY REDESIGN)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url('assets/hero-background.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  padding-top: 120px;
}

body[dir="rtl"] .hero {
  background: url('assets/hero-background.png') no-repeat center center;
  background-size: cover;
}

.hero-new-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  gap: 3rem;
  z-index: 3;
}

.hero-new-text {
  flex: 1.1;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2rem;
  animation: fadeInUp 1.2s ease forwards;
}

body[dir="rtl"] .hero-new-text {
  text-align: right;
  align-items: flex-end;
}

.hero-new-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #b0896d;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: block;
}

.hero-new-title {
  font-family: 'Bodoni Moda', 'Playfair Display', var(--font-serif);
  font-size: 4.6rem;
  line-height: 1.05;
  font-weight: 500;
  color: #4e3c30;
  margin-bottom: 1.5rem;
}

.hero-new-title .title-main {
  display: block;
  letter-spacing: 1px;
}

.hero-new-title .hero-cursive {
  font-family: 'Pinyon Script', cursive;
  font-size: 5.6rem;
  font-weight: 400;
  color: #b0896d;
  text-transform: none;
  display: block;
  margin-top: 0.2rem;
  line-height: 0.9;
}

body[dir="rtl"] .hero-new-title {
  font-family: 'Cairo', var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.2;
}

body[dir="rtl"] .hero-new-title .hero-cursive {
  font-family: 'Cairo', var(--font-sans);
  font-size: 3.2rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0;
  margin-top: 0.4rem;
  line-height: 1.1;
}

.hero-separator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  width: 100%;
}

body[dir="rtl"] .hero-separator {
  justify-content: flex-end;
}

.hero-separator .separator-line {
  width: 60px;
  height: 1px;
  background: rgba(176, 137, 109, 0.35);
}

.hero-separator .separator-star {
  color: #b0896d;
  font-size: 0.95rem;
  line-height: 1;
}

.hero-new-desc {
  font-size: 1.15rem;
  color: #7c6353;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 480px;
}

.hero-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b0896d;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 1.1rem 3rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(176, 137, 109, 0.25);
  text-transform: uppercase;
}

.hero-new-btn:hover {
  background: #4e3c30;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(78, 60, 48, 0.25);
  color: #ffffff;
}

.hero-new-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.hero-new-btn:hover .btn-arrow {
  transform: translateX(5px);
}

body[dir="rtl"] .hero-new-btn:hover .btn-arrow {
  transform: translateX(-5px);
}

.hero-new-showcase {
  flex: 1.2;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  animation: fadeInRight 1.4s ease forwards;
}

body[dir="rtl"] .hero-new-showcase {
  animation: fadeInLeft 1.4s ease forwards;
}

.hero-showcase-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 45px rgba(124, 99, 83, 0.12));
}

.hero-inline-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(176, 137, 109, 0.18);
  padding-top: 2rem;
  width: 100%;
}

.hero-inline-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

body[dir="rtl"] .hero-inline-feature {
  flex-direction: row-reverse !important;
  text-align: right !important;
}

.feature-icon-wrapper {
  font-size: 1.3rem;
  color: #b0896d;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 137, 109, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-text-wrapper {
  display: flex;
  flex-direction: column;
}

.feature-text-wrapper h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4e3c30;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.feature-text-wrapper p {
  font-size: 0.72rem;
  color: #9d8574;
  line-height: 1.3;
}

/* Animations helper */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Navigation color adjustments for light hero section */
header:not(.scrolled) {
  border-bottom: none;
}

header:not(.scrolled) .announcement-bar {
  background: #000000;
  color: #ffffff;
  border-bottom: none;
}

header:not(.scrolled) .announcement-bar .separator {
  color: #ffffff;
}

header:not(.scrolled) .nav-links li a {
  color: #7c6353;
}

header:not(.scrolled) .nav-links li.active a,
header:not(.scrolled) .nav-links li a:hover {
  color: #c39e82;
}

header:not(.scrolled) .logo-text {
  color: #7c6353;
}

header:not(.scrolled) .logo-l {
  color: #7c6353;
}

header:not(.scrolled) .lang-switch-btn {
  color: #7c6353;
  border-color: rgba(124, 99, 83, 0.3);
}

header:not(.scrolled) .action-btn {
  color: #7c6353;
  border-color: rgba(124, 99, 83, 0.3);
}

header:not(.scrolled) .btn-badge {
  background-color: #c39e82;
  color: #ffffff;
}

header:not(.scrolled) .menu-toggle {
  color: #7c6353 !important;
}

/* ==========================================================================
   HOMEPAGE CATEGORIES GRID
   ========================================================================== */

.categories-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding: 1.2rem 1rem;
  width: 100%;
  scrollbar-width: none; /* Hide scrollbar for clean look */
}

.categories-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

@media (max-width: 768px) {
  .categories-grid {
    justify-content: flex-start; /* Scroll from start on mobile */
    padding-inline-start: 1rem;
  }
}

.category-card {
  position: relative;
  flex: 0 0 130px; /* Fixed circular item width */
  height: auto;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: none; /* Replaced with inner transitions */
}

/* Image container / ring animation */
.category-card-img {
  width: 120px;
  height: 120px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid #ffffff; /* White boundary ring */
  box-shadow: 0 0 0 2px rgba(176, 137, 109, 0.25); /* Gold outline */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* elastic animation! */
  filter: brightness(0.95);
}

.category-card-overlay {
  position: static !important;
  background: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  width: 100% !important;
  transform: none !important;
  opacity: 1 !important;
}

.category-card-title {
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #4e3c30 !important;
  margin: 0 !important;
  text-align: center;
  transition: color 0.3s ease;
  transform: none !important;
}

.category-card-action {
  display: none !important; /* Hide subtext to keep it clean */
}

/* --- ATTRACTIVE HOVER ANIMATION --- */
.category-card:hover {
  transform: none !important; /* Revert default translate */
  box-shadow: none !important;
}

.category-card:hover .category-card-img {
  transform: scale(1.1) rotate(3deg); /* Elastic scale & slight rotation! */
  box-shadow: 0 0 0 4px #b0896d, 0 10px 25px rgba(176, 137, 109, 0.3); /* Expanding gold ring & shadow */
  filter: brightness(1.05);
}

.category-card:hover .category-card-title {
  color: #b0896d !important; /* Gold title on hover */
  transform: none !important;
}

/* ==========================================================================
   PRODUCT DYNAMIC CATALOG LAYOUT
   ========================================================================== */

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Filter Sidebar */
.shop-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold);
}

.filter-group {
  margin-bottom: 2.5rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.filter-checkbox-label:hover {
  color: var(--gold-primary);
}

.filter-checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  background-color: var(--input-bg);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.filter-checkbox-label input[type="checkbox"]:checked {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.filter-checkbox-label input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--bg-primary);
  font-size: 0.65rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Price Range Slider */
.price-slider-wrapper {
  padding: 0.5rem 0;
}

.price-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border-gold);
  outline: none;
  margin: 1.5rem 0;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid var(--bg-secondary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: var(--transition-fast);
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--gold-light);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Mobile Filter Toggle Button */
.filter-toggle-mobile {
  display: none;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-gold);
}

.search-input-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-gold);
  padding: 0.7rem 1rem 0.7rem 2.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

body[dir="rtl"] .search-input-wrapper input {
  padding: 0.7rem 2.8rem 0.7rem 1rem;
}

.search-input-wrapper input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(223, 182, 159, 0.15);
}

.search-input-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

body[dir="rtl"] .search-input-wrapper .search-icon {
  left: auto;
  right: 1rem;
}

.sort-select-wrapper {
  position: relative;
}

.sort-select-wrapper select {
  background: var(--input-bg);
  border: 1px solid var(--border-gold);
  padding: 0.7rem 2.5rem 0.7rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  min-width: 180px;
  transition: var(--transition-smooth);
}

body[dir="rtl"] .sort-select-wrapper select {
  padding: 0.7rem 1.2rem 0.7rem 2.5rem;
}

.sort-select-wrapper select:focus {
  border-color: var(--gold-primary);
}

.sort-select-wrapper::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

body[dir="rtl"] .sort-select-wrapper::after {
  right: auto;
  left: 1rem;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.product-card {
  background: #ffffff; /* White background */
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card-img-wrapper {
  position: relative;
  height: 290px;
  overflow: hidden;
  background-color: #ffffff; /* White background for perfume bottle contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Contain is key for clean product shots */
  transition: var(--transition-smooth);
}

.wishlist-toggle-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: #ffffff;
  transition: var(--transition-smooth);
}

body[dir="rtl"] .wishlist-toggle-btn {
  right: auto;
  left: 1rem;
}

.wishlist-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(226, 149, 120, 0.8);
  border-color: #e29578;
  color: #ffffff;
}

.wishlist-toggle-btn.active {
  background: #e29578;
  border-color: #e29578;
  color: #ffffff;
}

.product-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #ffffff; /* White info panel */
  position: relative;
  z-index: 2;
}

.product-card-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary); /* Gold brand */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary); /* Dark brown title */
  height: 3rem; /* Dynamic layout alignment */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-rating {
  display: none !important; /* Hide rating for clean look */
}

.product-card-rating .rating-num {
  font-weight: 600;
  color: var(--text-primary);
  margin-inline-start: 0.3rem;
}

.product-card-rating .reviews-count {
  color: var(--text-muted);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(176, 137, 109, 0.12);
  padding-top: 0.8rem;
}

.product-card-price-container {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-card-compare-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.product-card-size-badge {
  display: none !important; /* Hide size badge for clean look */
}

.product-sale-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #2d3748; /* Dark slate badge */
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

body[dir="rtl"] .product-sale-badge {
  left: auto;
  right: 1rem;
}

/* Action buttons styling */
.product-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
}

.product-card-add-btn {
  flex: 1;
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-add-btn:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(78, 60, 48, 0.15);
}

.product-card-lightning-btn {
  background-color: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.product-card-lightning-btn:hover {
  background-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(176, 137, 109, 0.2);
}

/* Card Hover States */
.product-card:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

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

/* ==========================================================================
   FLOATING CART & SLIDING DRAWER SYSTEM
   ========================================================================== */

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gold-primary);
  color: var(--bg-primary);
  padding: 1rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(223, 182, 159, 0.4);
  font-weight: 600;
  letter-spacing: 1px;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, background-color 0.3s ease;
}

body[dir="rtl"] .floating-cart-btn {
  right: auto;
  left: 2rem;
}

.floating-cart-btn.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.floating-cart-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px) scale(1.03);
}

.floating-cart-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.floating-cart-badge {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bounce Micro-animation on Cart Add */
@keyframes cartBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.cart-bounce-anim {
  animation: cartBounce 0.6s ease;
}

/* Cart Overlay & Drawer Panel */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-left: none;
  border-right: 1px solid var(--border-gold);
  box-shadow: 10px 0 40px rgba(0,0,0,0.5);
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-close-btn {
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-close-btn:hover {
  color: var(--gold-primary);
  transform: rotate(90deg);
}

.cart-back-btn {
  transition: color 0.3s ease, transform 0.3s ease;
}

.cart-back-btn:hover {
  color: var(--gold-primary) !important;
  transform: translateX(-3px);
}

body[dir="rtl"] .cart-back-btn:hover {
  transform: translateX(3px);
}

body[dir="rtl"] .cart-back-btn i {
  transform: rotate(180deg);
}

.cart-body-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
}

.cart-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cart-empty-message {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-secondary);
}

.cart-item {
  display: flex;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 1.2rem;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-gold);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cart-item-brand {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-selector {
  display: flex;
  align-items: center;
  background-color: var(--input-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  color: var(--gold-primary);
}

.qty-val {
  padding: 0 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-remove {
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.cart-item-remove:hover {
  color: var(--accent-blush);
}

/* Shipping Details checkout form */
.cart-checkout-form {
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  margin-top: 2rem;
}

.cart-checkout-form h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input, .form-group textarea {
  background-color: var(--input-bg);
  border: 1px solid var(--border-gold);
  padding: 0.7rem 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-group select {
  background: var(--input-bg) url("data:image/svg+xml;utf8,<svg fill='%237c6353' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat left 0.75rem center !important;
  background-size: 1.25rem !important;
  border: 1px solid var(--border-gold);
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  direction: rtl;
  cursor: pointer;
  width: 100%;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold-primary);
  outline: none;
}

/* Cart drawer Footer Calculations */
.cart-footer {
  padding: 1.8rem 2rem;
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-gold);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-total-row.grand-total {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  border-top: 1px dashed var(--border-gold);
  padding-top: 0.8rem;
  margin-top: 0.2rem;
}

.cart-footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cart-footer-buttons button {
  width: 100%;
}

/* ==========================================================================
   QUICK VIEW DETAILED MODAL POPUP
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

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

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

body[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.2rem;
}

.modal-close-btn:hover {
  color: var(--gold-primary);
  transform: rotate(90deg);
}

.modal-img-wrapper {
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 550px;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-panel {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 550px;
}

.modal-brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-specs li {
  position: relative;
  padding-inline-start: 1.2rem;
}

.modal-specs li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

body[dir="rtl"] .modal-specs li::before {
  left: auto;
  right: 0;
}

body[dir="rtl"] .modal-specs li {
  padding-inline-start: 0;
  padding-inline-end: 1.2rem;
}

.modal-actions {
  margin-top: auto;
}

.modal-actions button {
  width: 100%;
}

/* ==========================================================================
   ABOUT US SECTION STYLING
   ========================================================================== */

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-border {
  border: 1px solid var(--border-gold);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-gold);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  display: block;
}

/* ==========================================================================
   CONTACT US SECTION STYLING
   ========================================================================== */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  border-color: var(--gold-primary);
  background-color: var(--gold-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-3px);
}

.contact-details h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-socials {
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  margin-top: auto;
}

.social-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(223, 182, 159, 0.05);
  transform: translateY(-2px);
}

.contact-form-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.map-container {
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  margin-top: 1rem;
}

/* ==========================================================================
   FOOTER SECTION STYLING
   ========================================================================== */

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 1px;
  background: var(--gold-primary);
}

body[dir="rtl"] .footer-col h3::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-inline-start: 5px;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  font-size: 1.8rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.newsletter-form input {
  flex-grow: 1;
  background: var(--input-bg);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.newsletter-btn {
  background: var(--gold-primary);
  color: var(--bg-primary);
  padding: 0 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MICRO-INTERACTIONS & TOAST NOTIFICATION CONTAINER
   ========================================================================== */

#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10005; /* Set above bottom nav (10000) */
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

body[dir="rtl"] #toast-container {
  right: auto;
  left: 2rem;
}

@media (max-width: 768px) {
  #toast-container {
    bottom: 5.5rem !important; /* Clears the 65px mobile bottom navigation */
    left: 1rem !important;
    right: 1rem !important;
    align-items: center;
  }
  .toast-message {
    min-width: 280px !important;
    max-width: calc(100vw - 2rem) !important;
    justify-content: center;
  }
}

.toast-message {
  background: linear-gradient(135deg, rgba(22, 18, 14, 0.97) 0%, rgba(30, 24, 18, 0.97) 100%);
  border: 1px solid var(--gold-primary);
  color: #f5efe8;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.15), inset 0 1px 0 rgba(212,175,55,0.12);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 240px;
  max-width: 320px;
  backdrop-filter: blur(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
}

/* Keyframes animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero {
    background: url('assets/hero-background.png') no-repeat center top !important;
    background-size: cover !important;
    padding-top: 100px !important;
    padding-bottom: 420px !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .hero-new-container {
    flex-direction: column !important;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
    justify-content: flex-start !important;
  }

  .hero-new-text {
    padding-top: 0 !important;
    text-align: center !important;
    align-items: center !important;
    max-width: 100%;
  }

  body[dir="rtl"] .hero-new-text {
    text-align: center !important;
    align-items: center !important;
  }

  .hero-new-subtitle {
    display: block !important;
  }

  .hero-new-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #4e3c30 !important;
  }

  .hero-new-title .title-main {
    color: #4e3c30 !important;
  }

  .hero-new-title .hero-cursive {
    font-size: 3.8rem;
    color: #b0896d !important;
  }

  body[dir="rtl"] .hero-new-title {
    font-size: 2.3rem;
    color: #4e3c30 !important;
  }

  body[dir="rtl"] .hero-new-title .hero-cursive {
    font-size: 2.1rem;
    color: #b0896d !important;
  }

  .hero-new-subtitle {
    color: #b0896d !important;
  }

  .hero-new-desc {
    color: #7c6353 !important;
  }

  .hero-separator {
    justify-content: center !important;
    margin-bottom: 1.2rem;
  }

  .hero-new-desc {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  .hero-new-showcase {
    display: none !important; /* Hide separate image block since it is in the background! */
  }

  .hero-inline-features {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(176, 137, 109, 0.15) !important;
    width: 100% !important;
  }

  .hero-inline-feature {
    flex: 1 !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    gap: 0.4rem !important;
  }

  body[dir="rtl"] .hero-inline-feature {
    flex-direction: column !important; /* Keep icons on top of titles on mobile */
    text-align: center !important;
  }

  .hero-inline-feature .feature-icon-wrapper {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.2rem !important;
  }

  .hero-inline-feature .feature-text-wrapper h4 {
    font-size: 0.7rem !important;
    margin-bottom: 0 !important;
    letter-spacing: 0px !important;
  }

  .hero-inline-feature .feature-text-wrapper p {
    display: none !important; /* Hide minor description on mobile to save vertical space */
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .modal-box {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
  }
  .modal-img-wrapper {
    height: 220px;
    flex-shrink: 0;
  }
  .modal-info-panel {
    padding: 1.8rem 1.5rem;
    flex-grow: 1;
    max-height: none;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  header {
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    transition: var(--transition-smooth);
  }

  header.scrolled {
    background: var(--bg-glass) !important;
    border-bottom: 1px solid var(--border-gold) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
  }

  .nav-links {
    display: none; /* Mobile JS handles visibility */
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 70px !important;
    position: relative !important;
    padding: 0 1.2rem !important;
    direction: ltr !important;
  }

  header .logo-wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 100% !important;
    transform: translate(calc(-100% - 1.2rem), -50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 5 !important;
  }

  header .logo-img {
    display: block !important;
    height: 60px !important;
    width: auto !important;
    transition: height 0.3s ease !important;
  }

  header.scrolled .logo-img {
    height: 48px !important;
  }

  header .logo-text {
    display: none !important;
  }

  #menu-toggle-btn {
    position: static !important;
    transform: none !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(78, 60, 48, 0.3) !important;
    border-radius: 50% !important;
    color: #4e3c30 !important;
    margin-right: 0.8rem !important;
  }

  #lang-toggle-btn {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    border: 1px solid rgba(78, 60, 48, 0.3) !important;
    border-radius: 4px !important;
    color: #4e3c30 !important;
  }

  .nav-actions {
    position: static !important;
    transform: none !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.8rem !important;
    width: auto !important;
    padding: 0 !important;
    pointer-events: auto !important;
    margin-right: auto !important;
    direction: ltr !important;
  }

  .nav-actions button,
  .nav-actions a {
    pointer-events: auto !important;
  }

  .action-btn {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(78, 60, 48, 0.3) !important;
    border-radius: 50% !important;
    color: #4e3c30 !important;
  }

  .hero {
    background: url('assets/hero-background.png') no-repeat center top !important;
    background-size: cover !important;
    padding-top: 90px !important;
    padding-bottom: 380px !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .hero-overlay {
    display: none !important;
  }

  .hero-fallback-bg {
    display: none !important;
  }

  .hero-new-title {
    color: #4e3c30 !important;
    text-shadow: none !important;
  }

  .hero-new-title .title-main {
    color: #4e3c30 !important;
  }

  .hero-new-title .hero-cursive {
    color: #b0896d !important;
    text-shadow: none !important;
  }

  .hero-new-subtitle {
    color: #b0896d !important;
    text-shadow: none !important;
  }

  .hero-new-desc {
    color: #7c6353 !important;
    text-shadow: none !important;
  }

  /* Small screen adjustments for the new hero section */
  @media (max-width: 576px) {
    .hero {
      background: url('assets/hero-background.png') no-repeat center top !important;
      background-size: cover !important;
      padding-bottom: 350px !important;
    }

    .hero-new-title {
      font-size: 2.2rem;
      color: #4e3c30 !important;
    }

    body[dir="rtl"] .hero-new-title {
      font-size: 1.85rem;
      color: #4e3c30 !important;
    }

    .hero-new-title .hero-cursive {
      font-size: 2.8rem;
      color: #b0896d !important;
    }

    body[dir="rtl"] .hero-new-title .hero-cursive {
      font-size: 1.7rem;
      color: #b0896d !important;
    }

    .hero-new-subtitle {
      color: #b0896d !important;
    }

    .hero-new-desc {
      font-size: 0.88rem;
      margin-bottom: 1.6rem;
      color: #7c6353 !important;
    }

    .hero-new-btn {
      width: 100%;
      max-width: 280px;
      padding: 1rem 2rem;
    }
    
    .hero-new-showcase {
      height: 250px;
    }
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-toggle-mobile {
    display: flex;
  }

  .shop-sidebar {
    display: block; /* Kept block to allow CSS transform transitions */
    visibility: hidden; /* Prevent keyboard focus and hide when closed */
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    z-index: 1050;
    overflow-y: auto;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border-gold);
    box-shadow: 10px 0 40px rgba(0,0,0,0.5);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  }

  body[dir="rtl"] .shop-sidebar {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--border-gold);
    transform: translateX(100%);
  }

  .shop-sidebar.open {
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  .shop-toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 1.2rem;
  }

  .search-input-wrapper {
    max-width: 100%;
  }

  /* 2-Column Responsive Products Grid for Mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-card-img-wrapper {
    height: 200px; /* Reduced from 290px to maintain standard aspect ratio in narrow columns */
  }

  .product-card-info {
    padding: 1rem; /* Reduced from 1.5rem to maximize content area */
  }

  .product-card-brand {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .product-card-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    height: 2.6em; /* Set height to clamp titles to max 2 lines for perfect card height alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-rating {
    margin-bottom: 0.8rem;
    font-size: 0.7rem;
  }

  .product-card-footer {
    padding-top: 0.8rem;
  }

  .product-card-price {
    font-size: 0.95rem;
  }

  .product-card-actions {
    margin-top: 0.6rem;
    gap: 0.3rem;
  }

  .product-card-add-btn {
    padding: 0.55rem 0.4rem;
    font-size: 0.75rem;
  }

  .product-card-lightning-btn {
    padding: 0.55rem;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Offers Page Section Grid Layout */
#offers-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
}
#offers-page-grid .offer-card {
  flex: none; /* override horizontal layout flex basis */
  max-width: 100%;
}
@media (max-width: 1200px) {
  #offers-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  }
}
@media (max-width: 768px) {
  #offers-page-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   OFFERS SECTION & LUXURY DEALS CARDS
   ========================================================================== */
/* Offers Horizontal Scroll */
.offers-horizontal-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2.2rem;
  padding: 1.5rem 0.5rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.offers-horizontal-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}
.offers-horizontal-row .offer-card {
  flex: 0 0 540px;
  max-width: 540px;
}
@media (max-width: 768px) {
  .offers-horizontal-row .offer-card {
    flex: 0 0 320px;
    max-width: 320px;
  }
}

/* Countdown Timer Styles */
.offers-countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  gap: 0.8rem;
}
.countdown-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.countdown-timer {
  display: flex;
  gap: 1rem;
}
.countdown-item {
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  min-width: 65px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: 'Outfit', sans-serif;
}
.countdown-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Stock Progress Bar Styles */
.offer-stock-progress-container {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}
.offer-stock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.offer-stock-status {
  color: var(--accent-blush);
  font-weight: 600;
}
.offer-stock-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.offer-stock-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--accent-blush) 100%);
  border-radius: 3px;
  animation: pulse-progress 2s infinite ease-in-out;
}
@keyframes pulse-progress {
  0% { opacity: 0.85; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}

.offer-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  box-shadow: var(--shadow-gold), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(223, 182, 159, 0.08), transparent 60%);
  z-index: 1;
}

.offer-card-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: linear-gradient(135deg, var(--accent-blush) 0%, var(--gold-dark) 100%);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--border-radius-sm);
  z-index: 5;
  box-shadow: 0 4px 10px rgba(226, 149, 120, 0.35);
  letter-spacing: 0.5px;
}

body[dir="rtl"] .offer-card-badge {
  left: auto;
  right: 1.2rem;
}

.offer-card-img-wrapper {
  position: relative;
  width: 240px;
  min-width: 240px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
  border-right: 1px solid var(--border-gold);
}

body[dir="rtl"] .offer-card-img-wrapper {
  border-right: none;
  border-left: 1px solid var(--border-gold);
}

@media (max-width: 576px) {
  .offer-card {
    flex-direction: column;
  }
  .offer-card-img-wrapper {
    width: 100%;
    height: 180px;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--border-gold);
  }
  .offer-card-info {
    padding: 1.2rem !important;
  }
  .offer-card-brand {
    font-size: 0.65rem !important;
    margin-bottom: 0.4rem !important;
  }
  .offer-card-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.6rem !important;
  }
  .offer-card-desc {
    font-size: 0.8rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .offer-card-specs {
    margin-bottom: 1rem !important;
    padding-top: 0.8rem !important;
    gap: 0.4rem !important;
  }
  .offer-card-specs li {
    font-size: 0.78rem !important;
  }
  .offer-card-footer {
    padding-top: 0.8rem !important;
  }
  .offer-card-price-new {
    font-size: 1.15rem !important;
  }
  .offer-card-price-old {
    font-size: 0.85rem !important;
  }
  .offer-card-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
  }
}

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

.offer-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 10, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 4;
}

.offer-card-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.offer-card-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.offer-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.offer-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.offer-card-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  border-top: 1px dashed var(--border-gold);
  padding-top: 1rem;
}

.offer-card-specs li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.offer-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-gold);
  padding-top: 1.2rem;
}

.offer-card-prices {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.offer-card-price-new {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}

.offer-card-price-old {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.offer-card-btn {
  padding: 0.8rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold-hover), 0 15px 40px rgba(223, 182, 159, 0.15);
}

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

.offer-card:hover .offer-card-overlay {
  opacity: 1;
}

/* Standalone page sections need extra top padding to clear the fixed header */
.page-section:not(#home-section) {
  padding-top: 140px;
}

@media (max-width: 768px) {
  .page-section:not(#home-section) {
    padding-top: 120px;
  }
}

.back-to-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-shop-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateX(-3px);
}

body[dir="rtl"] .back-to-shop-btn:hover {
  transform: translateX(3px);
}

body[dir="rtl"] .back-to-shop-btn i {
  transform: rotate(180deg);
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-gold);
}

.product-detail-media {
  width: 100%;
}

.product-detail-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-primary);
}

.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-detail-img-wrapper:hover .product-detail-img {
  transform: scale(1.04);
}

.product-detail-badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-sm);
  z-index: 2;
}

.product-detail-wishlist {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail-brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-detail-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.product-detail-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.product-detail-features {
  margin-bottom: 2rem;
  background: var(--bg-primary);
  padding: 1.2rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(223, 182, 159, 0.15);
}

.features-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.features-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.product-detail-cta-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-tertiary);
  padding: 1.8rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-gold);
  margin-bottom: 2rem;
}

.p-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.p-qty-selector {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  padding: 0.2rem;
}

.p-qty-selector .qty-btn {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
}

.p-qty-selector .qty-val {
  padding: 0 1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.p-actions-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.p-btn-instant-order {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)) !important;
  border-color: var(--gold-primary) !important;
  color: var(--bg-primary) !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-btn-instant-order:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  color: var(--bg-primary) !important;
}

.p-btn-add-cart {
  font-size: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-gold);
  padding-top: 1.5rem;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.trust-badge-item i {
  font-size: 1.4rem;
  color: var(--gold-primary);
}

/* Responsive Styles for Product Detail Page */
@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  
  .product-detail-title {
    font-size: 1.6rem;
  }
  
  .p-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .product-trust-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}

/* Instant Order Modal Standalone Styles */
#instant-order-modal-overlay {
  z-index: 99999 !important;
}

.instant-order-modal-card {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: var(--border-radius-md) !important;
  max-width: 480px !important;
  width: 92% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 1.8rem !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#instant-order-modal-overlay.open .instant-order-modal-card {
  transform: scale(1);
}

.instant-product-summary {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: var(--bg-tertiary) !important;
  padding: 0.8rem 1rem !important;
  border-radius: var(--border-radius-sm) !important;
  border: 1px solid var(--border-gold) !important;
  margin-bottom: 0.5rem !important;
  width: 100% !important;
}

.io-summary-img {
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  object-fit: cover !important;
  border-radius: var(--border-radius-sm) !important;
  border: 1px solid var(--border-gold) !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.io-summary-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.io-summary-info h4 {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  line-height: 1.35 !important;
  margin-bottom: 0.3rem !important;
}

.io-summary-meta {
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
}

@media (max-width: 576px) {
  #instant-order-modal-overlay {
    padding: 0.8rem !important;
  }
  .instant-order-modal-card {
    width: 100% !important;
    padding: 1.2rem !important;
    max-height: 92vh !important;
  }
}

/* ==========================================================================
   THANK YOU SUCCESS MODAL POPUP
   ========================================================================== */
.thank-you-modal-card {
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15) !important;
}

#thank-you-modal-overlay.open .thank-you-modal-card {
  transform: scale(1);
}

.thank-you-icon i {
  display: inline-block;
  animation: bounceCheck 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes bounceCheck {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}


/* --- MOBILE BOTTOM NAVIGATION --- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: var(--bg-secondary, #12131c);
  border-top: 1px solid var(--border-gold, rgba(212,175,55,0.3));
  display: none; /* hidden by default, shown on mobile only */
  justify-content: space-around;
  align-items: center;
  z-index: 10000;
  padding: 5px 0;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary, #b5b5be) !important;
  font-size: 0.65rem;
  font-family: 'Cairo', sans-serif;
  gap: 4px;
  width: 20%;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}

.mobile-bottom-nav .nav-item i {
  font-size: 1.2rem;
  color: var(--text-secondary, #b5b5be);
  transition: all 0.3s ease;
}

/* Selected state */
.mobile-bottom-nav .nav-item.active {
  color: var(--gold-primary, #d4af37) !important;
}

.mobile-bottom-nav .nav-item.active i {
  color: var(--gold-primary, #d4af37) !important;
}

/* WhatsApp special style */
.mobile-bottom-nav .nav-item:first-child i {
  color: #25d366; /* WhatsApp green */
}

/* Badges styling */
.mobile-bottom-nav .icon-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.mobile-bottom-nav .badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--gold-primary, #d4af37);
  color: #000 !important;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: none; /* updated by JS */
  justify-content: center;
  align-items: center;
  padding: 1px;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  
  body {
    padding-bottom: 75px !important; /* prevent content from being hidden behind nav bar */
  }
  
  .floating-cart-btn {
    display: none !important; /* hide default floating cart button */
  }
}

/* ==========================================================================
   HOME PAGE CATEGORIES HORIZONTAL SCROLL & CUSTOMER REVIEWS MARQUEE
   ========================================================================== */

.home-category-section {
  background-color: var(--bg-secondary); /* Clean light cream background */
  padding: 5rem 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}

.category-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.products-horizontal-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.8rem;
  padding: 1.5rem 0.5rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.products-horizontal-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.products-horizontal-row .product-card {
  flex: 0 0 290px;
  max-width: 290px;
}

/* Scroll chevron buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.scroll-btn:hover {
  background: #d4af37;
  color: #000000;
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.scroll-btn.left-btn {
  left: -22px;
}

.scroll-btn.right-btn {
  right: -22px;
}

/* Adjust button chevron icon sizing */
.scroll-btn i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .home-category-section {
    padding: 3rem 0;
  }
  .products-horizontal-row,
  .offers-horizontal-row {
    gap: 1rem;
    padding: 1rem 1.2rem 1.5rem 1.2rem; /* Spacing from screen edge on mobile */
    scrollbar-width: thin !important;
    scrollbar-color: rgba(212, 175, 55, 0.4) transparent !important;
    scroll-snap-type: x mandatory; /* Smooth snap scroll */
  }
  
  /* Show subtle custom scrollbar on mobile */
  .products-horizontal-row::-webkit-scrollbar,
  .offers-horizontal-row::-webkit-scrollbar {
    display: block !important;
    height: 4px !important;
  }
  .products-horizontal-row::-webkit-scrollbar-thumb,
  .offers-horizontal-row::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4) !important;
    border-radius: 4px !important;
  }
  .products-horizontal-row::-webkit-scrollbar-track,
  .offers-horizontal-row::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
  }

  .products-horizontal-row .product-card {
    flex: 0 0 68vw !important;
    width: 68vw !important;
    max-width: 220px !important;
    scroll-snap-align: start;
  }
  .offers-horizontal-row .offer-card {
    flex: 0 0 62vw !important;
    width: 62vw !important;
    max-width: 220px !important;
    scroll-snap-align: start;
    height: auto !important;
  }
  .offers-horizontal-row .offer-card .offer-card-img-wrapper {
    height: 140px !important;
  }
  .offers-horizontal-row .offer-card .offer-card-info {
    padding: 0.75rem !important;
  }
  .offers-horizontal-row .offer-card .offer-card-title {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.25rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.3rem !important;
  }
  .offers-horizontal-row .offer-card .offer-card-desc,
  .offers-horizontal-row .offer-card .offer-card-specs,
  .offers-horizontal-row .offer-card .offer-stock-progress-container {
    display: none !important;
  }
  .offers-horizontal-row .offer-card .offer-card-footer {
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
    border-top: 1px solid rgba(176, 137, 109, 0.15) !important;
  }
  .scroll-btn {
    display: none !important; /* Touch swipe on mobile is native and clean */
  }
}

/* Testimonials / Customer Reviews Marquee Section */
.reviews-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
  padding: 2rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

/* RTL gradients */
body[dir="rtl"] .marquee-wrapper::before {
  left: auto;
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

body[dir="rtl"] .marquee-wrapper::after {
  right: auto;
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.review-image-card {
  flex: 0 0 350px;
  max-width: 350px;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.review-image-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold-hover);
}

.review-image-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RTL scroll direction */
body[dir="rtl"] .marquee-content {
  animation: marquee-rtl 30s linear infinite;
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .review-image-card {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .review-image-card img {
    height: 280px;
  }
  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 50px;
  }
}

/* Mobile styling for separate offers page (2 columns grid) */
@media (max-width: 768px) {
  #offers-page-section .container {
    padding: 0 0.5rem !important; /* utilize screen edges to widen cards */
  }
  #offers-page-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem !important; /* wider gap between cards */
    padding: 0 !important;
  }
  #offers-page-grid .offer-card {
    flex-direction: column !important;
    border-radius: var(--border-radius-sm) !important;
    height: auto !important; /* collapse height naturally */
  }
  #offers-page-grid .offer-card-img-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    height: 110px !important; /* Shorter image for wider aspect ratio */
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid var(--border-gold) !important;
  }
  #offers-page-grid .offer-card-info {
    padding: 0.5rem 0.6rem !important; /* Tighter padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important; /* Align content tightly */
    flex-grow: 1;
    text-align: center !important;
    align-items: center !important;
    gap: 0.3rem !important; /* tight gap */
  }
  #offers-page-grid .offer-card-brand {
    font-size: 0.65rem !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    width: 100%;
  }
  #offers-page-grid .offer-card-title {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2rem !important; /* slightly smaller fixed height to prevent stretching */
    text-align: center !important;
    width: 100%;
  }
  #offers-page-grid .offer-card-desc,
  #offers-page-grid .offer-card-specs,
  #offers-page-grid .offer-stock-progress-container {
    display: none !important; /* Hide details on mobile grid to save space */
  }
  #offers-page-grid .offer-card-footer {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    gap: 0.4rem !important;
    margin-top: 0.3rem !important;
    padding-top: 0.4rem !important;
    border-top: none !important; /* Remove line to make it more compact and integrated */
  }
  #offers-page-grid .offer-card-prices {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.3rem !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }
  #offers-page-grid .offer-card-price-new {
    font-size: 0.9rem !important;
  }
  #offers-page-grid .offer-card-price-old {
    font-size: 0.7rem !important;
    margin-inline-start: 0 !important;
  }
  #offers-page-grid .offer-card-btn {
    width: 100% !important;
    padding: 0.4rem 0.2rem !important; /* Tighter button padding */
    font-size: 0.75rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
    margin-top: 0.1rem !important;
  }
  #offers-page-grid .offer-card-btn i {
    display: none !important; /* Hide arrow icon on mobile to prevent wrapping */
  }
  #offers-page-grid .offer-card-badge {
    top: 0.6rem !important;
    left: 0.6rem !important;
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem !important;
  }
  body[dir="rtl"] #offers-page-grid .offer-card-badge {
    left: auto !important;
    right: 0.6rem !important;
  }
}

//* Color Swatch Circles */
.color-option-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  outline: none;
  position: relative;
}

.color-option-btn:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.color-option-btn.active {
  transform: scale(1.15);
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

/* The colors list flex container */
#p-detail-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* Text-based color name buttons (non-hex) */
.color-option-btn.color-option-text {
  width: auto;
  height: auto;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: none;
  letter-spacing: 0;
}

.color-option-btn.color-option-text:hover {
  transform: scale(1.04);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.07);
  box-shadow: none;
}

.color-option-btn.color-option-text.active {
  transform: scale(1.04);
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
  background: rgba(212, 175, 55, 0.1) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25) !important;
}

/* Sticky bottom bar for product detail action buttons on mobile */
@media (max-width: 768px) {
  #product-detail-section .product-detail-cta-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
    padding: 0.65rem 0.85rem;
    z-index: 10002;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0 !important;
  }
  
  #product-detail-section .p-actions-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 0.5rem !important;
    width: 100%;
  }

  #product-detail-section .p-actions-grid button {
    height: 44px !important;
    padding: 0 0.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
  }

  #product-detail-section #p-select-colors-btn {
    height: 38px !important;
    margin-bottom: 0 !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }
  
  #product-detail-section .product-detail-container {
    padding-bottom: 150px !important; /* Make space so bottom details aren't covered */
  }

  /* Adjust Success Choices dialog inside fixed box */
  #product-detail-section #add-to-cart-success-dialog {
    margin-top: 0.5rem !important;
    padding: 0.75rem !important;
  }
}

/* Brand Promotion Banner */
.brand-promo-banner {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.brand-promo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(124, 99, 83, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-promo-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 99, 83, 0.2);
}

@media (max-width: 768px) {
  .brand-promo-banner {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .brand-promo-img {
    border-radius: var(--border-radius-md);
  }
}

