/* =============================================
   QUARTZPILOT — Premium Travel Marketplace
   Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --white: #FFFFFF;
  --ocean-blue: #0284C7;
  --ocean-blue-dark: #0369A1;
  --ocean-blue-light: #BAE6FD;
  --emerald: #059669;
  --emerald-dark: #047857;
  --sand: #D6B98C;
  --sand-light: #F5EDD8;
  --graphite: #374151;
  --graphite-dark: #1F2937;
  --light-gray: #F8FAFC;
  --mid-gray: #E5E7EB;
  --text-muted: #6B7280;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ocean-blue); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--graphite-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--ocean-blue); }
.text-emerald { color: var(--emerald); }

/* ---- Layout ---- */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 88px 0; }

/* ---- Flex & Grid Utilities ---- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-top {
  background: var(--graphite-dark);
  padding: 6px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: rgba(255,255,255,0.75); }
.header-top a:hover { color: var(--white); }
.header-main { padding: 16px 0; }
.header-main .container {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ocean-blue);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--emerald); }
.header-search { flex: 1; max-width: 460px; position: relative; }
.header-search input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  background: var(--light-gray);
  transition: border-color var(--transition), background var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--ocean-blue);
  background: var(--white);
}
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
}
.header-search button:hover { color: var(--ocean-blue); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--graphite);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-action-btn:hover { background: var(--light-gray); border-color: var(--border); color: var(--ocean-blue); }
.header-action-btn svg { width: 18px; height: 18px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ocean-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 2px;
}

/* ---- NAV ---- */
.main-nav { border-top: 1px solid var(--border); }
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--ocean-blue);
  border-bottom-color: var(--ocean-blue);
}
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* ---- Dropdown ---- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 999;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--graphite);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover { background: var(--light-gray); color: var(--ocean-blue); }
.dropdown-menu a .cat-icon {
  width: 28px;
  height: 28px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--graphite-dark);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--white);
  padding: 60px 0;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
}
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--ocean-blue); color: var(--white); border-color: var(--ocean-blue); }
.btn-primary:hover { background: var(--ocean-blue-dark); border-color: var(--ocean-blue-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ocean-blue); border-color: var(--white); }
.btn-secondary:hover { background: var(--light-gray); color: var(--ocean-blue-dark); }
.btn-outline { background: transparent; color: var(--ocean-blue); border-color: var(--ocean-blue); }
.btn-outline:hover { background: var(--ocean-blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--ocean-blue); }
.btn-emerald { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.btn-emerald:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 14px 0; background: var(--light-gray); border-bottom: 1px solid var(--border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0; align-items: center; font-size: 0.83rem; }
.breadcrumb ol li { display: flex; align-items: center; color: var(--text-muted); }
.breadcrumb ol li + li::before { content: '/'; margin: 0 8px; color: var(--mid-gray); }
.breadcrumb ol li a { color: var(--ocean-blue); }
.breadcrumb ol li a:hover { text-decoration: underline; }
.breadcrumb ol li:last-child { color: var(--graphite); font-weight: 500; }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-header-left { margin-bottom: 32px; }
.section-header-left .section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ocean-blue);
  margin-bottom: 8px;
}

/* ---- PRODUCT CARDS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; }
.product-card-action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--graphite);
}
.product-card-action-btn:hover { background: var(--ocean-blue); color: var(--white); border-color: var(--ocean-blue); }
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ocean-blue);
  margin-bottom: 6px;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--graphite-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.product-card-title a:hover { color: var(--ocean-blue); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.82rem; }
.stars { color: var(--sand); letter-spacing: 1px; }
.rating-count { color: var(--text-muted); }
.product-specs { margin-bottom: 14px; }
.product-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--mid-gray);
  color: var(--text-muted);
}
.product-spec-item:last-child { border-bottom: none; }
.product-spec-item strong { color: var(--graphite); }
.product-card-price { margin-top: auto; }
.price-current { font-size: 1.4rem; font-weight: 700; color: var(--graphite-dark); font-family: var(--font-heading); }
.price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.price-save { font-size: 0.78rem; color: var(--emerald); font-weight: 600; margin-top: 2px; }
.product-card-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.product-card-footer .btn { flex: 1; justify-content: center; }

/* ---- SIDEBAR LAYOUT ---- */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-categories { display: flex; flex-direction: column; gap: 2px; }
.sidebar-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--graphite);
  transition: all var(--transition);
}
.sidebar-category-link:hover, .sidebar-category-link.active {
  background: var(--ocean-blue-light);
  color: var(--ocean-blue);
  font-weight: 500;
}
.sidebar-category-link .count {
  font-size: 0.75rem;
  background: var(--mid-gray);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 50px;
}
.sidebar-category-link.active .count { background: var(--ocean-blue); color: var(--white); }

/* Price Range Slider */
.price-range { padding: 8px 0; }
.price-range input[type=range] { width: 100%; accent-color: var(--ocean-blue); }
.price-range-display { display: flex; justify-content: space-between; font-size: 0.83rem; color: var(--text-muted); margin-top: 8px; }

/* Filter Checkboxes */
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.87rem; cursor: pointer; }
.filter-checkbox input { accent-color: var(--ocean-blue); width: 15px; height: 15px; }

/* Rating Filter */
.rating-filter { display: flex; flex-direction: column; gap: 6px; }
.rating-filter-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.rating-filter-item input { accent-color: var(--ocean-blue); }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--graphite-dark); padding: 32px 0; }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---- CATEGORY CARDS ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  cursor: pointer;
  display: block;
}
.category-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card:hover .category-card-bg { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,40,60,0.75) 0%, rgba(30,40,60,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.category-card-info h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.category-card-info span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* ---- FEATURE STRIP ---- */
.features-strip { background: var(--light-gray); padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  color: var(--ocean-blue);
}
.feature-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.feature-text p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ---- PRODUCT DETAIL ---- */
.product-detail { padding: 48px 0; }
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery { position: sticky; top: 90px; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-gray);
  margin-bottom: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--light-gray);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--ocean-blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-title { font-size: 1.9rem; margin-bottom: 12px; }
.product-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 0.88rem; color: var(--text-muted); }
.product-meta .in-stock { color: var(--emerald); font-weight: 600; }
.product-price-block { margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; }
.product-price { font-size: 2.2rem; font-weight: 800; font-family: var(--font-heading); color: var(--graphite-dark); }
.product-price-old { font-size: 1.1rem; text-decoration: line-through; color: var(--text-muted); }
.product-price-save { font-size: 0.88rem; background: #D1FAE5; color: var(--emerald); padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.product-specs-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.88rem; }
.product-specs-table th, .product-specs-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.product-specs-table th { background: var(--light-gray); font-weight: 600; color: var(--graphite-dark); width: 40%; }
.product-specs-table tr:last-child td, .product-specs-table tr:last-child th { border-bottom: none; }
.product-add-cart { display: flex; gap: 12px; margin-top: 24px; }
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 48px;
  background: var(--light-gray);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--graphite);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--mid-gray); }
.qty-input {
  width: 52px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--graphite-dark);
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ---- TABS ---- */
.tabs { margin: 40px 0; }
.tab-list { display: flex; border-bottom: 2px solid var(--border); gap: 0; margin-bottom: 0; }
.tab-btn {
  padding: 12px 22px;
  border: none;
  background: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--ocean-blue); border-bottom-color: var(--ocean-blue); }
.tab-content { display: none; padding: 28px 0; }
.tab-content.active { display: block; }

/* ---- COMPARATOR ---- */
.comparator-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.comparator-table th, .comparator-table td {
  padding: 12px 18px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.comparator-table th { background: var(--light-gray); font-weight: 700; font-size: 0.92rem; }
.comparator-table td:first-child { text-align: left; font-weight: 500; background: var(--light-gray); width: 200px; }
.comparator-table tr:hover td { background: rgba(2, 132, 199, 0.04); }
.comparator-table .better { color: var(--emerald); font-weight: 700; }
.comparator-check { color: var(--emerald); font-size: 1.1rem; }
.comparator-x { color: #EF4444; font-size: 1.1rem; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--light-gray); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ocean-blue);
  margin-bottom: 8px;
}
.blog-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card-title a:hover { color: var(--ocean-blue); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- ARTICLE PAGE ---- */
.article-header { padding: 48px 0 32px; }
.article-content { max-width: 800px; }
.article-content h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.article-content h3 { font-size: 1.2rem; margin: 24px 0 10px; color: var(--ocean-blue); }
.article-content p { margin-bottom: 16px; line-height: 1.75; color: var(--graphite); }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; line-height: 1.65; }
.article-content strong { color: var(--graphite-dark); }
.article-content a { color: var(--ocean-blue); text-decoration: underline; }
.article-meta { display: flex; gap: 20px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.info-box {
  background: var(--light-gray);
  border-left: 4px solid var(--ocean-blue);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.info-box p { margin: 0; font-size: 0.92rem; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--graphite); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--graphite-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--ocean-blue); box-shadow: 0 0 0 3px rgba(2,132,199,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Form success message */
.form-success {
  display: none;
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  color: var(--emerald-dark);
  font-weight: 600;
}
.form-success.visible { display: block; }
.form-success svg { width: 44px; height: 44px; color: var(--emerald); margin: 0 auto 12px; display: block; }
.form-success h4 { font-size: 1.1rem; margin-bottom: 6px; }
.form-success p { font-size: 0.88rem; margin: 0; font-weight: 400; color: var(--emerald); }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--ocean-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.contact-info-text a:hover { color: var(--ocean-blue); }

/* ---- FAQ ---- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--graphite-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light-gray); }
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--transition); color: var(--ocean-blue); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- CART ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: var(--light-gray);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--graphite);
  border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product-cell { display: flex; align-items: center; gap: 14px; }
.cart-product-img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; background: var(--light-gray); flex-shrink: 0; }
.cart-product-name { font-weight: 600; font-size: 0.9rem; }
.cart-product-sku { font-size: 0.78rem; color: var(--text-muted); }
.cart-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; transition: color var(--transition); }
.cart-remove:hover { color: #EF4444; }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.cart-summary-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.cart-summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  color: var(--ocean-blue-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars { color: var(--sand); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.9rem; color: var(--graphite); line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ocean-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ocean-blue);
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 600; }
.author-city { font-size: 0.78rem; color: var(--text-muted); }

/* ---- POLICY PAGES ---- */
.policy-page { max-width: 900px; margin: 0 auto; padding: 48px 0 64px; }
.policy-page h1 { font-size: 2rem; margin-bottom: 8px; }
.policy-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.policy-page h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--ocean-blue); }
.policy-page h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--graphite-dark); }
.policy-page p { font-size: 0.92rem; line-height: 1.75; color: var(--graphite); margin-bottom: 14px; }
.policy-page ul, .policy-page ol { margin: 12px 0 16px 24px; }
.policy-page ul { list-style: disc; }
.policy-page ol { list-style: decimal; }
.policy-page li { font-size: 0.92rem; line-height: 1.7; color: var(--graphite); margin-bottom: 6px; }
.policy-page table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.88rem; }
.policy-page table th { background: var(--light-gray); padding: 10px 14px; font-weight: 700; border: 1px solid var(--border); text-align: left; }
.policy-page table td { padding: 10px 14px; border: 1px solid var(--border); }
.policy-box {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.policy-box p { margin: 0; font-size: 0.9rem; }

/* ---- ABOUT ---- */
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.value-icon { width: 52px; height: 52px; background: var(--ocean-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--white); }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* ---- GUIDES ---- */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-lg); }
.guide-card-index {
  width: 72px;
  background: var(--ocean-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.guide-card-body { padding: 20px; }
.guide-category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--ocean-blue); margin-bottom: 6px; }
.guide-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--graphite-dark); }
.guide-card-title a:hover { color: var(--ocean-blue); }
.guide-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- WISHLIST ---- */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 32px 0 0; }
.page-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--graphite);
  background: var(--white);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--ocean-blue); border-color: var(--ocean-blue); color: var(--white); }

/* ---- NEWSLETTER ---- */
.newsletter-section { background: var(--ocean-blue); padding: 56px 0; }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-section h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.newsletter-form input:focus { outline: 2px solid var(--white); }

/* ---- FOOTER ---- */
.site-footer { background: var(--graphite-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.social-btn:hover { background: var(--ocean-blue); color: var(--white); border-color: var(--ocean-blue); }
.footer-col-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--ocean-blue-light); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.87rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--ocean-blue-light); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite-dark);
  color: var(--white);
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner p { font-size: 0.88rem; margin: 0; color: rgba(255,255,255,0.8); }
.cookie-banner a { color: var(--ocean-blue-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--ocean-blue); color: var(--white); border: none; padding: 9px 20px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.cookie-accept:hover { background: var(--ocean-blue-dark); }
.cookie-settings { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); padding: 9px 20px; border-radius: var(--radius-sm); font-size: 0.85rem; cursor: pointer; transition: all var(--transition); }
.cookie-settings:hover { border-color: var(--white); color: var(--white); }

/* ---- MOBILE MENU ---- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--graphite);
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: var(--white);
  overflow-y: auto;
  z-index: 2001;
  transition: left 0.3s ease;
  padding: 24px;
}
.mobile-menu.open { left: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--graphite); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .features-strip .container { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .header-main .container { gap: 16px; }
  .header-search { display: none; }
  .newsletter-form { flex-direction: column; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comparator-table { font-size: 0.8rem; }
  .comparator-table th, .comparator-table td { padding: 8px 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .features-strip .container { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---- UTILITY ---- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.rounded { border-radius: var(--radius-md); }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.bg-light { background: var(--light-gray); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-blue { background: var(--ocean-blue-light); color: var(--ocean-blue-dark); }
.tag-green { background: #D1FAE5; color: var(--emerald-dark); }
.tag-sand { background: var(--sand-light); color: #92400E; }
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 16px; }
.alert-info { background: var(--ocean-blue-light); color: var(--ocean-blue-dark); border: 1px solid #7DD3FC; }
.alert-success { background: #D1FAE5; color: var(--emerald-dark); border: 1px solid #A7F3D0; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .two-col-grid { grid-template-columns: 1fr; } }
