/* HydraTag Webstore - Premium Apple-like Design */

:root {
  --aqua-500: #00BCD4;
  --aqua-600: #00ACC1;
  --aqua-700: #0097A7;
  --aqua-50: #E0F7FA;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-900: #212121;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--gray-900);
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.015) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--aqua-600);
}

.cart-link {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gray-900);
}

.cart-link:hover {
  background: var(--gray-100);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--aqua-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  min-width: 1.25rem;
  text-align: center;
  display: none;
}

.cart-badge.active {
  display: block;
}

/* Hero Section with 3D - Premium Design */
.hero {
  margin-top: 73px;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 50%, #F5F9FA 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 151, 167, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  z-index: 1;
  position: relative;
}

.hero-text {
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-900) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-media-wrapper {
  width: 100%;
  height: 600px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(0, 151, 167, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 25px 80px rgba(0, 188, 212, 0.12),
    0 0 0 1px rgba(0, 188, 212, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeInScale 1s ease-out 0.2s both;
}

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

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero-3d {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 32px;
}

.hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 32px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2rem;
}

.hero-fallback.active {
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
  border-radius: 32px;
  z-index: 3;
}

.hero-microcopy {
  text-align: center;
  color: #888;
  font-size: 0.875rem;
  margin-top: 1.5rem;
  font-style: italic;
  letter-spacing: 0.02em;
  z-index: 2;
  position: relative;
}

/* Products Section */
/* Lifestyle Section */
.lifestyle-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifestyle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.lifestyle-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.lifestyle-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 90%;
  padding: 0 2rem;
}

.lifestyle-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.lifestyle-subheadline {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .lifestyle-section {
    height: 500px;
  }

  .lifestyle-headline {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .lifestyle-subheadline {
    font-size: 1.125rem;
  }

  .lifestyle-overlay {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .lifestyle-section {
    height: 400px;
  }

  .lifestyle-headline {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .lifestyle-subheadline {
    font-size: 1rem;
  }

  .lifestyle-overlay {
    padding: 0 1rem;
  }
}

.products {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out 0.2s forwards;
}

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

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  justify-content: center;
}

/* Perfect symmetry for 2 products - when grid has exactly 2 items */
.product-grid .product-card:only-child,
.product-grid .product-card:nth-child(2):last-child {
  /* Cards will be centered by grid */
}

.product-card {
  background: var(--white);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  max-width: 380px;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(0, 151, 167, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 20px 60px rgba(0, 188, 212, 0.18),
    0 0 0 1px rgba(0, 188, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.product-image-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.sticker-visual {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sticker-single {
  gap: 0;
}

.sticker-duo {
  gap: 0.75rem;
}

.sticker-quad {
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 80px;
}

.sticker-multi {
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100px;
}

.sticker-shape {
  width: 24px;
  height: 32px;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  border-radius: 6px;
  box-shadow: 
    0 2px 8px rgba(0, 188, 212, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  animation: stickerFloat 3s ease-in-out infinite;
}

.sticker-shape:nth-child(1) {
  animation-delay: 0s;
}

.sticker-shape:nth-child(2) {
  animation-delay: 0.2s;
}

.sticker-shape:nth-child(3) {
  animation-delay: 0.4s;
}

.sticker-shape:nth-child(4) {
  animation-delay: 0.6s;
}

.sticker-shape::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes stickerFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticker-shape {
    animation: none;
  }
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.bundle-save {
  color: var(--aqua-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin: -0.5rem 0 1rem 0;
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--gray-50);
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.color-selector {
  margin-bottom: 1rem;
}

.color-selector label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.color-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.color-options-with-quantity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.color-quantity-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.color-option-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.color-option-wrapper {
  position: relative;
  display: inline-block;
}

.color-option {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

.color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-option.selected {
  border-color: var(--aqua-600);
  border-width: 3px;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2);
}

.color-option.white {
  border: 2px solid var(--gray-300);
}

.color-option.white.selected {
  border-color: var(--aqua-600);
  border-width: 3px;
}

/* Checkmark indicator for selected colors */
.color-option.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--aqua-600);
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.color-option.white.selected::after {
  color: var(--aqua-600);
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.selected-color-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.quantity-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  min-width: 35px;
}

.quantity-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 150px;
}

.quantity-input {
  width: 80px;
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--gray-900);
  background: var(--white);
  transition: all 0.3s ease;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--aqua-500);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.quantity-btn-minus,
.quantity-btn-plus {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn-minus:hover,
.quantity-btn-plus:hover {
  border-color: var(--aqua-500);
  background: var(--aqua-50);
  color: var(--aqua-700);
  transform: scale(1.05);
}

.quantity-btn-minus:active,
.quantity-btn-plus:active {
  transform: scale(0.95);
}

.quantity-btn-minus:focus,
.quantity-btn-plus:focus {
  outline: none;
  border-color: var(--aqua-500);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.product-price-container {
  margin-bottom: 1rem;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.product-savings {
  font-size: 1rem;
  font-weight: 600;
  color: var(--aqua-700);
}

.product-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-benefits {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  font-size: 0.9rem;
}

.product-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--aqua-600);
  font-weight: bold;
}

.product-includes {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--aqua-600);
  margin-bottom: 1.5rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  align-items: center;
}

.quick-view-btn {
  flex: 1;
  padding: 1rem;
  background: white;
  color: var(--aqua-700);
  border: 2px solid var(--aqua-500);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-view-btn:hover {
  background: var(--aqua-50);
  transform: translateY(-2px);
}

.buy-now-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.buy-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
  background: linear-gradient(135deg, var(--aqua-600), var(--aqua-800));
}

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

.buy-now-btn:focus {
  outline: 2px solid var(--aqua-500);
  outline-offset: 2px;
}

.shopify-checkout-text {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
  margin: 0;
  font-weight: 500;
}

.view-cart-link {
  font-size: 0.875rem;
  color: var(--aqua-600);
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: color 0.2s ease;
}

.view-cart-link:hover {
  color: var(--aqua-700);
  text-decoration: underline;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.cart-drawer.active {
  transform: translateX(0);
  opacity: 1;
}

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

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-900);
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.close-cart:hover {
  background: var(--gray-100);
}

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

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

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: 8px;
}

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

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--aqua-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: var(--gray-100);
}

.quantity-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
}

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

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-btn:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.checkout-btn:focus {
  outline: 2px solid var(--aqua-500);
  outline-offset: 2px;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: none;
  backdrop-filter: blur(4px);
}

.cart-overlay.active {
  display: block;
}

.empty-cart {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #666;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 1.5rem;
  background: var(--gray-50);
}

.how-it-works-content {
  max-width: 1200px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: #666;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 6rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-info {
  font-size: 1rem;
  color: #555;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Trust Strip */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--aqua-600);
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-item svg {
  color: var(--aqua-600);
}

/* FAQ Section */
.faq {
  padding: 4rem 1.5rem;
  background: var(--white);
}

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

.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--aqua-600);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--gray-900);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--aqua-600);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Shipping & Returns */
.shipping-returns {
  padding: 4rem 1.5rem;
  background: var(--gray-50);
}

.shipping-returns-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.shipping-info,
.returns-info {
  text-align: center;
}

.shipping-info h3,
.returns-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.shipping-info p,
.returns-info p {
  color: #666;
  line-height: 1.6;
}

/* Mobile Sticky Buy Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  border-top: 1px solid var(--gray-200);
}

.mobile-sticky-bar.active {
  display: block;
}

.sticky-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-bar-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aqua-600);
}

.sticky-bar-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sticky-bar-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.sticky-bar-cart-btn:active {
  transform: scale(0.95);
}

/* Add padding to body on mobile to prevent content from being hidden by sticky bar */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 1.5rem 4rem;
  }

  .hero-text h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-media-wrapper {
    height: 400px;
  }

  .hero-3d {
    height: 100%;
  }

  .hero-fallback {
    height: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .product-card {
    max-width: 100%;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .trust-strip {
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .trust-item svg {
    width: 24px;
    height: 24px;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .faq {
    padding: 4rem 1.5rem;
  }

  .shipping-returns-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-media-wrapper {
    height: 350px;
  }

  .product-actions {
    flex-direction: column;
  }
}

/* Product Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 24px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  z-index: 2001;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2002;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-900);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.modal-body {
  padding: 2rem;
}

.modal-product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-50);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}

.modal-thumbnails {
  display: flex;
  gap: 0.75rem;
}

.modal-thumb {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--gray-50);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-thumb:hover {
  transform: scale(1.05);
  border-color: var(--aqua-500);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.2);
}

.modal-thumb.active {
  border-color: var(--aqua-500);
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.15);
}

.modal-product-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--aqua-700);
  margin-bottom: 1.5rem;
}

.modal-description {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-benefits {
  list-style: none;
  margin-bottom: 1.5rem;
}

.modal-benefits li {
  padding: 0.5rem 0;
  color: var(--gray-900);
  position: relative;
  padding-left: 1.5rem;
}

.modal-benefits li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--aqua-500);
  border-radius: 50%;
}

.modal-includes {
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  color: var(--gray-900);
}

.modal-add-to-cart {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-700));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-add-to-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.35);
}

.modal-add-to-cart:active {
  transform: translateY(-1px);
}

/* Gallery Section */
.gallery-section {
  padding: 10rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out 0.4s forwards;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Bottles Section */
.bottles-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out 0.6s forwards;
}

.bottles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.bottle-item img {
  width: 100%;
  max-width: 200px;
  height: 250px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.bottle-item p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Includes Section */
.includes-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out 0.8s forwards;
}

.includes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.includes-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.includes-image:hover img {
  transform: scale(1.02);
}

.includes-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.includes-list {
  list-style: none;
  font-size: 1.125rem;
}

.includes-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--gray-900);
}

.includes-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--aqua-500);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .modal-product-content {
    grid-template-columns: 1fr;
  }

  .includes-content {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-glow {
    animation: none;
  }
  
  .product-card:hover {
    transform: none;
  }
}

