:root {
  --bg: #060a14;
  --bg-panel: #0b1120;
  --bg-card: #101827;
  --border: #1e293b;
  --text: #e5e7eb;
  --text-dim: #94a3b8;
  --accent: #2563eb;
  --accent-light: #3b82f6;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
.small { font-size: 10px; }

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  background: #000;
  padding: 4px 24px;
  font-size: 11px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.topbar-left span, .topbar-right span {
  margin-right: 20px;
}
.topbar i { margin-right: 4px; color: var(--accent-light); }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.mobile-menu-toggle { display: none; }
.mobile-hero-heading, .mobile-shop-label { display: none; }
.logo-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
}
.logo-title .accent { color: var(--accent-light); }
.logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.search-bar {
  display: flex;
  flex: 1;
  max-width: 600px;
  min-width: 260px;
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 0 12px;
  background: #f8fafc;
  color: #111;
  border-radius: 4px 0 0 4px;
}
.search-bar button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 18px;
  border-radius: 0 4px 4px 0;
}

.header-right { display: flex; align-items: center; gap: 24px; }
.icon-link { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.icon-link i { font-size: 18px; }
.cart-icon-wrap { position: relative; }
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* Nav */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 24px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.categories-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links li a { color: var(--text-dim); font-weight: 500; }
.nav-links li.active a { color: var(--accent-light); }
.nav-badges { display: flex; gap: 20px; list-style: none; font-size: 12px; color: var(--text-dim); }
.nav-badges i { color: var(--accent-light); margin-right: 4px; }

/* Main layout */
.main-wrapper {
  display: flex;
  gap: 16px;
  padding: 10px 24px;
}

.sidebar {
  width: 190px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 0;
  flex-shrink: 0;
}
.sidebar ul { list-style: none; }
.sidebar li { cursor: pointer; }
.sidebar li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--text);
}
.sidebar li:hover { background: var(--bg-card); }
.sidebar li i:first-child { width: 16px; color: var(--accent-light); }
.sidebar li .arrow { margin-left: auto; font-size: 10px; color: var(--text-dim); }
.view-all {
  display: block;
  padding: 9px 12px;
  color: var(--accent-light);
  font-weight: 600;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  background: linear-gradient(110deg, #080d18 8%, #080d18 34%, #071326 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/circuit-traces.svg") no-repeat right center / 68% 100%;
  opacity: .48;
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; padding: 20px; max-width: 52%; }
.hero-tag { color: var(--accent-light); font-weight: 700; letter-spacing: 2px; font-size: 12px; }
.hero-text h1 { font-size: 32px; margin: 8px 0; line-height: 1.1; }
.hero-text p { color: var(--text-dim); margin-bottom: 14px; max-width: 420px; line-height: 1.4; }
.hero-buttons { display: flex; gap: 10px; margin-bottom: 16px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
}
.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats > div { display: flex; align-items: center; gap: 8px; }
.hero-stats i { color: var(--accent-light); font-size: 16px; }
.hero-stats strong { display: block; }
.hero-stats span { color: var(--text-dim); font-size: 11px; }

.hero-image {
  z-index: 1;
  flex: 1;
  position: relative;
  min-width: 0;
  min-height: 282px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  position: absolute;
  inset: 14px 36px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / 40%));
}
.slider-arrows button {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 50%;
  width: 32px; height: 32px;
}
.slider-arrows .prev { left: 10px; }
.slider-arrows .next { right: 10px; }
.slider-dots {
  position: absolute;
  z-index: 1;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--text-dim);
}
.dot.active { background: var(--accent-light); }

/* Category cards */
.section-heading { display: none; }
.category-strip { display: contents; }
.category-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 0 24px 10px;
}
.cat-card {
  min-width: 0;
  min-height: 78px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  overflow: hidden;
}
.cat-card-copy { min-width: 0; position: relative; z-index: 1; }
.cat-card img {
  width: 68px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 6px rgb(0 0 0 / 40%));
}
.cat-card-icon { font-size: 30px; color: var(--accent-light); flex: 0 0 auto; }
.cat-card h3 { font-size: 12px; line-height: 1.25; margin-bottom: 6px; }
.cat-card a { color: var(--accent-light); font-size: 11px; font-weight: 600; white-space: nowrap; }

/* Popular products */
.popular { padding: 0 24px 32px; }
.popular-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.popular-header h2 { font-size: 18px; }
.popular-header a { color: var(--accent-light); font-weight: 600; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
.product-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px;
}
.product-thumb {
  height: 96px;
  border-radius: 4px;
  margin-bottom: 6px;
  padding: 4px;
  background: linear-gradient(145deg, #1d2735, #151e2b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--accent-light);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 6px 8px rgb(0 0 0 / 35%));
}
.product-card h4 { font-size: 11px; line-height: 1.3; margin-bottom: 5px; min-height: 28px; }
.product-card h4 a { color: var(--text); }
.product-card h4 a:hover { color: var(--accent-light); }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 700; }
.product-footer button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 26px; height: 26px;
  border-radius: 4px;
}

footer {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .main-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-text h1 { font-size: 30px; }
  .hero-text { padding: 24px; }
}
@media (max-width: 600px) {
  .topbar { justify-content: center; padding: 6px 14px; }
  .topbar-left span:nth-child(n + 2), .topbar-right { display: none; }
  .topbar-left span { margin-right: 0; font-size: 12px; }
  .header {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
    padding: 8px 14px 12px;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    order: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 22px;
  }
  .logo { order: 1; justify-self: center; gap: 7px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-title { font-size: 18px; letter-spacing: 2px; }
  .logo-sub { font-size: 7px; letter-spacing: 1px; }
  .header-right { order: 2; justify-content: flex-end; gap: 0; }
  .header-right > .icon-link:not(.cart) { display: none; }
  .header-right .icon-link { font-size: 0; }
  .header-right .icon-link i { font-size: 23px; }
  .header-right .cart > span { display: none; }
  .search-bar { grid-column: 1 / -1; order: 3; flex: none; width: 100%; max-width: none; min-width: 0; height: 46px; }
  .search-bar input { min-width: 0; padding: 0 14px; font-size: 15px; background: #111722; color: var(--text); border: 1px solid #394150; border-right: 0; border-radius: 9px 0 0 9px; }
  .search-bar input::placeholder { color: #a5adbb; }
  .search-bar button { min-width: 48px; padding: 0 15px; border-radius: 0 9px 9px 0; }
  .navbar { display: none; }
  body.mobile-nav-open .navbar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }
  body.mobile-nav-open .categories-btn { display: none; }
  body.mobile-nav-open .nav-badges { display: none; }
  body.mobile-nav-open .nav-links { display: flex; flex-direction: column; gap: 0; }
  body.mobile-nav-open .nav-links li { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .main-wrapper { padding: 10px 14px; gap: 10px; }
  .home-page .sidebar { display: none; }
  .home-page .main-wrapper { padding: 10px 14px 0; }
  .hero { flex-direction: row; min-height: 226px; }
  .hero-text { flex: 0 0 56%; max-width: 56%; padding: 18px 0 16px 15px; }
  .hero-tag { font-size: 9px; letter-spacing: 1.2px; }
  .hero-text h1 { font-size: clamp(24px, 7vw, 29px); margin: 9px 0 14px; line-height: 1.04; }
  .desktop-hero-heading, .desktop-shop-label { display: none; }
  .mobile-hero-heading, .mobile-shop-label { display: inline; }
  .hero-text p { display: none; }
  .hero-buttons { margin: 0; }
  .hero-buttons .btn-primary { padding: 10px 12px; gap: 6px !important; font-size: 13px; white-space: nowrap; }
  .hero-buttons .btn-secondary { display: none !important; }
  .hero-stats { display: none; }
  .hero-image { flex: 1 1 44%; min-height: 0; height: auto; }
  .hero-slide { inset: 10px 4px 25px 4px; }
  .hero-slide img { filter: drop-shadow(0 10px 12px rgb(0 0 0 / 55%)); }
  .slider-arrows { display: none; }
  .slider-dots { left: 50%; bottom: 10px; }
  .category-cards { display: block; padding: 14px 0 18px; overflow: hidden; }
  .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 14px 12px;
  }
  .section-heading h2 { font-size: 23px; }
  .section-heading a { color: var(--accent-light); font-weight: 600; }
  .category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 14px 6px;
    scrollbar-width: none;
  }
  .category-strip::-webkit-scrollbar { display: none; }
  .cat-card {
    flex: 0 0 146px;
    min-height: 124px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    border-radius: 10px;
    background: linear-gradient(145deg, #121a27, #0b1120);
  }
  .desktop-category-card { display: none; }
  .cat-card img { order: 0; width: 100%; height: 82px; object-fit: contain; }
  .cat-card-copy { order: 1; text-align: center; }
  .cat-card h3 { margin: 0; font-size: 15px; }
  .cat-card a { display: none; }
  .cat-card-icon { font-size: 38px; }
  .popular { padding: 0 14px 24px; }
  .popular-header { margin-bottom: 12px; }
  .popular-header h2 { font-size: 23px; }
  .popular-header a { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #product-grid .product-card[data-product-id="1"] { order: 1; }
  #product-grid .product-card[data-product-id="2"] { order: 2; }
  #product-grid .product-card[data-product-id="3"] { order: 3; }
  #product-grid .product-card[data-product-id="4"] { order: 4; }
  #product-grid .product-card[data-product-id="5"] { order: 5; }
  #product-grid .product-card[data-product-id="6"] { order: 6; }
  #product-grid .product-card[data-product-id="14"] { order: 7; }
  #product-grid .product-card[data-product-id="15"] { order: 8; }
  .product-card { padding: 8px; border-radius: 11px; background: #0b1019; }
  .product-thumb {
    height: clamp(142px, 43vw, 174px);
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #28303b;
    border-radius: 8px;
    background: radial-gradient(ellipse at 50% 44%, #242d39 0%, #18212d 62%, #121a25 100%);
  }
  .product-thumb img { filter: drop-shadow(0 9px 9px rgb(0 0 0 / 50%)); }
  .product-card h4 { font-size: 14px; min-height: 35px; margin-bottom: 8px; }
  .product-price { font-size: 21px; }
  .product-footer button { width: 42px; height: 38px; border: 1px solid var(--accent-light); border-radius: 7px; color: var(--text); font-size: 16px; }

  .shop-page .main-wrapper { padding: 10px 14px; }
  .shop-page .sidebar {
    width: 100%;
    padding: 7px;
    overflow: hidden;
  }
  .shop-page #shop-categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .shop-page #shop-categories::-webkit-scrollbar { display: none; }
  .shop-page #shop-categories li { flex: 0 0 auto; }
  .shop-page #shop-categories li a {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 11px;
  }
  .shop-page #shop-categories li a i:first-child { width: auto; }
  .shop-toolbar { gap: 8px 12px; margin-bottom: 12px; }
  .shop-toolbar h1 { font-size: 21px; }
  .shop-count-label { margin-left: auto; }
  footer { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ============ Shop page ============ */
.shop-content { flex: 1; }
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.shop-toolbar h1 { font-size: 22px; }
.shop-toolbar input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-panel);
  color: var(--text);
}
.shop-count-label { color: var(--text-dim); font-size: 13px; white-space: nowrap; }
#shop-categories li { list-style: none; }
#shop-categories li.active a { color: var(--accent-light); font-weight: 700; background: var(--bg-card); }
.empty-msg { color: var(--text-dim); padding: 24px; grid-column: 1 / -1; }

/* ============ Product detail page ============ */
.product-detail-wrapper { padding: 24px; max-width: 1100px; margin: 0 auto; }
.breadcrumb { color: var(--text-dim); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { color: var(--accent-light); }
.detail-layout {
  display: flex;
  gap: 40px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  flex-wrap: wrap;
}
.detail-image {
  flex: 1;
  min-width: 260px;
  min-height: 260px;
  padding: 12px;
  background: linear-gradient(145deg, #1a2738, #111b2b);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 80px;
  color: var(--accent-light);
}
.detail-image img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / 35%));
}
.detail-info { flex: 1; min-width: 280px; }
.detail-category { color: var(--accent-light); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.detail-info h1 { font-size: 26px; margin: 8px 0 12px; }
.detail-price { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.detail-desc { color: var(--text-dim); margin-bottom: 24px; line-height: 1.6; }
.detail-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.detail-actions #qty-input {
  width: 70px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text);
}
.detail-meta { list-style: none; display: flex; gap: 20px; color: var(--text-dim); font-size: 13px; flex-wrap: wrap; }
.detail-meta i { color: var(--accent-light); margin-right: 6px; }

/* ============ Cart page ============ */
.cart-page { padding: 24px; max-width: 1100px; margin: 0 auto; }
.cart-page h1 { margin-bottom: 20px; }
.cart-layout { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.cart-items { flex: 2; min-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
}
.cart-row-thumb {
  width: 60px; height: 60px;
  background: linear-gradient(145deg, #1a2738, #111b2b);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.cart-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 35%));
}
.cart-row-info { flex: 1; }
.cart-row-info h4 { font-size: 14px; margin-bottom: 4px; }
.cart-row-info span { color: var(--text-dim); font-size: 12px; }
.cart-row-qty { display: flex; align-items: center; gap: 8px; }
.cart-row-qty button {
  width: 26px; height: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
}
.cart-row-subtotal { width: 70px; text-align: right; font-weight: 700; }
.cart-row-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 16px;
}
.cart-summary {
  flex: 1;
  min-width: 260px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}
.cart-summary-row { display: flex; justify-content: space-between; font-size: 16px; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 12px; }
.continue-shopping { display: block; margin-top: 16px; text-align: center; color: var(--accent-light); font-size: 13px; }

/* ============ Contact page ============ */
.contact-page {
  display: flex;
  gap: 40px;
  padding: 40px 24px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.contact-info { flex: 1; min-width: 260px; }
.contact-info h1 { font-size: 28px; margin-bottom: 12px; }
.contact-info p { color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-details i { color: var(--accent-light); margin-right: 8px; width: 16px; }
.contact-form {
  flex: 1;
  min-width: 280px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.contact-form label { margin: 12px 0 6px; font-size: 13px; color: var(--text-dim); }
.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  resize: vertical;
}
.contact-form button { margin-top: 20px; }

@media (max-width: 600px) {
  .product-detail-wrapper { padding: 14px; }
  .breadcrumb { font-size: 12px; margin-bottom: 12px; }
  .detail-layout { gap: 18px; padding: 14px; }
  .detail-image { flex: 1 1 100%; min-width: 0; min-height: 210px; }
  .detail-image img { height: 210px; }
  .detail-info { flex: 1 1 100%; min-width: 0; }
  .detail-info h1 { font-size: 23px; }
  .detail-meta { gap: 10px 16px; }
  .cart-page { padding: 16px 14px; }
  .cart-page h1 { font-size: 23px; margin-bottom: 14px; }
  .cart-layout { gap: 12px; }
  .cart-items { flex: 1 1 100%; width: 100%; min-width: 0; }
  .cart-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    padding: 10px;
  }
  .cart-row-thumb { grid-column: 1; grid-row: 1 / span 2; width: 48px; height: 48px; }
  .cart-row-info { grid-column: 2; min-width: 0; }
  .cart-row-info h4 { font-size: 12px; }
  .cart-row-qty { grid-column: 2; gap: 7px; }
  .cart-row-subtotal { grid-column: 3; grid-row: 1; width: auto; font-size: 13px; }
  .cart-row-remove { grid-column: 3; grid-row: 2; justify-self: end; }
  .cart-summary { flex: 1 1 100%; width: 100%; min-width: 0; padding: 16px; }
  .contact-page { gap: 22px; padding: 22px 14px; }
  .contact-info, .contact-form { flex: 1 1 100%; width: 100%; min-width: 0; }
  .contact-info h1 { font-size: 24px; }
  .contact-form { padding: 18px; }
}
