/* Noah's World — Brand Styles */

:root {
  --sage: #7BA098;
  --sage-dark: #5A7E76;
  --cream: #F5F0E8;
  --cream-light: #FAF7F1;
  --navy: #1F3A5F;
  --navy-dark: #14253D;
  --gold: #D4A574;
  --gold-dark: #B5895A;
  --charcoal: #2D3142;
  --slate: #5C6175;
  --slate-light: #8A8FA1;
  --border: #E8E2D6;
  --success: #4A7C59;
  --shadow-sm: 0 2px 8px rgba(31, 58, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 58, 95, 0.10);
  --shadow-lg: 0 16px 48px rgba(31, 58, 95, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a { color: var(--navy); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600;
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}
.cart-link {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
}
.cart-count {
  background: var(--gold);
  color: white;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none; cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); opacity: 1; }
.btn-secondary {
  background: var(--gold);
  color: white;
}
.btn-secondary:hover { background: var(--gold-dark); transform: translateY(-1px); opacity: 1; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white; opacity: 1; }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }

/* === Hero === */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 1.2rem;
  color: var(--slate);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--slate);
  font-size: 0.9rem;
}
.hero-meta-item::before {
  content: "";
  width: 18px; height: 18px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap svg, .hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-image img, .pd-main-image img, .cart-item-img img, .founder-image img, .product-thumb img, .pd-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.logo img { height: 32px; width: auto; display: block; }
.admin-sidebar .logo img { filter: brightness(0) invert(1); }
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-badge-stars { color: var(--gold); font-size: 1rem; }
.hero-badge-text { font-size: 0.85rem; color: var(--slate); }
.hero-badge-text strong { color: var(--navy); display: block; font-size: 0.95rem; }

/* === Sections === */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: white; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: white; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header .eyebrow { color: var(--sage-dark); }
.section-navy .eyebrow { color: var(--gold); }
.section-header p {
  font-size: 1.1rem;
  color: var(--slate);
  margin-top: 16px;
}
.section-navy .section-header p { color: rgba(255,255,255,0.8); }

/* === Feature Grid === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.feature-card {
  padding: 36px 32px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--sage-dark);
  font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--slate); font-size: 0.95rem; }

/* === Product Card === */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sage) 0%, var(--navy) 100%);
}
.product-card-body { padding: 24px; }
.product-card h3 { margin-bottom: 8px; }
.product-card-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 12px 0 16px;
}
.product-card-price .from { font-size: 0.85rem; color: var(--slate); font-weight: 400; }

/* === Founder block === */
.founder-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.founder-image {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--sage) 100%);
  box-shadow: var(--shadow-lg);
}
.founder-text blockquote {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--navy);
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.founder-text .signature {
  margin-top: 24px;
  font-weight: 600;
  color: var(--navy);
}
.founder-text .signature span { color: var(--slate); font-weight: 400; display: block; font-size: 0.9rem; }

/* === Testimonials === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-card p { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
.testimonial-card .who {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
}
.testimonial-card .avatar {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: white;
}
.testimonial-card .name { font-weight: 600; }
.testimonial-card .meta { font-size: 0.85rem; opacity: 0.7; }

/* === FAQ === */
.faq {
  max-width: 800px; margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: var(--navy);
  text-align: left;
  font-weight: 500;
}
.faq-question:hover { opacity: 0.7; }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0; margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--slate);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* === Video === */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* === Build / Craftsmanship === */
.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.build-item {
  padding: 24px;
  background: var(--cream-light);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.build-item .num {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--gold-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.build-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.build-item p { font-size: 0.9rem; color: var(--slate); }

.guarantee {
  background: var(--cream);
  border-radius: 24px;
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.guarantee-seal {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 600;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.guarantee-seal strong { font-size: 1.4rem; display: block; }
.guarantee h3 { margin-bottom: 6px; }
.guarantee p { color: var(--slate); margin: 0; }

@media (max-width: 700px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .guarantee-seal { margin: 0 auto; }
}

/* === CTA Band === */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* === Footer === */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer a:hover { color: white; opacity: 1; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem;
}

/* === Product detail === */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 0;
}
.pd-gallery {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.pd-main-image {
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--navy) 100%);
  margin-bottom: 16px;
  overflow: hidden;
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pd-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--cream);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.pd-thumb.active { border-color: var(--navy); }
.pd-info h1 { margin-bottom: 12px; }
.pd-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--slate); }
.pd-rating .stars { color: var(--gold); }
.pd-price {
  font-size: 2rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Lora', serif;
}
.pd-financing { color: var(--slate); margin-bottom: 32px; font-size: 0.95rem; }
.pd-options { margin-bottom: 32px; }
.pd-option { margin-bottom: 24px; }
.pd-option-label {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--slate); font-weight: 600;
  display: flex; justify-content: space-between;
  margin-bottom: 12px;
}
.pd-swatches {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.pd-swatch {
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  background: white;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.pd-swatch.active { border-color: var(--navy); background: var(--navy); color: white; }
.pd-swatch .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c, var(--cream));
  border: 1px solid rgba(0,0,0,0.12);
  display: inline-block;
}
.pd-add-cart { width: 100%; justify-content: center; margin-bottom: 16px; }
.pd-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.pd-trust-item { display: flex; gap: 12px; align-items: start; font-size: 0.9rem; color: var(--slate); }
.pd-trust-item strong { color: var(--navy); display: block; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td {
  padding: 14px 0;
  font-size: 0.95rem;
}
.specs-table td:first-child {
  color: var(--slate);
  width: 40%;
}
.specs-table td:last-child {
  color: var(--charcoal);
  font-weight: 500;
}

/* === Cart === */
.cart-page { padding: 64px 0; min-height: 60vh; }
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.cart-items { background: white; border-radius: 20px; border: 1px solid var(--border); padding: 8px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--navy) 100%);
}
.cart-item h4 { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.cart-item .opts { font-size: 0.9rem; color: var(--slate); }
.cart-item-controls {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
}
.qty-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.qty-btn:hover { border-color: var(--navy); }
.qty-display { min-width: 32px; text-align: center; font-weight: 600; }
.remove-btn {
  background: none; border: none;
  color: var(--slate); font-size: 0.85rem;
  cursor: pointer; margin-left: 12px;
  text-decoration: underline;
}
.cart-item-price { font-weight: 600; color: var(--navy); }

.summary {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.summary h3 { margin-bottom: 24px; }
.summary-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  font-size: 0.95rem;
}
.summary-row.total {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 12px;
}
.summary .btn { width: 100%; justify-content: center; margin-top: 24px; }

.empty-cart {
  text-align: center;
  padding: 80px 24px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.empty-cart h3 { margin-bottom: 12px; }
.empty-cart p { color: var(--slate); margin-bottom: 24px; }

/* === Checkout === */
.checkout-page { padding: 64px 0; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.checkout-form {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 40px;
}
.checkout-form h3 { margin-bottom: 20px; }
.form-section { margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field label {
  display: block; font-size: 0.85rem; color: var(--slate);
  margin-bottom: 6px; font-weight: 500;
}
.form-field input, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream-light);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
}
.payment-method {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
}
.payment-method.active {
  border-color: var(--navy);
  background: var(--cream-light);
}
.stripe-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--slate);
  margin-top: 16px; justify-content: center;
}

/* === Success === */
.success-page {
  text-align: center;
  padding: 96px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.success-icon {
  width: 80px; height: 80px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 2.5rem;
}

/* === Admin === */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--charcoal);
  color: white;
  padding: 24px 0;
}
.admin-sidebar .logo { color: white; padding: 0 24px; margin-bottom: 32px; }
.admin-sidebar .logo .logo-mark { background: var(--gold); }
.admin-nav { list-style: none; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  border-left: 3px solid transparent;
}
.admin-nav a.active, .admin-nav a:hover {
  color: white;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--gold);
  opacity: 1;
}
.admin-main {
  background: var(--cream-light);
  padding: 32px 40px;
}
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.75rem; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  font-weight: 600;
}
.stat-value {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 8px 0 4px;
}
.stat-trend {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
}
.stat-trend.down { color: #B5475D; }

.admin-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.admin-card h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; margin-bottom: 20px; }

.orders-table {
  width: 100%;
  border-collapse: collapse;
}
.orders-table th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
 

/* MOBILE_IMPROVEMENTS_v1 */

/* ============================================================
   Mobile-first improvements (additive)
   ============================================================ */

/* Larger tap targets everywhere */
button, .btn, .pd-swatch, .nav-links a, .footer a, .faq-question {
  min-height: 44px;
}

/* Tablets and below */
@media (max-width: 900px) {
  .container { padding: 0 18px; }
  h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
  h2 { font-size: clamp(1.5rem, 4vw, 2rem); }

  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image-wrap { aspect-ratio: 4/3; max-height: 380px; }
  .hero-meta { gap: 14px; flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  .features { gap: 16px; }
  .feature-card { padding: 24px 20px; }

  .founder-block { grid-template-columns: 1fr; gap: 28px; }
  .founder-text blockquote { font-size: 1.25rem; padding-left: 16px; }

  .testimonials { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 24px; }

  .build-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .build-item { padding: 20px 18px; }

  .guarantee { padding: 28px 22px; gap: 20px; }
  .guarantee-seal { width: 72px; height: 72px; font-size: 0.7rem; }

  .cta-band { padding: 40px 22px; border-radius: 20px; }

  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }

  /* Product detail */
  .pd-grid { grid-template-columns: 1fr; gap: 24px; padding: 16px 0 32px; }
  .pd-gallery { position: static; }
  .pd-info h1 { font-size: 1.75rem; }
  .pd-trust { grid-template-columns: 1fr; gap: 14px; }
  .pd-add-cart { width: 100%; justify-content: center; }
  .pd-swatches { gap: 8px; }
  .pd-swatch { padding: 8px 14px; font-size: 0.9rem; }

  /* Cart + checkout */
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; padding: 24px; }
  .checkout-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 16px; padding: 16px; }
  .cart-item-price { grid-column: 1 / -1; text-align: right; padding-top: 8px; border-top: 1px solid var(--border); }

  /* Tables: allow horizontal scroll for specs / comparison */
  .specs-table-wrap, table.specs-table { display: block; overflow-x: auto; }
  table.specs-table tr { display: table-row; }
  table.specs-table td, table.specs-table th { display: table-cell; }

  /* Admin: hide sidebar on mobile, show inline */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 20px 16px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .orders-table { font-size: 0.85rem; }
  .orders-table th, .orders-table td { padding: 10px 8px; }

  /* Mobile nav drawer */
  .site-header { position: sticky; top: 0; z-index: 100; }
  .nav { padding: 12px 0; }
  .logo img { height: 28px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream-light);
    flex-direction: column;
    padding: 16px 18px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center;
    width: 100%;
    padding: 12px 8px;
    border-radius: 8px;
  }
  .nav-links a:hover, .nav-links a:focus {
    background: var(--cream);
  }
  .cart-link { justify-content: space-between; }
}

/* Small phones */
@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }
  .features { grid-template-columns: 1fr !important; }
  .build-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-stats { grid-template-columns: 1fr; }
  .product-row {
    grid-template-columns: 60px 1fr !important;
    gap: 12px;
  }
  .product-row > div:nth-child(n+3) {
    grid-column: 1 / -1;
  }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-badge {
    bottom: 16px; left: 16px; right: 16px;
    padding: 12px 14px;
  }
  .hero-badge-text { font-size: 0.8rem; }
  .video-wrap { border-radius: 14px; }
  .pd-rating { flex-wrap: wrap; }

  /* No-jitter images */
  img { max-width: 100%; height: auto; }
}

/* Make sure any font-loading flash is brief */
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

/* Better focus states for keyboard / screenreader users */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Print styles for receipts */
@media print {
  .site-header, .footer, .cta-band, .nav-links, .mobile-toggle { display: none !important; }
  body { background: white; }
}

/* /MOBILE_IMPROVEMENTS_v1 */


/* VISUAL_REVISION_v1 */
/* Tighter section variant for shorter content */
.section-tight { padding: 64px 0; }

/* Empathy / for-you checklist */
.for-you-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  padding: 0;
}
.for-you-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}
.for-you-list .check {
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tighten default section padding a bit so the page reads tighter */
.section { padding: 80px 0; }
@media (max-width: 900px) {
  .section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }
  .for-you-list li { padding: 14px 18px; font-size: 1rem; }
}

/* Hero: cap image height so it doesn't get gigantic on big screens */
.hero-image-wrap { max-height: 560px; }

/* Founder image: tighter aspect ratio so the photo doesn't dominate */
.founder-image { aspect-ratio: 5/4; }

/* Make the hero badge smaller and less intrusive */
.hero-badge { padding: 12px 16px; }
.hero-badge-text strong { font-size: 0.9rem; }
.hero-badge-text { font-size: 0.8rem; }

/* Feature card icon: cleaner, remove background */
.feature-icon {
  background: transparent;
  width: auto; height: auto;
  font-size: 2rem;
  margin-bottom: 16px;
}

/* Hero meta dot: simpler */
.hero-meta-item::before {
  width: 6px; height: 6px;
  background: var(--gold);
}
/* /VISUAL_REVISION_v1 */

/* MOBILE_NAV_FIX_v1 — proper hamburger + drawer */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
  padding: 6px 10px;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header { position: relative; }
  .nav { position: relative; }
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    z-index: 50;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav-links a:hover, .nav-links a:focus { background: var(--cream); opacity: 1; }
  .cart-link { justify-content: space-between; }
}
/* /MOBILE_NAV_FIX_v1 */

/* MOBILE_NAV_OVERRIDE_v2 — force hamburger hidden on desktop */
.mobile-toggle { display: none !important; }
@media (max-width: 900px) {
  .mobile-toggle { display: block !important; }
  .nav-links { display: none !important; }
  .nav-links.mobile-open { display: flex !important; }
}
/* /MOBILE_NAV_OVERRIDE_v2 */
