/* --- Enhanced Design System aligned with refined logo --- */
/* Palette: Terracotta rose, sage green, warm cream, deep teal */


:root {
  /* Primary palette from logo */
  --bg-cream: #FFF9F5;
  --bg-secondary: #FFF5EE;
  --card-white: #FFFFFF;
  /* Brand colors */
  --terracotta: #C97C5D;
  --terracotta-light: #D4876F;
  --terracotta-dark: #B86F56;
  --sage: #5C7370;
  --sage-dark: #4A5F5E;
  --deep-teal: #2C3E3F;
  --warm-gray: #5C6B6D;
  --gold-accent: #D4A574;
  /* Functional colors */
  --text-primary: #2C3E3F;
  --text-secondary: #5C6B6D;
  --text-muted: #8A9696;
  /* Effects */
  --shadow-soft: 0 2px 8px rgba(44, 62, 63, 0.08);
  --shadow-medium: 0 4px 16px rgba(44, 62, 63, 0.12);
  --shadow-strong: 0 8px 24px rgba(44, 62, 63, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Garamond', serif;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-secondary) 50%, #FFFFFF 100%);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--deep-teal);
  letter-spacing: 0.5px;
  line-height: 1.3;
}
h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* --- Header --- */
.site-header {
  background: linear-gradient(135deg, 
    rgba(255, 249, 245, 0.98) 0%, 
    rgba(255, 245, 238, 0.95) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(92, 115, 112, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}

.logo-banner {
  width: 100%;
  background: linear-gradient(90deg, 
    rgba(92, 115, 112, 0.08) 0%, 
    rgba(201, 124, 93, 0.06) 50%,
    rgba(92, 115, 112, 0.08) 100%);
  text-align: center;
  padding: 32px 20px;
  border-bottom: 1px solid rgba(201, 124, 93, 0.2);
  position: relative;
  overflow: hidden;
}

.logo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, 
    rgba(212, 135, 111, 0.1) 0%, 
    transparent 60%);
  pointer-events: none;
}

.logo-wide {
  max-width: 380px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(44, 62, 63, 0.1));
  transition: var(--transition);
}

.logo-wide:hover {
  transform: scale(1.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(44, 62, 63, 0.1));
}

/* --- Navigation --- */


.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  background: rgba(201, 124, 93, 0.12);
  color: var(--terracotta-dark);
}

.nav-link:hover::after {
  transform: scaleX(1);
}
  




/* --- Cart Mini --- */
.cart-mini button {
  background: var(--sage);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.cart-mini button:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* --- Hero Section --- */
.hero {
  padding: 80px 32px;
  background: linear-gradient(135deg, 
    rgba(245, 230, 224, 0.5) 0%, 
    rgba(255, 249, 245, 0.8) 100%);
  border-radius: var(--radius-lg);
  margin: 32px auto;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, 
    rgba(201, 124, 93, 0.15) 0%, 
    transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 16px;
  color: var(--deep-teal);
  font-weight: 400;
  letter-spacing: 1px;
}

.hero p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.35rem;
  font-style: italic;
  font-family: 'Georgia', serif;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

 /*   ////////   */

.hero {
  position: relative;
  padding: 80px 32px;
  background: linear-gradient(135deg, rgba(245, 230, 224, 0.5) 0%, rgba(255, 249, 245, 0.8) 100%);
  border-radius: var(--radius-lg);
  margin: 32px auto;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

/* Add this new background layer */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("SewingPic.png"); /* Confirm correct path */
  background-size: cover;
  background-position: center;
  opacity: 0.28; /* More visible */
  mix-blend-mode: multiply; /* Adds richness and depth */
  z-index: 1;
}
  

/* Ensure text stays above the background */
.hero-inner {
  position: relative;
  z-index: 2;
}




/* --- Buttons --- */
.btn {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: var(--terracotta-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn.ghost {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage-dark);
}

.btn.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn.outline {
  background: transparent;
  border: 2px solid rgba(92, 115, 112, 0.3);
  color: var(--text-primary);
  box-shadow: none;
}

.btn.outline:hover {
  background: rgba(92, 115, 112, 0.1);
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* --- Featured Products --- */
.featured {
  margin-top: 48px;
}

.featured h2 {
  text-align: center;
  color: var(--deep-teal);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}

.featured h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-accent));
  border-radius: 2px;
}

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

.product-card {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(92, 115, 112, 0.1);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--terracotta-light);
}

.product-card img {
  width: 100%;
  height: auto; /*260px*/
  object-fit: contain; /*cover*/
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
}

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

.product-card h3 {
  color: var(--deep-teal);
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.price {
  font-weight: 700;
  color: var(--terracotta);
  font-size: 1.5rem;
  margin: 12px 0;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* --- Product Page --- */
.page-title {
  text-align: center;
  color: var(--deep-teal);
  margin-bottom: 48px;
  font-size: 2.75rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.product-single {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--card-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(201, 124, 93, 0.15);
}

.product-left {
  flex: 1;
  min-width: 320px;
}

.product-right {
  flex: 1.2;
  padding: 16px;
}

.product-right h2 {
  margin-top: 0;
  color: var(--deep-teal);
  font-size: 2rem;
}

.product-right label {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.product-right select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(92, 115, 112, 0.2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: white;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.product-right select:hover {
  border-color: var(--sage);
}

.product-right select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.1);
}



/* Checkout Modal Styling */
/* Checkout modal scroll fix */
.checkout-box {
    max-height: 85vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 14px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}



/*
#checkoutModal .modal-content {
  max-width: 600px;
}  */

#checkoutForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#checkoutForm label {
  font-weight: 600;
  color: var(--deep-teal);
}

#checkoutForm input,
#checkoutForm textarea,
#checkoutForm select {
  padding: 12px;
  border: 2px solid rgba(92, 115, 112, 0.2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

#checkoutForm input:focus,
#checkoutForm textarea:focus,
#checkoutForm select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.1);
}


  .carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F5E6E0 0%, #FFF9F5 100%);
  box-shadow: var(--shadow-soft);
  height: auto; /* Let it grow with image */
  min-height: 400px; /* Optional: ensures enough space */
  display: flex;
  align-items: center;
  justify-content: center;
}


.carousel .carousel-images {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

  .carousel img {
  width: 100%;
  height: auto; /*500px You can adjust this height to your preferred crop level */
  object-fit: contain; /*cover Crops edges slightly while keeping proportions */
  border-radius: var(--radius-md);
  transition: var(--transition);
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 62, 63, 0.75);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

/* --- Size Info --- */
.size-info {
  margin-top: 12px;
  background: linear-gradient(135deg, 
    rgba(245, 230, 224, 0.5) 0%, 
    rgba(255, 249, 245, 0.8) 100%);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(201, 124, 93, 0.2);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* --- Quantity --- */
.quantity {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.quantity label {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.quantity input[type="number"] {
  width: 80px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(92, 115, 112, 0.2);
  font-size: 1rem;
  transition: var(--transition);
}

.quantity input[type="number"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.1);
}

/* --- Product Actions --- */
.product-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- How It Works Section --- */
.howitworks {
  margin-top: 64px;
  background: linear-gradient(135deg, 
    rgba(255, 249, 245, 0.6) 0%, 
    rgba(255, 255, 255, 0.9) 100%);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 124, 93, 0.15);
}

.howitworks h2 {
  text-align: center;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 28px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(92, 115, 112, 0.1);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--terracotta-light);
}

.step h4 {
  color: var(--terracotta);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Tracker Section --- */
.tracker {
  margin-top: 64px;
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(92, 115, 112, 0.15);
}

.tracker h2 {
  margin-bottom: 16px;
  text-align: center;
}

.tracker > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tracker-form {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.tracker-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(92, 115, 112, 0.2);
  font-size: 1rem;
  transition: var(--transition);
}

.tracker-form input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.1);
}

.track-result {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.track-result.ok {
  background: rgba(92, 115, 112, 0.1);
  color: var(--sage-dark);
  border: 1px solid var(--sage);
}

.track-result.error {
  background: rgba(201, 124, 93, 0.1);
  color: var(--terracotta-dark);
  border: 1px solid var(--terracotta);
}

/* --- Cart Drawer --- */
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 420px;
  background: var(--card-white);
  box-shadow: -8px 0 32px rgba(44, 62, 63, 0.2);
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 150;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(201, 124, 93, 0.2);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.cart-header h3 {
  color: var(--deep-teal);
  font-size: 1.75rem;
  margin: 0;
}

.cart-header button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.cart-header button:hover {
  background: rgba(201, 124, 93, 0.1);
  color: var(--terracotta);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(92, 115, 112, 0.15);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.cart-item strong {
  color: var(--deep-teal);
  font-size: 1.05rem;
}

.cart-item input[type="number"] {
  width: 70px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92, 115, 112, 0.2);
}

.cart-footer {
  border-top: 2px solid rgba(201, 124, 93, 0.2);
  padding-top: 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-total {
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--terracotta);
  text-align: center;
}

/* --- Modal --- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(44, 62, 63, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--card-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 94%;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(201, 124, 93, 0.1);
  color: var(--terracotta);
}

/* --- About Page --- */
.about {
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(92, 115, 112, 0.1);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-box {
  background: linear-gradient(135deg, 
    rgba(245, 230, 224, 0.4) 0%, 
    rgba(255, 249, 245, 0.6) 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 124, 93, 0.2);
  transition: var(--transition);
}

.value-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--terracotta);
}

.value-box strong {
  color: var(--terracotta);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 8px;
}

/* --- Contact Page --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

/* Contact Form Styling */
.contact-form {
  background: linear-gradient(135deg, rgba(255, 249, 245, 0.7), rgba(245, 230, 224, 0.9));
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(201, 124, 93, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out;
}

.contact-form input,
.contact-form textarea {
  background: #fff;
  border: 2px solid rgba(92, 115, 112, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  margin-top: 12px;
}

/* Contact Details Styling */
.contact-details {
  background: linear-gradient(135deg, rgba(245, 230, 224, 0.3), rgba(255, 249, 245, 0.5));
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 124, 93, 0.15);
}

.contact-details h3 {
  color: var(--deep-teal);
  margin-bottom: 20px;
}

.contact-details a {
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* --- FAQ Page --- */
.faq details {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(92, 115, 112, 0.15);
  transition: var(--transition);
}

.faq details:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--terracotta-light);
}

.faq summary {
  font-weight: 600;
  color: var(--deep-teal);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 0;
}

.faq summary:hover {
  color: var(--terracotta);
}

.faq details[open] summary {
  color: var(--terracotta);
  margin-bottom: 12px;
}

/* --- Footer --- */
footer {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(245, 230, 224, 0.2) 100%);
  border-top: 1px solid rgba(201, 124, 93, 0.2);
  margin-top: 64px;
}

footer p {
  color: var(--text-muted);
  margin: 8px 0;
  font-size: 0.95rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .product-single {
    flex-direction: column;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel img {
    height: 320px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 12px 16px;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 48px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .cart-drawer {
    width: 100%;
    max-width: 380px;
  }
  
  .carousel img {
    height: 280px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .logo-wide {
    max-width: 300px;
  }
  
  .container {
    padding: 24px 16px;
  }

  /* UPDATE HERE: ensure images scale properly on mobile */
.product-card img,
.carousel img {
  height: auto;
  object-fit: contain;
}

}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .tracker-form {
    flex-direction: column;
  }
  
  .tracker-form input,
  .tracker-form .btn {
    width: 100%;
  }
  
  .product-single {
    padding: 20px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
}

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

.product-card,
.step,
.value-box {
  animation: fadeInUp 0.6s ease-out;
}

/* --- Accessibility --- */
*:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible {
  outline-color: var(--gold-accent);
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .cart-drawer,
  .hero-actions,
  footer {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .product-card,
  .product-single {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}