/* 
  =========================================
  ZN1 Cafe - Premium Stylesheet
  =========================================
  Brand: ZN1 Cafe (كوفي زد ان ون)
  Design Concept: Minimal Luxury / Editorial
  RTL Default Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --color-dark: #120c08;       /* Deep espresso black */
  --color-dark-surface: #1e140d; /* Soft dark surface */
  --color-gold: #c0824b;       /* Premium Copper/Bronze */
  --color-gold-hover: #d2945d;
  --color-beige: #f8f5f2;      /* Elegant warm beige */
  --color-cream: #fdfbf7;      /* Clean warm cream */
  --color-text-dark: #2a1f18;  /* Coffee dark text */
  --color-text-muted: #6e5f54; /* Light coffee brown text */
  --color-border: rgba(192, 130, 75, 0.15);
  --color-white: #ffffff;
  
  --font-ar: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Inter', 'Manrope', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(18, 12, 8, 0.05), 0 4px 6px -2px rgba(18, 12, 8, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(18, 12, 8, 0.08), 0 10px 10px -5px rgba(18, 12, 8, 0.04);
  --shadow-gold: 0 10px 30px -10px rgba(192, 130, 75, 0.3);
  
  --glass-bg: rgba(18, 12, 8, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(12px);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--color-cream);
  color: var(--color-text-dark);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Accessibility & Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }

/* Section Spacing & Transitions */
section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-beige);
}

.section-beige {
  background-color: var(--color-beige);
}

.section-title-wrapper {
  margin-bottom: 4.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-ar);
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: inherit;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: var(--border-radius-full);
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-gold);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-hover);
}

/* --- Sticky Navigation Header --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all var(--transition-normal);
  padding: 1.5rem 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.header-nav.scrolled {
  padding: 0.8rem 0;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

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

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

.logo-img {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 5px;
  box-shadow: 0 4px 15px rgba(18, 12, 8, 0.18);
  border: 2px solid var(--color-gold);
  transition: all var(--transition-normal);
  object-fit: contain;
}

.header-nav.scrolled .logo-img {
  height: 58px;
  width: 58px;
  padding: 4px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

.nav-link {
  color: var(--color-cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.header-nav.scrolled .nav-link {
  color: var(--color-beige);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-gold) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Base Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(192, 130, 75, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.8rem;
}

/* --- HERO SECTION --- */
.hero-section {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Elegant dimming overlay for readability */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(18, 12, 8, 0.5) 0%, rgba(18, 12, 8, 0.95) 100%);
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(0.65) contrast(1.05);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 4;
  max-width: 800px;
  margin-top: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(192, 130, 75, 0.15);
  border: 1px solid rgba(192, 130, 75, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius-full);
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-beige);
  max-width: 650px;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.7;
  animation: fadeInUp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-beige);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-beige);
  border-radius: 12px;
  position: relative;
  margin-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* --- TRUST SECTION --- */
.trust-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.trust-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  padding: 2.2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.trust-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(192, 130, 75, 0.08);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.trust-card:hover .trust-icon-box {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: rotateY(180deg);
}

.trust-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.trust-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.trust-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
  width: 100%;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
}

/* --- ABOUT SECTION --- */
.about-section {
  background-color: var(--color-beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

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

.about-image-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-gold);
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  text-align: center;
}

.about-image-badge .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-gold);
  display: block;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-image-badge .text {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-headline {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.about-para {
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.about-feature-icon {
  color: var(--color-gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.about-quote {
  border-right: 3px solid var(--color-gold);
  padding-right: 1.2rem;
  margin-top: 1rem;
  font-style: italic;
  color: var(--color-text-dark);
  font-weight: 500;
}

/* --- WHY CHOOSE US --- */
.why-section {
  background-color: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.why-card {
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  background-color: var(--color-white);
}

.why-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(192, 130, 75, 0.08);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
  transition: all var(--transition-normal);
}

.why-card:hover .why-icon-box {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.why-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- MENU HIGHLIGHTS --- */
.menu-section {
  background-color: var(--color-beige);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.menu-tab-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-ar);
}

.menu-tab-btn.active, .menu-tab-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Menu card styling inspired by Apple/Notion minimal luxury */
.menu-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(192, 130, 75, 0.08);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.menu-card.hidden {
  display: none;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.menu-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--color-beige);
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.menu-badge {
  position: absolute;
  top: 1rem;
  left: 1rem; /* Swapped for RTL logical consistency */
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--color-gold);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--glass-border);
}

.menu-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  gap: 1rem;
}

.menu-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.menu-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-en);
  white-space: nowrap;
}

.menu-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.menu-order-btn {
  background: none;
  border: none;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.menu-order-btn:hover {
  color: var(--color-dark);
}

/* --- ESPRESSO BLEND SECTION --- */
.blend-section {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 8rem 0;
  position: relative;
}

.blend-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at left bottom, rgba(192, 130, 75, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.blend-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5.5rem;
  align-items: center;
}

.blend-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.blend-p {
  color: var(--color-beige);
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.blend-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.blend-stat-item {
  border-right: 2px solid var(--color-gold);
  padding-right: 1.5rem;
}

.blend-stat-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-en);
}

.blend-stat-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-beige);
}

.blend-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blend-visual-image {
  width: 100%;
  max-width: 480px;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.blend-steam-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* --- GALLERY SECTION --- */
.gallery-section {
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 12, 8, 0.95) 0%, rgba(18, 12, 8, 0.3) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.gallery-caption {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 12, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-gold);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  z-index: 10002;
}

.lightbox-arrow:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.lightbox-prev {
  right: -80px;
}

.lightbox-next {
  left: -80px;
}

/* --- REVIEWS & TESTIMONIALS --- */
.reviews-section {
  background-color: var(--color-beige);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5.5rem;
}

.stat-card {
  background-color: var(--color-white);
  padding: 2.2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(192, 130, 75, 0.06);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-en);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Reviews Grid Layout */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
}

.review-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.review-card::before {
  content: '”';
  position: absolute;
  top: 1rem;
  right: 1.8rem;
  font-size: 5.5rem;
  font-family: var(--font-en);
  color: rgba(192, 130, 75, 0.1);
  line-height: 1;
}

.stars-rating {
  color: #ffb800;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}

.review-text {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  font-weight: 500;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-beige);
  padding-top: 1.2rem;
  margin-top: auto;
}

.reviewer-avatar-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-beige);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 2px solid var(--color-border);
}

.reviewer-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.reviewer-details span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- LOCATION SECTION --- */
.location-section {
  background-color: var(--color-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.location-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.location-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hours-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.hours-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-dark);
}

.hours-title svg {
  color: var(--color-gold);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(192, 130, 75, 0.08);
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-day {
  font-weight: 600;
}

.hours-time {
  font-weight: 700;
  color: var(--color-gold);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-wrapper {
  height: 480px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background-color: var(--color-beige);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.contact-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(192, 130, 75, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(192, 130, 75, 0.08);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-dark);
}

/* --- FAQ SECTION --- */
.faq-section {
  background-color: var(--color-white);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.5rem 0;
  color: var(--color-text-dark);
  font-family: var(--font-ar);
}

.faq-trigger:hover {
  color: var(--color-gold);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-beige);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.faq-trigger.active .faq-icon-box {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
}

.faq-content p {
  padding-top: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-dark);
  color: var(--color-beige);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 65px;
  width: auto;
  margin-bottom: 1.8rem;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #a89f97;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-links-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-link-item a {
  color: #a89f97;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer-link-item a:hover {
  color: var(--color-gold);
}

.footer-legal-card {
  background-color: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.8rem;
  border-radius: var(--border-radius-md);
}

.footer-legal-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.2rem;
}

.footer-legal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-legal-row:last-child {
  margin-bottom: 0;
}

.footer-legal-lbl {
  color: #a89f97;
}

.footer-legal-val {
  font-weight: 600;
  color: var(--color-beige);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #8c8279;
}

/* --- CRO FLOATING BUTTONS --- */
.floating-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem; /* Swapped for RTL focus */
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-size: 1.5rem;
  border: none;
}

.whatsapp-btn {
  background-color: #25d366;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.back-to-top {
  background-color: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
}

/* Mobile Quick Action Sticky Bar (Optimized CRO) */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 0.8rem 1.2rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 997;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

/* Custom Steam Keyframe Animation */
@keyframes steamAnimation {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50px) scaleX(1.3) skewX(-5deg);
    opacity: 0.3;
  }
  95% {
    opacity: 0;
  }
  100% {
    transform: translateY(-100px) scaleX(1.6);
    opacity: 0;
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */

@media (max-width: 1200px) {
  .about-grid, .blend-grid, .location-grid {
    gap: 3rem;
  }
  
  .footer-grid {
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .about-grid, .blend-grid, .location-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image-wrapper {
    order: 2;
  }
  
  .about-image-main {
    height: 400px;
  }
  
  .blend-visual-wrapper {
    order: 2;
  }
  
  .map-wrapper {
    height: 380px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }
  
  .logo-img {
    height: 56px;
    width: 56px;
    padding: 3px;
  }
  
  .header-nav.scrolled .logo-img {
    height: 48px;
    width: 48px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-dark-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    gap: 1.8rem;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--color-white);
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-sticky-cta {
    display: flex;
  }
  
  /* Make room for the mobile sticky cta bar */
  body {
    padding-bottom: 60px;
  }
  
  .hero-content-wrapper {
    text-align: center;
  }
  
  .hero-desc {
    margin-right: auto;
    margin-left: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item.wide, .gallery-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 1rem;
  }
  
  .map-wrapper {
    height: 320px;
  }
  
  .floating-container {
    bottom: 5.5rem;
    left: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand, .footer-links-col {
    align-items: center;
    text-align: center;
  }
  
  .footer-links-col h3::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .lightbox-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .lightbox-prev {
    right: -10px;
  }
  
  .lightbox-next {
    left: -10px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
  
  .about-image-main {
    height: 300px;
  }
  
  .about-image-badge {
    padding: 1.2rem;
    max-width: 160px;
    bottom: -15px;
    right: -15px;
  }
  
  .about-image-badge .number {
    font-size: 1.8rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .menu-tabs {
    gap: 0.5rem;
  }
  
  .menu-tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Print CSS */
@media print {
  .header-nav, .floating-container, .mobile-sticky-cta, .hero-scroll-indicator, .lightbox, .slider-controls {
    display: none !important;
  }
  body {
    background-color: #fff;
    color: #000;
  }
}

/* =========================================================================
   ZN1 Cafe - E-Commerce & Details Page Styles
   ========================================================================= */

/* --- Featured Categories --- */
.categories-section {
  padding: 8rem 0 4rem;
  background-color: var(--color-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-beige);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-decoration: none;
  color: var(--color-text-dark);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  background-color: var(--color-dark);
}

.category-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-content h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.category-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.category-link-btn {
  margin-top: auto;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}

.category-card:hover .category-link-btn {
  gap: 0.8rem;
}

/* --- Featured Products / Store Grid --- */
.store-section {
  padding: 6rem 0 8rem;
  background-color: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.product-card {
  background-color: var(--color-beige);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-light);
}

.product-img-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 square ratio */
  overflow: hidden;
  background-color: #fff;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-gold);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-xs);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.product-badge.badge-signature {
  background-color: var(--color-dark);
  border: 1px solid var(--color-gold);
}

.product-badge.badge-origin {
  background-color: #554135;
}

.product-actions-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(18, 12, 8, 0.7), transparent);
  transition: bottom var(--transition-normal);
  z-index: 10;
}

.product-card:hover .product-actions-overlay {
  bottom: 0;
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-beige);
  border: none;
  color: var(--color-text-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.product-action-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
  transform: scale(1.1);
}

.product-action-btn.wishlist-toggle-btn.active i {
  color: var(--color-gold);
}

.product-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-origin {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-name a {
  text-decoration: none;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

.product-name a:hover {
  color: var(--color-gold);
}

.product-subtitle-en {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: sans-serif;
  margin-bottom: 0.8rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.stars-rating {
  color: #ffb800;
  font-size: 0.9rem;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.product-desc-short {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.product-meta-specs {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.product-meta-specs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-variant-selector {
  margin-bottom: 1.2rem;
}

.selector-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.selector-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.variant-select {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-xs);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  color: var(--color-text-dark);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.variant-select:focus {
  border-color: var(--color-gold);
}

.product-notes-snippet {
  background-color: rgba(192, 130, 75, 0.08);
  border-right: 3px solid var(--color-gold);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  line-height: 1.4;
  border-radius: 0 var(--border-radius-xs) var(--border-radius-xs) 0;
  margin-bottom: 1.5rem;
}

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

.product-price {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.4rem;
}

.product-price .price-currency {
  font-size: 0.8rem;
  font-weight: 400;
  margin-right: 0.2rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--border-radius-xs);
}

/* --- Cart & Wishlist Sliding Drawers --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  z-index: 1005;
  transition: right var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 12, 8, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

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

.cart-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: var(--color-dark);
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cart-drawer-header h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}

.cart-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.cart-close-btn:hover {
  opacity: 1;
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.cart-drawer-body::-webkit-scrollbar {
  width: 5px;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-xs);
}

.cart-empty-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem;
}

.cart-empty-message i {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-gold);
}

.cart-empty-message p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background-color: #fff;
  border-radius: var(--border-radius-xs);
  padding: 0.5rem;
}

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

.cart-item-details h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.5rem;
}

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

.cart-item-price {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-xs);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.cart-qty-btn {
  background: none;
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.cart-qty-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: #ff4a4a;
}

.cart-drawer-footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(18, 12, 8, 0.9);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cart-summary-row span:first-child {
  opacity: 0.8;
}

.cart-subtotal {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.35rem;
}

.checkout-btn {
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  background-color: #25d366; /* WhatsApp Green */
  border-color: #25d366;
}

.checkout-btn:hover {
  background-color: #128c7e;
  border-color: #128c7e;
}

/* Wishlist Drawer specific offsets */
.wishlist-drawer .cart-drawer-content {
  background-color: var(--color-beige);
  color: var(--color-text-dark);
}

.wishlist-drawer .cart-drawer-header {
  border-bottom-color: var(--color-border);
}

.wishlist-drawer .cart-drawer-header h3 {
  color: var(--color-text-dark);
}

.wishlist-drawer .cart-close-btn {
  color: var(--color-text-dark);
}

.wishlist-drawer .cart-item {
  border-bottom-color: var(--color-border);
}

.wishlist-drawer .cart-item-details h4 {
  color: var(--color-text-dark);
}

.wishlist-drawer .cart-item-variant {
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- Search Fullscreen Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 12, 8, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 2rem;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-close-btn {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.search-close-btn:hover {
  opacity: 1;
}

.search-overlay-content {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 3.5rem;
}

#search-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 3.5rem 1rem 1rem;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: #fff;
  outline: none;
  transition: border-color var(--transition-normal);
}

#search-input:focus {
  border-color: var(--color-gold);
}

.search-input-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  pointer-events: none;
}

.search-results {
  width: 100%;
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.search-results::-webkit-scrollbar {
  width: 4px;
}

.search-results::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-result-item {
  display: block;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xs);
  padding: 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.search-result-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold-light);
}

.result-meta-type {
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.result-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.result-title-row h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.result-price {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-gold);
}

.result-desc-snippet {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.search-no-results {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  padding: 3rem 0;
}

/* --- Quick View Modal --- */
.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1020;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.quick-view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 12, 8, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.quick-view-content {
  position: relative;
  background-color: var(--color-bg);
  border-radius: var(--border-radius-sm);
  width: 100%;
  max-width: 900px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  animation: modalScale var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-view-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-beige);
  border: 1px solid var(--color-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  z-index: 10;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.quick-view-close:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.quick-view-body {
  padding: 3rem;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.qv-gallery-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.qv-main-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.qv-info-col {
  display: flex;
  flex-direction: column;
}

/* --- Product Details Page Layout --- */
.breadcrumb-nav {
  background-color: var(--color-beige);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  font-size: 0.75rem;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--color-gold);
  font-weight: 700;
}

.product-details-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}

.details-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-main-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  transition: transform 0.1s ease-out;
}

.zoom-lens {
  position: absolute;
  border: 1px solid rgba(192, 130, 75, 0.4);
  background-color: rgba(192, 130, 75, 0.05);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  display: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-thumb {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xs);
  overflow: hidden;
  padding: 0.5rem;
  background-color: #fff;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

.details-info-column {
  display: flex;
  flex-direction: column;
}

.details-product-title {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.3rem;
}

.details-desc-para {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.details-notes-box {
  background-color: var(--color-beige);
  border-right: 4px solid var(--color-gold);
  padding: 1.2rem 1.8rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-bottom: 2.5rem;
}

.details-notes-box h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dark);
}

.details-notes-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-dark);
}

.add-to-cart-form {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  align-items: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--color-beige);
  height: 52px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--color-text-dark);
  width: 48px;
  height: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.qty-input {
  border: none;
  background: none;
  width: 50px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  outline: none;
}

/* Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.qty-input[type=number] {
  -moz-appearance: textfield;
}

.specs-table-wrapper {
  margin-bottom: 3.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

.specs-table-wrapper h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 1rem 1.2rem;
  text-align: right;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.specs-table th {
  font-weight: 700;
  color: var(--color-text-dark);
  width: 40%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-table td {
  color: var(--color-text-muted);
}

.specs-table tr:nth-child(even) {
  background-color: var(--color-beige);
}

.details-share-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.details-share-box span {
  font-size: 0.9rem;
  font-weight: 700;
}

.share-buttons {
  display: flex;
  gap: 0.8rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-beige);
  border: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--color-text-dark);
  font-size: 1rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.share-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
}

/* --- Related Products Section --- */
.related-products-section {
  padding: 6rem 0;
}

/* --- Customer Reviews Section --- */
.product-reviews-section {
  padding: 8rem 0;
  background-color: var(--color-bg);
}

.reviews-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  margin-top: 3.5rem;
}

.reviews-summary-card {
  background-color: var(--color-beige);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.average-rating-container {
  margin-bottom: 2.5rem;
}

.avg-rating-val {
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.avg-stars {
  color: #ffb800;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.total-reviews-lbl {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.rating-bars-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.rating-bar-row span:first-child {
  width: 50px;
  text-align: right;
}

.rating-bar-row span:last-child {
  width: 35px;
  text-align: left;
}

.bar-bg {
  flex-grow: 1;
  height: 8px;
  background-color: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: #ffb800;
  border-radius: 4px;
}

.reviews-list-wrapper {
  display: flex;
  flex-direction: column;
}

.reviews-list-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.reviews-list-header h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.review-item:last-child {
  border-bottom: none;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* --- Sticky Purchase Box (mobile & desktop) --- */
.sticky-purchase-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  transition: bottom var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-purchase-bar.show {
  bottom: 0;
}

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

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sticky-bar-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background-color: #fff;
  border-radius: var(--border-radius-xs);
  padding: 0.3rem;
}

.sticky-bar-text h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}

.sticky-bar-text p {
  font-size: 0.8rem;
  color: var(--color-gold);
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sticky-bar-price {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.35rem;
}

.qty-selector.inline-qty {
  height: 42px;
}

.qty-selector.inline-qty .qty-btn {
  width: 36px;
  color: #fff;
}

.qty-selector.inline-qty .qty-input {
  width: 36px;
  color: #fff;
}

/* =========================================================================
   Responsive Overrides for E-Commerce
   ========================================================================= */

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .details-gallery-column {
    order: 1;
  }

  .details-info-column {
    order: 2;
  }

  .reviews-page-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .reviews-summary-card {
    align-self: stretch;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quick-view-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .qv-gallery-col {
    padding: 1rem;
  }

  .qv-main-img {
    max-height: 220px;
  }

  .quick-view-body {
    padding: 2rem 1.5rem;
  }

  .details-product-title {
    font-size: 1.8rem;
  }

  .add-to-cart-form {
    flex-wrap: wrap;
  }

  .add-to-cart-form .btn {
    flex-grow: 1;
  }

  .sticky-bar-info {
    display: none; /* Hide product thumbnail on tiny screens */
  }

  .sticky-bar-container {
    justify-content: center;
    gap: 1.5rem;
  }

  /* When sticky bar is active on mobile, hide the static mobile cta bar or raise z-indexes */
  .mobile-sticky-cta {
    display: none !important; /* Hide secondary mobile cta to give priority to purchase action */
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .gallery-thumb img {
    height: 45px;
  }

  .specs-table th {
    width: 50%;
  }

  .sticky-bar-actions {
    gap: 0.8rem;
    width: 100%;
    justify-content: space-between;
  }
}

