/* --- Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&family=Great+Vibes&display=swap');

:root {
  --primary-color: #9999FF; /* Medium periwinkle */
  --secondary-color: #CCCCFF; /* Light periwinkle - the gradient mid-point! */
  --accent-color: #7777DD; /* Deeper periwinkle */
  --dark-accent: #5555AA; /* Rich dark periwinkle */
  --bg-color: #F8F8FF; /* Ghost white with periwinkle tint */
  --text-color: #3A3A5A; /* Dark purple-gray text */
  --light-bg: #EDEDFF; /* Very light periwinkle */
  --border-color: #DCDCFF; /* Soft periwinkle border */

  /* Gradient-specific colors (30% lighter total for better visual balance) */
  --gradient-accent: #9C9CE6; /* Lighter accent for gradient endpoints */
  --gradient-dark-accent: #8383C2; /* Lighter dark accent for gradient endpoints */
}

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

/* ============================================
   INNOVATIVE BOX-SHADOW FOCUS SYSTEM
   Replaces traditional outline with layered
   box-shadows for perfect shape adherence

   IMPORTANT: Snipcart's internal cart/modal UI
   is excluded from this system to prevent
   visual interference with their native focus
   management. Only site-integrated Snipcart
   elements (Add to Cart buttons, cart links)
   use the custom focus styles.
   ============================================ */

/* Focus ring customization variables */
*:focus-visible {
  --focus-color: var(--accent-color);
  --focus-ring-width: 3px;
  --focus-ring-offset: 2px;
  --focus-glow-size: 8px;
  --focus-glow-opacity: 0.15;
}

/* Remove default browser focus styles */
*:focus {
  outline: none;
}

/* Sophisticated multi-layer box-shadow focus indicator
   IMPORTANT: Exclude Snipcart's internal cart/modal UI to prevent interference
   with their native focus management and accessibility features */
*:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *) {
  box-shadow:
    /* Inner ring - crisp definition */
    0 0 0 var(--focus-ring-offset) var(--bg-color),
    /* Main focus ring */
    0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-color),
    /* Outer glow - soft depth */
    0 0 var(--focus-glow-size) calc(var(--focus-glow-size) / 2) rgba(119, 119, 221, var(--focus-glow-opacity)),
    /* Preserve existing shadows if any */
    var(--existing-shadow, none);

  /* Smooth transition for polished feel */
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;

  /* Optional subtle lift effect */
  transform: translateY(-1px);

  /* Ensure focus ring follows element shape */
  position: relative;
  z-index: 1;
}

/* Animation: Subtle pulsing glow for enhanced visibility */
@keyframes focusPulse {
  0%, 100% {
    box-shadow:
      0 0 0 var(--focus-ring-offset) var(--bg-color),
      0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-color),
      0 0 var(--focus-glow-size) calc(var(--focus-glow-size) / 2) rgba(119, 119, 221, 0.15),
      var(--existing-shadow, none);
  }
  50% {
    box-shadow:
      0 0 0 var(--focus-ring-offset) var(--bg-color),
      0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-color),
      0 0 calc(var(--focus-glow-size) * 1.2) calc(var(--focus-glow-size) / 1.5) rgba(119, 119, 221, 0.28),
      var(--existing-shadow, none);
  }
}

/* Apply pulse animation to interactive elements
   Exclude Snipcart's internal cart/modal elements from animation */
button:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
a:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
input[type="submit"]:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
input[type="button"]:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
.btn:focus-visible,
.snipcart-add-item:focus-visible {
  animation: focusPulse 2.5s ease-in-out infinite;
}

/* Enhanced focus for form inputs
   Exclude Snipcart's internal form elements */
input:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
textarea:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *),
select:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *) {
  --focus-ring-width: 2px;
  --focus-ring-offset: 0px;
  --focus-glow-size: 6px;
  /* Don't lift inputs, just enhance the ring */
  transform: none;
}

/* Preserve element's existing box-shadow on focus */
.product-card:focus-within {
  --existing-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn:focus-visible {
  --existing-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Snipcart site-integrated elements - subtle focus without interference
   These rules apply only to elements like "Add to Cart" buttons and cart links
   Internal cart/modal UI elements are excluded from custom focus system above */
[class*="snipcart"]:focus-visible:not([class*="snipcart-modal"] *):not([class*="snipcart-cart"] *):not([class*="snipcart__"] *) {
  --focus-ring-width: 2px;
  --focus-ring-offset: 1px;
  --focus-glow-size: 4px;
  transform: none;
}

/* Links in navigation - emphasized focus */
.main-nav a:focus-visible,
.footer-links a:focus-visible {
  --focus-ring-width: 2px;
  --focus-glow-size: 10px;
  --focus-glow-opacity: 0.2;
}

/* Social icons - circular focus ring */
.social-link:focus-visible {
  --focus-ring-width: 3px;
  --focus-ring-offset: 3px;
  --focus-glow-size: 12px;
  --focus-glow-opacity: 0.3;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

/* Snipcart Cart Z-Index Fix - Ensure cart appears above header */
#snipcart,
.snipcart,
.snipcart-modal,
.snipcart-cart,
[class*="snipcart"][class*="modal"],
[class*="snipcart"][class*="cart"] {
  z-index: 10000 !important;
}

/* Snipcart overlay should also be above header */
.snipcart__overlay,
[class*="snipcart"][class*="overlay"] {
  z-index: 9999 !important;
}

/* Exception: Snipcart action buttons should not have elevated z-index that blocks navigation */
.snipcart-customer-signin,
.snipcart-add-item,
.snipcart-checkout {
  position: relative !important;
  z-index: 1 !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 3em;
  font-weight: 700;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.5em;
}

/* --- Header & Navigation --- */
.top-bar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gradient-accent) 100%);
  color: var(--dark-accent);
  text-align: center;
  padding: 12px 0;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-header {
  background-color: var(--light-bg);
  padding: 20px 40px;
  border-bottom: 3px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 3.5em;
  font-weight: 400;
  color: var(--primary-color);
  text-decoration: none;
  font-family: 'Great Vibes', cursive;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
  transition: color 0.3s ease;
  padding-left: 20px;
}

.logo:hover {
  color: var(--dark-accent);
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 35px;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.05em;
  padding: 8px 12px;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* --- Hero Section (Homepage) --- */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-dark-accent) 100%);
  color: white;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-text {
  flex: 1;
  z-index: 1;
}

.hero-text h1 {
  color: var(--light-bg);
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: rgba(255,255,255,0.95);
  font-weight: 300;
}

.hero-images {
  flex: 1.5;
  display: flex;
  gap: 25px;
  z-index: 1;
}

.hero-images img {
  flex: 1;
  border-radius: 12px;
  border: 5px solid rgba(255,255,255,0.9);
  object-fit: cover;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-images img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gradient-accent) 100%);
  color: var(--dark-accent);
  padding: 15px 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, var(--gradient-accent) 0%, var(--secondary-color) 100%);
}

/* Mobile Touch Target Optimization - 48px Minimum */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.btn,
.snipcart-add-item,
.hamburger {
  min-height: 48px;
}

/* Form inputs - ensure adequate touch targets */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
  min-height: 48px;
}

/* Navigation links - adequate spacing for mobile */
@media (max-width: 768px) {
  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* --- Welcome Section (Homepage) --- */
.welcome {
  text-align: center;
  padding: 70px 40px;
  background: var(--light-bg);
}

.welcome h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.welcome p {
  color: var(--text-color);
  font-size: 1.1em;
  line-height: 1.8;
}

/* --- Shop Page --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  padding: 20px 0;
}

.product-card {
  background-color: white;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--gradient-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: var(--secondary-color);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-card-content {
  padding: 25px;
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.product-price {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin: 15px 0 20px 0;
  font-family: 'Playfair Display', serif;
}

/* --- About Page --- */
.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-text {
  flex: 2;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border: 4px solid var(--border-color);
}

/* --- Contact Page --- */
.contact-form {
  max-width: 650px;
  margin: 40px auto;
  background-color: white;
  padding: 45px;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  transition: all 0.3s ease;
  background-color: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(204, 204, 255, 0.15);
  background-color: white;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--light-bg) inset;
  -webkit-text-fill-color: var(--text-color);
  transition: background-color 5000s ease-in-out 0s;
}

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

/* --- Account Page --- */
.account-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-dark-accent) 100%);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.account-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.account-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  margin: 0 0 15px 0;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--light-bg);
}

.account-hero p {
  font-size: 1.2em;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.account-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cta-section {
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  border: 2px solid var(--border-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 2.2em;
  margin: 0 0 20px 0;
}

.cta-section p {
  color: var(--text-color);
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 30px;
}

.account-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.account-actions .btn {
  position: relative;
  z-index: 1;
}

.account-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--gradient-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: var(--secondary-color);
}

.feature-icon {
  font-size: 3em;
  display: block;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.6em;
  margin: 0 0 15px 0;
}

.feature-card p {
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

/* ==============================================
   ENHANCED FOOTER STYLES
   ============================================== */

/* --- Main Footer Container --- */
.main-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-dark-accent) 100%);
  color: var(--light-bg);
  margin-top: 60px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 60px 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  color: var(--light-bg);
  font-size: 1.3em;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-section p {
  margin: 0 0 15px 0;
  line-height: 1.7;
  opacity: 0.95;
  font-size: 0.95em;
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  font-size: 2.9em;
  font-family: 'Great Vibes', cursive;
  color: var(--light-bg);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-tagline {
  font-style: italic;
  font-size: 1.05em;
  margin-top: 10px;
  opacity: 0.9;
  font-family: 'Playfair Display', serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--light-bg);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 0.9;
  font-size: 0.95em;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 20px;
  color: rgba(255, 255, 255, 1);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-quick-links h3 {
  text-align: center;
  padding-right: 40px;
}

.quick-links-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--light-bg);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-contact-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: nowrap;
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-bg);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-bg);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  padding: 12px 24px;
  background: var(--light-bg);
  color: var(--dark-accent);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.payment-methods {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-icon {
  height: 32px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 0.75em;
  line-height: 1;
  color: var(--dark-accent);
  white-space: nowrap;
  overflow: hidden;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
  padding: 25px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  margin: 0;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: var(--light-bg);
  text-decoration: none;
  font-size: 0.9em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.hamburger:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

/* --- Responsive Design --- */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    padding: 60px 30px;
  }

  .hero-text h1 {
    font-size: 2.5em;
  }

  .hero-images {
    width: 100%;
  }

  .about-content {
    flex-direction: column;
    padding: 30px;
  }

  .main-header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 2.5em;
  }

  .main-nav ul {
    gap: 20px;
  }

  .main-nav a {
    font-size: 0.95em;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    padding: 40px 40px 25px;
  }

  .footer-bottom {
    padding: 20px 40px;
  }
}

@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
  }

  /* Main header adjustments */
  .main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Hide navigation by default on mobile */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--bg-color) 100%);
    padding: 80px 30px 30px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

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

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 16px 12px;
    font-size: 1.1em;
    text-align: left;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(153, 153, 255, 0.1);
    border-left-color: var(--primary-color);
    padding-left: 20px;
  }

  .main-nav a::after {
    display: none;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Show overlay when menu is active */
  .nav-overlay {
    display: block;
  }

  /* Ensure product cards and buttons stay below mobile navigation */
  .product-card {
    z-index: 1 !important;
  }

  .product-card .btn,
  .product-card .snipcart-add-item {
    z-index: 1 !important;
  }

  /* Ensure account page elements stay below mobile navigation */
  .cta-section,
  .account-features,
  .feature-card {
    z-index: 1 !important;
  }

  .account-actions,
  .account-actions .btn,
  .account-actions .snipcart-customer-signin {
    z-index: 1 !important;
  }
}

@media (max-width: 640px) {
  .main-header {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }

  .logo {
    padding-left: 0;
  }

  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.8em;
  }

  .hero-text h1 {
    font-size: 2em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .hero-images {
    flex-direction: column;
  }

  .hero-images img {
    height: 300px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 30px 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 25px 20px;
  }
  
  .footer-section {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .payment-methods {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: 20px 25px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
}

