/* ===== Variables & Theme System ===== */
:root {
  --primary: #9e1c23;
  --primary-dark: #781216;
  --primary-light: #c42930;
  --primary-rgb: 158, 28, 35;
  --accent: #c59b27;
  --accent-light: #dfb76c;
  --accent-rgb: 197, 155, 39;
  --text: #18181b;
  --text-muted: #52525b;
  --bg: #ffffff;
  --bg-alt: #fcf9f9;
  --bg-card: #ffffff;
  --border: #ece2e2;
  --border-light: #f5eeee;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  --radius: 12px;
  --font: 'Inter', system-ui, sans-serif;
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-scrolled-bg: rgba(255, 255, 255, 0.96);
  --card-bg: #ffffff;
  --input-bg: #ffffff;
}

[data-theme="dark"] {
  --primary: #c2333b;
  --primary-dark: #971c22;
  --primary-light: #e04b53;
  --primary-rgb: 194, 51, 59;
  --accent: #dfb235;
  --accent-light: #ecd17d;
  --accent-rgb: 223, 178, 53;
  --text: #f5f2ed;
  --text-muted: #a8a098;
  --bg: #120f0f;
  --bg-alt: #1a1515;
  --bg-card: #201a1a;
  --border: #2f2525;
  --border-light: #3d3232;
  --shadow: 0 4px 14px -1px rgba(0, 0, 0, 0.5), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.7), 0 10px 15px -6px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(18, 15, 15, 0.88);
  --header-scrolled-bg: rgba(18, 15, 15, 0.96);
  --card-bg: #1f1919;
  --input-bg: #191414;
}

/* Smooth theme transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.25s ease, box-shadow 0.35s ease !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 15% 15%, rgba(var(--primary-rgb), 0.035), transparent 65%),
    radial-gradient(1000px 750px at 85% 25%, rgba(var(--accent-rgb), 0.04), transparent 60%),
    radial-gradient(1100px 850px at 45% 75%, rgba(var(--primary-rgb), 0.025), transparent 70%),
    radial-gradient(850px 650px at 90% 85%, rgba(var(--accent-rgb), 0.032), transparent 65%),
    var(--bg);
  background-size: 160% 160%;
  background-attachment: fixed;
  animation: whiteBgDrift 22s ease-in-out infinite alternate;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background:
    radial-gradient(ellipse 65% 55% at 85% 20%, rgba(var(--accent-rgb), 0.038), transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(var(--primary-rgb), 0.028), transparent 60%),
    var(--bg-alt);
  background-size: 135% 135%;
  animation: whiteBgSubtlePulse 16s ease-in-out infinite alternate;
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.reveal.is-visible .section-tag,
.section-header.is-visible .section-tag {
  animation: tagSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
  transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-white:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  animation: headerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header.scrolled {
  background: var(--header-scrolled-bg);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  animation: logoSpin 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
  animation: logoSpin 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.logo:hover .logo-icon {
  animation: logoHoverPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo:hover .logo-img {
  animation: logoHoverPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 4px 14px rgba(var(--primary-rgb), 0.45));
}

@keyframes logoHoverPop {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.22) rotate(15deg); }
  100% { transform: scale(1.15) rotate(10deg); }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li {
  opacity: 0;
  animation: navDrop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.15s; }
.nav-links li:nth-child(2) { animation-delay: 0.22s; }
.nav-links li:nth-child(3) { animation-delay: 0.29s; }
.nav-links li:nth-child(4) { animation-delay: 0.36s; }
.nav-links li:nth-child(5) { animation-delay: 0.43s; }

.nav-cta {
  display: none;
  opacity: 0;
  animation: navDrop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Animations ===== */
@keyframes whiteBgDrift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 40% 100%;
  }
}

@keyframes whiteBgSubtlePulse {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

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

@keyframes heroBgDrift {
  0%, 100% {
    transform: scale(1.04) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-1.5%, 1%);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes pulseSoft {
  0%, 100% {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  }
  50% {
    box-shadow: 0 28px 40px -8px rgb(var(--primary-rgb) / 0.35), 0 12px 16px -8px rgb(0 0 0 / 0.15);
  }
}

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

@keyframes checkPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes productIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes ctaGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.7; }
}

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

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  15% { opacity: 0.7; }
  85% { opacity: 0.45; }
  100% {
    transform: translateY(-110vh) translateX(var(--drift, 40px)) scale(0.4);
    opacity: 0;
  }
}

@keyframes logoSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.06); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(253, 230, 138, 0); }
}

@keyframes textShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-2px); }
}

@keyframes tagSlide {
  from {
    opacity: 0;
    letter-spacing: 0.2em;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.05em;
    transform: translateY(0);
  }
}

@keyframes pricePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes btnPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.65); }
  70% { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 2001;
  background: linear-gradient(90deg, var(--primary), var(--accent), #fef08a, var(--primary));
  background-size: 300% 100%;
  animation: scrollProgressFlow 3s linear infinite;
  transform-origin: left;
  transition: width 0.1s linear;
  pointer-events: none;
  box-shadow: 0 1px 8px rgba(var(--primary-rgb), 0.5);
}

@keyframes scrollProgressFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    #1c1208
    url('../assets/video/hero-woodwork.jpg') center / cover no-repeat;
  will-change: transform;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroBgDrift 24s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.6s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 10, 5, 0.82) 0%, rgba(28, 18, 8, 0.62) 48%, rgba(15, 10, 5, 0.45) 100%),
    linear-gradient(to top, rgba(15, 10, 5, 0.7) 0%, transparent 42%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  bottom: -10px;
  width: var(--size, 6px);
  height: var(--size, 6px);
  border-radius: 50%;
  background: rgba(253, 230, 138, var(--opacity, 0.45));
  animation: floatParticle var(--duration, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
  left: var(--x, 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
}

.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fde68a;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(253, 230, 138, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.hero-badge:hover {
  transform: scale(1.08) translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(253, 230, 138, 0.65);
}

.hero-badge.hero-anim {
  animation:
    heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    badgePulse 2.8s ease-in-out 1s infinite;
  animation-delay: var(--delay, 0s), 1s;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero .gradient-text,
.hero .text-shine {
  background: linear-gradient(110deg, #fbbf24 0%, #fde68a 25%, #f59e0b 50%, #fde68a 75%, #fbbf24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 4s linear infinite;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-pulse {
  animation: btnPulseRing 2.4s ease-out infinite;
}

.hero .btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.45);
}

.hero .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.6);
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.hero .btn-outline:hover {
  border-color: #fde68a;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--stat-delay, 0.55s);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.35s ease;
}

.scroll-cue-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
}

.scroll-cue-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fde68a;
  animation: scrollDot 1.4s ease-in-out infinite;
}

.scroll-cue-text {
  animation: bounceDown 1.8s ease-in-out infinite;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-card {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: floatCard 5s ease-in-out infinite, pulseSoft 5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-card:hover {
  transform: scale(1.04) translateY(-12px) rotate(-1deg);
  box-shadow: 0 35px 50px -15px rgba(var(--primary-rgb), 0.45);
}

.about-card-inner {
  text-align: center;
  color: white;
}

.about-year {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.4s ease;
}

.about-image.is-visible .about-year {
  animation: checkPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-card-inner p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.about-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-16px);
}

.about-content.is-visible .about-features li {
  animation: featureIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-content.is-visible .about-features li:nth-child(1) { animation-delay: 0.1s; }
.about-content.is-visible .about-features li:nth-child(2) { animation-delay: 0.2s; }
.about-content.is-visible .about-features li:nth-child(3) { animation-delay: 0.3s; }
.about-content.is-visible .about-features li:nth-child(4) { animation-delay: 0.4s; }

.check {
  width: 24px;
  height: 24px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-content.is-visible .check {
  animation: checkPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-content.is-visible .about-features li:nth-child(1) .check { animation-delay: 0.18s; }
.about-content.is-visible .about-features li:nth-child(2) .check { animation-delay: 0.28s; }
.about-content.is-visible .about-features li:nth-child(3) .check { animation-delay: 0.38s; }
.about-content.is-visible .about-features li:nth-child(4) .check { animation-delay: 0.48s; }

.about-features li:hover .check {
  transform: scale(1.12);
  background: rgba(var(--primary-rgb), 0.2);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #5c0f13 45%, var(--accent) 100%);
  background-size: 200% 200%;
  border-radius: calc(var(--radius) * 2);
  padding: 4rem 3rem;
  text-align: center;
  color: white;
  animation: ctaGlow 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
  pointer-events: none;
}

.cta-box h2,
.cta-box p,
.cta-box .btn {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(6px);
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item.is-visible .contact-icon {
  animation: iconBounce 0.8s ease both;
}

.contact-item:hover .contact-icon {
  transform: scale(1.12);
  background: rgba(var(--primary-rgb), 0.18);
  animation: iconBounce 0.7s ease;
}

.contact-item strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

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

.contact-form {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--primary);
  transform: translateX(4px);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple-ink {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  pointer-events: none;
  animation: ripple 0.6s ease-out forwards;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #dcfce7;
  color: #166534;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.form-success:not([hidden]) {
  display: block;
  animation: heroFadeUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #27272a;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
  }

  .nav-cta {
    display: none;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

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

/* ===== Products Catalog ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-muted);
}

.filter-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.filter-btn:active {
  transform: translateY(-1px) scale(0.97);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -6px rgba(var(--primary-rgb), 0.55);
}

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

.product-card {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  opacity: 0;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%, rgba(0, 0, 0, 0.04) 100%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card.is-visible,
.product-card.anim-in {
  opacity: 1;
  animation: productIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--stagger, 0s);
}

.product-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 25px 35px -12px rgba(var(--primary-rgb), 0.25), var(--shadow-lg);
  transform: translateY(-10px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  height: 180px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  position: relative;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}

.product-card:hover .product-image::before {
  left: 160%;
  transition: left 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.product-card:hover .product-img {
  transform: scale(1.09) rotate(0.5deg);
}

.image-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.product-emoji {
  font-size: 4rem;
  line-height: 1;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-price {
  animation: pricePop 0.45s ease;
}

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

.product-btn {
  margin-top: 0.5rem;
}

.empty-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
  font-size: 1.05rem;
}

.workshop-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
  animation: fadeIn 0.3s ease both;
}

.modal-content {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.modal.is-open .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 1;
}

.modal-close:hover {
  background: var(--border);
}

.modal-body {
  padding: 2rem;
}

.modal-product {
  display: grid;
  gap: 1.5rem;
}

.modal-product-image {
  min-height: 200px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.gallery-main {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fef3c7;
  position: relative;
  cursor: zoom-in;
}

.gallery-main .gallery-main-img,
.gallery-main .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-main:hover .gallery-main-img,
.gallery-main:hover .product-img {
  transform: scale(1.06);
}

.gallery-zoom-hint {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
}

.product-card .product-image {
  cursor: zoom-in;
}

.product-card .product-image::after {
  content: '🔍 Zoom';
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

/* Image zoom lightbox */
.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-zoom[hidden] {
  display: none !important;
}

.image-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 5, 0.88);
  backdrop-filter: blur(6px);
}

.image-zoom-stage {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  height: min(82vh, 780px);
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
}

.image-zoom-stage:active {
  cursor: grabbing;
}

.image-zoom-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease;
}

.image-zoom-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.image-zoom-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.image-zoom-controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.4rem;
  border-radius: 999px;
}

.image-zoom-controls button {
  min-width: 42px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.9rem;
  font-family: inherit;
}

.image-zoom-controls button:hover {
  background: rgba(245, 158, 11, 0.9);
  color: #1c1208;
}

.image-zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.image-zoom-nav.prev { left: 1rem; }
.image-zoom-nav.next { right: 1rem; }

.image-zoom-nav:hover {
  background: rgba(245, 158, 11, 0.9);
  color: #1c1208;
}

.image-zoom-nav[hidden],
.image-zoom-hint[hidden] {
  display: none !important;
}

.image-zoom-hint {
  position: absolute;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .image-zoom-hint { display: none; }
  .image-zoom-nav.prev { left: 0.4rem; }
  .image-zoom-nav.next { right: 0.4rem; }
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb.active {
  border-color: var(--primary);
}

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

.gallery-thumb span {
  font-size: 1.5rem;
}

.modal-product-info h2 {
  font-size: 1.5rem;
  margin: 0.35rem 0 0.5rem 0;
  color: var(--text);
  line-height: 1.3;
}

.modal-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.modal-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.modal-price.price-pulse {
  animation: pricePulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.14); color: #c59b27; text-shadow: 0 0 16px rgba(197, 155, 39, 0.4); }
  100% { transform: scale(1); }
}

.modal-design-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c59b27;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.2px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
}

.modal-design-badge.badge-flash {
  animation: badgeFlash 0.35s ease;
}

@keyframes badgeFlash {
  0% { transform: translateY(-2px); opacity: 0.6; }
  50% { transform: translateY(0); opacity: 1; background: rgba(197, 155, 39, 0.25); border-color: #c59b27; }
  100% { transform: translateY(0); opacity: 1; }
}

.modal-desc {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Modal Variant Selector */
.modal-variants-section {
  margin: 1rem 0 1.25rem 0;
  padding: 1rem;
  background: rgba(24, 24, 27, 0.03);
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.variants-header {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.variants-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.variants-title::before {
  content: "✦";
  color: #c59b27;
  font-size: 0.85rem;
}

.variants-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.design-chips-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.design-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  font-family: inherit;
}

.design-chip:hover {
  border-color: rgba(158, 28, 35, 0.45);
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.design-chip.active {
  border-color: #9e1c23;
  background: linear-gradient(135deg, rgba(158, 28, 35, 0.04) 0%, rgba(197, 155, 39, 0.07) 100%);
  box-shadow: 0 0 0 1px #9e1c23, 0 4px 16px rgba(158, 28, 35, 0.1);
}

.chip-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.design-chip.active .chip-indicator {
  border-color: #9e1c23;
  background: #9e1c23;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.chip-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.chip-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.chip-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.chip-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.chip-badge.base {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.chip-badge.extra {
  background: rgba(197, 155, 39, 0.12);
  color: #a87e14;
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.modal-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Order Form Live Pricing Card */
.order-pricing-card {
  margin: 1.25rem 0 1.5rem 0;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(145deg, #241a1c 0%, #161213 100%);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: var(--radius);
  color: #f7f4ee;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15), 0 0 1px rgba(197, 155, 39, 0.3);
  position: relative;
  overflow: hidden;
}

.order-pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9e1c23 0%, #c59b27 50%, #9e1c23 100%);
}

.order-pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.pricing-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: #c59b27;
  background: rgba(197, 155, 39, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.order-pricing-design {
  font-size: 0.85rem;
  color: #e5ded2;
  font-weight: 500;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.pricing-label {
  color: #b0aba2;
  font-size: 0.9rem;
}

.pricing-val {
  font-weight: 600;
  color: #ffffff;
}

.order-pricing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.75rem 0;
}

.order-pricing-row.total-row {
  font-size: 1.15rem;
  margin-bottom: 0;
  padding-top: 0.1rem;
}

.order-pricing-row.total-row .pricing-label {
  font-size: 1rem;
  font-weight: 600;
  color: #f7f4ee;
}

.order-pricing-row .text-gold {
  color: #f7cb45;
  font-size: 1.35rem;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(247, 203, 69, 0.3);
}

@media (min-width: 600px) {
  .modal-product {
    grid-template-columns: 1fr 1fr;
  }

  .modal-product-image {
    height: 100%;
    min-height: 250px;
  }
}

@media (min-width: 769px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.contact-form .form-group {
  opacity: 0;
  transform: translateY(16px);
}

.contact-form.is-visible .form-group {
  animation: heroFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.contact-form.is-visible .form-group:nth-child(1) { animation-delay: 0.08s; }
.contact-form.is-visible .form-group:nth-child(2) { animation-delay: 0.16s; }
.contact-form.is-visible .form-group:nth-child(3) { animation-delay: 0.24s; }
.contact-form.is-visible .form-group:nth-child(4) { animation-delay: 0.32s; }
.contact-form.is-visible .btn {
  opacity: 0;
  animation: heroFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.footer-grid > * {
  opacity: 0;
  transform: translateY(20px);
}

.footer.is-visible .footer-grid > * {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer.is-visible .footer-grid > *:nth-child(1) { animation-delay: 0.05s; }
.footer.is-visible .footer-grid > *:nth-child(2) { animation-delay: 0.15s; }
.footer.is-visible .footer-grid > *:nth-child(3) { animation-delay: 0.25s; }

.products-grid.is-filtering {
  opacity: 0.35;
  transform: scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .section-alt,
  .hero-video,
  .about-card,
  .cta-box,
  .cta-box::before,
  .product-card.is-visible,
  .product-card.anim-in,
  .about-content.is-visible .about-features li,
  .about-content.is-visible .check,
  .about-image.is-visible .about-year,
  .contact-form.is-visible .form-group,
  .contact-form.is-visible .btn,
  .footer.is-visible .footer-grid > *,
  .modal.is-open .modal-content,
  .modal.is-open .modal-backdrop,
  .logo-icon,
  .logo-img,
  .hero-badge.hero-anim,
  .hero .text-shine,
  .btn-pulse,
  .scroll-cue-mouse::before,
  .scroll-cue-text,
  .hero-particle,
  .hero-stats .stat,
  .header,
  .nav-links li,
  .nav-cta,
  .contact-item.is-visible .contact-icon {
    animation: none !important;
  }

  .hero-video,
  .hero-particles,
  .scroll-cue,
  .scroll-progress {
    display: none;
  }

  .hero-anim,
  .reveal,
  .about-features li,
  .contact-form .form-group,
  .contact-form .btn,
  .footer-grid > *,
  .product-card,
  .nav-links li,
  .nav-cta,
  .hero-stats .stat {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Shop page ===== */
.shop-page .header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.shop-hero {
  padding: 8rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(var(--primary-rgb), 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(var(--accent-rgb), 0.09), transparent 55%),
    var(--bg-alt);
}

.shop-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.shop-hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

.shop-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.shop-page .products {
  padding-top: 2rem;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.shop-select-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.shop-select-bar label {
  font-weight: 600;
  color: var(--text);
}

.shop-select-bar select {
  min-width: 240px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}

/* =========================================================
   SHOPPING CART SYSTEM STYLES
   Nav actions, Slide-out Drawer, Badges, Steppers, & Checkout
   ========================================================= */

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

.cart-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--text);
  padding: 0;
}

.cart-toggle-btn:hover {
  border-color: #9e1c23;
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(158, 28, 35, 0.15);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--text);
  padding: 0;
  outline: none;
  user-select: none;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn:active {
  transform: scale(0.92);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-icon-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  user-select: none;
  pointer-events: none;
}

/* Light Mode: Sun visible, Moon hidden */
.theme-icon.theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: drop-shadow(0 1px 3px rgba(217, 119, 6, 0.5));
}

.theme-icon.theme-icon-moon {
  opacity: 0;
  transform: scale(0.3) rotate(-90deg);
}

/* Dark Mode: Moon visible, Sun hidden */
[data-theme="dark"] .theme-icon.theme-icon-sun {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}

[data-theme="dark"] .theme-icon.theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: drop-shadow(0 0 6px rgba(223, 178, 53, 0.6));
}

.cart-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #9e1c23 0%, #c59b27 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(158, 28, 35, 0.4);
}

.cart-badge.cart-badge-bump {
  animation: cartBadgePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBadgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9e1c23 0%, #7e1217 100%);
  color: #ffffff;
  border: 2px solid #c59b27;
  box-shadow: 0 8px 24px rgba(158, 28, 35, 0.4), 0 0 0 1px rgba(197, 155, 39, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
}

.floating-cart-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(158, 28, 35, 0.55), 0 0 18px rgba(197, 155, 39, 0.6);
}

.floating-cart-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c59b27;
  color: #18181b;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Cart Slide-Out Drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 13, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cart-drawer.is-open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-header-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.cart-header-count {
  font-size: 0.78rem;
  color: #c59b27;
  font-weight: 700;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.cart-close-btn:hover {
  background: var(--border);
  color: var(--text);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cart-empty-icon {
  font-size: 3.5rem;
  opacity: 0.75;
}

.cart-empty h4 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--text);
}

.cart-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  max-width: 280px;
}

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

.cart-item-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.cart-item-card:hover {
  border-color: rgba(197, 155, 39, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cart-item-thumb {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #fef3c7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-thumb span {
  font-size: 2rem;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-design {
  font-size: 0.76rem;
  color: #a87e14;
  font-weight: 600;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  align-self: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  overflow: hidden;
}

.qty-stepper button {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  padding: 0;
}

.qty-stepper button:hover {
  background: var(--bg-alt);
  color: #9e1c23;
}

.qty-stepper input {
  width: 34px;
  height: 26px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  background: none;
  color: var(--text);
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: #9e1c23;
}

.cart-item-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.cart-item-remove:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-summary-card {
  background: linear-gradient(145deg, #241a1c 0%, #161213 100%);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  color: #f7f4ee;
  margin-bottom: 1rem;
}

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

.cart-summary-row.note-row {
  font-size: 0.8rem;
  color: #b0aba2;
}

.cart-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.55rem 0;
}

.cart-summary-row.total-row {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
  padding-top: 0.1rem;
}

.cart-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.btn-clear-cart {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.25rem;
}

.btn-clear-cart:hover {
  color: #dc2626;
}

/* Modal Actions Multi-Button Layout */
.modal-actions-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.modal-actions-row .btn {
  flex: 1;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #9e1c23 0%, #7e1217 100%);
  color: #ffffff;
  border: 1.5px solid rgba(197, 155, 39, 0.3);
  box-shadow: 0 4px 14px rgba(158, 28, 35, 0.25);
  transition: all 0.25s ease;
}

.btn-add-cart:hover {
  box-shadow: 0 6px 20px rgba(158, 28, 35, 0.4);
  transform: translateY(-1px);
}

.btn-add-cart.added-success {
  background: #166534 !important;
  border-color: #22c55e !important;
}

/* Order Mode Tabs */
.order-mode-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-alt);
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.order-mode-tab {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.order-mode-tab:hover {
  color: var(--text);
}

.order-mode-tab.active {
  background: var(--bg);
  color: #9e1c23;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Cart Order Preview in Order Form */
.cart-order-preview {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.cart-order-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-order-preview-header h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-order-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border);
}

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

.cart-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-preview-title {
  font-weight: 600;
  color: var(--text);
}

.cart-preview-design {
  font-size: 0.75rem;
  color: #a87e14;
}

.cart-preview-price {
  font-weight: 700;
  color: #9e1c23;
}

@media (max-width: 600px) {
  .floating-cart-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .modal-actions-row {
    flex-direction: column;
  }
}

/* =========================================================
   DARK THEME COMPREHENSIVE OVERRIDES
   Rich dark aesthetic with warm teak/gold accents
   ========================================================= */

/* Top Bar / Header Dark Styling */
[data-theme="dark"] .header {
  background: rgba(18, 14, 14, 0.95) !important;
  border-bottom: 1px solid #2d2424 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(14, 11, 11, 0.98) !important;
  border-bottom: 1px solid #382c2c !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .shop-page .header {
  background: rgba(18, 14, 14, 0.95) !important;
  border-bottom: 1px solid #2d2424 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .shop-page .header.scrolled {
  background: rgba(14, 11, 11, 0.98) !important;
  border-bottom: 1px solid #382c2c !important;
}

[data-theme="dark"] .logo-text {
  color: #f5f2ed !important;
}

[data-theme="dark"] .nav-links a {
  color: #c4bcb2;
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: var(--accent);
}

[data-theme="dark"] .nav-toggle span {
  background: #f5f2ed;
}

[data-theme="dark"] body {
  background:
    radial-gradient(1200px 800px at 15% 15%, rgba(var(--primary-rgb), 0.14), transparent 65%),
    radial-gradient(1000px 750px at 85% 25%, rgba(var(--accent-rgb), 0.09), transparent 60%),
    radial-gradient(1100px 850px at 45% 75%, rgba(var(--primary-rgb), 0.09), transparent 70%),
    radial-gradient(850px 650px at 90% 85%, rgba(var(--accent-rgb), 0.07), transparent 65%),
    var(--bg);
  background-size: 160% 160%;
  background-attachment: fixed;
}

[data-theme="dark"] .section-alt {
  background:
    radial-gradient(ellipse 65% 55% at 85% 20%, rgba(var(--accent-rgb), 0.08), transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(var(--primary-rgb), 0.07), transparent 60%),
    var(--bg-alt);
  background-size: 135% 135%;
}

[data-theme="dark"] .product-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.7), 0 0 22px rgba(var(--primary-rgb), 0.3);
}

[data-theme="dark"] .product-image {
  background: linear-gradient(135deg, #281f19 0%, #3a2c20 100%);
}

[data-theme="dark"] .service-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .contact-form {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: #181313;
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: #7b736b;
}

[data-theme="dark"] .modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .modal-close {
  background: var(--bg-alt);
  color: var(--text);
}

[data-theme="dark"] .modal-close:hover {
  background: var(--border);
}

[data-theme="dark"] .cart-panel {
  background: #161212;
  border-left: 1px solid var(--border);
}

[data-theme="dark"] .cart-header,
[data-theme="dark"] .cart-footer {
  background: #161212;
  border-color: var(--border);
}

[data-theme="dark"] .cart-item-card {
  background: #1e1818;
  border-color: var(--border);
}

[data-theme="dark"] .cart-item-thumb {
  background: #2a2018;
}

[data-theme="dark"] .cart-close-btn {
  background: #221c1c;
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .cart-close-btn:hover {
  background: var(--border);
  color: #ffffff;
}

[data-theme="dark"] .qty-stepper {
  background: #161212;
  border-color: var(--border);
}

[data-theme="dark"] .qty-stepper button {
  color: var(--text);
}

[data-theme="dark"] .qty-stepper button:hover {
  background: #281f1f;
}

[data-theme="dark"] .qty-stepper input {
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .cart-summary-card {
  background: linear-gradient(145deg, #1c1517 0%, #110e0f 100%);
  border-color: rgba(197, 155, 39, 0.5);
}

[data-theme="dark"] .order-mode-tabs,
[data-theme="dark"] .cart-order-preview {
  background: #1c1717;
  border-color: var(--border);
}

[data-theme="dark"] .order-mode-tab.active {
  background: #2b2121;
  color: var(--accent);
}

[data-theme="dark"] .footer {
  background: #0d0a0a;
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .filter-btn {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

[data-theme="dark"] .floating-cart-badge {
  border-color: var(--bg);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .about-features li:hover .check {
  background: rgba(var(--primary-rgb), 0.3);
}

[data-theme="dark"] .contact-item:hover .contact-icon {
  background: rgba(var(--primary-rgb), 0.28);
}

/* =========================================================
   DIRECT WHATSAPP INTEGRATION & FLOATING BUTTON
   ========================================================= */

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2bf075 0%, #0e7266 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-whatsapp-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.whatsapp-icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.order-form-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Floating WhatsApp Widget */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.42), 0 0 0 1px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 0 18px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.floating-whatsapp-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.whatsapp-btn-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.floating-whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #18181b;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.floating-whatsapp-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #18181b;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp contact link styling */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #128C7E;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.whatsapp-link:hover {
  color: #25D366;
  text-decoration: underline;
}

.whatsapp-chat-tag {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  color: #0d7065;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

[data-theme="dark"] .whatsapp-link {
  color: #25D366;
}

[data-theme="dark"] .whatsapp-chat-tag {
  background: rgba(37, 211, 102, 0.22);
  color: #25D366;
}

[data-theme="dark"] .floating-whatsapp-tooltip {
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .floating-whatsapp-tooltip::before {
  border-right-color: #27272a;
}

@media (max-width: 600px) {
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}


