/* ============================================================
   Scrubs — Main Stylesheet
   Mobile-first, responsive
   Color palette: Deep teal (#0D5C63), Navy (#0A2342), White, Accent (#E8F4F8)
   ============================================================ */

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

:root {
  --teal:       #0D5C63;
  --teal-dark:  #094A50;
  --teal-light: #1A7A82;
  --navy:       #0A2342;
  --navy-light: #13345E;
  --accent:     #E8F4F8;
  --accent2:    #B8DDE6;
  --white:      #FFFFFF;
  --off-white:  #F7FAFB;
  --gray-100:   #F0F4F6;
  --gray-200:   #DDE5E8;
  --gray-400:   #8FA8B0;
  --gray-600:   #4A6570;
  --gray-800:   #1E3340;
  --text:       #1E3340;
  --text-light: #4A6570;
  --red:        #C0392B;
  --green:      #1A8A4A;
  --burgundy:   #6D1A2A;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 4px rgba(10,35,66,.08);
  --shadow:     0 4px 16px rgba(10,35,66,.12);
  --shadow-lg:  0 8px 32px rgba(10,35,66,.16);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(13,92,99,.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  box-shadow: 0 4px 14px rgba(10,35,66,.35);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}
.nav-logo .logo-text span { color: var(--teal); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--accent);
  color: var(--teal);
}
.nav-links a i { font-size: .85rem; }

/* Cart badge */
.nav-cart {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--teal);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: transform var(--transition);
}
.cart-badge.bump { animation: badge-bump .3s ease; }
@keyframes badge-bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  padding: .3rem .6rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
}
.lang-btn.active {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  z-index: 999;
  padding: 1rem 1.25rem 1.5rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { background: var(--accent); color: var(--teal); }
.nav-mobile .lang-toggle { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 50%, var(--teal-light) 100%);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(26,122,130,.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent2);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
}
.hero-title .brand { color: var(--accent2); }
.hero-title .line2 {
  display: block;
  font-weight: 300;
  font-style: italic;
  font-size: .75em;
  opacity: .9;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: .85;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent2);
  line-height: 1;
}
.stat-label { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-card-stack { position: relative; width: 340px; height: 420px; }
.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card-main {
  width: 280px;
  height: 360px;
  top: 30px;
  left: 30px;
  background: linear-gradient(160deg, #1A7A82 0%, #0A4A50 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
}
.hero-card-back {
  width: 260px;
  height: 340px;
  top: 0;
  left: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  z-index: 1;
  backdrop-filter: blur(4px);
}
.hero-card-accent {
  width: 120px;
  height: 120px;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent2), var(--teal-light));
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.hero-card-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .8; }
.hero-card-main h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: .06em;
}
.hero-card-main p { font-size: .8rem; opacity: .7; text-align: center; margin-top: .25rem; }

/* Floating badges */
.hero-float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: .75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 4;
}
.hero-float-1 { top: 0; right: -20px; }
.hero-float-2 { bottom: 40px; left: -20px; }
.hero-float-badge .badge-label { font-size: .7rem; color: var(--gray-600); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.hero-float-badge .badge-value { font-size: 1rem; font-weight: 700; color: var(--teal); font-family: var(--font-heading); }

/* ---------- Features Strip ---------- */
.features-strip {
  background: var(--navy);
  padding: 1.75rem 0;
}
.features-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
}
.feature-item i { color: var(--accent2); font-size: 1.1rem; }

/* ---------- Products Section ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  flex-shrink: 0;
}
.product-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-image-bg .product-icon {
  font-size: 4rem;
  opacity: .35;
  color: white;
}
.product-image-bg .product-label {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 1rem;
}

.product-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: var(--teal);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
}
.product-badge.new  { background: var(--green); }
.product-badge.sale { background: var(--red); }

.product-wishlist {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .85rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}
.product-wishlist:hover { background: white; color: #e74c3c; transform: scale(1.1); }
.product-wishlist.active { color: #e74c3c; }

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .35rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .25rem;
  line-height: 1.3;
}

.product-variant { font-size: .82rem; color: var(--gray-600); margin-bottom: .75rem; }

.color-swatches {
  display: flex;
  gap: .4rem;
  margin-bottom: .85rem;
}
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--gray-400);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.swatch:hover,
.swatch.active { transform: scale(1.2); box-shadow: 0 0 0 2px var(--teal); }

.size-pills {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.size-pill {
  padding: .2rem .55rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.size-pill:hover { border-color: var(--teal); color: var(--teal); }
.size-pill.active { border-color: var(--teal); background: var(--teal); color: white; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--gray-100);
  gap: .75rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.product-price .currency { font-size: .85rem; font-weight: 500; color: var(--gray-600); }

.add-to-cart {
  flex-shrink: 0;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: .55rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.add-to-cart:hover {
  background: var(--teal-dark);
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(13,92,99,.3);
}
.add-to-cart:active { transform: scale(.97); }

/* ---------- About Section ---------- */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--teal) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: 6rem;
}
.about-tag {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.about-tag-1 { bottom: -1.5rem; right: -1.5rem; }
.about-tag-2 { top: 2rem; left: -1.5rem; }
.about-tag .tag-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.about-tag .tag-value { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.about-tag .tag-label { font-size: .75rem; color: var(--gray-600); margin-top: .1rem; }

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.about-content .lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.about-content p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.75; }

.about-values { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-item:hover { border-color: var(--accent2); box-shadow: var(--shadow-sm); }
.value-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}
.value-text strong { display: block; font-weight: 600; color: var(--navy); font-size: .9rem; }
.value-text span { font-size: .82rem; color: var(--gray-600); }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(26,122,130,.3) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-content { color: white; }
.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}
.newsletter-content p { opacity: .8; font-size: 1rem; line-height: 1.7; }
.newsletter-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: .75rem; }
.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  flex: 1;
  padding: .85rem 1.25rem;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: white;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  cursor: pointer;
}
.newsletter-consent input { margin-top: 2px; accent-color: var(--teal-light); }

/* ---------- Products Page ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  padding: 6rem 0 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.page-hero p { opacity: .8; font-size: 1.05rem; max-width: 480px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  margin-top: 1.25rem;
  opacity: .7;
}
.breadcrumb a { opacity: .8; transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb i { font-size: .65rem; }

/* Products layout */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

/* Sidebar filters */
.filters-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
}
.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.filters-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.clear-filters {
  background: none;
  border: none;
  font-size: .8rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  display: none;
}
.clear-filters.visible { display: block; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gray-100);
}
.filter-options { display: flex; flex-direction: column; gap: .5rem; }
.filter-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  padding: .35rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.filter-option:hover { background: var(--accent); }
.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}
.filter-option label {
  font-size: .88rem;
  color: var(--text);
  cursor: pointer;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-count {
  font-size: .75rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: .1rem .5rem;
  border-radius: 100px;
}

/* Color filter */
.color-filter-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.color-filter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
}
.color-filter-btn:hover { transform: scale(1.15); }
.color-filter-btn.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--teal);
}
.color-filter-btn::after {
  content: attr(title);
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  white-space: nowrap;
  background: var(--navy);
  color: white;
  padding: .2rem .4rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.color-filter-btn:hover::after { opacity: 1; }

/* Price range */
.price-range-wrap {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--gray-600);
  font-weight: 500;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform var(--transition);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* Products main area */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.products-count { font-size: .9rem; color: var(--gray-600); }
.products-count strong { color: var(--text); }

.sort-select {
  padding: .5rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text);
  background: white;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.sort-select:focus { border-color: var(--teal); }

/* View toggle */
.view-toggle { display: flex; gap: .25rem; }
.view-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .9rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.view-btn.active,
.view-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--accent); }

/* List view */
#products-grid.list-view { grid-template-columns: 1fr; }
#products-grid.list-view .product-card {
  flex-direction: row;
  height: 160px;
}
#products-grid.list-view .product-image {
  width: 130px;
  flex-shrink: 0;
  aspect-ratio: unset;
}
#products-grid.list-view .product-body { padding: 1rem 1.25rem; justify-content: center; }

/* Mobile filter toggle */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
}

/* ---------- Cart Page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

.cart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.cart-header-row h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.clear-cart-btn {
  background: none;
  border: none;
  color: var(--red);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: opacity var(--transition);
}
.clear-cart-btn:hover { opacity: .7; }

/* Cart items */
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  align-items: center;
  transition: box-shadow var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-sm); }

.cart-item-image {
  width: 80px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 1.75rem;
}

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .2rem;
}
.cart-item-variant {
  font-size: .8rem;
  color: var(--gray-600);
  margin-bottom: .65rem;
}

/* Qty controls */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.qty-btn:hover { background: var(--accent); color: var(--teal); }
.qty-display {
  min-width: 36px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 .25rem;
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
}

.cart-item-price { text-align: right; flex-shrink: 0; }
.cart-item-total {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.cart-item-unit { font-size: .75rem; color: var(--gray-400); margin-bottom: .5rem; }
.remove-item {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: .85rem;
  cursor: pointer;
  padding: .25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.remove-item:hover { color: var(--red); background: #fee; }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 5rem 2rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.cart-empty-icon {
  font-size: 4rem;
  color: var(--gray-200);
  margin-bottom: 1.25rem;
}
.cart-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.cart-empty p { color: var(--gray-600); margin-bottom: 1.5rem; }

/* Order summary */
.order-summary {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
}
.order-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  font-size: .9rem;
  color: var(--text-light);
}
.summary-row.total {
  padding-top: 1rem;
  margin-top: .5rem;
  border-top: 2px solid var(--gray-200);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.summary-row.total .amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--teal);
}
.summary-row .free-tag {
  color: var(--green);
  font-weight: 600;
}

.promo-wrap {
  display: flex;
  gap: .5rem;
  margin: 1.25rem 0;
}
.promo-wrap input {
  flex: 1;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .88rem;
  outline: none;
  transition: border-color var(--transition);
}
.promo-wrap input:focus { border-color: var(--teal); }

.checkout-btn {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 1rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-bottom: 1rem;
}
.checkout-btn:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 16px rgba(13,92,99,.35);
}
.checkout-btn:active { transform: scale(.98); }

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}
.payment-icon {
  padding: .3rem .6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: .04em;
}
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 1rem;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 4rem 0 6rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.contact-info p { color: var(--text-light); margin-bottom: 2rem; line-height: 1.75; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-item:hover { border-color: var(--accent2); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .15rem; }
.contact-item-text a,
.contact-item-text span { font-size: .9rem; color: var(--gray-600); }
.contact-item-text a:hover { color: var(--teal); }

.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 42px;
  height: 42px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.social-link:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: translateY(-3px);
}

/* Contact form */
.contact-form-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group label .required { color: var(--red); margin-left: .2rem; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(13,92,99,.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
select.form-control { cursor: pointer; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  background: #f0fff4;
  border: 1.5px solid #a3d9a5;
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--green);
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  align-items: center;
  gap: .5rem;
  justify-content: center;
}
.form-success.show { display: flex; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 1.1rem; }
.footer-brand .nav-logo .logo-text { color: white; }
.footer-brand p { font-size: .875rem; line-height: 1.75; margin-bottom: 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--teal); color: white; }

.footer-col h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-col ul li a:hover { color: var(--accent2); }
.footer-col ul li a i { font-size: .7rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.75); }

/* ---------- Toast Notification ---------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.toast {
  background: var(--navy);
  color: white;
  padding: .85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  font-weight: 500;
  min-width: 250px;
  max-width: 340px;
  animation: toast-in .3s ease;
  border-left: 4px solid var(--teal);
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }
.toast i { font-size: 1rem; color: var(--teal); flex-shrink: 0; }
.toast.success i { color: var(--green); }
.toast.error i   { color: var(--red); }
.toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  margin-left: auto;
  cursor: pointer;
  font-size: .8rem;
  line-height: 1;
  padding: .15rem;
}
.toast-close:hover { color: white; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.toast.fade-out {
  animation: toast-out .3s ease forwards;
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(30px); }
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
}
.scroll-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--teal-dark); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { gap: 2.5rem; }
  .products-layout { grid-template-columns: 240px 1fr; }
  .newsletter-inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .products-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; position: fixed; left: 0; top: 0; bottom: 0; width: 300px; z-index: 2000; border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform var(--transition); }
  .filters-sidebar.open { display: block; transform: translateX(0); }
  .mobile-filter-btn { display: flex; }
  .contact-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: .95rem; }
  .features-inner { gap: 1.25rem; }
  .feature-item { font-size: .8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .form-row-2 { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
  .toast { min-width: unset; width: 100%; }
  .contact-form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .product-name { font-size: 1rem; }
  .hero-stats { gap: 1.25rem; }
}
