/* ========================================
   TOBACCO OUTLET DELAND — Global Design System
   Premium Dark Theme with Crimson & Gold
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ========= CSS Variables ========= */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --accent-color: #b91c1c;
  --accent-glow: rgba(185, 28, 28, 0.4);
  --border-color: rgba(255, 255, 255, 0.1);
  --gold-accent: #d4af37;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
}

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

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}



a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ========= Scrollbar ========= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }

/* ========= Preloader ========= */
.page-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-playfair);
  font-size: 3.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  background: linear-gradient(135deg, #b91c1c 0%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo img {
  max-width: 350px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

/* ========= Utility Classes ========= */
.glass {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* tactile inner border */
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-cross-lines.png");
  opacity: 0.1;
  pointer-events: none;
}

.glass-panel:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px var(--accent-glow);
  transform: translateY(-5px);
}

.gradient-text {
  background: linear-gradient(135deg, #b91c1c 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.main-content { min-height: 100vh; display: flex; flex-direction: column; }

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

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.animate-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========= AGE VERIFICATION MODAL ========= */
.age-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}

.age-modal {
  max-width: 500px; width: 90%; padding: 3rem 2rem;
  border-radius: 24px; text-align: center;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.age-modal .age-icon { font-size: 4rem; margin-bottom: 1rem; }
.age-modal .age-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.age-modal .age-text { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2rem; }
.age-modal .age-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.age-btn {
  padding: 1rem 2rem; border-radius: 50px; font-size: 1rem;
  font-weight: 600; transition: all 0.3s ease; flex: 1; min-width: 180px;
}

.age-btn-primary {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.age-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5); }

.age-btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.age-btn-secondary:hover { background: rgba(255,255,255,0.15); }

.nav-phone {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-phone::before {
    content: "📞";
    font-size: 1.1rem;
}
.nav-phone:hover {
    color: var(--accent-light, #f87171);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .nav-phone { display: none; }
}

/* ========= NAVBAR ========= */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; max-width: 1440px; margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-playfair);
  font-size: 2.2rem; font-weight: 900; letter-spacing: 0.1em;
  text-decoration: none; font-style: italic; text-transform: uppercase;
  background: linear-gradient(135deg, #b91c1c 0%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.nav-logo:hover { transform: scale(1.02); filter: drop-shadow(0 4px 12px rgba(185, 28, 28, 0.3)); }

.nav-logo img {
  max-height: 120px; width: auto; min-width: 200px;
  object-fit: contain; display: block;
}

.desktop-nav { display: none; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.nav-link {
  font-family: var(--font-playfair);
  font-size: 1.1rem; font-weight: 700; color: var(--text-secondary);
  transition: all 0.3s ease; padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

.nav-link:hover { color: var(--accent-color); }

.nav-dropdown { position: relative; cursor: pointer; }

.dropdown-content {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px; display: flex; flex-direction: column;
  padding: 1rem; border-radius: 12px;
  background: #111111; border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  font-family: var(--font-playfair);
  padding: 0.75rem 1rem; color: var(--text-secondary);
  border-radius: 8px; transition: all 0.2s ease;
  font-weight: 600;
}

.dropdown-content a:hover { color: var(--accent-color); background: rgba(255,255,255,0.05); }

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

.search-wrapper { display: none; }
@media (min-width: 1024px) { .search-wrapper { display: block; width: 250px; } }

.search-input {
  width: 100%; padding: 0.6rem 1rem; border-radius: 50px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
  color: var(--text-primary); font-size: 0.9rem; outline: none;
  transition: all 0.3s ease;
}

.search-input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-glow); }
.search-input::placeholder { color: rgba(255,255,255,0.3); }

.profile-btn {
  display: none; padding: 0.6rem 1.2rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease;
}

.profile-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-color); }
@media (min-width: 768px) { .profile-btn { display: block; } }

.mobile-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  font-size: 1.4rem; color: var(--text-primary);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.3s ease; z-index: 1001; flex-shrink: 0;
}
.mobile-menu-toggle:hover { background: rgba(185,28,28,0.15); border-color: var(--accent-color); }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

/* === Mobile Backdrop === */
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 997;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: all; }

/* === Mobile Nav Panel === */
.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: min(85vw, 380px); height: 100dvh;
  display: flex; flex-direction: column;
  background: #0d0d0d;
  border-left: 1px solid rgba(255,255,255,0.07);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  z-index: 998; overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { transform: translateX(0); }

/* === Mobile Nav Header === */
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mobile-nav-logo {
  font-family: var(--font-playfair);
  font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase;
  background: linear-gradient(135deg, #b91c1c 0%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mobile-nav-close {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary); font-size: 1.2rem; cursor: pointer;
  transition: all 0.3s ease; flex-shrink: 0;
}
.mobile-nav-close:hover { background: rgba(185,28,28,0.2); border-color: var(--accent-color); color: #fff; }

/* === Mobile Nav Search === */
.mobile-nav-search { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.mobile-nav-search .search-input {
  width: 100%; padding: 0.85rem 1.2rem; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary); font-size: 1rem; outline: none;
  transition: all 0.3s ease;
}
.mobile-nav-search .search-input:focus { border-color: var(--accent-color); background: rgba(185,28,28,0.04); }

/* === Mobile Nav Links === */
.mobile-nav-links { flex: 1; padding: 0.75rem 1.5rem; overflow-y: auto; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-playfair);
  font-size: 1.3rem; font-weight: 700;
  color: rgba(255,255,255,0.65);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.25s ease, padding-left 0.25s ease;
  opacity: 0; transform: translateX(18px);
}
.mobile-nav.open .mobile-nav-links a {
  opacity: 1; transform: translateX(0);
  transition: color 0.25s ease, padding-left 0.25s ease, opacity 0.4s ease, transform 0.4s ease;
}
.mobile-nav.open .mobile-nav-links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.open .mobile-nav-links a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open .mobile-nav-links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open .mobile-nav-links a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.open .mobile-nav-links a:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav.open .mobile-nav-links a:nth-child(6) { transition-delay: 0.36s; }
.mobile-nav.open .mobile-nav-links a:nth-child(7) { transition-delay: 0.42s; }
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover { color: var(--text-primary); padding-left: 0.6rem; }
.mobile-nav-links a .link-arrow { color: var(--accent-color); font-size: 0.9rem; opacity: 0; margin-left: auto; transition: opacity 0.25s ease; }
.mobile-nav-links a:hover .link-arrow { opacity: 1; }

/* === Mobile Nav Footer === */
.mobile-nav-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; flex-shrink: 0;
}
.mobile-nav-footer p { font-size: 0.78rem; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; text-transform: uppercase; }

body.menu-open { overflow: hidden; }


/* ========= HERO SLIDER ========= */
.slider-container {
  position: relative; width: 75%; margin: 2rem auto;
  border-radius: 24px; height: 80vh; min-height: 500px; max-height: 900px;
  overflow: hidden; background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@media (max-width: 1024px) {
  .slider-container { width: 100%; margin: 0; border-radius: 0; }
}

.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease-in-out;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 6s ease-out; transform: scale(1.05);
}

.slide.active .slide-image { transform: scale(1); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.slide-content {
  position: relative; z-index: 10; text-align: center;
  color: white; padding: 2rem; max-width: 800px;
  transform: translateY(20px); opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.slide.active .slide-content { transform: translateY(0); opacity: 1; }

.slide-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800;
  margin-bottom: 1rem; line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5); letter-spacing: -1px;
}

.slide-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400;
  margin-bottom: 2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  max-width: 600px; margin-left: auto; margin-right: auto;
  color: rgba(255,255,255,0.9);
}

.slide-btn {
  display: inline-block; padding: 1.25rem 3rem;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border-radius: 50px; text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.3);
  text-transform: uppercase; letter-spacing: 0.05em;
}

.slide-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(185, 28, 28, 0.5); }

.slider-controls {
  position: absolute; bottom: 2rem; left: 0; width: 100%;
  display: flex; justify-content: center; gap: 0.8rem; z-index: 10;
}

.slider-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none;
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}

.slider-dot.active {
  background: #fff; transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.2); color: white;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; opacity: 0; transition: all 0.3s ease;
}

.slider-container:hover .slider-nav { opacity: 1; }
.slider-nav:hover { background: rgba(255,255,255,0.2); transform: translateY(-50%) scale(1.1); }
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }
.slider-nav svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

@media (max-width: 768px) {
  .slider-container {
    height: 60vh;
    min-height: 400px;
  }
  .slider-nav {
    opacity: 1; /* Always show navigation arrows on mobile */
    width: 40px;
    height: 40px;
  }
  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }
  .slider-nav svg { width: 20px; height: 20px; }
  
  .slide-content {
    padding: 1.5rem;
    max-width: 90%;
  }
  .slide-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .slide-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .slide-btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

/* ========= DEFAULT HERO (no slides) ========= */
.hero-default {
  padding: 8rem 2rem; text-align: center;
  background: var(--bg-secondary);
  position: relative; overflow: hidden; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}

.hero-default::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 50%, var(--accent-glow), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.15), transparent 30%);
  pointer-events: none;
}

.hero-default-content {
  position: relative; z-index: 1;
  animation: floatUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-default-content h2 {
  font-size: clamp(3rem, 8vw, 5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.03em; color: #fff;
}

.hero-default-content p {
  font-size: 1.25rem; color: rgba(255,255,255,0.7);
  max-width: 600px; line-height: 1.6; margin: 1rem auto;
}

/* ========= CATEGORY GRID ========= */
.categories-section {
  padding: 8rem 2rem; max-width: 1440px; margin: 0 auto; width: 100%;
}

.cat-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}

@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
@media (min-width: 1400px) { .cat-grid { grid-template-columns: repeat(8, 1fr); gap: 0.75rem; } }

.cat-card {
  display: block; 
  position: relative; 
  padding: 0; 
  border-radius: 16px; 
  text-decoration: none;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  /* Uniform ratio, keeps cards consistently shaped regardless of img size */
  aspect-ratio: 3/4; 
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 5;
}

.cat-card:hover {
  transform: translateY(-8px); 
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), 0 0 25px rgba(185,28,28,0.15);
}

.cat-icon-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cat-icon-wrapper img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cat-card:hover .cat-icon-wrapper img {
  transform: scale(1.1);
}

/* New overlay gradient so text is always legible */
.cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  z-index: 3;
}

.cat-name { 
  display: block;
  color: #fff; 
  font-family: var(--font-playfair);
  font-size: 1.4rem; 
  font-weight: 700; 
  letter-spacing: 0.02em; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

.cat-card:hover .cat-name {
  color: var(--gold-accent);
}

/* ========= PRODUCT GRID ========= */
.products-section {
  padding: 8rem 2rem; max-width: 1440px; margin: 0 auto; width: 100%;
}

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

@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ========= PRODUCT CARD ========= */
.product-card {
  border-radius: 20px; overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column; height: 100%;
  position: relative; background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.product-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-cross-lines.png");
  opacity: 0.1; z-index: 0;
}

.product-card:hover {
  transform: translateY(-8px); border-color: var(--accent-color);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4), 0 0 40px rgba(185,28,28,0.2);
}

.product-card-image { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #000; display: block; z-index: 1; }

.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

.product-card-image .hover-img {
  position: absolute; inset: 0; opacity: 0;
}

.product-card:hover .product-card-image img:not(.hover-img) { 
  transform: scale(1.05); 
  opacity: 0.8;
}

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

.quick-action-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.4s ease; z-index: 3;
}

.product-card:hover .quick-action-overlay { opacity: 1; }

.quick-action-btn {
  padding: 0.8rem 1.5rem; border-radius: 50px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: white; font-weight: 600; text-transform: uppercase; font-size: 0.85rem;
  letter-spacing: 0.05em; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .quick-action-btn { transform: translateY(0); }
.quick-action-btn:hover { background: var(--accent-color); border-color: var(--accent-color); }

.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; padding: 0.25rem 0.75rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.product-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; z-index: 1; position: relative; }

.product-category {
  font-size: 0.8rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.1rem; font-weight: 600; color: var(--text-primary);
  margin-bottom: 1rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.product-title:hover { color: var(--accent-color); }

.empty-state {
  text-align: center; padding: 4rem;
  background: rgba(255,255,255,0.02); border-radius: 16px;
  color: var(--text-secondary);
}

/* ========= REVIEWS SECTION ========= */
.reviews-section {
  padding: 10rem 2rem; max-width: 1440px; margin: 0 auto; width: 100%;
}

.reviews-section .section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-family: var(--font-playfair);
  margin-bottom: 1.5rem;
}

.google-rating {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 1.8rem; border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.google-g {
  font-weight: 800; font-size: 1.5rem;
  background: linear-gradient(90deg, #4285F4 25%, #EA4335 50%, #FBBC05 75%, #34A853 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-score { font-size: 1.2rem; font-weight: 700; color: #fff; }
.rating-stars { color: #FBBC05; font-size: 1.2rem; letter-spacing: 2px; }

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.carousel-nav:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.1);
}

.carousel-nav svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-glow);
}

.review-card {
  width: calc((100% - 4rem) / 3);
  height: 320px; /* Reduced height */
  flex: 0 0 auto;
  padding: 2.2rem; border-radius: 24px;
  background: rgba(23, 23, 23, 0.6); 
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  color: rgba(255,255,255,0.9); line-height: 1.6;
  font-size: 0.95rem; font-style: italic;
  font-family: var(--font-family);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4; /* Reduced lines to fit smaller box */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .review-card { width: calc((100% - 2rem) / 2); }
}

@media (max-width: 640px) {
  .carousel-wrapper { gap: 0.5rem; }
  .carousel-nav { display: none; }
  .review-card { width: 100%; }
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(185,28,28,0.1);
  background: rgba(28, 28, 28, 0.8);
}

.review-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }

.review-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: white;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

.review-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.review-date { font-size: 0.85rem; color: var(--text-secondary); }
.review-stars { color: #FBBC05; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1.5rem; }

.review-text {
  color: rgba(255,255,255,0.9); line-height: 1.8;
  font-size: 1.05rem; font-style: italic;
  font-family: var(--font-family);
  margin-bottom: 1rem;
}

.review-google-icon { 
  display: flex; justify-content: flex-end; margin-top: auto; 
  opacity: 0.8; 
}

/* ========= PROMO BANNER ========= */
.promo-section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; width: 100%; }

.promo-banner {
  padding: 3rem; border-radius: 24px; text-align: center;
  position: relative; overflow: hidden;
}

.promo-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

.promo-content { position: relative; z-index: 1; }

.promo-content h3 {
  font-size: 2rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, #b91c1c 0%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-content p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 1.5rem; }

.btn-primary {
  display: inline-block; padding: 1rem 2.5rem; border-radius: 50px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; font-size: 1.1rem; font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(185, 28, 28, 0.5); }

/* ========= NEWSLETTER ========= */
.newsletter-section { padding: 4rem 2rem; max-width: 1000px; margin: 0 auto; width: 100%; }

.newsletter-container {
  padding: 4rem 2rem; border-radius: 24px; text-align: center;
  background: rgba(25,25,25,0.6); border: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}

.newsletter-container::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

.newsletter-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.newsletter-icon { font-size: 3rem; margin-bottom: 0.5rem; filter: drop-shadow(0 0 10px rgba(168,85,247,0.3)); }

.newsletter-content h2 {
  font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; margin: 0;
}

.newsletter-content > p { color: var(--text-secondary); font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

.newsletter-form {
  display: flex; flex-direction: column; gap: 1rem;
  width: 100%; max-width: 500px; margin-top: 1.5rem;
}

@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

.newsletter-input {
  flex: 1; padding: 1rem 1.5rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,10,10,0.8); color: var(--text-primary);
  font-size: 1rem; transition: all 0.3s ease; outline: none;
}

.newsletter-input:focus { border-color: rgba(168,85,247,0.5); box-shadow: 0 0 0 2px rgba(168,85,247,0.2); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-disclaimer { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-top: 1rem; }

/* ========= OPENING HOURS ========= */
.opening-hours-section {
  padding: 8rem 2rem; width: 100%; max-width: 1440px; margin: 0 auto;
  position: relative; overflow: hidden;
}

.hours-container {
  max-width: 700px; margin: 0 auto; padding: 5rem 3.5rem;
  border-radius: 40px; background: rgba(255,255,255,0.02);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.05);
  text-align: center; position: relative;
}

.hours-container::before {
  content: ''; position: absolute; inset: 0; border-radius: 40px;
  padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(185,28,28,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

@media (max-width: 640px) { .hours-container { padding: 3.5rem 1.5rem; border-radius: 30px; } }

.hours-header { margin-bottom: 4rem; }

.hours-icon-wrapper {
  width: 72px; height: 72px; background: rgba(255,255,255,0.03);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem; color: var(--accent-color);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 30px rgba(185, 28, 28, 0.2);
}

.hours-icon-wrapper svg { width: 32px; height: 32px; }

.hours-title {
  font-family: var(--font-playfair);
  font-size: clamp(3rem, 6vw, 4rem); font-weight: 800;
  margin-bottom: 0.75rem; letter-spacing: -0.01em; color: #fff;
}

.hours-subtitle { color: #888; font-size: 1.2rem; font-weight: 500; }

.hours-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.day-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; font-size: 1.1rem; border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0; transform: translateY(20px);
  animation: slideInUp 0.6s ease forwards;
  gap: 1rem;
}

.day-row:hover { background: rgba(255,255,255,0.03); transform: translateX(5px); }
.day-row .day-name { font-weight: 600; color: #a3a3a3; white-space: nowrap; }
.day-row .day-time { 
  font-weight: 700; color: #fff; 
  display: flex; align-items: center; gap: 0.5rem; 
  white-space: nowrap;
  text-align: right;
}
.day-row .time-separator { width: 15px; height: 1px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.day-row .closed-text { color: #ef4444 !important; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

@media (max-width: 480px) {
  .hours-container { padding: 2.5rem 1rem; }
  .day-row { padding: 1rem 0.75rem; font-size: 0.95rem; }
  .day-row .time-separator { width: 10px; }
  .hours-title { font-size: 2.2rem; }
  .today-indicator { margin-left: 0.5rem; padding: 2px 6px; font-size: 0.65rem; }
}

.day-row.today {
  background: linear-gradient(90deg, rgba(185,28,28,0.08) 0%, rgba(185,28,28,0.15) 100%);
  border: 1px solid rgba(185,28,28,0.3);
  box-shadow: 0 15px 40px -10px rgba(185,28,28,0.2);
}

.day-row.today .day-name { color: #fff; font-weight: 800; }
.day-row.today .day-time { color: var(--accent-light, #f87171); }

.today-indicator {
  background: var(--accent-color); color: #fff; font-size: 0.75rem;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase;
  font-weight: 900; letter-spacing: 0.1em; margin-left: 1rem;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.4);
}

.hours-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: #666; font-size: 0.95rem; }

/* ========= STORE LOCATOR ========= */
.store-locator-section { padding: 6rem 2rem; max-width: 1440px; margin: 0 auto; width: 100%; }

.store-locator-header { text-align: center; margin-bottom: 4rem; }

.store-locator-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800;
  font-family: var(--font-playfair); font-style: italic;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}

.store-locator-header p { color: var(--text-secondary); font-size: 1.1rem; }

.store-content-wrapper {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: 24px; overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@media (min-width: 1024px) { .store-content-wrapper { grid-template-columns: 1fr 1.5fr; } }

.store-info-col {
  padding: 3rem 2rem; display: flex; flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

@media (min-width: 1024px) { .store-info-col { padding: 4rem; } }

.store-brand-title { margin-bottom: 3rem; }

.store-brand-title h3 {
  font-family: var(--font-playfair); font-size: 1.8rem;
  font-weight: 800; color: #fff; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1rem;
}

.store-accent-line {
  height: 4px; width: 60px;
  background: linear-gradient(90deg, #b91c1c 0%, #d4af37 100%);
  border-radius: 2px;
}

.store-details-list { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }

.store-detail-item { display: flex; gap: 1.5rem; }

.store-icon-container {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.05); display: flex;
  align-items: center; justify-content: center;
  color: var(--accent-color);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease;
}

.store-detail-item:hover .store-icon-container { transform: scale(1.1); background: rgba(255,255,255,0.1); }
.store-icon-container svg { width: 24px; height: 24px; }

.store-detail-item h4 {
  font-size: 0.9rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 0.4rem; font-weight: 600;
}

.store-detail-item p { color: #fff; font-size: 1.1rem; line-height: 1.5; }

.directions-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; text-decoration: none; border-radius: 12px;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.5px;
  transition: all 0.3s ease; align-self: flex-start;
  box-shadow: 0 10px 20px rgba(185,28,28,0.3);
}

.directions-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(185,28,28,0.5); }
.directions-btn svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.directions-btn:hover svg { transform: translateX(4px); }

.store-map-col {
  width: 100%; min-height: 400px; height: 100%;
  position: relative; background: #000;
}

.store-map-col iframe {
  width: 100%; height: 100%; min-height: 400px; border: none !important;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%) sepia(20%);
  transition: filter 0.3s ease;
}

.store-map-col iframe:hover { filter: invert(90%) hue-rotate(180deg) brightness(105%) contrast(100%) sepia(20%); }

/* ========= FOOTER ========= */
.footer {
  background: #000; border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 2rem 2rem; margin-top: 4rem;
}

.footer-container {
  max-width: 1440px; margin: 0 auto; display: flex;
  flex-wrap: wrap; gap: 4rem; justify-content: space-between;
}

.footer-brand { flex: 1; min-width: 300px; }

.footer-logo {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -0.05em;
  color: #fff; display: block; margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 100px; width: auto; min-width: 150px;
  object-fit: contain; display: block;
}

.footer-desc { color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 400px; }

.footer-social { display: flex; gap: 1.25rem; margin-top: 2rem; }

.social-icon {
  color: rgba(255,255,255,0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
}

.social-icon:hover {
  color: #fff; background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(185,28,28,0.3);
}

.social-icon svg { width: 20px; height: 20px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-col h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.95rem; transition: color 0.3s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1440px; margin: 0 auto; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; color: rgba(255,255,255,0.4); font-size: 0.9rem;
}

/* ========= BACK TO TOP ========= */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(185,28,28,0.3);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s ease; z-index: 999; cursor: pointer; border: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(185,28,28,0.5); }
.back-to-top svg { width: 24px; height: 24px; }

/* ========= SHOP PAGE ========= */
.shop-main { padding: 2rem; max-width: 1440px; margin: 0 auto; }

.shop-header {
  padding: 4rem 2rem; text-align: center; margin-bottom: 2rem;
}

.shop-header h1 { font-size: 3rem; font-weight: 900; margin-bottom: 0.5rem; }
.shop-header p { color: var(--text-secondary); font-size: 1.1rem; }

.shop-layout { display: flex; gap: 2rem; }

.shop-filters {
  width: 260px; flex-shrink: 0; display: none;
}

@media (min-width: 1024px) { .shop-filters { display: block; } }

.filter-group { margin-bottom: 2rem; }
.filter-group h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }

.filter-item {
  display: block; padding: 0.5rem 1rem; border-radius: 8px;
  color: var(--text-secondary); font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s ease; margin-bottom: 0.25rem;
}

.filter-item:hover, .filter-item.active { color: var(--accent-color); background: rgba(255,255,255,0.05); }

.shop-content { flex: 1; }

.shop-sort {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding: 1rem; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-color);
}

.shop-sort select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
  color: var(--text-primary); padding: 0.5rem 1rem; border-radius: 8px;
  font-family: inherit; outline: none;
}

.shop-empty {
  text-align: center; padding: 4rem;
}

.shop-empty .empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.shop-empty h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-empty p { color: var(--text-secondary); }

/* ========= PRODUCT DETAIL PAGE ========= */
.product-detail { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }

.product-layout { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 768px) { .product-layout { grid-template-columns: 1fr 1fr; } }

.gallery-section { position: relative; }

.gallery-main {
  width: 100%; aspect-ratio: 1/1; border-radius: 20px;
  overflow: hidden; background: #000; margin-bottom: 1rem;
}

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

.gallery-thumbs { display: flex; gap: 0.75rem; }

.gallery-thumb {
  width: 80px; height: 80px; border-radius: 12px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: all 0.3s ease; opacity: 0.5;
}

.gallery-thumb.active { border-color: var(--accent-color); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-details .product-badges { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

.category-badge {
  background: rgba(255,255,255,0.1); color: var(--text-secondary);
  padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.low-stock-badge {
  background: rgba(239,68,68,0.2); color: #ef4444;
  padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem;
}

.product-details h1 {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem;
  line-height: 1.2;
}

.product-reviews-summary { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.product-reviews-summary .reviews-count { color: var(--text-secondary); font-size: 0.9rem; }

.product-description { margin-bottom: 2rem; }
.product-description h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; }
.product-description p { color: var(--text-secondary); line-height: 1.8; }

.product-meta { margin-top: 2rem; padding: 1.5rem; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); }
.product-meta p { margin-bottom: 0.5rem; color: var(--text-secondary); }
.product-meta strong { color: var(--text-primary); }

.product-guarantees { margin-top: 1.5rem; }
.guarantee-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; }
.guarantee-item .g-icon { font-size: 1.2rem; }

.additional-details { margin-top: 4rem; }

.tabs-container { display: flex; gap: 0; border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; }

.tab-btn {
  padding: 1rem 2rem; color: var(--text-secondary); font-weight: 600;
  border-bottom: 2px solid transparent; transition: all 0.3s ease;
  background: none; cursor: pointer;
}

.tab-btn.active { color: var(--accent-color); border-bottom-color: var(--accent-color); }

.specs-grid { display: flex; flex-direction: column; }

.spec-row {
  display: flex; justify-content: space-between; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.spec-row span:first-child { color: var(--text-secondary); }
.spec-row span:last-child { color: var(--text-primary); font-weight: 500; }

/* ========= LOGIN PAGE ========= */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem; position: relative;
}

.login-page::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--accent-glow), transparent 50%);
  pointer-events: none;
}

.login-card {
  width: 100%; max-width: 440px; padding: 3rem;
  border-radius: 24px; background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px); border: 1px solid var(--border-color);
  position: relative; z-index: 1;
}

.login-card h1 {
  font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem;
}

.login-card .login-subtitle {
  text-align: center; color: var(--text-secondary); margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-secondary); }

.form-input {
  width: 100%; padding: 1rem 1.25rem; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
  color: var(--text-primary); font-size: 1rem; font-family: inherit;
  outline: none; transition: all 0.3s ease;
}

.form-input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-glow); }

.login-btn {
  width: 100%; padding: 1rem; border-radius: 12px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: white; font-size: 1.1rem; font-weight: 700;
  transition: all 0.3s ease; border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(185,28,28,0.3);
}

.login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(185,28,28,0.5); }

.login-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444; padding: 0.75rem 1rem; border-radius: 8px;
  margin-bottom: 1rem; font-size: 0.9rem; display: none;
}

/* ========= LOADING / SKELETON ========= */
.loading { text-align: center; padding: 4rem; color: var(--text-secondary); }

.skeleton {
  background: rgba(255, 255, 255, 0.05); border-radius: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes fadeInStagger {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stagger-item {
  animation: fadeInStagger 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* ========= SCROLL ANIMATIONS ========= */
.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-section.in-view {
    opacity: 1;
    transform: translateY(0);
}
