/* ═══════════════════════════════════════════════════════
   ENGINE SWAP AUTOS — main.css
   ═══════════════════════════════════════════════════════ */

:root {
  --navy:        #1a2c4e;
  --navy-dark:   #111f38;
  --orange:      #e87722;
  --orange-hover:#cf6510;
  --gray-bg:     #f5f5f5;
  --gray-mid:    #e0e0e0;
  --gray-light:  #f0f4f8;
  --text-dark:   #1a1a1a;
  --text-mid:    #555555;
  --text-light:  #888888;
  --green:       #28a745;
  --white:       #ffffff;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--white); color: var(--text-dark); line-height: 1.5; }
h1, h2, h3 { font-family: Georgia, serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ── LAYOUT WRAPPER ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ════════════════════════════════════════════════════════
   NAVBAR — 4 BARS
   ════════════════════════════════════════════════════════ */

/* BAR 1 — Top Strip */
.top-strip {
  background: var(--navy-dark);
  height: 34px;
  display: flex;
  align-items: center;
}
.top-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.top-strip-left  { font-size: 12px; color: rgba(255,255,255,.85); }
.top-strip-center{ font-size: 12px; color: rgba(255,255,255,.75); display: flex; gap: 16px; align-items: center; }
.top-strip-center span { display: flex; align-items: center; gap: 5px; }
.top-strip-right { font-size: 12px; }
.top-strip-right a { color: rgba(255,255,255,.75); transition: color .2s; }
.top-strip-right a:hover { color: var(--orange); }

/* BAR 2 — Main Nav */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.main-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px;
}

/* Logo */
.logo-wrap { flex-shrink: 0; text-decoration: none; }
.logo-text  { font-family: Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: .5px; }
.logo-engine, .logo-swap { color: var(--navy); }
.logo-autos { color: var(--orange); }
.logo-sub   { font-size: 9px; color: var(--text-light); letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; font-family: 'Segoe UI', sans-serif; }

/* Search */
.nav-search-form { flex: 1; display: flex; max-width: 500px; }
.nav-search-input {
  flex: 1; padding: 10px 14px;
  border: 1px solid var(--gray-mid); border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 13.5px; outline: none; color: var(--text-dark);
  font-family: inherit;
  transition: border-color .2s;
}
.nav-search-input:focus { border-color: var(--navy); }
.nav-search-btn {
  padding: 10px 20px;
  background: var(--orange); color: var(--white);
  border-radius: 0 4px 4px 0;
  font-weight: 700; font-size: 13px; letter-spacing: .5px;
  transition: background .2s; white-space: nowrap;
}
.nav-search-btn:hover { background: var(--orange-hover); }

/* Right side */
.nav-right { flex-shrink: 0; display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-phone-block { text-align: right; }
.nav-phone-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.nav-phone-num   { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: .3px; }
.nav-phone-num:hover { color: var(--orange); }
.btn-quote {
  background: var(--orange); color: var(--white);
  padding: 10px 20px; border-radius: 4px;
  font-weight: 700; font-size: 13px; letter-spacing: .3px;
  transition: background .2s; white-space: nowrap;
}
.btn-quote:hover { background: var(--orange-hover); }
.btn-cart {
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--gray-mid);
  padding: 9px 16px; border-radius: 4px;
  display: flex; align-items: center; gap: 7px;
  font-size: 18px; transition: border-color .2s;
  position: relative;
}
.btn-cart:hover { border-color: var(--navy); }
.cart-label { font-size: 12px; font-weight: 700; color: var(--navy); }
.cart-count-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--orange); color: white;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; display: block; transition: .3s; }
.mobile-menu-panel { display: none; background: var(--white); border-top: 1px solid var(--gray-mid); padding: 16px 20px; }
.mobile-menu-panel.open { display: block; }
.mobile-menu-panel a { display: block; padding: 10px 0; font-size: 14px; color: var(--text-dark); border-bottom: 1px solid var(--gray-mid); }
.mobile-menu-panel a:last-child { border-bottom: none; }

/* BAR 3 — Trust Strip */
.trust-strip {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  padding: 8px 0;
}
.trust-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 6px;
}
.trust-item { font-size: 12px; color: var(--navy); font-weight: 600; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust-item .ck { color: var(--green); font-weight: 700; }

/* BAR 4 — Category Nav */
.cat-nav { background: var(--navy); }
.cat-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  padding: 13px 18px; color: rgba(255,255,255,.85);
  font-size: 12px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; white-space: nowrap;
  display: inline-block; transition: background .2s;
  border-bottom: 3px solid transparent;
}
.cat-nav-link:hover  { background: rgba(255,255,255,.1); }
.cat-nav-link.active { background: var(--orange); border-bottom-color: var(--orange-hover); }

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #111f38 0%, #1e3a5f 100%);
  padding: 64px 20px 48px;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 60px; align-items: center; flex-wrap: wrap;
}
.hero-left  { flex: 1; min-width: 380px; }
.hero-right { flex: 1; min-width: 300px; position: relative; }

.hero-badge {
  display: inline-block;
  background: rgba(232,119,34,.18); border: 1px solid var(--orange);
  color: var(--orange); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; border-radius: 20px;
  padding: 5px 16px; margin-bottom: 20px;
}
.hero-h1 {
  color: var(--white); font-size: 42px; font-weight: 800;
  font-family: Georgia, serif; line-height: 1.12; margin-bottom: 16px;
}
.hero-h1 .accent { color: var(--orange); }
.hero-p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.75; margin-bottom: 30px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 14px 30px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: background .2s;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
  padding: 14px 30px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.9); }

.hero-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.hero-stat-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--orange); color: var(--white);
  padding: 16px 22px; border-radius: 8px;
  box-shadow: 0 6px 20px rgba(232,119,34,.45);
}
.hero-stat-num { font-size: 28px; font-weight: 800; line-height: 1; }
.hero-stat-lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; opacity: .9; }

/* Info boxes below hero */
.hero-info-boxes { display: flex; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.hero-info-box {
  flex: 1; min-width: 240px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; padding: 22px 26px;
  display: flex; align-items: flex-start; gap: 16px;
}
.hero-box-content {}
.hero-box-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-box-sub   { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.hero-box-link  { font-size: 13px; color: var(--orange); font-weight: 600; }
.hero-box-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════
   SECTION SHARED STYLES
   ════════════════════════════════════════════════════════ */
.section-title { font-family: Georgia, serif; font-size: 30px; color: var(--navy); text-align: center; margin-bottom: 10px; }
.section-sub   { font-size: 15px; color: var(--text-mid); text-align: center; margin-bottom: 36px; }

/* ════════════════════════════════════════════════════════
   SHOP BY BRAND
   ════════════════════════════════════════════════════════ */
.brands-section { background: var(--white); padding: 64px 20px; }
.brand-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-pill {
  background: var(--white); border: 2px solid var(--navy); color: var(--navy);
  padding: 10px 22px; border-radius: 30px;
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 9px;
  cursor: pointer; transition: background .2s, color .2s;
}
.brand-pill:hover { background: var(--navy); color: var(--white); }
.pill-count {
  background: var(--orange); color: var(--white);
  border-radius: 10px; padding: 2px 9px;
  font-size: 11px; font-weight: 700;
}

/* ════════════════════════════════════════════════════════
   PRODUCT GRID
   ════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* ════════════════════════════════════════════════════════
   PRODUCT CARD
   ════════════════════════════════════════════════════════ */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.13);
  transform: translateY(-3px);
}

/* Image */
.card-img-wrap { height: 200px; overflow: hidden; position: relative; background: var(--gray-light); }
.card-img-wrap img {
  object-fit: cover; width: 100%; height: 100%;
  transition: transform .35s ease; display: block;
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Badges */
.card-badges { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.badge-stock { background: var(--green);    color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: .3px; }
.badge-hot   { background: var(--orange);   color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; }
.badge-oos   { background: #dc3545;         color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; }
.badge-rare  { background: #6d28d9;         color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; }

/* Body */
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-brand    { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--orange); text-transform: uppercase; margin-bottom: 6px; }
.card-name     { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.card-name a   { color: inherit; }
.card-name a:hover { color: var(--orange); }
.card-sku      { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.card-warranty { font-size: 11px; color: var(--green); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.card-price    { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 14px; margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card-orig     { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.card-save-chip{ font-size: 11px; color: var(--green); font-weight: 700; background: #e8f5e9; padding: 2px 8px; border-radius: 3px; }
.btn-view-details {
  width: 100%; background: var(--orange); color: var(--white);
  border: none; border-radius: 4px; padding: 10px;
  font-weight: 700; font-size: 13px; transition: background .2s;
  text-align: center; cursor: pointer; display: block;
  font-family: inherit; letter-spacing: .3px;
}
.btn-view-details:hover { background: var(--orange-hover); }

/* ════════════════════════════════════════════════════════
   FEATURED SECTION
   ════════════════════════════════════════════════════════ */
.featured-section { background: var(--gray-bg); padding: 64px 20px; }
.view-all-wrap { text-align: center; }
.btn-view-all {
  background: var(--navy); color: var(--white); border: none;
  padding: 14px 40px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: background .2s;
  cursor: pointer; font-family: inherit; letter-spacing: .3px;
}
.btn-view-all:hover { background: var(--navy-dark); }

/* ════════════════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════════════════ */
.why-section { background: var(--white); padding: 64px 20px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.why-card {
  background: var(--gray-bg); border: 1px solid var(--gray-mid);
  border-radius: 8px; padding: 30px 24px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); transform: translateY(-2px); }
.why-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; font-family: 'Segoe UI', sans-serif; }
.why-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* ════════════════════════════════════════════════════════
   CTA STRIP
   ════════════════════════════════════════════════════════ */
.cta-section { background: var(--navy); padding: 64px 20px; }
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.cta-left h2 { font-family: Georgia, serif; font-size: 28px; color: var(--white); margin-bottom: 10px; }
.cta-left p  { color: rgba(255,255,255,.7); font-size: 15px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-cta-primary {
  background: var(--orange); color: var(--white); border: none;
  padding: 14px 28px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: background .2s; cursor: pointer;
}
.btn-cta-primary:hover { background: var(--orange-hover); }
.btn-cta-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  padding: 14px 28px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: border-color .2s;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,.9); }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
footer { background: var(--navy-dark); color: var(--white); padding: 54px 20px 0; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo     { font-family: Georgia, serif; font-size: 22px; font-weight: 700; margin-bottom: 14px; display: block; }
.footer-tagline  { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 18px; }
.footer-contact  { font-size: 13px; color: rgba(255,255,255,.7); line-height: 2.1; }
.footer-col h4   { font-size: 12px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; font-family: 'Segoe UI', sans-serif; }
.footer-col a    { color: rgba(255,255,255,.6); font-size: 13px; display: block; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-hours    { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 14px; line-height: 1.8; }
.footer-bottom   { max-width: 1200px; margin: 0 auto; padding: 20px 0; text-align: center; color: rgba(255,255,255,.35); font-size: 12px; }

/* ════════════════════════════════════════════════════════
   ALL PRODUCTS PAGE
   ════════════════════════════════════════════════════════ */
.products-page { background: var(--gray-bg); min-height: 60vh; padding: 32px 20px 60px; }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }
.page-h1 { font-family: Georgia, serif; font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.result-info { font-size: 14px; color: var(--text-light); margin-bottom: 22px; }

.filter-row { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.filter-search {
  padding: 9px 14px; border: 1px solid var(--gray-mid);
  border-radius: 4px; font-size: 13.5px; min-width: 200px;
  font-family: inherit; outline: none; background: var(--white);
  transition: border-color .2s; color: var(--text-dark);
}
.filter-search:focus { border-color: var(--navy); }
.filter-select {
  padding: 9px 14px; border: 1px solid var(--gray-mid);
  border-radius: 4px; font-size: 13.5px; background: var(--white);
  font-family: inherit; outline: none; cursor: pointer;
  transition: border-color .2s; color: var(--text-dark);
}
.filter-select:focus { border-color: var(--navy); }
.filter-count { font-size: 13px; color: var(--text-light); margin-left: auto; white-space: nowrap; }

/* ════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ════════════════════════════════════════════════════════ */
.product-detail-page { background: var(--gray-bg); padding: 32px 20px 60px; min-height: 60vh; }
.detail-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  align-items: flex-start;
}
.detail-img-wrap {
  border-radius: 12px; overflow: hidden;
  background: var(--white); box-shadow: 0 4px 24px rgba(0,0,0,.1);
  position: sticky; top: 24px;
}
.detail-img { width: 100%; display: block; }

.detail-info {}
.detail-category{ font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--orange); text-transform: uppercase; margin-bottom: 6px; }
.detail-name    { font-family: Georgia, serif; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }

.detail-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.detail-price   { font-size: 34px; font-weight: 800; color: var(--navy); font-family: Georgia, serif; }
.detail-orig    { font-size: 18px; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.detail-save    { font-size: 14px; color: var(--green); font-weight: 700; margin-bottom: 16px; }

.detail-warranty-bar {
  background: #f0fff4; border: 1px solid #c3e6cb;
  color: var(--green); padding: 12px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
  display: flex; align-items: center; gap: 8px;
}

.detail-specs { margin-bottom: 22px; border: 1px solid var(--gray-mid); border-radius: 6px; overflow: hidden; }
.spec-row { display: flex; padding: 11px 16px; border-bottom: 1px solid var(--gray-mid); font-size: 14px; }
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(even) { background: var(--gray-light); }
.spec-label { font-weight: 600; color: var(--text-mid); width: 140px; flex-shrink: 0; }
.spec-val   { color: var(--text-dark); }

.detail-desc { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 22px; }

.detail-features h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--navy); margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; }
.feature-item { font-size: 13.5px; color: var(--text-dark); padding: 5px 0; display: flex; align-items: flex-start; gap: 9px; }
.feat-ck { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.detail-features { margin-bottom: 28px; }

.btn-add-cart {
  width: 100%; background: var(--orange); color: var(--white);
  border: none; padding: 15px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: background .2s;
  margin-bottom: 10px; cursor: pointer; font-family: inherit; letter-spacing: .3px;
}
.btn-add-cart:hover { background: var(--orange-hover); }
.btn-get-quote-det {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; padding: 15px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: background .2s;
  cursor: pointer; font-family: inherit; letter-spacing: .3px;
}
.btn-get-quote-det:hover { background: var(--navy-dark); }

/* Related products */
.related-section { background: var(--gray-bg); padding: 48px 20px; border-top: 1px solid var(--gray-mid); }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-title { font-family: Georgia, serif; font-size: 22px; color: var(--navy); margin-bottom: 22px; }

/* Toast */
.toast-msg {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  background: var(--navy-dark); color: white;
  padding: 13px 20px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  border-left: 4px solid var(--orange);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  animation: slideUp .3s ease;
  display: none;
}
.toast-msg.show { display: block; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ════════════════════════════════════════════════════════
   CARD BUTTON ROW (Add to Cart + Details)
   ════════════════════════════════════════════════════════ */
.card-btn-row { display: flex; gap: 8px; margin-top: auto; }
.btn-cart-sm {
  flex: 1; padding: 9px 8px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 4px;
  font-weight: 700; font-size: 12.5px; cursor: pointer;
  transition: background .2s; white-space: nowrap;
  font-family: inherit;
}
.btn-cart-sm:hover { background: var(--navy-dark); }
.btn-cart-sm:disabled { opacity: .4; cursor: not-allowed; background: #999; }
.btn-details-sm {
  flex: 1; padding: 9px 8px;
  background: var(--orange); color: var(--white);
  border-radius: 4px; font-weight: 700; font-size: 12.5px;
  transition: background .2s; text-align: center;
  display: inline-block;
}
.btn-details-sm:hover { background: var(--orange-hover); }

.btn-quote-card {
  width: 100%; margin-top: 8px; padding: 9px 8px;
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy); border-radius: 4px;
  font-weight: 700; font-size: 12.5px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-quote-card:hover { background: var(--navy); color: var(--white); }

/* ════════════════════════════════════════════════════════
   CART DRAWER
   ════════════════════════════════════════════════════════ */
.cart-overlay-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  display: none; opacity: 0;
  transition: opacity .3s;
}
.cart-overlay-bg.show { display: block; opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: -460px; bottom: 0;
  width: 440px; max-width: 100vw;
  background: var(--white);
  z-index: 1101;
  display: flex; flex-direction: column;
  box-shadow: -6px 0 32px rgba(0,0,0,.18);
  transition: right .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { right: 0; }

.cart-drawer-head {
  background: var(--navy-dark);
  color: white;
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cart-drawer-head h3 { font-size: 18px; font-family: Georgia, serif; }
.cart-close-btn {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 24px; cursor: pointer; line-height: 1;
  padding: 0 4px; transition: color .2s;
}
.cart-close-btn:hover { color: white; }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 0; }
.cart-empty-msg {
  text-align: center; padding: 60px 24px;
  color: var(--text-light); font-size: 15px;
}
.cart-empty-msg span { font-size: 40px; display: block; margin-bottom: 12px; }

.cart-item {
  display: flex; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--gray-mid);
  align-items: flex-start;
}
.cart-item-img {
  width: 72px; height: 56px; border-radius: 4px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--gray-mid);
  background: var(--gray-light);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.cart-item-sub  { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--navy); }
.qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.qty-btn {
  width: 26px; height: 26px;
  border: 1.5px solid var(--gray-mid); border-radius: 4px;
  background: var(--white); cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qty-btn:hover { background: var(--gray-light); }
.qty-num { font-size: 14px; font-weight: 700; color: var(--text-dark); min-width: 22px; text-align: center; }
.cart-remove-btn {
  background: none; border: none; color: #ccc;
  font-size: 18px; cursor: pointer; padding: 0; line-height: 1;
  transition: color .2s; flex-shrink: 0; margin-top: 2px;
}
.cart-remove-btn:hover { color: #dc3545; }

.cart-drawer-foot {
  border-top: 2px solid var(--gray-mid);
  padding: 16px 20px; flex-shrink: 0;
  background: var(--gray-light);
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: var(--text-mid); margin-bottom: 6px;
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin-bottom: 14px; padding-top: 10px;
  border-top: 1px solid var(--gray-mid);
}
.cart-ship-note {
  font-size: 12px; color: var(--green); font-weight: 600;
  margin-bottom: 12px; text-align: center;
}
.btn-place-order {
  display: block; width: 100%; padding: 14px;
  background: var(--orange); color: white !important; border: none;
  border-radius: 4px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .2s;
  font-family: inherit; letter-spacing: .3px;
  text-align: center; text-decoration: none;
}
.btn-place-order:hover { background: var(--orange-hover); color: white !important; }
.btn-continue-shopping {
  width: 100%; padding: 10px;
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--gray-mid); border-radius: 4px;
  font-weight: 600; font-size: 13px; cursor: pointer;
  margin-top: 8px; transition: border-color .2s; font-family: inherit;
}
.btn-continue-shopping:hover { border-color: var(--navy); }

/* ════════════════════════════════════════════════════════
   ORDER MODAL
   ════════════════════════════════════════════════════════ */
.order-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1200;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.order-modal.show { display: flex; }
.order-modal-inner {
  background: var(--white);
  border-radius: 8px;
  max-width: 640px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.omodal-head {
  background: var(--navy-dark); color: white;
  padding: 20px 24px; border-radius: 8px 8px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 1;
}
.omodal-head h3 { font-size: 18px; font-family: Georgia, serif; }
.omodal-close {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px;
}
.omodal-close:hover { color: white; }

.omodal-body { padding: 24px; }
.omodal-order-summary {
  background: var(--gray-light); border: 1px solid var(--gray-mid);
  border-radius: 6px; padding: 14px 16px; margin-bottom: 22px;
}
.omodal-order-summary h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--navy); margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
}
.osummary-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-mid); margin-bottom: 5px;
}
.osummary-total {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 800; color: var(--navy);
  border-top: 1px solid var(--gray-mid); padding-top: 10px; margin-top: 8px;
}

.ofield-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ofield-group.full { grid-template-columns: 1fr; }
.ofield { display: flex; flex-direction: column; gap: 5px; }
.ofield label { font-size: 12px; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: .3px; }
.ofield label .opt { font-weight: 400; color: var(--text-light); text-transform: none; font-size: 11px; }
.ofield input, .ofield select, .ofield textarea {
  padding: 9px 12px;
  border: 1px solid var(--gray-mid); border-radius: 4px;
  font-size: 14px; font-family: inherit; color: var(--text-dark);
  transition: border-color .2s; background: var(--white);
}
.ofield input:focus, .ofield select:focus, .ofield textarea:focus {
  outline: none; border-color: var(--orange);
}
.ofield textarea { resize: vertical; min-height: 70px; }

.payment-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pay-opt {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1.5px solid var(--gray-mid);
  border-radius: 4px; cursor: pointer; font-size: 13px;
  transition: border-color .2s; color: var(--text-dark);
}
.pay-opt:hover { border-color: var(--orange); }
.pay-opt input { accent-color: var(--orange); width: 14px; height: 14px; }
.pay-opt.selected { border-color: var(--orange); background: #fff8f2; color: var(--navy); font-weight: 600; }

.osection-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--navy);
  margin-bottom: 12px; margin-top: 4px;
  font-family: 'Segoe UI', sans-serif;
}
.btn-submit-order {
  width: 100%; padding: 15px;
  background: var(--orange); color: white; border: none;
  border-radius: 4px; font-weight: 700; font-size: 15px;
  cursor: pointer; font-family: inherit; transition: background .2s;
  letter-spacing: .3px; margin-top: 6px;
}
.btn-submit-order:hover { background: var(--orange-hover); }
.order-success-msg {
  display: none; text-align: center; padding: 40px 24px;
  background: #f0fff4; border-top: 1px solid #c3e6cb;
}
.order-success-msg h3 { color: #155724; font-size: 22px; margin-bottom: 8px; }
.order-success-msg p { color: #1e7e34; font-size: 14px; }

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; right: -100vw; }
  .ofield-group { grid-template-columns: 1fr; }
  .card-btn-row { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-left  { min-width: 100%; }
  .hero-right { min-width: 100%; margin-top: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-img-wrap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .top-strip-center { display: none; }
}
@media (max-width: 680px) {
  .nav-right { display: none; }
  .nav-search-form { display: none; }
  .hamburger { display: flex; }
  .main-nav-inner { flex-wrap: wrap; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 30px; }
  .hero-stat-badge { bottom: -10px; left: 0; }
  .trust-inner { justify-content: flex-start; gap: 10px; padding: 10px 20px; }
  .top-strip-right { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-bottom { padding-bottom: 20px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
