/* HUALIHENG — Garage Industrial Microfiber & Manual Detailing Tools Storefront */
:root {
  --ann-bg: #d90429;
  --ann-ink: #ffffff;
  --header-bg: #0b0d10;
  --header-ink: #ffffff;
  --footer-bg: #0b0d10;
  --footer-ink: #e5e7eb;
  --bg: #ffffff;
  --surface: #f4f6f8;
  --surface-alt: #e9eef2;
  --dark-panel: #11161d;
  --ink: #161b22;
  --muted: #525c68;
  --border: #d8dfe6;
  --accent: #00abe0;
  --accent-dark: #0088b5;
  --accent-soft: #eaf8fd;
  --danger: #c6192d;
  --success: #0b7a4b;
  --font-sans: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1320px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--ann-bg);
  color: var(--ann-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-emblem {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  background: #141922;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
}
.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #eef2f6;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover {
  border-color: var(--accent);
  background: rgba(0, 171, 224, 0.14);
}
.bag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--accent);
  color: #0b0d10;
  font-size: 11px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: #10141b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px 22px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--header-bg);
  background: var(--header-bg);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0d10;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  border-color: var(--header-bg);
  color: var(--header-bg);
}
.btn-outline:hover {
  background: var(--header-bg);
  color: #ffffff;
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}
.btn-outline-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--header-bg);
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Hero Section */
.hero-band {
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.98) 0%, rgba(17, 22, 29, 0.95) 56%, rgba(17, 22, 29, 0.90) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.03) 40px);
  color: #ffffff;
  border-bottom: 3px solid var(--accent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 58px 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-subtitle {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #cfd8e3;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}
.hero-spec-item {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}
.hero-spec-val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.hero-spec-lbl {
  display: block;
  font-size: 11.5px;
  color: #9fb0c4;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}
.hero-photo-main,
.hero-photo-side {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}
.hero-photo-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
}
.hero-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.hero-photo-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
}
.hero-photo-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #0b0d10;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-left: 3px solid var(--accent);
}

/* Trust Strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  border: 1px solid #c5eaf7;
}
.trust-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.trust-desc {
  font-size: 12px;
  color: var(--muted);
}

/* Section Headers */
.section {
  padding: 56px 0;
}
.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.section-title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.title-rule {
  width: 44px;
  height: 3px;
  background: var(--ink);
  margin-top: 10px;
}
.title-rule-cyan {
  background: var(--accent);
}
.section-link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* Category Tiles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.category-thumb {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 16px;
  display: grid;
  place-items: center;
}
.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.category-body {
  background: var(--dark-panel);
  color: #ffffff;
  padding: 14px 16px;
  border-top: 2px solid var(--accent);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.category-meta {
  font-size: 11.5px;
  color: #9fb0c4;
  margin-top: 4px;
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e6ebf0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  border-color: #b8c6d4;
  box-shadow: 0 8px 24px rgba(11, 13, 16, 0.06);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid #f0f3f6;
}
.product-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.product-card:hover .product-media img {
  transform: scale(1.03);
}
.spec-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--header-bg);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.spec-pill-cyan {
  background: var(--accent-soft);
  color: #006687;
  border: 1px solid #bde8f8;
}
.quick-add-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.quick-add-btn:hover {
  background: var(--header-bg);
  border-color: var(--header-bg);
  color: #ffffff;
}
.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-title a:hover {
  color: var(--accent-dark);
}
.product-subspec {
  font-size: 12px;
  color: var(--muted);
}
.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.swatch-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(22, 27, 34, 0.28);
  display: inline-block;
}

/* Spec Comparison Table */
.spec-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13.5px;
}
.spec-table th {
  background: var(--dark-panel);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 16px;
}
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.spec-table tr:last-child td {
  border-bottom: none;
}
.gsm-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: #006687;
  font-weight: 800;
  font-size: 11.5px;
  padding: 3px 8px;
}

/* Collection Header & Filters */
.collection-hero {
  background: var(--dark-panel);
  color: #ffffff;
  padding: 38px 0;
  border-bottom: 3px solid var(--accent);
}
.collection-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.collection-hero p {
  margin: 0;
  max-width: 720px;
  color: #cfd8e3;
  font-size: 14.5px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--header-bg);
  border-color: var(--header-bg);
  color: #ffffff;
}
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumbs a:hover {
  color: var(--accent-dark);
}
.breadcrumbs span {
  margin: 0 8px;
}

/* Product Detail Page */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
  padding: 36px 0 54px;
}
.pdp-stage {
  background: #ffffff;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  padding: 24px;
  display: grid;
  place-items: center;
}
.pdp-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.pdp-thumb {
  border: 1.5px solid var(--border);
  background: #ffffff;
  padding: 6px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pdp-thumb.active {
  border-color: var(--header-bg);
  box-shadow: inset 0 0 0 1px var(--header-bg);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-buybox {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 26px;
}
.pdp-title {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pdp-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}
.pdp-sku {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.variant-group {
  margin-bottom: 18px;
}
.variant-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 9px;
}
.variant-label span {
  font-weight: 600;
  color: var(--muted);
  margin-left: 6px;
}
.variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-btn {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.variant-btn.active {
  border-color: var(--header-bg);
  background: var(--header-bg);
  color: #ffffff;
}
.color-swatch-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  padding: 2px;
  background: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.color-swatch-btn span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.color-swatch-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 171, 224, 0.25);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
}
.qty-stepper button {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--surface);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.qty-stepper input {
  width: 48px;
  height: 40px;
  border: none;
  text-align: center;
  font-weight: 700;
}

.pdp-feedback {
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin: 10px 0 0;
}

.pdp-trust-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.pdp-trust-box strong {
  color: var(--ink);
}

.pdp-details-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.pdp-details-section h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 24px;
}
.pdp-spec-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 14px;
}
.pdp-spec-cell dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-spec-cell dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.use-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.use-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--accent-soft);
  border: 1px solid #c5eaf7;
  color: #005d7a;
  font-size: 12px;
  font-weight: 700;
}

/* Bag Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 16, 0.58);
  z-index: 300;
  display: none;
}
.drawer-backdrop.open {
  display: block;
}
.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #ffffff;
  z-index: 310;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
}
.bag-drawer.open {
  transform: translateX(0);
}
.drawer-head {
  background: var(--header-bg);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.drawer-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 18px;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.drawer-foot {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 20px;
}
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 4px;
}
.cart-line-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.cart-line-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 8px;
}
.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
}
.mini-qty button {
  width: 26px;
  height: 26px;
  border: none;
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
}
.mini-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}
.link-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Cart & Checkout Pages */
.two-col-page {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0 64px;
}
.panel {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 24px;
}
.panel h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #eef1f5;
  font-size: 14px;
}
.summary-row.total {
  border-bottom: none;
  border-top: 2px solid var(--header-bg);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 17px;
  font-weight: 800;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.req-star {
  color: var(--danger);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-size: 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 171, 224, 0.16);
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
}
.status-box {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
}
.status-box.error {
  border-color: #f2b8be;
  background: #fff3f4;
  color: var(--danger);
}
.status-box.ok {
  border-color: #a9dfc6;
  background: #eefaf4;
  color: var(--success);
}
.payment-mount-box {
  margin-top: 20px;
  padding: 20px;
  border: 1.5px solid var(--header-bg);
  background: var(--surface);
}
.payment-mount-box h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contact & Editorial / Policy Pages */
.support-hero {
  text-align: center;
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.support-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.support-hero .title-rule {
  margin: 14px auto 18px;
}
.support-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.quick-answers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.answer-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.answer-card-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
}
.answer-card h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.answer-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.answer-card a {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-dark);
}

.policy-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 24px 68px;
}
.policy-shell h2 {
  margin: 30px 0 10px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.policy-shell p,
.policy-shell li {
  color: #323a44;
  font-size: 14.5px;
  line-height: 1.7;
}
.policy-shell ul {
  padding-left: 20px;
}
.entity-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--header-bg);
  font-size: 13.5px;
}

/* Care Strip Above Footer */
.care-banner {
  background:
    linear-gradient(90deg, #10151d 0%, #17212e 60%, #0f141c 100%);
  color: #ffffff;
  border-top: 3px solid var(--accent);
  padding: 34px 0;
}
.care-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.care-banner h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.care-banner p {
  margin: 0;
  color: #b8c5d6;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-col a {
  font-size: 13px;
  color: #b4beca;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-brand-desc {
  font-size: 13px;
  color: #a6b2c0;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 300px;
}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #93a0b0;
}

/* Search Page */
.search-bar-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 22px auto 0;
}
.search-bar-box input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--header-bg);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .pdp-grid,
  .two-col-page {
    grid-template-columns: 1fr;
  }
  .pdp-buybox {
    position: static;
  }
  .trust-grid,
  .quick-answers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 14px;
  }
  .header-inner {
    min-height: 62px;
    gap: 8px;
  }
  .brand-mark {
    gap: 8px;
    min-width: 0;
  }
  .brand-emblem {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 14px;
    letter-spacing: 0.08em;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .header-actions {
    gap: 6px;
  }
  .icon-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 7px;
    gap: 5px;
  }
  .hero-grid {
    padding: 34px 0;
    gap: 26px;
  }
  .hero-specs {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    grid-template-columns: 1fr;
  }
  .hero-photo-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-info {
    padding: 10px 11px 12px;
  }
  .product-title {
    font-size: 12px;
  }
  .trust-grid,
  .quick-answers-grid,
  .form-grid,
  .pdp-spec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 38px 0;
  }
}
