/* Modern CSS Reset and Base Styles */
:root {
  --water-1: #22d3ee; /* aqua */
  --water-2: #0ea5e9; /* sky */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #e5e7eb;
  background-color: #111827;
}

/* Header Styles */
.header {
  background: #1f2937;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #374151;
}

.header .container {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

/* Prevent flex children from forcing horizontal scroll */
.header .container > * {
  min-width: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #db0000;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

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

/* Mobile menu button (hidden on desktop) */
.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  background: #1f2937;
  color: #e5e7eb;
  font-size: 1.125rem;
}

.mobile-menu-button:hover {
  background: #111827;
  color: #db0000;
}

/* Mobile dropdown menu */
.mobile-menu {
  position: absolute;
  right: 1.5rem;
  top: 100%;
  margin-top: 0.5rem;
  width: min(90vw, 260px);
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #e5e7eb;
  text-decoration: none;
  border-radius: 0.5rem;
}

.mobile-link:hover {
  background: #111827;
  color: #db0000;
}

.mobile-menu .emphasis {
  background: #db0000;
  color: #ffffff;
  text-align: center;
}

.mobile-menu .emphasis:hover {
  background: #db0000;
  color: #ffffff;
}

/* Blue variant for emphasized link in mobile menu */
.mobile-menu .emphasis.water {
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  color: #ffffff;
  border: 1px solid var(--water-2);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.mobile-menu .emphasis.water:hover {
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  color: #ffffff;
}

.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #db0000;
}

.btn-primary {
  background: #db0000;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #db0000;
  transform: translateY(-2px);
}

.btn-pay {
  background: linear-gradient(135deg, #db0000, #db0000);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  border: 2px solid transparent;
}

.btn-pay:hover {
  background: linear-gradient(135deg, #db0000, #db0000);
  transform: translateY(-2px);
  border-color: #db0000;
  box-shadow: 0 4px 12px rgba(219, 0, 0, 0.3);
}

/* Pricing Cards Styles - Matching the Website Design */
.plans-section {
  background: #111827;
  min-height: 100vh;
  padding: 5rem 0;
}

.plan-card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plan-card:hover {
  border-color: #db0000;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plan-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.plan-card .text-4xl {
  color: var(--water-2);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-card .text-sm {
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.plan-card .text-gray-400 {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  text-align: center;
}

.plan-card .text-orange-500 {
  color: #db0000;
}

.plan-card .text-white {
  color: #ffffff;
}

.plan-card .text-xs {
  font-size: 0.75rem;
}

.plan-card .mr-3 {
  margin-right: 0.75rem;
}

.plan-card .space-y-3 > * + * {
  margin-top: 0.75rem;
}

.plan-card .space-y-3 {
  margin-bottom: 2rem;
}

.plan-card .text-left {
  text-align: left;
}

.plan-card .mb-4 {
  margin-bottom: 1rem;
}

.plan-card .mb-8 {
  margin-bottom: 2rem;
}

.plan-card .font-semibold {
  font-weight: 600;
}

/* Button Styles - Ensuring Red Colors */
.plan-card .bg-red-500 {
  background-color: #db0000 !important;
}

.plan-card .bg-red-500:hover {
  background-color: #db0000 !important;
}

.plan-card .bg-orange-500 {
  background-color: #db0000 !important;
}

.plan-card .bg-orange-500:hover {
  background-color: #db0000 !important;
}

/* Force plan buttons to use blue water gradient when requested */
.plan-card button.water {
  background: linear-gradient(135deg, var(--water-1), var(--water-2)) !important;
  color: #ffffff !important;
}

.plan-card button.water:hover {
  background: linear-gradient(135deg, var(--water-1), var(--water-2)) !important;
}

.plan-card .py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.plan-card .px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.plan-card .rounded-xl {
  border-radius: 0.75rem;
}

.plan-card .font-bold {
  font-weight: 700;
}

.plan-card .transition-all {
  transition: all 0.3s ease;
}

.plan-card .duration-300 {
  transition-duration: 300ms;
}

.plan-card .transform {
  transform: translateZ(0);
}

.plan-card .hover\:scale-105:hover {
  transform: scale(1.05);
}

.plan-card .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Most Popular Badge */
.plan-card .absolute {
  position: absolute;
}

.plan-card .-top-4 {
  top: -1rem;
}

.plan-card .left-1\/2 {
  left: 50%;
}

.plan-card .transform {
  transform: translateX(-50%);
}

.plan-card .-translate-x-1\/2 {
  transform: translateX(-50%);
}

.plan-card .px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.plan-card .py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.plan-card .rounded-full {
  border-radius: 9999px;
}

.plan-card .text-sm {
  font-size: 0.875rem;
}

.plan-card .font-bold {
  font-weight: 700;
}

.plan-card .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111827, #1f2937);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Background Image Container */
.hero-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1400px;
  height: 75vh;
  background-image: url('img/Logomain.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  border: 4px solid #db0000;
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(219, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Responsive background image handling */
@media (max-width: 768px) {
  .hero-background {
    width: 95%;
    height: 70vh;
    border-width: 3px;
    border-radius: 15px;
    border-color: #db0000;
  }
}

@media (min-width: 1200px) {
  .hero-background {
    width: 90%;
    height: 80vh;
    border-width: 5px;
    border-radius: 25px;
    border-color: #db0000;
  }
}

#appointmentForm {
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: #e5e7eb;
  border: 1px solid #374151;
}

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #374151;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #1f2937;
  color: #e5e7eb;
}

.form-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.btn-accent {
  background: #db0000;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background: #db0000;
  transform: translateY(-2px);
}

.thank-you-message {
  display: none;
  padding: 1rem;
  background: rgba(219, 0, 0, 0.1);
  color: #fca5a5;
  border-radius: 0.5rem;
  text-align: center;
  margin-top: 1rem;
  border: 1px solid rgba(219, 0, 0, 0.2);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: #111827;
}

.service-card {
  background: #1f2937;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid #374151;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #db0000;
}

/* Services section: show prices in blue */
.services .service-card .text-2xl {
  color: var(--water-2) !important;
}

.service-card.featured {
  border: 2px solid #db0000;
  transform: scale(1.05);
  background: linear-gradient(145deg, #1f2937, #111827);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Why Choose Us Section */
.why-us {
  padding: 5rem 0;
  background: #1f2937;
}

.feature-card {
  background: #111827;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #374151;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #db0000;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: #111827;
}

.testimonial-card {
  background: #1f2937;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid #374151;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #db0000;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: #1f2937;
}

/* Footer */
.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 3rem 0 1rem;
  border-top: 1px solid #374151;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #db0000;
}

/* Water wave section separators */
.wave-divider {
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-to-dark path {
  fill: #111827; /* body/services bg */
}

.wave-to-darker path {
  fill: #1f2937; /* why-us bg */
}

/* Title bubble accents */
.section-title {
  position: relative;
  display: inline-block;
}

.title-bubbles {
  position: relative;
  height: 0;
}

.title-bubbles .bubble {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, var(--water-1), var(--water-2));
  opacity: 0.5;
  filter: blur(0.2px);
}

.title-bubbles .bubble.b1 { left: -18px; top: -6px; }
.title-bubbles .bubble.b2 { left: -6px; top: -14px; width: 8px; height: 8px; }
.title-bubbles .bubble.b3 { left: 6px; top: -4px; width: 6px; height: 6px; }

/* How it works (Rinse → Foam → Shine) */
.process {
  background: #1f2937;
}

.process-card {
  background: #111827;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #374151;
  text-align: center;
  transition: transform 0.2s ease;
}

.process-card:hover { transform: translateY(-4px); border-color: #0ea5e9; }

.process-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  margin-bottom: 1rem;
}

/* Buttons: allow “Book a Wash” to stand out but keep brand */
.btn-accent,
.btn-pay {
  border: 2px solid transparent;
}

.btn-accent.water,
.btn-pay.water {
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
}

.btn-pay.water:hover {
  background: linear-gradient(135deg, var(--water-1), var(--water-2));
  transform: translateY(-2px);
  border-color: var(--water-2);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

/* Floating bubbles layer (hero) */
.bubble-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.bubble-layer .bubble {
  position: absolute;
  bottom: -60px;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, var(--water-1), var(--water-2));
  opacity: 0.35;
  filter: blur(0.2px);
  animation: floatUp 12s linear infinite;
}

.bubble.s1 { left: 8%;  animation-duration: 14s; animation-delay: 0s; width: 10px; height: 10px; }
.bubble.s2 { left: 18%; animation-duration: 16s; animation-delay: 2s; width: 12px; height: 12px; }
.bubble.s3 { left: 28%; animation-duration: 13s; animation-delay: 1s; width: 16px; height: 16px; }
.bubble.s4 { left: 42%; animation-duration: 18s; animation-delay: 0.5s; width: 9px;  height: 9px;  }
.bubble.s5 { left: 55%; animation-duration: 15s; animation-delay: 3s; width: 14px; height: 14px; }
.bubble.s6 { left: 66%; animation-duration: 17s; animation-delay: 1.5s; width: 11px; height: 11px; }
.bubble.s7 { left: 77%; animation-duration: 19s; animation-delay: 2.5s; width: 8px;  height: 8px;  }
.bubble.s8 { left: 86%; animation-duration: 20s; animation-delay: 0.8s; width: 15px; height: 15px; }
.bubble.s9 { left: 35%; animation-duration: 22s; animation-delay: 4s; width: 7px;  height: 7px;  }
.bubble.s10{ left: 72%; animation-duration: 21s; animation-delay: 5s; width: 10px; height: 10px; }

@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0);   opacity: 0.15; }
  20%  { transform: translateY(-20vh) translateX(-6px); opacity: 0.35; }
  40%  { transform: translateY(-40vh) translateX(8px);  opacity: 0.4; }
  60%  { transform: translateY(-60vh) translateX(-10px); opacity: 0.35; }
  80%  { transform: translateY(-80vh) translateX(6px);  opacity: 0.25; }
  100% { transform: translateY(-100vh) translateX(0);  opacity: 0; }
}

/* Bubble list bullets */
.bubble-list {
  list-style: none;
  padding-left: 0;
}
.bubble-list li {
  position: relative;
  padding-left: 1.5rem;
}
.bubble-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, var(--water-1), var(--water-2));
  opacity: 0.8;
}

/* Responsive: stack header, enable hamburger, tame hero/card scaling */
@media (max-width: 1280px) {
  .nav {
    gap: 1rem;
  }
}

@media (max-width: 1200px) {
  .nav {
    display: none !important;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
  .logo {
    font-size: 1.25rem;
  }
  /* Avoid featured card scaling causing horizontal scroll on tablets */
  .service-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .service-card.featured {
    transform: none;
  }
  .logo {
    font-size: 1rem;
    text-align: center;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .hero .container {
    padding: 0 1rem;
  }
  .hero-background {
    width: 92%;
    height: 60vh;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.hidden {
  display: none;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-800 {
  border-color: #374151;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-600 {
  color: #9ca3af;
}

.text-blue-600 {
  color: #db0000;
}

.text-yellow-400 {
  color: #fbbf24;
}

.bg-blue-100 {
  background-color: rgba(219, 0, 0, 0.1);
}

.bg-gray-50 {
  background-color: #1f2937;
}

.bg-gray-900 {
  background-color: #111827;
}

.bg-white {
  background-color: #1f2937;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.w-6 {
  width: 1.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.ml-4 {
  margin-left: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.hover\:text-blue-800:hover {
  color: #dc2626;
}

.hover\:text-white:hover {
  color: #e5e7eb;
}

/* Success page dedicated layout to avoid Tailwind JIT/arbitrary issues */
.success-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .success-grid {
    grid-template-columns: 1fr 22rem;
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .success-grid {
    grid-template-columns: 1fr 24rem;
    column-gap: 4rem;
  }
}

.success-details {
  min-width: 0;
}

@media (min-width: 768px) {
  .success-details {
    padding-right: 3rem;
  }
}

.success-status {
  min-width: 0;
  width: 100%;
  background: #0b1220; /* match gray-900 block */
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.25rem;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .success-status {
    justify-self: end;
    border-left: 1px solid #374151;
    padding-left: 3rem;
  }
}

.success-mono-id {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .success-mono-id {
    max-width: 320px;
  }
}

/* Grid Responsive */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:block {
    display: block;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:pr-8 {
    padding-right: 2rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Explicit sale/original price styling to avoid Tailwind conflicts */
.original-price {
  color: #db0000 !important; /* brand red */
  text-decoration: line-through !important;
  text-decoration-thickness: 2px;
  text-decoration-color: #db0000 !important;
}

/* Promo ticker under header */
.promo-ticker {
  background: #db0000;
  color: #ffffff;
  border-bottom: 1px solid #b30000;
  overflow: hidden;
  width: 100%;
}

.promo-ticker .promo-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: promo-scroll 18s linear infinite;
}

.promo-ticker .msg {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.5rem 3rem;
  margin-right: 3rem;
}

@keyframes promo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Ensure spacing between original and current prices on index cards */
.price-pair { display: inline-flex; align-items: baseline; }
.price-pair .current-price { margin-left: 0.5rem; }