/* ============================================================================
   VORA LIGHTING — Premium lighting editorial website
   Modern, distinctive, premium feel for an elevated UK lighting brand
   ============================================================================ */

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f3ed;
  --surface: #fffcf7;
  --surface-alt: #f4ece2;
  --text: #13110f;
  --muted: #6d6155;
  --border: #d9cfc2;
  --accent: #ad8460;
  --accent-dark: #7b5d42;
  --accent-soft: rgba(173, 132, 96, 0.14);
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;

  /* Editorial Studio structural scale — distinct from the boxed/rounded/auto-fill
     conventions shared with the sister site. Sharp corners, hairline elevation only. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 144px;
  --radius-sm: 4px;
  --radius-img: 2px;
  --shadow-ui: 0 1px 0 rgba(18, 18, 18, 0.08);
  --hairline: 1px solid rgba(28, 22, 16, 0.1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: radial-gradient(circle at top right, rgba(173, 132, 96, 0.08), transparent 24%),
                    radial-gradient(circle at left center, rgba(121, 88, 61, 0.06), transparent 22%);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #785c43;
}

/* ============================================================================
   NAVIGATION & HEADER
   ============================================================================ */

.nav {
  background-color: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(146, 111, 68, 0.12);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 84px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-serif);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-3);
  margin: 0 auto 0 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-actions {
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: #3a352f;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  opacity: 0.92;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile sub-links for outdoor subcategories */
.mobile-sub-link {
  padding-left: 2rem !important;
  font-size: 0.95rem !important;
  color: #777 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.basket-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.basket-icon:hover {
  transform: scale(1.1);
}

.basket-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #e63946;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99;
  padding: 80px 2rem 5rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  display: block;
  padding: 1.2rem 0;
  font-size: 1.1rem;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: #4a6fa5;
  padding-left: 0.5rem;
  background-color: #f8f8f8;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  width: 200px;
  transition: background-color 0.2s ease;
}

.search-box:focus-within {
  background-color: #efefef;
}

.search-box input {
  background: none;
  border: none;
  width: 100%;
  font-size: 0.9rem;
  outline: none;
}

/* ============================================================================
   BREADCRUMBS
   ============================================================================ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

.breadcrumbs a {
  color: #999;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #4a6fa5;
}

.breadcrumbs span {
  color: #ddd;
}

.breadcrumbs .current {
  color: #1a1a1a;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-bottom: var(--space-7);
  min-height: 560px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--space-6) var(--space-6) 0;
  max-width: 480px;
}

.hero-marker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--space-3);
}

.hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  margin-bottom: var(--space-3);
  color: #1c1814;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero p {
  font-size: 1.05rem;
  color: #645845;
  margin: 0 0 var(--space-4);
}

.hero .btn {
  align-self: flex-start;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background-color: #f0ece3;
  border-radius: var(--radius-img);
  object-fit: cover;
}

/* ============================================================================
   FILTERS BAR
   ============================================================================ */

.filters-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
  padding-bottom: var(--space-3);
  border-bottom: var(--hairline);
}

.filters-bar label {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.9rem;
}

.filter-link {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--muted);
  padding: 0 0 var(--space-1);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filter-link:hover {
  color: var(--text);
}

.filter-link.active {
  color: var(--text);
  border-bottom-color: var(--accent-dark);
}

.filter-select {
  padding: var(--space-2) 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background-color: transparent;
  color: #1a1a1a;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

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

.filter-select:focus {
  outline: none;
  border-color: var(--accent-dark);
}

/* ============================================================================
   SECTION MARKERS
   ============================================================================ */

.section-marker {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.section-marker .marker-index {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
}

.section-marker h2 {
  margin-bottom: 0;
  font-size: 1.6rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================================
   BENTO CATEGORY GRID
   ============================================================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.bento-tile {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-img);
  grid-column: span 1;
  grid-row: span 1;
}

.bento-tile--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #f8f2e5;
  transition: transform 0.4s ease;
}

.bento-tile:hover .bento-tile-image {
  transform: scale(1.04);
}

.bento-tile-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(19, 17, 15, 0.62), transparent);
  color: #fff;
}

.bento-tile-label h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #fff;
}

.bento-tile--featured .bento-tile-label h3 {
  font-size: 1.4rem;
}

/* ============================================================================
   PRODUCT GRID — borderless editorial listings
   ============================================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5) var(--space-4);
  margin-bottom: var(--space-6);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #f8f2e8;
  overflow: hidden;
  border-radius: var(--radius-img);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card-content {
  padding-top: var(--space-3);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .brand {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-1);
}

.product-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-sans);
  margin-bottom: var(--space-1);
  line-height: 1.4;
  color: #1a1a1a;
}

.product-card .rating {
  font-size: 0.85rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.product-card-pricing {
  margin-top: auto;
}

.product-card .price {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 500;
}

.product-card .sale-price {
  color: #b5402c;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.product-card .original-price {
  color: #999;
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* ============================================================================
   PRODUCT DETAIL PAGE
   ============================================================================ */

.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  margin: var(--space-4) 0 var(--space-7) 0;
  align-items: start;
}

/* Product Gallery — stacked, scrollable; no thumbnail strip */
.product-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-gallery-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-img);
  background-color: #f7f7f7;
  display: block;
}

/* Product Info — sticky alongside the scrolling gallery */
.product-info-sticky {
  position: sticky;
  top: 90px;
  padding-top: var(--space-2);
  border-top: var(--hairline);
}

.product-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.product-brand {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.product-rating .stars {
  color: #f59e0b;
}

.product-rating .reviews {
  color: #999;
}

.product-price {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.product-price-discount {
  font-size: 0.85rem;
  color: #e63946;
  margin-bottom: 1.5rem;
}

.product-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.availability-dot.out-of-stock {
  background-color: #ef4444;
}

/* Product Options */
.product-options {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.option-group {
  margin-bottom: 1.5rem;
}

.option-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.option-group select,
.option-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #1a1a1a;
  transition: border-color 0.2s ease;
}

.option-group select:focus,
.option-group input:focus {
  outline: none;
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.option-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.option-btn {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  background-color: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.option-btn.active {
  border-color: var(--accent-dark);
  background-color: var(--accent-soft);
  color: var(--accent-dark);
}

/* Add to Cart Section */
.add-to-cart-section {
  margin-bottom: 2rem;
}

.add-to-cart-btn {
  padding: 0.9rem 2.2rem;
  background-color: var(--accent-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.add-to-cart-btn:hover {
  background-color: #5b4634;
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

.add-to-cart-btn.secondary {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  margin-top: 0.5rem;
}

.add-to-cart-btn.secondary:hover {
  background-color: #f7f7f7;
}

.add-to-cart-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-action-btn {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  color: #1a1a1a;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  border-color: #4a6fa5;
  color: #4a6fa5;
}

/* Product Details Section */
.product-details-section {
  margin-bottom: 2rem;
}

.details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.details-toggle:hover {
  color: #4a6fa5;
}

.details-toggle-icon {
  transition: transform 0.2s ease;
}

.details-toggle.open .details-toggle-icon {
  transform: rotate(180deg);
}

.details-content {
  display: none;
  padding: 1rem 0;
}

.details-content.open {
  display: block;
}

/* ============================================================================
   SPECIFICATIONS TABLE
   ============================================================================ */

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.specs-table th {
  background-color: #f7f7f7;
  font-weight: 600;
  color: #1a1a1a;
}

.specs-table tr:nth-child(even) {
  background-color: #fafafa;
}

.specs-table tr:hover {
  background-color: #f7f7f7;
}

/* ============================================================================
   HIGHLIGHTS & FEATURES
   ============================================================================ */

.highlights-card {
  background: #f8f9fb;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.5rem 1.75rem 1.25rem;
  margin: 1.5rem 0;
}

.highlights-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}

@media (max-width: 540px) {
  .highlights-list { grid-template-columns: 1fr; }
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
}

.highlight-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================================
   MAGAZINE GRID — blog index (mixed-size, not the uniform product-card grid)
   ============================================================================ */

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-4);
  margin-bottom: var(--space-6);
}

.magazine-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.magazine-feature img,
.magazine-card img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
  background-color: #f7f7f7;
}

.magazine-feature img {
  aspect-ratio: 4 / 3;
}

.magazine-card {
  display: flex;
  flex-direction: column;
}

.magazine-card img {
  aspect-ratio: 4 / 5;
  margin-bottom: var(--space-3);
}

.magazine-meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.magazine-feature h3 {
  font-size: 1.8rem;
}

.magazine-card h3 {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  margin-bottom: var(--space-1);
}

.magazine-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.magazine-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: var(--space-2);
}

.magazine-read {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 1px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .magazine-feature {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .magazine-feature {
    grid-column: span 1;
  }
}

/* ============================================================================
   RELATED PRODUCTS
   ============================================================================ */

.related-products {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #f0f0f0;
}

.related-products h2 {
  margin-bottom: 2rem;
}

.related-products .product-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4) var(--space-3);
}

/* Ensure related products display properly on mobile */
@media (max-width: 768px) {
  .related-products .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .related-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ============================================================================
   PAGINATION — quiet underline state instead of boxed/black-active
   ============================================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.pagination a,
.pagination span {
  padding: 0 0 var(--space-1);
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.pagination a:hover {
  color: var(--text);
  border-bottom-color: var(--border);
}

.pagination .active {
  background: none;
  color: var(--text);
  border-bottom-color: var(--accent-dark);
  cursor: default;
}

.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================================
   CART PAGE
   ============================================================================ */

.cart-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cart-item:hover {
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cart-item-details p {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  width: fit-content;
}

.cart-item-quantity button {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.cart-item-quantity button:hover {
  background-color: #f0f0f0;
}

.cart-item-quantity input {
  width: 50px;
  text-align: center;
  border: none;
  background: none;
  font-weight: 500;
}

.cart-item-price {
  text-align: right;
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-item-actions {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-remove {
  color: #e63946;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
  border: none;
  background: none;
  padding: 0;
}

.cart-item-remove:hover {
  color: #c91f35;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  color: #999;
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-summary {
  background-color: #f9f9f9;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.summary-row.total {
  border-bottom: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.summary-row.savings {
  color: #10b981;
  font-weight: 500;
}

.checkout-btn {
  width: 100%;
  padding: 0.95rem;
  background-color: var(--accent-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.checkout-btn:hover {
  background-color: #5b4634;
}

.continue-shopping-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.continue-shopping-btn:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  background-color: #11100f;
  color: #e5ddd4;
  padding: var(--space-6) 2rem var(--space-4);
  margin-top: var(--space-7);
}

.footer-band {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.footer-band-brand {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.footer-band-cta {
  color: #e5ddd4;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.footer-band-cta:hover {
  color: #fff;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #4a6fa5;
}

.footer-section p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.85rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
  padding: 0.75rem 1.5rem;
  background-color: #4a6fa5;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.85rem;
}

.footer-newsletter button:hover {
  background-color: #2d4563;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #999;
}

.footer-payment {
  display: flex;
  gap: 1rem;
}

/* ============================================================================
   LOADING STATES
   ============================================================================ */

.loading {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #1a1a1a;
  border-radius: 50%;
  animation: loading-pulse 1.5s infinite;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #1a1a1a;
  border-radius: 50%;
  margin-left: 0.5rem;
  animation: loading-pulse 1.5s 0.3s infinite;
}

.loading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #1a1a1a;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: loading-pulse 1.5s 0.6s infinite;
}

@keyframes loading-pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================================
   ERROR STATES
   ============================================================================ */

.error-message {
  background-color: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.error-message::before {
  content: '!';
  width: 24px;
  height: 24px;
  background-color: #e63946;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.success-message {
  background-color: #efe;
  border: 1px solid #cfc;
  color: #3c3;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.success-message::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.warning-message {
  background-color: #ffe;
  border: 1px solid #ffd;
  color: #996;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* ============================================================================
   CONTAINER & UTILITIES
   ============================================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: var(--space-5);
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--accent-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn:hover {
  background-color: #5b4634;
}

.btn.secondary {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.btn.secondary:hover {
  background-color: #f7f7f7;
}

.btn.outline {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.btn.outline:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-info-sticky {
    position: static;
  }

  .cart-page {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    padding: var(--space-5) 0;
    max-width: none;
  }

  .hero-image {
    min-height: 280px;
    order: -1;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  /* Product grid optimization for tablets */
  .product-grid,
  .related-products .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .bento-tile--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  /* Show mobile menu on tablets in portrait mode */
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-container {
    padding: 0 1rem;
    height: 60px;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .search-box {
    display: none;
  }

  /* Make buttons more touch-friendly */
  .btn {
    min-height: 44px;
    padding: 0.8rem 1.5rem;
  }

  /* Hero */
  .hero-content {
    padding: var(--space-4) 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Grids */
  .product-grid,
  .related-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .bento-tile--featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .product-card h3 {
    font-size: 0.85rem;
  }

  /* Product Detail */
  .product-detail {
    gap: 1.5rem;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  /* Cart */
  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Filters */
  .filters-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-select {
    width: 100%;
  }

  /* Pagination */
  .pagination {
    gap: 0.25rem;
  }

  .pagination a,
  .pagination span {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  /* Navigation */
  .nav-container {
    height: 55px;
  }

  .nav-brand {
    font-size: 1rem;
  }

  /* Hero */
  .hero-content {
    padding: var(--space-3) 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  /* Headings */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* Grids */
  .product-grid,
  .related-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-card h3 {
    font-size: 0.75rem;
  }

  /* Touch target improvements */
  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }

  .filter-select {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra small devices (phones under 360px) */
@media (max-width: 360px) {
  .product-grid {
    gap: 0.5rem;
  }

  .bento-grid {
    gap: 0.5rem;
    grid-auto-rows: 160px;
  }

  .nav-container {
    padding: 0 0.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Product Detail */
  .product-detail {
    gap: 1rem;
  }

  .product-title {
    font-size: 1.25rem;
  }

  .product-price {
    font-size: 1.25rem;
  }

  .add-to-cart-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Cart */
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-quantity {
    margin: 0.75rem 0;
  }

  .cart-item-quantity button,
  .cart-item-quantity input {
    font-size: 0.75rem;
  }

  .cart-item-quantity button {
    width: 28px;
    height: 28px;
  }

  .cart-item-quantity input {
    width: 40px;
  }

  .summary-row {
    font-size: 0.85rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-section h4 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .footer-section a {
    font-size: 0.8rem;
  }

  /* Pagination */
  .pagination a,
  .pagination span {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Buttons */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  /* Specs Table */
  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Filters */
  .filters-bar {
    gap: 0.75rem;
  }

  .filter-select {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

.page-header {
  text-align: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #666;
  font-size: 1.05rem;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: #ffffff;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-notice {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-notice.success {
  background-color: #f0faf4;
  border: 1px solid #c3e6cb;
  color: #2e7d4f;
}

.contact-info-section {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 1rem;
}

.contact-info-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header {
    padding: 2rem 0 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .nav,
  .footer,
  .filters-bar,
  .breadcrumbs,
  .pagination {
    display: none;
  }

  body {
    background-color: #ffffff;
  }

  .container {
    max-width: 100%;
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid #4a6fa5;
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: #4a6fa5;
  color: #ffffff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  body {
    color: #000000;
  }

  .nav,
  .footer {
    border-color: #000000;
  }

  .filter-link {
    border-color: #999;
  }
}

/* ============================================================================
   BLOG POST — single-column editorial article (no TOC sidebar)
   ============================================================================ */

.blog-page {
  padding-top: 0;
  padding-bottom: var(--space-7);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--accent-dark);
  z-index: 300;
  transition: width 0.1s linear;
}

.article-layout {
  max-width: 700px;
  margin: 0 auto;
}

/* Blog article */
.blog-post {
  min-width: 0;
}

.post-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.post-header h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.post-lead {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.post-meta {
  color: #999;
  font-size: 0.875rem;
  margin-bottom: 0;
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.post-byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.post-byline__info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.post-byline__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1a1a1a;
}

.post-byline__role {
  font-size: 0.78rem;
  color: #888;
}

.post-byline__date {
  margin-left: auto;
  font-size: 0.8rem;
  color: #aaa;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .post-byline__date {
    display: none;
  }
}

/* Article body typography */
.blog-post #articleBody .article-section {
  margin-bottom: var(--space-6);
}

.blog-post #articleBody .section-capsule {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.blog-post #articleBody h2 {
  font-size: 1.55rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
  scroll-margin-top: 90px;
}

.blog-post #articleBody h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  scroll-margin-top: 90px;
}

.blog-post #articleBody p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: #2a2a2a;
}

/* Pull-quote — repurposed from the old "capsule" highlight paragraph */
.blog-post #articleBody p.capsule {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text);
  border-left: 2px solid var(--accent-dark);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
}

.blog-post #articleBody ul,
.blog-post #articleBody ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-post #articleBody li {
  line-height: 1.75;
  margin-bottom: 0.4rem;
  color: #2a2a2a;
}

.blog-post #articleBody a {
  color: #4a6fa5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post #articleBody a:hover {
  color: #2d4563;
}

/* Products aside */
.products-aside {
  margin: 3rem 0;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 8px;
}

.products-aside h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Author bio */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #fafafa;
}

.author-bio__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.author-bio__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.author-bio__title {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.15rem;
}

.author-bio__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .post-header h1 {
    font-size: 1.65rem;
  }

  .blog-post #articleBody h2 {
    font-size: 1.3rem;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
