/**
 * MOTORÖL.SHOP x FLATSPORT - High Performance Hub Stylesheet
 * Strict FlatSport Black & High-Contrast Motorsport Design System
 */

/* ==========================================================================
   1. VARIABLES: FLATSPORT BLACK & HIGH-CONTRAST MOTORSPORT
   ========================================================================== */
:root {
  --black: #000000;
  --carbon: #0d0f12;
  --carbon-subnav: #16191f;
  --white: #ffffff;
  --canvas: #f0f2f5;
  --sport-red: #e10600;
  --sport-red-hover: #b80000;
  --sport-neon: #00f0ff;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --radius: 3px;
  --header-total-height: 105px;
  --font-sport: "Impact", "Arial Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--canvas);
  color: #111111;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   2. FIXED HEADER (AMAZON LAYOUT IN REINEM FLATSPORT BLACK)
   ========================================================================== */
.fixed-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-total-height);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  background: var(--black);
}

/* Main Nav */
.nav-main {
  height: 65px;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  border-bottom: 1px solid #222222;
}

.brand-mark {
  font-family: var(--font-sport);
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-transform: uppercase;
  font-style: italic;
  white-space: nowrap;
}
.brand-mark span {
  color: var(--sport-red);
}

.nav-location {
  color: #bbbbbb;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.nav-location strong {
  color: var(--white);
  font-size: 12px;
  display: block;
}

/* Amazon Search Chassis im FlatSport Dynamic Style */
.search-chassis {
  flex: 1;
  max-width: 850px;
  display: flex;
  height: 42px;
  border-radius: var(--radius);
  overflow: visible;
  position: relative;
  border: 2px solid #262626;
  transition: border-color 0.2s;
}
.search-chassis:focus-within {
  border-color: var(--sport-red);
}

.search-cat-dropdown {
  background: #1a1a1a;
  color: #dddddd;
  border: none;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  border-right: 1px solid #333333;
  border-radius: 2px 0 0 2px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  background: var(--white);
  color: #111111;
}

.search-btn {
  background: var(--sport-red);
  color: var(--white);
  border: none;
  padding: 0 24px;
  font-family: var(--font-sport);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-style: italic;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background 0.15s;
}
.search-btn:hover {
  background: var(--sport-red-hover);
}

/* Search Autosuggest Flyout */
.search-autosuggest-flyout {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d5d9d9;
  border-top: 2px solid var(--sport-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 1002;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.suggest-item {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #111111;
  border-bottom: 1px solid #f0f2f2;
}
.suggest-item:hover {
  background: #f7f9fa;
  color: var(--sport-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}

.nav-user-status {
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}
.nav-user-status strong {
  font-size: 12px;
  display: block;
}

.nav-cart-pill {
  background: #1a1a1a;
  border: 1px solid #333333;
  padding: 8px 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.nav-cart-pill:hover {
  border-color: var(--sport-red);
  color: var(--white);
}
.cart-count {
  color: var(--sport-red);
  font-size: 14px;
  font-weight: 900;
}

/* Sub Nav */
.nav-sub {
  height: 40px;
  background: var(--carbon-subnav);
  color: #cfd4dc;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-sub a {
  color: #cfd4dc;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-sub a:hover {
  color: var(--white);
}
.nav-sub .highlight {
  color: var(--sport-red);
}

/* ==========================================================================
   3. BODY OFFSET (WEGEN FIXED HEADER)
   ========================================================================== */
.viewport-content {
  padding-top: calc(var(--header-total-height) + 16px);
  padding-bottom: 60px;
  min-height: calc(100vh - 280px);
}

/* ==========================================================================
   4. 4x 2x2 PRODUCT TILES (FLATSPORT MOTORSPORT LOOK)
   ========================================================================== */
.quad-cards-grid {
  max-width: 1560px;
  margin: 0 auto 30px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .quad-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .quad-cards-grid { grid-template-columns: 1fr; }
}

.amazon-quad-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.amazon-quad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-top-color: var(--sport-red);
}

.quad-card-header {
  margin-bottom: 10px;
}
.quad-card-title {
  font-family: var(--font-sport);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-style: italic;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 4px;
}
.quad-card-subhead {
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--radius);
  background: #f3f4f6;
  color: #374151;
}
.subhead-live {
  background: #fee2e2;
  color: var(--sport-red);
}
.subhead-hour {
  background: #fef3c7;
  color: #d97706;
}
.subhead-today {
  background: #e0f2fe;
  color: #0284c7;
}
.subhead-week {
  background: #dcfce7;
  color: #15803d;
}

.quad-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 12px 0;
}
.quad-product-cell {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid #f3f4f6;
  background: var(--white);
  transition: all 0.15s ease;
}
.quad-product-cell:hover {
  background: #fafafa;
  border-color: #d1d5db;
}
.quad-img-container {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  background: #ffffff;
}
.quad-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.quad-product-cell:hover .quad-img-container img {
  transform: scale(1.06);
}
.quad-prod-name {
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  height: 28px;
}
.quad-product-cell:hover .quad-prod-name {
  color: var(--sport-red);
}
.quad-prod-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.quad-price {
  font-family: var(--font-sport);
  font-size: 14px;
  font-style: italic;
  color: var(--black);
}
.quad-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  text-transform: uppercase;
}
.tag-live { background: #fee2e2; color: var(--sport-red); }
.tag-hour { background: #fef3c7; color: #b45309; }
.tag-today { background: #e0f2fe; color: #0369a1; }
.tag-week { background: #dcfce7; color: #166534; }

.quad-card-footer {
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}
.quad-footer-link {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sport-red);
  letter-spacing: 0.3px;
}
.quad-footer-link:hover {
  color: var(--sport-red-hover);
}

/* ==========================================================================
   5. AMAZON KATEGORIE-RAILS (HORIZONTAL SCROLL)
   ========================================================================== */
.rail-container {
  max-width: 1560px;
  margin: 0 auto 30px auto;
  padding: 0 24px;
}
.rail-header-box {
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rail-title {
  font-family: var(--font-sport);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-style: italic;
  color: var(--black);
}
.rail-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--sport-red);
  text-transform: uppercase;
}
.rail-link:hover {
  color: var(--sport-red-hover);
}

.rail-scroll-wrapper {
  position: relative;
  width: 100%;
}

.rail-track {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  gap: 16px;
  padding: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.rail-track::-webkit-scrollbar {
  height: 6px;
}
.rail-track::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

/* Arrow Navigation Buttons for Rails */
.rail-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.15s;
}
.rail-arrow-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.rail-arrow-btn.prev { left: -10px; }
.rail-arrow-btn.next { right: -10px; }

/* Amazon-Produktkarte im dynamischen Sport-Look */
.amz-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid #eaedf1;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.amz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: var(--black);
}

.badge-sport {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sport);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  text-transform: uppercase;
}
.badge-sport.red {
  background: var(--sport-red);
}

.card-thumb-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}
.card-thumb-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.amz-card:hover .card-thumb-wrap img {
  transform: scale(1.04);
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #111111;
}
.amz-card:hover .card-title {
  color: var(--sport-red);
}

.card-rating {
  color: #f59e0b;
  font-size: 11px;
  margin-bottom: 8px;
  font-weight: 700;
}
.card-rating span {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 10px;
}

/* Preis nach PAngV */
.price-box {
  margin-bottom: 8px;
}
.price-main {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-sport);
  letter-spacing: -0.5px;
  color: #111111;
}
.price-base {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 4px;
}

.delivery-status {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 12px;
}

.btn-cart-action {
  width: 100%;
  background: var(--canvas);
  border: 1px solid #d1d5db;
  padding: 9px;
  font-family: var(--font-sport);
  font-size: 12px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.btn-cart-action:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ==========================================================================
   6. FULL-WIDTH SCREENSIZE PROMOTION BANNERS (FLATSPORT DYNAMICS)
   ========================================================================== */
.screen-promo-breakout {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 30px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-top: 3px solid var(--sport-red);
  border-bottom: 3px solid var(--sport-red);
}

.promo-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 70px 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.promo-bg-watermark {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) skewX(-12deg);
  font-family: var(--font-sport);
  font-size: 180px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.promo-prehead {
  display: inline-block;
  background: var(--sport-red);
  color: var(--white);
  font-family: var(--font-sport);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 1px;
  padding: 4px 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  transform: skewX(-8deg);
}

.promo-heading {
  font-family: var(--font-sport);
  font-size: 58px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-style: italic;
  margin-bottom: 18px;
}
.promo-heading span {
  color: var(--sport-red);
}

.promo-copy {
  font-size: 16px;
  color: #9ca3af;
  max-width: 620px;
  line-height: 1.45;
  margin-bottom: 24px;
}

.promo-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-promo-primary {
  background: var(--sport-red);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-sport);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transform: skewX(-8deg);
  transition: all 0.15s;
}
.btn-promo-primary:hover {
  background: var(--white);
  color: var(--black);
}

.promo-spec-badge {
  border: 1px solid #333333;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
}
.promo-spec-badge strong {
  font-family: var(--font-sport);
  font-size: 18px;
  color: #ffffff;
}
.promo-spec-badge small {
  font-size: 10px;
  color: #888888;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .promo-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .promo-heading { font-size: 38px; }
  .search-chassis { max-width: none; }
}

/* ==========================================================================
   7. FULLSCREEN TDS/MSDS PAYWALL MODAL (FLATSPORT MOTORSPORT THEME)
   ========================================================================== */
.tds-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
}

.tds-fullscreen-container {
  width: 100vw;
  height: 100vh;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tds-modal-stripe {
  height: 4px;
  background: linear-gradient(90deg, #e10600, #ff4500, #00f0ff);
  flex-shrink: 0;
}

.tds-modal-header {
  height: 58px;
  background: var(--black);
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222222;
  flex-shrink: 0;
}

.tds-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tds-brand-tag {
  font-family: var(--font-sport);
  font-size: 20px;
  font-style: italic;
  color: #ffffff;
  text-transform: uppercase;
}
.tds-brand-tag span {
  color: var(--sport-red);
}
.tds-header-divider {
  color: #444444;
  font-weight: 700;
}
.tds-header-badge {
  font-size: 11px;
  font-weight: 800;
  background: #1a1e24;
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: var(--radius);
  border: 1px solid #334155;
  text-transform: uppercase;
}
.tds-lock-badge {
  font-family: var(--font-sport);
  font-size: 11px;
  font-style: italic;
  background: var(--sport-red);
  color: #ffffff;
  padding: 3px 10px;
  text-transform: uppercase;
  transform: skewX(-8deg);
  letter-spacing: 0.5px;
}
.tds-lock-badge.badge-unlocked {
  background: #059669;
}
.tds-header-title {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

.tds-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tds-btn-download {
  background: var(--sport-neon);
  color: var(--black);
  font-family: var(--font-sport);
  font-size: 12px;
  font-style: italic;
  padding: 7px 16px;
  text-transform: uppercase;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  transition: all 0.15s;
}
.tds-btn-download:hover {
  background: #ffffff;
}

.tds-btn-close {
  background: transparent;
  border: 1px solid #444444;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.tds-btn-close:hover {
  background: var(--sport-red);
  border-color: var(--sport-red);
}

.tds-modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #090b0e;
  display: flex;
}

.tds-paywall-gate {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
}

.tds-gate-card {
  background: #11141a;
  border: 1px solid #262b35;
  border-top: 3px solid var(--sport-red);
  border-radius: var(--radius);
  padding: 40px 48px;
  max-width: 660px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6);
  position: relative;
  z-index: 5;
}

.tds-gate-icon {
  margin-bottom: 14px;
}

.tds-gate-prehead {
  font-family: var(--font-sport);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--sport-red);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}

.tds-gate-heading {
  font-family: var(--font-sport);
  font-size: 32px;
  font-style: italic;
  letter-spacing: -0.5px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.tds-gate-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.tds-gate-price-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #262b36;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.price-callout-label {
  font-family: var(--font-sport);
  font-size: 11px;
  font-style: italic;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.price-callout-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.price-callout-value .val-num {
  font-family: var(--font-sport);
  font-size: 38px;
  font-style: italic;
  color: var(--sport-neon);
}
.price-callout-value .val-tax {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.price-callout-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 4px;
}

.tds-gate-action-wrap {
  margin-bottom: 16px;
}

.btn-instant-unlock-sport {
  width: 100%;
  background: var(--sport-red);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: var(--font-sport);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.btn-instant-unlock-sport:hover {
  background: var(--sport-red-hover);
}

.tds-gate-security-note {
  font-size: 11px;
  color: #64748b;
}

.tds-gate-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-8deg);
  font-family: var(--font-sport);
  font-size: 72px;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

#tdsIframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.tds-modal-footer {
  height: 42px;
  background: var(--black);
  border-top: 1px solid #222222;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}
.tds-footer-left strong {
  color: #cbd5e1;
}
.tds-footer-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: var(--font-sport);
  font-size: 11px;
  font-style: italic;
  cursor: pointer;
}
.tds-footer-close-btn:hover {
  color: var(--white);
}

/* ==========================================================================
   8. FOOTER STYLES (MATCHING FLATSPORT DARK CARBON LOOK)
   ========================================================================== */
.nav-back-to-top {
  background: #1f242d;
  color: #9ca3af;
  text-align: center;
  padding: 14px 0;
  font-family: var(--font-sport);
  font-size: 13px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s;
}
.nav-back-to-top:hover {
  background: #2b323e;
  color: var(--white);
}

.nav-footer-main {
  background: var(--carbon);
  color: #cbd5e1;
  border-top: 3px solid var(--sport-red);
  padding: 40px 0 30px 0;
}
.nav-footer-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .nav-footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .nav-footer-inner { grid-template-columns: 1fr; }
}

.nav-footer-col h5 {
  font-family: var(--font-sport);
  font-size: 16px;
  font-style: italic;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.nav-footer-col ul {
  list-style: none;
}
.nav-footer-col li {
  margin-bottom: 8px;
}
.nav-footer-col a {
  color: #94a3b8;
  font-size: 12.5px;
  transition: color 0.15s;
}
.nav-footer-col a:hover {
  color: var(--sport-red);
}

.nav-footer-brand-bar {
  border-top: 1px solid #1f242d;
  margin-top: 30px;
  padding-top: 24px;
}
.nav-footer-brand-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-lang-pills {
  display: flex;
  gap: 12px;
}
.footer-pill {
  border: 1px solid #2a303c;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 11px;
  color: #94a3b8;
}

.nav-footer-legal {
  background: var(--black);
  padding: 24px 0;
  border-top: 1px solid #1a1a1a;
  color: #64748b;
  font-size: 11px;
}
.nav-footer-legal-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.nav-footer-legal-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.nav-footer-legal-links a {
  color: #94a3b8;
}
.nav-footer-legal-links a:hover {
  color: var(--sport-red);
}
.nav-footer-copyright {
  margin-bottom: 6px;
}

/* ==========================================================================
   9. PDP / SEARCH / CART COMPATIBILITY
   ========================================================================= */
/* Location Modal */
.location-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-modal-box {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.location-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.location-modal-header h3 {
  font-family: var(--font-sport);
  font-size: 18px;
  font-style: italic;
  text-transform: uppercase;
}
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.location-modal-body p {
  color: var(--text-muted);
  margin-bottom: 14px;
}
.zip-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.zip-input-group input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 14px;
}
.btn-zip-submit {
  background: var(--sport-red);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  font-family: var(--font-sport);
  font-size: 12px;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
}
.zip-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}
.zip-presets button {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
}
.zip-presets button:hover {
  background: var(--black);
  color: var(--white);
}

/* Mobile Drawer */
.nav-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
}
.nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 320px;
  background: #ffffff;
  z-index: 2001;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}
.nav-drawer-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-title {
  font-family: var(--font-sport);
  font-size: 16px;
  font-style: italic;
  text-transform: uppercase;
}
.btn-drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}
.nav-drawer-content {
  padding: 20px;
}
.drawer-section {
  margin-bottom: 24px;
}
.drawer-section h4 {
  font-family: var(--font-sport);
  font-size: 14px;
  font-style: italic;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
}
.drawer-section ul {
  list-style: none;
}
.drawer-section li {
  margin-bottom: 8px;
}
.drawer-section a {
  color: #374151;
  font-size: 13px;
}
.drawer-section a:hover {
  color: var(--sport-red);
}


/* ==========================================================================
   SUBPAGES: SERP, PDP & CART (OFFSET FOR FIXED HEADER)
   ========================================================================== */
.amazon-serp-body, .amazon-pdp-body, .amazon-cart-body, .tds-portal-wrapper {
    padding-top: calc(var(--header-total-height) + 16px) !important;
}
/* ==========================================================================
   4. SEARCH & CATALOG SERP LAYOUT
   ========================================================================== */
.amazon-serp-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 16px 40px 16px;
}

.serp-meta-strip {
    background: #ffffff;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.serp-count-info {
    font-size: 14px;
    color: var(--amz-text);
}
.serp-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.serp-sort-box select {
    padding: 6px 10px;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    background: #f7fafa;
    cursor: pointer;
}

.serp-layout-container {
    display: flex;
    gap: 20px;
}

/* Left Filter Rail */
.serp-sidebar-filters {
    width: 260px;
    flex-shrink: 0;
}
.filter-section {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.filter-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--amz-text);
    margin-bottom: 8px;
}
.filter-list {
    list-style: none;
}
.filter-list li {
    margin-bottom: 6px;
}
.filter-item-link, .filter-prime-link, .filter-rating-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--amz-text);
    text-decoration: none;
}
.filter-item-link:hover, .filter-prime-link:hover {
    color: var(--amz-link-hover);
}
.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #888;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    background: #ffffff;
}
.custom-checkbox.checked {
    background-color: var(--amz-navy);
    border-color: var(--amz-navy);
}
.custom-checkbox.checked::after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}
.filter-active-pill {
    background: #f0f2f2;
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 8px;
}
.clear-pill {
    color: #cc0c39;
    font-weight: 700;
}
.btn-reset-filters {
    display: block;
    text-align: center;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    color: var(--amz-text);
    font-size: 13px;
    font-weight: 600;
}

/* Product Results Grid */
.serp-main-content {
    flex: 1;
}
.amazon-serp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.serp-product-card {
    background: var(--amz-card-bg);
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: box-shadow 0.15s ease;
}
.serp-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-badge-container {
    height: 22px;
    margin-bottom: 6px;
}
.card-img-link {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.card-product-img {
    max-height: 210px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.serp-product-card:hover .card-product-img {
    transform: scale(1.03);
}

.card-brand-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--amz-muted);
    font-weight: 700;
}
.card-title-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--amz-link);
    line-height: 1.35;
    margin: 4px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 56px;
}
.card-ratings-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 4px;
}
.review-count {
    color: var(--amz-link);
}
.card-bought-stat {
    font-size: 11px;
    color: var(--amz-muted);
    margin-bottom: 8px;
}

.card-price-block {
    margin-bottom: 8px;
}
.price-main-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.card-grundpreis {
    font-size: 11px;
    color: var(--amz-muted);
}
.price-uvp-line {
    font-size: 11px;
    color: var(--amz-muted);
    margin-top: 2px;
}
.save-tag {
    color: #cc0c39;
    font-weight: 700;
    margin-left: 4px;
}

.card-delivery-info {
    font-size: 12px;
    margin-bottom: 12px;
}
.prime-delivery-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
.stock-status {
    color: var(--amz-green);
    font-weight: 700;
    font-size: 12px;
}

.card-cart-btn {
    width: 100%;
}

/* Pagination */
.amazon-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 35px;
}
.page-num, .page-nav {
    padding: 8px 14px;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    background: #ffffff;
    color: var(--amz-text);
    font-weight: 600;
    font-size: 13px;
}
.page-num.active {
    background-color: var(--amz-navy);
    color: #ffffff;
    border-color: var(--amz-navy);
}

/* ==========================================================================
   5. PRODUCT DETAIL PAGE (PDP) - 3 COLUMNS
   ========================================================================== */
.amazon-pdp-body {
    max-width: 1560px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
    background: #ffffff;
}

.pdp-breadcrumbs {
    font-size: 12px;
    color: var(--amz-muted);
    padding: 10px 0;
    margin-bottom: 10px;
}
.pdp-breadcrumbs a {
    color: var(--amz-muted);
}
.pdp-breadcrumbs a:hover {
    color: var(--amz-link-hover);
}
.bc-sep {
    margin: 0 5px;
}
.bc-current {
    color: var(--amz-text);
    font-weight: 600;
}

.pdp-main-grid {
    display: grid;
    grid-template-columns: 460px 1fr 310px;
    gap: 28px;
}

/* Column 1: Vertical Gallery */
.gallery-wrapper {
    display: flex;
    gap: 14px;
    position: sticky;
    top: 60px;
}
.gallery-thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60px;
}
.thumb-item {
    width: 58px;
    height: 58px;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #ffffff;
    padding: 2px;
}
.thumb-item.active {
    border-color: #e77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}
.thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-main-view {
    flex: 1;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    background: #ffffff;
}
.gallery-main-view img {
    max-height: 440px;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.gallery-main-view:hover img {
    transform: scale(1.18);
}
.zoom-hint {
    position: absolute;
    bottom: 8px;
    font-size: 11px;
    color: var(--amz-muted);
}

/* Column 2: Center Details */
.pdp-brand-row {
    margin-bottom: 6px;
}
.pdp-brand-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--amz-link);
}
.pdp-product-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--amz-text);
    margin-bottom: 8px;
}

.pdp-rating-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 12px;
}
.pdp-rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}
.pdp-review-count a {
    color: var(--amz-link);
}
.pdp-bought-counter {
    color: var(--amz-muted);
}

.pdp-badge-wrap {
    margin-bottom: 12px;
}

.pdp-divider {
    height: 1px;
    background-color: #e7e7e7;
    margin: 14px 0;
}

.pdp-price-area {
    margin-bottom: 10px;
}
.pdp-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.price-discount-tag {
    font-size: 24px;
    color: #cc0c39;
    font-weight: 400;
}
.pdp-uvp-sub {
    font-size: 13px;
    color: var(--amz-muted);
    margin-top: 4px;
}
.pdp-grundpreis {
    margin-left: 6px;
    color: var(--amz-text);
}
.pdp-tax-note {
    font-size: 12px;
    color: var(--amz-muted);
    margin-top: 2px;
}

/* Variants Tiles */
.pdp-variants-container {
    margin-bottom: 14px;
}
.variants-title {
    font-size: 13px;
    margin-bottom: 8px;
}
.variants-title strong {
    margin-left: 4px;
}
.variants-tiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.variant-tile {
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    padding: 8px 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    min-width: 90px;
}
.variant-tile:hover {
    border-color: var(--amz-gold-dark);
}
.variant-tile.selected {
    border: 2px solid #e77600;
    background: #fdf8f4;
}
.v-size {
    font-size: 13px;
    font-weight: 700;
    color: var(--amz-text);
}
.v-price {
    font-size: 12px;
    color: var(--amz-muted);
}

/* TDS Button Box */
.pdp-datasheet-cta-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid #007185;
    border-radius: 4px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.datasheet-cta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pdf-icon {
    font-size: 26px;
}
.datasheet-cta-text strong {
    display: block;
    font-size: 14px;
    color: var(--amz-navy);
}
.datasheet-cta-text span {
    font-size: 12px;
    color: var(--amz-muted);
}
.btn-open-tds {
    border-radius: 8px !important;
}

/* Bulletpoints */
.bulletpoints-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--amz-text);
}
.bulletpoints-list {
    list-style: disc;
    padding-left: 20px;
}
.bulletpoints-list li {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.45;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.specs-table th {
    text-align: left;
    width: 35%;
    padding: 8px 10px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    color: var(--amz-muted);
}
.specs-table td {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    color: var(--amz-text);
    font-weight: 500;
}

/* Column 3: The Famous Buy-Box */
.pdp-buybox-col {
    position: sticky;
    top: 60px;
}
.amazon-buybox-panel {
    border: 1px solid var(--amz-border);
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.bb-price-row {
    margin-bottom: 4px;
}
.bb-grundpreis {
    font-size: 12px;
    color: var(--amz-muted);
    margin-bottom: 10px;
}
.bb-delivery-row {
    font-size: 14px;
    margin-bottom: 12px;
}
.delivery-lead {
    font-size: 14px;
    margin: 4px 0;
}
.delivery-countdown {
    font-size: 12px;
    color: var(--amz-muted);
}
.delivery-countdown strong {
    color: #cc0c39;
}

.bb-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--amz-link);
    margin-bottom: 14px;
    cursor: pointer;
}
.bb-stock-status {
    font-size: 18px;
    font-weight: 700;
    color: var(--amz-green);
    margin-bottom: 14px;
}

.bb-quantity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.bb-qty-select {
    padding: 6px 12px;
    border: 1px solid var(--amz-border);
    border-radius: 6px;
    background: #f0f2f2;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.bb-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.bb-btn-cart, .bb-btn-buy {
    width: 100%;
    font-size: 14px !important;
}

.bb-trust-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-bottom: 12px;
}
.trust-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--amz-link);
    margin-bottom: 8px;
}
.trust-meta-table {
    font-size: 11px;
    color: var(--amz-muted);
}
.meta-row {
    display: flex;
    margin-bottom: 3px;
}
.meta-lbl {
    width: 75px;
}
.meta-val {
    color: var(--amz-text);
    font-weight: 600;
}

.bb-gift-option {
    font-size: 12px;
    color: var(--amz-muted);
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-bottom: 14px;
}
.bb-wishlist-row {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}
.btn-add-wishlist {
    width: 100%;
    padding: 7px;
    background: #ffffff;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* ==========================================================================
   6. SHOPPING CART PAGE
   ========================================================================== */
.amazon-cart-body {
    max-width: 1560px;
    margin: 0 auto;
    padding: 16px 20px 40px 20px;
}
.amazon-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.cart-items-panel {
    background: #ffffff;
    padding: 24px;
    border-radius: 4px;
}
.cart-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--amz-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.cart-title {
    font-size: 28px;
    font-weight: 600;
}
.cart-header-price-label {
    font-size: 14px;
    color: var(--amz-muted);
}

.cart-empty-box {
    padding: 40px 0;
    text-align: center;
}
.empty-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 18px;
    border-bottom: 1px solid #e7e7e7;
    padding: 18px 0;
}
.cart-item-thumb-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img {
    max-height: 110px;
    object-fit: contain;
}
.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--amz-text);
}
.cart-item-brand {
    font-size: 12px;
    color: var(--amz-muted);
    margin-top: 2px;
}
.cart-item-stock-tag {
    color: var(--amz-green);
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}
.cart-item-prime-tag {
    font-size: 12px;
    margin-top: 2px;
}
.cart-item-meta {
    font-size: 12px;
    color: var(--amz-muted);
    margin-top: 4px;
    display: flex;
    gap: 12px;
}

.cart-item-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
}
.cart-qty-select {
    padding: 4px 8px;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    background: #f0f2f2;
}
.action-pipe {
    color: #ddd;
}
.cart-action-link {
    color: var(--amz-link);
}

.cart-item-price-box {
    text-align: right;
}
.cart-line-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--amz-text);
}

.cart-footer-subtotal {
    text-align: right;
    font-size: 18px;
    padding-top: 18px;
}
.cart-subtotal-val {
    font-size: 22px;
    font-weight: 800;
    margin-left: 6px;
}

/* Cart Summary Panel (Right) */
.cart-summary-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 4px;
    position: sticky;
    top: 60px;
}
.free-shipping-bar {
    display: flex;
    gap: 8px;
    background: #f0fff4;
    border: 1px solid #bbf7d0;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.shipping-icon {
    color: var(--amz-green);
    font-weight: 900;
}
.shipping-text strong {
    font-size: 12px;
    color: var(--amz-green);
    display: block;
}
.shipping-text small {
    font-size: 11px;
    color: var(--amz-muted);
}

.summary-subtotal-row {
    font-size: 18px;
    margin-bottom: 14px;
}
.summary-subtotal-val {
    font-size: 22px;
    font-weight: 800;
    display: block;
    margin-top: 4px;
}
.summary-gift-check {
    font-size: 12px;
    margin-bottom: 16px;
}
.btn-checkout {
    width: 100%;
    font-size: 14px !important;
    padding: 12px !important;
}

.b2b-checkout-hint {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
}
.b2b-checkout-hint strong {
    color: var(--amz-navy);
}

/* ==========================================================================
   7. TDS FULLSCREEN MODAL (AMAZON A-Z / BUSINESS DESIGN)
   ========================================================================== */
.amazon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.amazon-modal-container {
    background: #ffffff;
    width: 90vw;
    height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.amazon-modal-header {
    background: var(--amz-navy);
    color: #ffffff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.business-badge {
    background: var(--amz-gold);
    color: var(--amz-navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 4px;
}
.modal-title {
    font-size: 18px;
    font-weight: 700;
}
.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.btn-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.amazon-modal-meta {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 24px;
    display: flex;
    gap: 28px;
    font-size: 12px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.meta-icon {
    color: var(--amz-green);
    font-weight: 900;
}

.amazon-modal-body {
    flex: 1;
    background: #525659;
}
.amazon-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.amazon-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-note {
    font-size: 11px;
    color: var(--amz-muted);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.nav-back-to-top {
    background-color: var(--amz-navy-active);
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.nav-back-to-top:hover {
    background-color: #485769;
}

.nav-footer-main {
    background-color: var(--amz-navy-light);
    color: #ffffff;
    padding: 40px 0 20px 0;
}
.nav-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.nav-footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}
.nav-footer-col ul {
    list-style: none;
}
.nav-footer-col li {
    margin-bottom: 8px;
}
.nav-footer-col a {
    color: #dddddd;
    font-size: 13px;
}
.nav-footer-col a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.nav-footer-brand-bar {
    border-top: 1px solid #3a4553;
    margin-top: 35px;
    padding-top: 25px;
}
.nav-footer-brand-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.footer-logo-tld {
    color: var(--amz-gold);
}
.footer-lang-pills {
    display: flex;
    gap: 10px;
}
.footer-pill {
    border: 1px solid #848688;
    border-radius: 3px;
    padding: 6px 12px;
    font-size: 12px;
    color: #cccccc;
}

.nav-footer-legal {
    background-color: var(--amz-navy);
    color: #777777;
    padding: 25px 20px 35px 20px;
    font-size: 11px;
    text-align: center;
}
.nav-footer-legal-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.nav-footer-legal-links a {
    color: #cccccc;
}
.nav-footer-copyright {
    color: #999999;
    margin-bottom: 6px;
}
.nav-footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    color: #666666;
}

/* Location Modal */
.location-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-modal-box {
    background: #ffffff;
    width: 440px;
    border-radius: 8px;
    padding: 24px;
}
.location-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.zip-input-group {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.zip-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    font-size: 14px;
}
.zip-presets {
    font-size: 12px;
    margin-top: 12px;
}
.zip-presets button {
    background: #f0f2f2;
    border: 1px solid var(--amz-border);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    margin: 4px 2px;
    cursor: pointer;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .quad-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .amazon-serp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pdp-main-grid {
        grid-template-columns: 380px 1fr 280px;
    }
}

@media (max-width: 900px) {
    .pdp-main-grid {
        grid-template-columns: 1fr;
    }
    .gallery-wrapper {
        position: static;
        flex-direction: column-reverse;
    }
    .gallery-thumbs-list {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .gallery-main-view {
        height: 340px;
    }
    .amazon-cart-layout {
        grid-template-columns: 1fr;
    }
    .serp-layout-container {
        flex-direction: column;
    }
    .serp-sidebar-filters {
        width: 100%;
    }
    .amazon-serp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-location {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-belt-inner {
        flex-wrap: wrap;
    }
    .nav-fill {
        order: 3;
        width: 100%;
    }
    .quad-cards-grid {
        grid-template-columns: 1fr;
    }
    .amazon-serp-grid {
        grid-template-columns: 1fr;
    }
    .hero-slide {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 26px;
    }
}
