﻿/* ============================================================
   ZOZO TOMI — Shared Stylesheet
   Design: Clean optical + modern lifestyle + light medical trust
   Colors: Navy #1F2A44 | Off White #F7F6F2 | Blue Grey #E8EEF3
           Charcoal #222 | Green #2E8B57 | Orange #E58A2A
   ============================================================ */

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

:root {
  --navy: #1F2A44;
  --navy-light: #2a3a5c;
  --off-white: #F7F6F2;
  --blue-grey: #E8EEF3;
  --blue-grey-dark: #d0d9e2;
  --charcoal: #222222;
  --grey: #555555;
  --grey-light: #999999;
  --green: #2E8B57;
  --orange: #E58A2A;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1280px;
  --font-stack: 'Inter', 'Helvetica Neue', 'Arial', 'Helvetica', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: var(--charcoal); }
h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.text-light { color: var(--grey-light); }
.text-navy { color: var(--navy); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-tight { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--grey); max-width: 600px; margin: 0 auto; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 64px;
}
.header-logo {
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em; white-space: nowrap;
}
.header-logo span { color: var(--green); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; font-size: 0.875rem; font-weight: 500;
  color: var(--charcoal); border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue-grey); color: var(--navy);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions a {
  font-size: 0.875rem; font-weight: 500; padding: 8px 16px;
  border-radius: var(--radius); transition: all 0.15s;
}
.nav-cart {
  color: var(--charcoal); position: relative;
}
.nav-cart .cart-count {
  position: absolute; top: 2px; right: -2px;
  background: var(--orange); color: white; font-size: 0.7rem;
  width: 18px; height: 18px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; font-weight: 600;
}
.btn-nav {
  background: var(--navy); color: var(--white) !important;
}
.btn-nav:hover { background: var(--navy-light); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-size: 0.9375rem; font-weight: 600;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: all 0.2s; font-family: var(--font-stack);
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--blue-grey); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--blue-grey); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #267a4a; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-grey); }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; transition: box-shadow 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 1; overflow: hidden; background: var(--off-white); display: flex; align-items: center; justify-content: center; }
.card-img img { width: 85%; height: 85%; object-fit: contain; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.card-body .price { font-weight: 600; color: var(--navy); font-size: 1.125rem; }
.card-body .price-from { font-size: 0.75rem; color: var(--grey-light); font-weight: 400; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.card-tag {
  font-size: 0.6875rem; padding: 3px 10px; border-radius: 20px;
  background: var(--blue-grey); color: var(--navy); font-weight: 500;
}
.color-dots { display: flex; gap: 6px; margin: 8px 0; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border); }
.color-dot.black { background: #222; }
.color-dot.tortoise { background: #8B6914; }
.color-dot.clear-crystal { background: #e8e8e8; }
.color-dot.grey { background: #888; }
.color-dot.brown { background: #6B4226; }
.color-dot.blue { background: #3a5a8c; }
.color-dot.green { background: #3b6f55; }
.color-dot.gold { background: #c7a04a; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--off-white); padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: var(--grey); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image img { max-width: 100%; border-radius: var(--radius-lg); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 20px 0; background: var(--white);
}
.trust-bar .container { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500; color: var(--grey);
}
.trust-item .icon { width: 24px; height: 24px; color: var(--green); }

/* ---------- Category Cards ---------- */
.cat-card {
  display: block; background: var(--off-white); border-radius: var(--radius-lg);
  overflow: hidden; text-align: center; padding-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card .cat-img { aspect-ratio: 3/2; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--blue-grey); }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-img .cat-placeholder { font-size: 3rem; opacity: 0.5; }
.cat-card h3 { margin-top: 16px; font-size: 1rem; font-weight: 600; color: var(--navy); }

/* ---------- How It Works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--grey); font-size: 0.9rem; }

/* ---------- Lens Options Grid ---------- */
.lens-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.lens-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s;
}
.lens-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.lens-card .lens-icon { font-size: 2rem; margin-bottom: 12px; }
.lens-card h3 { margin-bottom: 8px; }
.lens-card p { font-size: 0.875rem; color: var(--grey); }

/* ---------- Sports Section ---------- */
.sports-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f63 100%);
  color: var(--white); padding: 80px 0;
}
.sports-section h2 { color: var(--white); }
.sports-section p { color: rgba(255,255,255,0.8); }
.sports-section .btn { margin-top: 24px; }

/* ---------- Prescription Help Grid ---------- */
.help-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.help-card {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.help-card:hover { border-color: var(--navy); background: var(--blue-grey); }
.help-card h4 { font-size: 0.9375rem; margin-bottom: 4px; }
.help-card p { font-size: 0.8125rem; color: var(--grey); }

/* ---------- Wholesale Section ---------- */
.wholesale-section {
  background: var(--off-white); padding: 80px 0;
}
.wholesale-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px;
}
.wholesale-item {
  background: var(--white); border-radius: var(--radius); padding: 24px 16px;
  text-align: center; font-weight: 500; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.wholesale-item:hover { transform: translateY(-2px); }
.wholesale-item .w-icon { font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0; font-size: 0.8125rem; color: var(--grey-light); }
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Page Header ---------- */
.page-header {
  background: var(--off-white); padding: 48px 0; text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--grey); max-width: 600px; margin: 0 auto; }

/* ---------- Filters (Product List) ---------- */
.filters-bar {
  border-bottom: 1px solid var(--border); padding: 20px 0;
  position: sticky; top: 64px; background: var(--white); z-index: 50;
}
.filters-bar .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-group { position: relative; }
.filter-btn {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--white); font-size: 0.8125rem; cursor: pointer;
  display: flex; align-items: center; gap: 6px; font-family: var(--font-stack);
  white-space: nowrap; transition: border-color 0.2s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--navy); color: var(--navy); }
.filter-clear {
  margin-left: auto; font-size: 0.8125rem; color: var(--grey-light);
  cursor: pointer; background: none; border: none; padding: 8px;
  font-family: var(--font-stack);
}
.filter-clear:hover { color: var(--navy); }
.filter-dropdown {
  display: none; position: absolute; top: 44px; left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px 0; min-width: 200px; z-index: 10;
}
.filter-dropdown.open { display: block; }
.filter-dropdown label {
  display: block; padding: 8px 16px; font-size: 0.8125rem; cursor: pointer;
  transition: background 0.1s; white-space: nowrap;
}
.filter-dropdown label:hover { background: var(--blue-grey); }
.filter-dropdown input[type="checkbox"] { margin-right: 8px; }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.active-tag {
  font-size: 0.75rem; padding: 4px 10px; border-radius: 20px;
  background: var(--blue-grey); color: var(--navy);
  display: flex; align-items: center; gap: 4px;
}
.active-tag .remove { cursor: pointer; font-weight: 700; font-size: 0.9rem; line-height: 1; }

/* ---------- Product Grid ---------- */
.products-grid { margin-top: 24px; }
.product-count { font-size: 0.875rem; color: var(--grey); margin-bottom: 16px; }
.sort-select {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.8125rem; font-family: var(--font-stack); cursor: pointer;
}

/* ---------- Product Detail ---------- */
.product-detail { padding: 60px 0; }
.product-detail .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-gallery { position: sticky; top: 88px; }
.gallery-main { aspect-ratio: 1; background: var(--off-white); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gallery-main img { width: 90%; height: 90%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--radius);
  border: 2px solid var(--border); overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--navy); }
.gallery-thumb img { width: 80%; height: 80%; object-fit: contain; }

.product-info h1 { font-size: 1.75rem; margin-bottom: 4px; }
.product-info .product-price { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-info .product-price span { font-size: 0.875rem; color: var(--grey-light); font-weight: 400; }
.product-info .product-desc { color: var(--grey); margin-bottom: 24px; line-height: 1.7; }

.option-group { margin-bottom: 20px; }
.option-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 8px; color: var(--charcoal); }
.option-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.option-choice {
  padding: 10px 18px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.8125rem; cursor: pointer; background: var(--white);
  transition: all 0.15s; font-family: var(--font-stack);
}
.option-choice:hover { border-color: var(--navy); }
.option-choice.selected { border-color: var(--navy); background: var(--blue-grey); color: var(--navy); font-weight: 600; }
.option-choice.color-opt { display: flex; align-items: center; gap: 8px; }
.color-swatch { width: 20px; height: 20px; border-radius: 50%; display: inline-block; border: 1px solid var(--border); }

.prescription-options { margin: 20px 0; padding: 20px; background: var(--off-white); border-radius: var(--radius-lg); }
.prescription-options h4 { margin-bottom: 12px; }

.product-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.product-features { margin-top: 24px; }
.product-features .feature { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.875rem; color: var(--grey); }
.product-features .feature .check { color: var(--green); font-weight: 700; }

/* Product tabs */
.product-tabs-section { border-top: 1px solid var(--border); padding: 60px 0; }
.product-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.product-tab {
  padding: 14px 28px; font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s; color: var(--grey); background: none; border-top: none; border-left: none; border-right: none; font-family: var(--font-stack);
}
.product-tab:hover { color: var(--navy); }
.product-tab.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-bottom: 16px; }
.tab-panel p { color: var(--grey); margin-bottom: 12px; line-height: 1.7; }

/* ---------- Prescription Form ---------- */
.prescription-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px;
}
.prescription-form h3 { margin-bottom: 8px; }
.prescription-form .form-desc { color: var(--grey); font-size: 0.875rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.form-col h4 { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-field { margin-bottom: 16px; }
.form-field label { display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 4px; }
.form-field .hint { font-size: 0.6875rem; color: var(--grey-light); cursor: help; }
.form-field input, .form-field select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.9375rem; transition: border-color 0.2s; font-family: var(--font-stack);
}
.form-field input:focus, .form-field select:focus { border-color: var(--navy); outline: none; }
.prescription-upload {
  margin-top: 8px; padding: 24px; border: 2px dashed var(--border);
  border-radius: var(--radius); text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.prescription-upload:hover { border-color: var(--navy); background: var(--blue-grey); }
.prescription-upload p { font-size: 0.875rem; color: var(--grey); }
.prescription-upload .upload-icon { font-size: 2rem; margin-bottom: 8px; }

.form-disclaimer {
  margin-top: 24px; padding: 12px 16px; background: #FFF8E1;
  border-left: 3px solid var(--orange); border-radius: var(--radius-sm);
  font-size: 0.8125rem; color: #7a6210;
}

/* ---------- Checkout / Review ---------- */
.review-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.review-table th, .review-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.review-table th { font-weight: 600; color: var(--grey); width: 200px; }
.review-total { text-align: right; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-top: 16px; }

/* ---------- Help / Policy Pages ---------- */
.content-page { padding: 48px 0; }
.content-page .container { max-width: 800px; }
.content-page h2 { margin: 36px 0 12px; }
.content-page h3 { margin: 24px 0 8px; }
.content-page p { color: var(--grey); margin-bottom: 16px; line-height: 1.75; }
.content-page ul { color: var(--grey); margin: 12px 0 24px 20px; line-height: 1.75; }
.content-page ul li { margin-bottom: 6px; }
.content-page table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.content-page table th, .content-page table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 0.875rem; }
.content-page table th { background: var(--off-white); font-weight: 600; text-align: left; }
.content-page .notice {
  padding: 16px 20px; background: var(--blue-grey); border-radius: var(--radius);
  margin: 20px 0; font-size: 0.9375rem; color: var(--navy);
}
.content-page .warning {
  padding: 16px 20px; background: #FFF8E1; border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm); margin: 20px 0; font-size: 0.9375rem; color: #7a6210;
}

/* ---------- Guides (step cards) ---------- */
.guide-step {
  display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start;
}
.guide-step .g-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: white; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1.125rem;
}
.guide-step .g-content h3 { margin-bottom: 6px; }
.guide-step .g-content p { color: var(--grey); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-item .faq-toggle { font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-item .faq-answer { display: none; color: var(--grey); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-method { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-method .c-icon { font-size: 1.5rem; width: 48px; height: 48px; background: var(--blue-grey); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method h4 { margin-bottom: 4px; }
.contact-method p { color: var(--grey); font-size: 0.9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.9375rem; margin-bottom: 16px; font-family: var(--font-stack);
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--navy); outline: none; }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { font-size: 1.375rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand .footer-logo span { color: var(--green); }
.footer-brand p { font-size: 0.875rem; margin-bottom: 8px; }
.footer-col h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.8125rem; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.8125rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 16px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 200;
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
  height: 100vh; background: var(--white); box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 201; padding: 24px; display: flex; flex-direction: column;
  transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cart-header h3 { font-size: 1.125rem; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--grey); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cart-close:hover { background: var(--blue-grey); }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; background: var(--off-white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-img img { width: 80%; height: 80%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.875rem; margin-bottom: 2px; }
.cart-item-info p { font-size: 0.75rem; color: var(--grey-light); margin-bottom: 4px; }
.cart-item-info .price { font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.cart-item-remove { font-size: 0.75rem; color: var(--grey-light); cursor: pointer; background: none; border: none; }
.cart-item-remove:hover { color: #d00; }
.cart-footer { border-top: 1px solid var(--border); padding-top: 20px; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 16px; }
.cart-footer .btn { width: 100%; margin-bottom: 8px; }

/* ---------- Quick view modal ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 300; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 900px;
  width: 95%; max-height: 85vh; overflow-y: auto; padding: 32px; position: relative;
}
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--grey); }
.modal-close:hover { background: var(--blue-grey); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  padding: 14px 24px; border-radius: var(--radius); color: white;
  font-weight: 500; font-size: 0.875rem; box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0; transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--green); }
.toast.error { background: #d44; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--grey); margin-bottom: 24px; }

/* ---------- Utility ---------- */
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.separator { border: none; border-top: 1px solid var(--border); margin: 40px 0; }



/* ---------- Form feedback / static checkout ---------- */
.form-status {
  min-height: 22px; margin-top: 12px;
  font-size: 0.875rem; color: var(--grey);
}
.form-status.success { color: var(--green); font-weight: 600; }
.form-status.error { color: #d44; font-weight: 600; }
.payment-methods {
  display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
}
.payment-option {
  flex: 1; min-width: 200px;
}
.payment-option.selected {
  border-color: var(--navy); background: var(--blue-grey); color: var(--navy);
}
.order-success {
  margin-top: 20px; padding: 20px; border-radius: var(--radius);
  background: var(--blue-grey); color: var(--navy);
}
.order-success h3 { margin-bottom: 8px; color: var(--navy); }
.order-success p { margin-bottom: 8px; color: var(--navy); }
.btn:disabled {
  opacity: 0.55; cursor: not-allowed;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lens-grid { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .wholesale-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-content p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .product-detail .container { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.375rem; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--white); padding: 16px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 99; gap: 4px;
  }
  .main-nav.open a { width: 100%; padding: 12px 16px; border-radius: var(--radius); }
  .nav-toggle { display: block; }
  .trust-bar .container { gap: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lens-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .wholesale-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-sidebar { width: 100vw; right: -100vw; }
  .products-grid .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.625rem; }
  .header-logo { font-size: 1.25rem; }
  .hero { padding: 48px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .products-grid .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

