/* =========================================================
   AeroSurplus Parts — shared stylesheet
   ========================================================= */

:root {
  --navy-950: #0a1930;
  --navy-900: #0e2647;
  --navy-800: #14345f;
  --navy-700: #1c4a82;
  --steel-600: #4c5c74;
  --steel-400: #7c8aa0;
  --steel-200: #c7cedb;
  --steel-100: #e6e9ef;
  --off-white: #e7e9ee;
  --amber-500: #e8963a;
  --amber-600: #cf7f26;
  --green-600: #2f8f5b;
  --red-600: #c0392b;
  --white: #ffffff;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(10, 25, 48, 0.12);
  --shadow-md: 0 4px 16px rgba(10, 25, 48, 0.14);
  --font-sans: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--navy-950);
  background: var(--off-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--steel-200);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a:hover { color: var(--amber-500); }
.topbar-links { display: flex; gap: 18px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--steel-200);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lang-btn:hover:not(.active) {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.lang-btn.active {
  background: var(--amber-500);
  color: var(--navy-950);
  border-color: var(--amber-500);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--steel-200);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--steel-200);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-color: var(--amber-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 260px;
}
.header-search input {
  border: none;
  padding: 9px 12px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
  outline: none;
  color: var(--navy-950);
}
.header-search button {
  background: var(--amber-500);
  border: none;
  color: var(--navy-950);
  padding: 0 14px;
  font-weight: 700;
}
.header-search button:hover { background: var(--amber-600); }

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.cart-count {
  background: var(--amber-500);
  color: var(--navy-950);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 800;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--steel-600);
  color: var(--white);
  border-radius: var(--radius);
  padding: 8px 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--amber-600); }
.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-800); }
.btn-outline {
  background: transparent;
  border-color: var(--steel-400);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--navy-900); background: var(--steel-100); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(8,20,40,0.62), rgba(12,34,64,0.55)),
    var(--hero-photo, none) center 38% / cover no-repeat,
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 40px);
  color: var(--white);
  padding: 72px 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--amber-500);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p {
  color: var(--steel-200);
  font-size: 16.5px;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.hero-stats div {
  background: rgba(8,20,40,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 14px;
  backdrop-filter: blur(2px);
}
.hero-stats strong { display: block; font-size: 22px; color: var(--amber-500); }
.hero-stats span { font-size: 12.5px; color: var(--steel-200); }

.hero-panel {
  background: rgba(8,20,40,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(2px);
}
.hero-panel h3 { margin-top: 0; font-size: 17px; }
.hero-panel-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.hero-panel-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel-200); }
.hero-panel-item .ico {
  width: 30px; height: 30px; flex: none;
  background: rgba(232,150,58,0.18);
  color: var(--amber-500);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

/* ---------- Section headings ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0 0 6px; font-size: 26px; }
.section-head p { margin: 0; color: var(--steel-600); font-size: 14.5px; }
.eyebrow {
  color: var(--amber-600);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-500);
}
.category-card .ico {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.category-card h4 { margin: 0 0 4px; font-size: 15px; }
.category-card span { font-size: 12.5px; color: var(--steel-600); }

/* ---------- Homepage article teasers ---------- */
.article-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.article-teaser-card {
  display: flex;
  gap: 18px;
  background: var(--off-white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.article-teaser-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-teaser-card img { width: 150px; min-width: 150px; height: 100%; object-fit: cover; }
.article-teaser-body { padding: 16px 18px 16px 0; }
.article-teaser-kicker {
  display: inline-block;
  color: var(--amber-600, #a1601a);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.article-teaser-body h4 { margin: 0 0 8px; font-size: 15.5px; line-height: 1.3; }
.article-teaser-body p { margin: 0; font-size: 13px; color: var(--steel-600); line-height: 1.5; }
@media (max-width: 700px) {
  .article-teaser-grid { grid-template-columns: 1fr; }
  .article-teaser-card img { width: 110px; min-width: 110px; }
}

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-thumb {
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-serviceable { background: #e4f4ea; color: var(--green-600); }
.badge-overhauled { background: #e8effb; color: var(--navy-700); }
.badge-as-removed { background: #fdeee7; color: #b5541b; }
.badge-new { background: #fff4e0; color: var(--amber-600); }
.badge-sale { background: #e4f4ea; color: var(--green-600); }
.badge-swap { background: #eaeafc; color: #4d3fc4; }
.badge-wanted { background: #e8f2fb; color: #1c6ca8; }
.badge-new-flag {
  top: auto;
  bottom: 10px;
  left: 10px;
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.model-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10,25,48,0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* ---------- Contact / seller card ---------- */
.contact-card {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}
.contact-card h4 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--steel-600); }
.contact-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; }
.contact-row .ico { width: 26px; text-align: center; color: var(--amber-600); }
.contact-note {
  display: flex;
  gap: 10px;
  background: #fff4e0;
  border: 1px solid #f0d6a3;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 12.5px;
  color: #7a5518;
  margin-top: 18px;
}

/* ---------- Photo upload box (post listing) ---------- */
.photo-upload-box {
  display: block;
  border: 2px dashed var(--steel-200);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  color: var(--steel-600);
  background: var(--off-white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.photo-upload-box:hover { border-color: var(--amber-500); background: #fffaf1; }
.photo-upload-box .ico { font-size: 28px; margin-bottom: 8px; }
.photo-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.photo-preview img, .photo-preview .ph {
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  background: var(--steel-100);
}

.listing-type-toggle { display: flex; gap: 10px; }
.listing-type-toggle label {
  flex: 1;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--steel-600);
}
.listing-type-toggle input { display: none; }
.listing-type-toggle input:checked + span { color: var(--navy-950); }
.listing-type-toggle label:has(input:checked) {
  border-color: var(--amber-500);
  background: #fff4e0;
  color: var(--navy-950);
}

.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11.5px; color: var(--steel-600); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.product-title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.35; }
.product-pn { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel-600); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.product-price { font-size: 18px; font-weight: 800; color: var(--navy-950); }
.product-price small { font-size: 11.5px; font-weight: 500; color: var(--steel-600); display: block; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-900);
  color: var(--white);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 24px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .ico {
  font-size: 20px;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(232,150,58,0.15);
  color: var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.trust-item h5 { margin: 0 0 3px; font-size: 14px; }
.trust-item p { margin: 0; font-size: 12.5px; color: var(--steel-200); }

/* ---------- Layout: catalog page ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}
.filters-panel {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.filters-panel h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--steel-600);
}
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 5px 0;
  color: var(--navy-950);
}
.filter-option input { accent-color: var(--amber-500); }
.price-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.price-row input {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid var(--steel-200);
  border-radius: 4px;
  font-size: 13px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.catalog-toolbar select {
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--steel-200);
  font-size: 13.5px;
  background: var(--white);
}
.result-count { font-size: 13.5px; color: var(--steel-600); }

.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--steel-100);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.chip button { background: none; border: none; font-size: 13px; color: var(--steel-600); }

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

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--steel-600);
  padding: 16px 0;
}
.breadcrumb a:hover { color: var(--navy-900); text-decoration: underline; }

/* ---------- Product detail ---------- */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: flex-start;
}
.pdp-gallery-main {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pdp-title { font-size: 26px; margin: 4px 0 8px; }
.pdp-pn { font-family: var(--font-mono); color: var(--steel-600); font-size: 14px; margin-bottom: 14px; }
.pdp-price { font-size: 30px; font-weight: 800; margin: 14px 0 4px; }
.pdp-price small { font-size: 13px; font-weight: 500; color: var(--steel-600); }
.pdp-meta-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.pdp-meta-table th, .pdp-meta-table td {
  text-align: left;
  padding: 9px 4px;
  border-bottom: 1px solid var(--steel-100);
  font-size: 13.5px;
}
.pdp-meta-table th { color: var(--steel-600); font-weight: 600; width: 42%; }
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-stepper button {
  background: var(--steel-100);
  border: none;
  width: 36px;
  font-size: 16px;
  font-weight: 700;
}
.qty-stepper input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
}
.pdp-actions { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.pdp-tabs { border-top: 1px solid var(--steel-100); margin-top: 30px; padding-top: 20px; }
.pdp-tabs h4 { font-size: 15px; margin-bottom: 8px; }
.pdp-tabs p, .pdp-tabs li { color: var(--steel-600); font-size: 14px; }
.pdp-tabs ul { margin: 8px 0; padding-left: 18px; list-style: disc; }

.related-heading { margin-top: 60px; }

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: flex-start;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--steel-600);
  background: var(--steel-100);
  padding: 12px 14px;
}
.cart-table td {
  padding: 14px;
  border-top: 1px solid var(--steel-100);
  font-size: 14px;
  vertical-align: middle;
}
.cart-item-info { display: flex; gap: 12px; align-items: center; }
.cart-item-thumb {
  width: 60px; height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--steel-100);
  flex: none;
}
.cart-item-name { font-weight: 700; font-size: 13.5px; }
.cart-item-pn { font-family: var(--font-mono); font-size: 12px; color: var(--steel-600); }
.remove-link { color: var(--red-600); font-size: 12.5px; font-weight: 600; }

.summary-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 90px;
}
.summary-card h3 { margin-top: 0; font-size: 17px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--steel-600); }
.summary-row.total { color: var(--navy-950); font-weight: 800; font-size: 17px; border-top: 1px solid var(--steel-100); margin-top: 8px; padding-top: 14px; }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; padding: 9px 10px; border: 1px solid var(--steel-200); border-radius: var(--radius); font-size: 13px; }

/* ---------- Forms (checkout / contact) ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 26px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--navy-950); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-section-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--steel-600); margin: 24px 0 12px; font-weight: 700; }
.form-section-title:first-child { margin-top: 0; }

.checkout-steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.checkout-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--steel-600);
  padding: 8px 14px; border-radius: 999px; background: var(--steel-100);
}
.checkout-step.active { background: var(--navy-900); color: var(--white); }
.checkout-step .num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

.confirmation-box {
  text-align: center;
  padding: 70px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.confirmation-box .ico {
  width: 70px; height: 70px; margin: 0 auto 20px;
  border-radius: 50%;
  background: #e4f4ea;
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}

/* ---------- About page ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  margin: 40px 0;
}
.stat-row div {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 22px 12px;
}
.stat-row strong { display: block; font-size: 28px; color: var(--navy-900); }
.stat-row span { font-size: 12.5px; color: var(--steel-600); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  padding: 22px;
}
.value-card .ico {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

/* ---------- Newsletter / CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 6px; font-size: 22px; }
.cta-band p { margin: 0; color: var(--steel-200); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-200);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 24px 30px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--steel-200); }
.footer-col a:hover { color: var(--amber-500); }
.footer-col p { font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--steel-400);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-badges { display: flex; gap: 10px; }
.footer-badges span {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-950);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .ico { color: var(--amber-500); }

/* ---------- Misc ---------- */
.page-header {
  background:
    linear-gradient(120deg, rgba(8,20,40,0.62), rgba(12,34,64,0.55)),
    var(--header-photo, none) center 42% / cover no-repeat,
    var(--navy-900);
  color: var(--white);
  padding: 46px 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.page-header h1 { margin: 0 0 6px; font-size: 28px; }
.page-header p { margin: 0; color: var(--steel-200); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .header-search { display: none; }
  .header-inner { flex-wrap: wrap; }
  .hero h1 { font-size: 30px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
