/* ==========================================================================
   BLURORBIT CORPORATION — Brand Design System & Master Stylesheet
   High-Contrast, Modern Women's Jewelry & Keepsake E-Commerce (US Market)
   ========================================================================== */

/* --- GOOGLE FONTS PRELOAD FALLBACK & WEIGHTS --- */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600&family=Syne:wght@600;700&display=swap');

/* --- LOCKED HIGH-CONTRAST COLOR VARIABLES (:root) --- */
:root {
  --ink: #1F1926;           /* Headings and primary labels on light backgrounds */
  --body: #3B3345;          /* Body copy and descriptions (strictly no washed-out grey) */
  --accent: #9E2A5B;        /* Rich Berry-Rose for primary buttons, badges, active states */
  --accent-hover: #7D1F47;  /* Deepened Berry-Rose for hover states */
  --support: #F9EEF3;       /* Soft Rose-Blush Tint for subtle badges, filter pills, washes */
  --bg-white: #FFFFFF;      /* Clean White background */
  --bg-ivory: #F8F6FA;      /* Warm Ivory for alternating sections */
  --border: #DDD4E6;        /* High-contrast 1px solid borders on cards, inputs, dividers */
  --dark-bg: #1F1926;       /* Midnight Plum for dark sections and footer */
  --dark-text: #EFEAF4;     /* Crisp high-contrast text on dark backgrounds */

  /* Typography */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Elevations */
  --max-width: 1160px;
  --radius-card: 14px;
  --radius-btn: 8px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(31, 25, 38, 0.04);
  --shadow-card: 0 4px 16px rgba(31, 25, 38, 0.06);
  --shadow-hover: 0 10px 28px rgba(31, 25, 38, 0.12);
  --shadow-drawer: -8px 0 32px rgba(31, 25, 38, 0.18);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE RESETS & WINDOWS SCREEN CRISPNESS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background-color: var(--bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY SCALE (Syne Headings & Onest Body) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--body);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- EYEBROW LABELS (01 / COLLECTION, etc.) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
}

/* --- SECTION SYSTEM & SEPARATION --- */
.section-wrap {
  width: 100%;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-wrap.bg-white {
  background-color: var(--bg-white);
}

.section-wrap.bg-ivory {
  background-color: var(--bg-ivory);
}

.section-wrap.bg-dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  border-color: #2D2438;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--body);
}

.bg-dark .section-header h2 {
  color: #FFFFFF;
}

.bg-dark .section-header p {
  color: var(--dark-text);
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF !important;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(158, 42, 91, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(158, 42, 91, 0.35);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--ink) !important;
  border-color: var(--border);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--support);
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid #FFFFFF;
}

.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background-color: #FFFFFF;
  color: var(--ink) !important;
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* --- BADGES & PILLS --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-support {
  background-color: var(--support);
  color: var(--accent);
  border: 1px solid #F0D7E4;
}

.badge-dark {
  background-color: var(--ink);
  color: #FFFFFF;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.announcement-bar {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1010;
}

.announcement-bar strong {
  color: #FFFFFF;
  font-weight: 600;
}

.announcement-bar a {
  color: #F8C6DB;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- STICKY NAVIGATION BAR --- */
.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(31, 25, 38, 0.03);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Actions: Search & Cart */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.icon-btn:hover, .icon-btn:focus-visible {
  background-color: var(--support);
  border-color: var(--border);
  color: var(--accent);
}

.cart-count-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  color: var(--ink);
  cursor: pointer;
  padding: 10px;
}

/* Mobile Nav Overlay Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  padding: 8px 0;
}

.mobile-nav-list a.active, .mobile-nav-list a:hover {
  color: var(--accent);
}

.backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(31, 25, 38, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --- NO STICKY HEADER CLIPPING: GENEROUS PADDING-TOP --- */
/* Interior page headers and Hero sections have generous padding-top so sticky nav never overlaps */
.page-hero-padding {
  padding-top: 100px; /* Generous 92px–104px padding-top rule */
  padding-bottom: 60px;
}

.interior-header {
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border);
  padding-top: 104px; /* Strictly within 92px–104px */
  padding-bottom: 48px;
  text-align: center;
}

.interior-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 12px;
}

.interior-header .breadcrumb a:hover {
  color: var(--accent);
}

/* --- EDITORIAL HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: var(--dark-bg);
  background-image: url('../images/hero-editorial.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding-top: 104px; /* Generous padding to prevent header clipping */
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,25,38,0.92) 0%, rgba(31,25,38,0.72) 55%, rgba(31,25,38,0.28) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #FFFFFF;
}

.hero-content .eyebrow {
  color: #F8C6DB;
  margin-bottom: 16px;
}

.hero-content .eyebrow::before {
  background-color: #F8C6DB;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  color: var(--dark-text);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- SLIM TRUST STRIP (#FFFFFF band) --- */
.trust-strip {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--support);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--body);
  margin-bottom: 0;
  line-height: 1.35;
}

/* --- BALANCED 5-PRODUCT GRID (ZERO EMPTY GAPS) --- */
/* 6-column CSS grid on desktop:
   Item 1 & 2 span 3 columns each (2-up row)
   Item 3, 4 & 5 span 2 columns each (3-up row) */
.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  align-items: stretch;
}

.product-grid-5 .product-card:nth-child(1),
.product-grid-5 .product-card:nth-child(2) {
  grid-column: span 3;
}

.product-grid-5 .product-card:nth-child(3),
.product-grid-5 .product-card:nth-child(4),
.product-grid-5 .product-card:nth-child(5) {
  grid-column: span 2;
}

/* --- PRODUCT CARD ARCHITECTURE --- */
.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #CDBEDC;
}

/* Uniform product image container */
.product-img-box {
  background-color: #F5F2F8;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.88;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

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

.product-badge-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.product-rating .star {
  color: #D4881E;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-title a:hover {
  color: var(--accent);
}

.product-summary {
  font-size: 0.9rem;
  color: var(--body);
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card bottom row with price & action buttons aligned at bottom */
.product-footer-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.product-price-currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- WHY BLURORBIT / ACCORDION CARDS (#FFFFFF band) --- */
.accordion-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.accordion-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-card:hover {
  border-color: #C8BAD8;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  gap: 16px;
}

.accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--support);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.accordion-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-ivory);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-card.open .accordion-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.accordion-content {
  display: none;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px dashed var(--border);
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-card.open .accordion-content {
  display: block;
}

/* --- HOW GIFTING & ORDERING WORKS (ZIG-ZAG STEPS) --- */
.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.step-row.reverse {
  direction: rtl;
}

.step-row.reverse > * {
  direction: ltr;
}

.step-visual {
  background-color: #F5F2F8;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-visual img {
  border-radius: 6px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

.step-text {
  padding: 12px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.step-text p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 16px;
}

.step-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.step-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--body);
}

.step-points li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- FAQ ACCORDION (#FFFFFF band) --- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #C8BAD8;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--support);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: #FFFFFF;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- DARK CLOSING CTA STRIP (#1F1926) --- */
.dark-cta-strip {
  background-color: var(--dark-bg);
  color: #FFFFFF;
  padding: 84px 24px;
  text-align: center;
  border-top: 1px solid #2D2438;
}

.dark-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.dark-cta-strip h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 16px;
}

.dark-cta-strip p {
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- SHOP PAGE FILTERS & SORT BAR --- */
.shop-controls-bar {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.filter-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-ivory);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
}

.shop-search-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  min-width: 240px;
}

.search-input-wrap input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  background-color: #FFFFFF;
}

.search-input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(158, 42, 91, 0.12);
}

.search-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body);
  pointer-events: none;
}

.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  color: var(--ink);
  background-color: #FFFFFF;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--accent);
}

/* --- QUICK VIEW MODAL --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(31, 25, 38, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-ivory);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.modal-gallery {
  background-color: #F5F2F8;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border);
}

.modal-main-img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  margin-bottom: 16px;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  background: #FFFFFF;
  cursor: pointer;
  object-fit: contain;
  transition: var(--transition);
}

.modal-thumb.active, .modal-thumb:hover {
  border-color: var(--accent);
}

.modal-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.modal-info .product-category {
  margin-bottom: 6px;
}

.modal-info h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.modal-info .product-price {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.modal-specs-table th, .modal-specs-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: left;
}

.modal-specs-table th {
  background-color: var(--bg-ivory);
  color: var(--ink);
  font-weight: 600;
  width: 35%;
}

.modal-specs-table td {
  color: var(--body);
}

.modal-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 24px;
  font-size: 0.92rem;
  color: var(--body);
}

.modal-bullets li {
  position: relative;
  padding-left: 20px;
}

.modal-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 0.85rem;
}

.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
  height: 44px;
}

.qty-btn {
  background: var(--bg-ivory);
  border: none;
  width: 36px;
  height: 100%;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--support);
  color: var(--accent);
}

.qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

/* --- SLIDE-OUT CART DRAWER --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 420px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer);
  border-left: 1px solid var(--border);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.25rem;
}

.free-shipping-progress {
  padding: 14px 24px;
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.shipping-bar-track {
  width: 100%;
  height: 6px;
  background-color: var(--border);
  border-radius: var(--radius-pill);
  margin-top: 8px;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background-color: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

.cart-items-list {
  padding: 20px 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  background-color: #F5F2F8;
  border-radius: 8px;
  padding: 6px;
  object-fit: contain;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-qty button {
  background: var(--bg-ivory);
  border: none;
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty span {
  width: 30px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #8C234D;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--body);
}

.cart-empty-state svg {
  margin-bottom: 16px;
  color: var(--border);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-ivory);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-subtotal-price {
  color: var(--accent);
}

.cart-guarantee-note {
  font-size: 0.8rem;
  color: var(--body);
  text-align: center;
  margin-top: 12px;
}

/* --- CONTACT PAGE 2-COLUMN LAYOUT --- */
.prominent-address-hero-box {
  background-color: var(--support);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 44px;
  box-shadow: 0 6px 24px rgba(158, 42, 91, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.prominent-address-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background-color: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(158, 42, 91, 0.3);
}

.prominent-address-content .eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.prominent-address-brand {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.prominent-address-text {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.prominent-address-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.prominent-address-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 290px;
}

.prominent-action-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
}

.prominent-action-card label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 2px;
}

.prominent-action-card a, .prominent-action-card span {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.prominent-action-card a:hover {
  color: var(--accent);
}

@media (max-width: 991px) {
  .prominent-address-hero-box {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .prominent-address-actions {
    min-width: unset;
    width: 100%;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  color: var(--ink);
  background-color: #FFFFFF;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(158, 42, 91, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-info-block {
  background-color: var(--bg-ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--support);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.5;
}

.info-text a {
  color: var(--accent);
  font-weight: 600;
}

.info-text a:hover {
  text-decoration: underline;
}

/* --- LEGAL & POLICY PAGES (SINGLE COLUMN READABLE LAYOUT) --- */
.legal-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-content-wrap h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content-wrap h2:first-of-type {
  margin-top: 0;
}

.legal-content-wrap h3 {
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.legal-content-wrap ul, .legal-content-wrap ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content-wrap li {
  margin-bottom: 6px;
  color: var(--body);
}

.legal-note-box {
  background-color: var(--support);
  border: 1px solid #F0D7E4;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--ink);
}

/* --- GLOBAL FOOTER (#1F1926) --- */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  border-top: 1px solid #2D2438;
  padding-top: 72px;
  padding-bottom: 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-col p {
  color: var(--dark-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--dark-text);
  font-size: 0.92rem;
  display: inline-block;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-address-block {
  font-style: normal;
  color: var(--dark-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-address-block strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 6px;
}

.footer-contact-link {
  color: #F8C6DB !important;
  font-weight: 500;
  display: block;
  margin-top: 8px;
}

/* Payment badges bar */
.footer-payment-strip {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-badges-title {
  font-size: 0.85rem;
  color: var(--dark-text);
  font-weight: 500;
}

.payment-badges-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-badge {
  background-color: #2D2438;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #A99FB3;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background-color: var(--ink);
  color: #FFFFFF;
  border: 1px solid #3E324D;
  border-left: 4px solid var(--accent);
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE PASS & MOBILE BREAKPOINTS --- */
/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .trust-item:nth-child(2)::after {
    display: none;
  }

  /* 5-Product Grid on Tablet:
     First 4 items span 1 col each (2x2 grid)
     5th item spans full 2 cols */
  .product-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-grid-5 .product-card:nth-child(1),
  .product-grid-5 .product-card:nth-child(2),
  .product-grid-5 .product-card:nth-child(3),
  .product-grid-5 .product-card:nth-child(4) {
    grid-column: span 1;
  }

  .product-grid-5 .product-card:nth-child(5) {
    grid-column: span 2;
  }

  .accordion-cards-grid {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .step-row.reverse {
    direction: ltr;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .modal-info {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .section-wrap {
    padding: 48px 16px; /* 48px on mobile rule */
  }

  .page-hero-padding {
    padding-top: 92px;
    padding-bottom: 40px;
  }

  .interior-header {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item::after {
    display: none !important;
  }

  /* 5-Product Grid on Mobile:
     Single column */
  .product-grid-5 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid-5 .product-card:nth-child(1),
  .product-grid-5 .product-card:nth-child(2),
  .product-grid-5 .product-card:nth-child(3),
  .product-grid-5 .product-card:nth-child(4),
  .product-grid-5 .product-card:nth-child(5) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-payment-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-wrap {
    width: 100%;
    min-width: unset;
  }

  .sort-select {
    width: 100%;
  }

  .legal-content-wrap {
    padding: 24px 18px;
  }
}
