/* ============================================================
   FastLane Machine — style.css
   Visual Rebrand 2026
   Design: Industrial / Precision-Machined Aesthetic
   Dark steel base · Machined aluminum accents · Signal orange CTA
   Fonts: Rajdhani (display) + Source Sans 3 (body)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --steel-900: #0d0e10;
  --steel-800: #14161a;
  --steel-750: #1a1d23;
  --steel-700: #22262e;
  --steel-600: #2e333d;
  --steel-500: #3d4350;
  --steel-400: #5a6170;
  --steel-300: #8a9099;
  --steel-200: #b8bdc4;
  --steel-100: #dde0e4;
  --steel-050: #f2f3f5;

  /* Aluminum accent — machined silver */
  --aluminum:     #c8cdd5;
  --aluminum-dim: #8a9099;

  /* Signal orange — CTA, highlights */
  --signal:       #f05a00;
  --signal-light: #ff7a28;
  --signal-dark:  #b84400;

  /* Red — sale/alert */
  --red:    #d93025;
  --red-bg: rgba(217, 48, 37, 0.12);

  /* Green — in-stock */
  --green:    #2ea84f;
  --green-bg: rgba(46, 168, 79, 0.12);

  /* Layout */
  --sidebar-width: 210px;
  --content-max:   1180px;
  --radius:        4px;
  --radius-lg:     8px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Global mobile safety — prevents any injected table layouts from overflowing */
img, table, td, video { max-width: 100%; }
table { border-collapse: collapse; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  background: var(--steel-800);
  color: var(--steel-100);
  line-height: 1.6;
  min-height: 100vh;
  /* Subtle brushed-metal noise texture */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.012) 2px,
      rgba(255,255,255,0.012) 3px
    );
}

a { color: var(--signal-light); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--signal); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--steel-050);
}

ul { list-style: none; }

/* ---------- PROMO BAR ---------- */
#promo-bar {
  background: var(--signal);
  color: #fff;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

/* ---------- HEADER AREA (desktop: constrained wrapper) ---------- */
#header-area {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ---------- UTILITY BAR (top strip above banner) ---------- */
#util-bar {
  background: var(--steel-900);
  border-bottom: 1px solid var(--steel-700);
  padding: 0 1.5rem;
}

#util-bar .inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 36px;
}

#util-bar a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-300);
  padding: 0 0.85rem;
  height: 100%;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid var(--steel-700);
  transition: color 0.2s, background 0.2s;
}
#util-bar a:hover { color: var(--aluminum); background: var(--steel-750); }

/* Util bar search form */
.util-search {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  border-right: 1px solid var(--steel-700);
  margin-left: auto;
  margin-right: 0;
}

.util-search input[type="text"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--steel-400);
  border-radius: 0;
  color: var(--steel-100);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  height: 22px;
  width: 150px;
  outline: none;
  transition: border-color 0.2s, width 0.25s;
  -webkit-box-shadow: 0 0 0 1000px #0d0e10 inset !important;
  box-shadow: 0 0 0 1000px #0d0e10 inset !important;
  -webkit-text-fill-color: var(--steel-100) !important;
}
.util-search input[type="text"]::placeholder {
  color: var(--steel-300);
  font-style: italic;
}
.util-search input[type="text"]:focus {
  border-bottom-color: var(--signal);
  color: var(--steel-050);
  width: 190px;
}

.util-search button {
  background: transparent;
  border: none;
  color: var(--steel-200);
  height: 22px;
  padding: 0 0.4rem;
  cursor: pointer;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.util-search button:hover { color: var(--signal-light); }

@media (max-width: 768px) {
  .util-search { display: none; }
}

/* ---------- HEADER BANNER (desktop only) ---------- */
#header-banner {
  display: block;
  width: 100%;
  line-height: 0;
}
#header-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- SITE HEADER ---------- */
#site-header {
  background: var(--steel-900);
  border-bottom: 2px solid var(--signal);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

#site-header .inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 50px;
  position: relative;
}

/* Logo — hidden on desktop, shown as text on mobile */
#site-logo {
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
#site-logo .logo-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-050);
}
#site-logo .logo-main span { color: var(--signal); }
#site-logo .logo-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  margin-top: 1px;
}

/* Main nav */
#main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  flex-wrap: nowrap;
  overflow: visible;
  min-width: 0;
}

#main-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-200);
  padding: 0 1rem;
  height: 70px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
#main-nav a:hover,
#main-nav a.active {
  color: var(--steel-050);
  border-bottom-color: var(--signal);
}

/* Special nav items */
#main-nav a.nav-sale {
  color: var(--red);
}
#main-nav a.nav-sale:hover { color: #ff4a3a; border-bottom-color: var(--red); }

#main-nav a.nav-new {
  color: var(--green);
}
#main-nav a.nav-new:hover { color: #3fcf63; border-bottom-color: var(--green); }

#main-nav a.nav-cart {
  margin-left: auto;
  background: var(--signal);
  color: #fff;
  padding: 0 1.2rem;
  border-bottom: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  height: 40px;
  margin-top: 0;
  transition: background 0.2s;
}
#main-nav a.nav-cart:hover { background: var(--signal-light); color: #fff; }

/* Cart item count badge */
#main-nav a.nav-cart .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  font-weight: 700;
}

/* ---------- PAGE WRAPPER ---------- */
#page-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Full-width variant (no sidebar) */
#page-wrap.no-sidebar {
  grid-template-columns: 1fr;
}

/* ---------- SIDEBAR ---------- */
#sidebar {
  position: sticky;
  top: calc(70px + 1.5rem);
}

.sidebar-section {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.sidebar-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  background: var(--steel-700);
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--steel-600);
}

.sidebar-section ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel-200);
  border-bottom: 1px solid var(--steel-700);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sidebar-section ul li:last-child a { border-bottom: none; }
.sidebar-section ul li a::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--steel-500);
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.sidebar-section ul li a:hover {
  background: var(--steel-700);
  color: var(--steel-050);
  padding-left: 1.25rem;
}
.sidebar-section ul li a:hover::before {
  background: var(--signal);
}

/* Warranty promo block */
.sidebar-warranty {
  background: linear-gradient(135deg, var(--steel-750) 0%, rgba(240,90,0,0.08) 100%);
  border: 1px solid rgba(240,90,0,0.3);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
}
.sidebar-warranty .warranty-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  display: block;
}
.sidebar-warranty .warranty-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  display: block;
  margin-bottom: 0.6rem;
}
.sidebar-warranty .warranty-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--steel-050);
  display: block;
  margin-bottom: 0.5rem;
}
.sidebar-warranty a.warranty-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-light);
  border: 1px solid rgba(240,90,0,0.4);
  border-radius: var(--radius);
  padding: 0.3rem 0.8rem;
  transition: background 0.2s, color 0.2s;
}
.sidebar-warranty a.warranty-link:hover {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}

/* ---------- MAIN CONTENT AREA ---------- */
#main-content {
  min-width: 0; /* prevent grid blowout */
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--steel-400);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--aluminum); }
.breadcrumb .sep { color: var(--steel-600); }
.breadcrumb .current { color: var(--steel-200); }

/* ---------- SECTION HEADINGS ---------- */
.section-heading {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-050);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--steel-600);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.4em;
  background: var(--signal);
  border-radius: 2px;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--signal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.product-card .card-img {
  aspect-ratio: 1;
  background: var(--steel-700);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .card-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card .card-img .img-placeholder {
  color: var(--steel-500);
  font-size: 2.5rem;
}

.product-card .card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .card-name {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-100);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  flex: 1;
}
.product-card .card-part {
  font-size: 0.7rem;
  color: var(--steel-400);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.product-card .card-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--signal-light);
}
.product-card .card-price .was {
  font-size: 0.8rem;
  color: var(--steel-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 0.3rem;
}

/* ---------- PRODUCT DETAIL ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
}

.product-detail .product-image-main {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-detail .product-image-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail .product-info {}
.product-detail .product-info h1 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}
.product-detail .product-part {
  font-size: 0.82rem;
  color: var(--steel-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price-block {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.price-block .list-price {
  font-size: 0.82rem;
  color: var(--steel-400);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}
.price-block .sale-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--signal-light);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.price-block .savings {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.stock-status.in-stock { color: var(--green); }
.stock-status.out-of-stock { color: var(--red); }
.stock-status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--steel-200);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.product-desc ul {
  list-style: none;
  padding: 0;
}
.product-desc ul li {
  padding: 0.2rem 0 0.2rem 1.2rem;
  position: relative;
  border-bottom: 1px solid var(--steel-700);
}
.product-desc ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 700;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--signal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--signal-light);
  color: #fff;
  box-shadow: 0 4px 16px rgba(240,90,0,0.35);
}

.btn-secondary {
  background: var(--steel-600);
  color: var(--steel-100);
}
.btn-secondary:hover {
  background: var(--steel-500);
  color: var(--steel-050);
}

.btn-outline {
  background: transparent;
  color: var(--signal-light);
  border: 1px solid var(--signal);
}
.btn-outline:hover {
  background: var(--signal);
  color: #fff;
}

.btn-lg { font-size: 1.05rem; padding: 0.85rem 2rem; }
.btn-full { width: 100%; }

/* ---------- CART / MODAL (preserve existing cart JS hooks) ---------- */
/* These IDs/classes must stay compatible with the existing cart JS */
#cartcontents { /* cart overlay — styled by cart JS, we just ensure z-index */ }

/* Cart widget in header */
.cart-widget {
  position: relative;
}

/* ---------- DISCOUNT / PROMO BANNER ---------- */
.promo-banner {
  background: linear-gradient(90deg, var(--steel-700), var(--steel-750), var(--steel-700));
  border: 1px solid var(--steel-600);
  border-left: 3px solid var(--signal);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aluminum);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.promo-banner::before {
  content: '🚚';
  font-size: 1rem;
}

/* ---------- MOST POPULAR LIST ---------- */
.popular-list {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.popular-list li {
  border-bottom: 1px solid var(--steel-700);
}
.popular-list li:last-child { border-bottom: none; }
.popular-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: var(--steel-200);
  transition: background 0.15s, color 0.15s;
}
.popular-list li a:hover {
  background: var(--steel-700);
  color: var(--steel-050);
}
.popular-list li a .rank {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--signal);
  width: 20px;
  flex-shrink: 0;
}

/* ---------- HOMEPAGE HERO ---------- */
.hero {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 200px;
}
/* Machined hex pattern background */
.hero::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 320px;
  height: 320px;
  background-image: repeating-linear-gradient(
    60deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.025) 18px,
    rgba(255,255,255,0.025) 19px
  ),
  repeating-linear-gradient(
    120deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.025) 18px,
    rgba(255,255,255,0.025) 19px
  );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(to right, var(--steel-750), transparent);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--steel-050);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.hero-body {
  font-size: 0.95rem;
  color: var(--steel-300);
  max-width: 420px;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.hero-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  color: var(--aluminum);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
}

/* ---------- QUICK LINKS (homepage icon cards) ---------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.quick-link-card {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: block;
  color: var(--steel-200);
}
.quick-link-card:hover {
  border-color: var(--signal);
  background: var(--steel-700);
  transform: translateY(-2px);
  color: var(--steel-050);
}
.quick-link-card .ql-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  display: block;
}
.quick-link-card .ql-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- TWO-COLUMN HOME LAYOUT ---------- */
.home-columns {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .home-columns { grid-template-columns: 1fr; }
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-block {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.contact-info-block h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--signal-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-info-block .info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--steel-200);
}
.contact-info-block .info-row .icon {
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FORM ELEMENTS ---------- */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  border-radius: var(--radius);
  color: var(--steel-050);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- ALERTS ---------- */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border-left: 3px solid;
}
.alert-info { background: rgba(138,144,153,0.12); border-color: var(--steel-400); color: var(--steel-200); }
.alert-success { background: var(--green-bg); border-color: var(--green); color: #5dd988; }
.alert-error { background: var(--red-bg); border-color: var(--red); color: #f07070; }

/* ---------- FOOTER ---------- */
#site-footer {
  background: var(--steel-900);
  border-top: 1px solid var(--steel-700);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

#site-footer .inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .logo-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-050);
  margin-bottom: 0.5rem;
}
.footer-brand .logo-main span { color: var(--signal); }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--steel-400);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  margin-bottom: 0.75rem;
}
.footer-col ul li {
  margin-bottom: 0.35rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--steel-400);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--aluminum); }

.footer-bottom {
  max-width: var(--content-max);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--steel-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--steel-500);
}
.footer-bottom a { color: var(--steel-400); }
.footer-bottom .made-in {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--steel-500);
}

/* ---------- CATEGORY TILE GRID ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.category-tile {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  display: block;
  color: var(--steel-200);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.category-tile:hover {
  border-color: var(--signal);
  background: var(--steel-700);
  transform: translateY(-3px);
  color: var(--steel-050);
}
.category-tile .ct-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--steel-700);
  border: 1px solid var(--steel-600);
  color: var(--steel-200);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pagination a:hover { background: var(--steel-600); color: var(--steel-050); }
.pagination .current {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   Breakpoints:
     1024px — tablet landscape: sidebar collapses
      768px — tablet portrait: nav wraps
      640px — large phone: most grids go single column
      480px — small phone: tightest layout
============================================================ */

/* ── Hamburger button ──────────────────────────────────── */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s;
  z-index: 200;
}
#nav-toggle:hover { background: var(--steel-600); }
#nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--steel-200);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* Animate to X when open */
#nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.is-open span:nth-child(2) { opacity: 0; }
#nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Tablet landscape (≤ 1024px) ─────────────────────── */
@media (max-width: 1024px) {
  /* Shrink nav link padding */
  #main-nav a {
    padding: 0 0.65rem;
    font-size: 0.85rem;
  }
  /* Collapse sidebar to horizontal strip */
  #page-wrap {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.25rem 2.5rem;
  }
  #sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sidebar-warranty { grid-column: span 1; }

  /* Home columns stack */
  .home-columns {
    grid-template-columns: 1fr;
  }
}

/* ── Tablet portrait (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  #nav-toggle { display: flex; }

  /* Header area hidden on mobile; text logo shown instead */
  #header-area { display: none; }
  #site-logo { display: flex; }

  /* Restore taller header for logo */
  #site-header .inner { height: 58px; }

  /* Util bar — fewer items, smaller text */
  #util-bar .inner {
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    padding: 4px 0;
    gap: 0;
  }
  #util-bar a { font-size: 0.7rem; padding: 4px 0.6rem; }

  /* Tighter gap on tablet */
  #site-header .inner { gap: 1rem; }

  /* Mobile nav — full-width dropdown */
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--steel-900);
    border-top: 2px solid var(--signal);
    border-bottom: 1px solid var(--steel-700);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 150;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
  }
  #main-nav.nav-open { display: flex; }

  /* Nav links in mobile menu */
  #main-nav a {
    height: auto;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--steel-700);
    border-left: 3px solid transparent;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 0;
  }
  #main-nav a:last-child { border-bottom: none; }
  #main-nav a.active,
  #main-nav a:hover {
    border-left-color: var(--signal);
    border-bottom-color: var(--steel-700);
    background: var(--steel-800);
  }

  /* Account link in mobile */
  .nav-account {
    height: auto;
    padding: 0.85rem 1.5rem;
    width: 100%;
  }

  /* Cart wrap in mobile */
  .nav-cart-wrap {
    height: auto;
    margin: 0;
    padding: 0.5rem 1.5rem 0.75rem;
  }
  .nav-cart-wrap a,
  .nav-cart-wrap button {
    width: 100%;
    justify-content: center;
  }

  /* Sidebar hidden on all mobile */
  #sidebar { display: none !important; }
  #page-wrap { grid-template-columns: 1fr !important; }

  /* Product grid 2-col */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Quick links */
  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-col {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-info-block { flex: 1 1 260px; }

  /* Footer */
  #site-footer .inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand { grid-column: span 2; }

  /* Warranty steps */
  .warranty-steps { grid-template-columns: 1fr 1fr; }

  /* Sitemap */
  .sitemap-grid { grid-template-columns: 1fr 1fr; }

  /* Hero slideshow */
  .slideshow { height: 260px; }
  .slide-content { padding: 1.5rem 1.75rem; }
}

/* ── Large phone (≤ 640px) ───────────────────────────── */
@media (max-width: 640px) {
  /* Page wrapper */
  #page-wrap { padding: 0.75rem 0.75rem 2rem; }

  /* Sidebar single column */
  #sidebar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sidebar-warranty { grid-column: span 1; }

  /* Product grid single column */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Quick links */
  .quick-links { gap: 0.5rem; }
  .quick-link-card .ql-icon { font-size: 1.4rem; }
  .quick-link-card .ql-label { font-size: 0.72rem; }

  /* Hero */
  .hero { padding: 1.5rem 1.25rem; flex-direction: column; }
  .hero-title { font-size: 1.6rem; }
  .hero-body { font-size: 0.88rem; }

  /* Slideshow */
  .slideshow { height: 220px; }
  .slide-content { padding: 1.25rem; }
  .slide-title { font-size: 1.6rem; }
  .slide-body { display: none; }
  .slide-arrow { width: 30px; height: 30px; font-size: 1rem; }

  /* Welcome bar */
  .welcome-bar { flex-direction: column; text-align: center; gap: 0.25rem; }
  .welcome-sub { font-size: 0.72rem; }

  /* Home columns */
  .home-columns { grid-template-columns: 1fr; gap: 1rem; }

  /* Section heading */
  .section-heading { font-size: 1.2rem; }

  /* Contact form */
  .contact-form { padding: 1.25rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; text-align: center; }

  /* Contact info */
  .contact-info-col { flex-direction: column; }
  .contact-info-block { flex: none; }

  /* Footer */
  #site-footer .inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }

  /* Warranty */
  .warranty-hero { flex-direction: column; text-align: center; gap: 1rem; }
  .warranty-steps { grid-template-columns: 1fr; }

  /* Sitemap */
  .sitemap-grid { grid-template-columns: 1fr; }

  /* Products page header */
  .products-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .products-controls { width: 100%; }

  /* FAQ */
  .faq-question { font-size: 0.9rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.72rem; }
}

/* ── Small phone (≤ 480px) ───────────────────────────── */
@media (max-width: 480px) {
  /* Util bar — stays visible on phones, just smaller */
  #util-bar .inner {
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    padding: 4px 0;
  }
  #util-bar a { font-size: 0.68rem; padding: 4px 0.5rem; }

  /* Sidebar — hidden on phones, use hamburger nav instead */
  #sidebar { display: none !important; }

  /* Page wrap — full width since no sidebar */
  #page-wrap {
    grid-template-columns: 1fr !important;
  }

  /* Product grid single column on tiny phones */
  .product-grid { grid-template-columns: 1fr; }

  /* Slideshow */
  .slideshow { height: 190px; }
  .slide-eyebrow { display: none; }
  .slide-title { font-size: 1.35rem; }

  /* Promo banner */
  .promo-banner { font-size: 0.78rem; }

  /* Sidebar — always fully visible, stacked */
  #sidebar {
    grid-template-columns: 1fr !important;
  }
  .sidebar-section ul { display: block !important; }
  .sidebar-warranty { grid-column: span 1 !important; }
}

/* ── Prevent body scroll when mobile nav open ─────────── */
body.nav-is-open { overflow: hidden; }

/* ---------- UTILITY CLASSES ---------- */
.text-signal { color: var(--signal-light); }
.text-muted { color: var(--steel-400); }
.text-sm { font-size: 0.82rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ============================================================
   PRODUCTS PAGE  (products.php)
   Styles for the listing page chrome — breadcrumb, page heading,
   and the sort/per-page controls row.
   The ECT cart software renders the product grid, pagination,
   and modal via its own include file; we do not override those.
============================================================ */

/* ---------- Products page header row ---------- */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.products-header .section-heading {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* Sale / New heading colour overrides */
.section-heading.heading-sale { color: var(--red); }
.section-heading.heading-sale::before { background: var(--red); }
.section-heading.heading-new  { color: var(--green); }
.section-heading.heading-new::before  { background: var(--green); }

/* ---------- Sort / Per-page controls ---------- */
.products-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.control-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-400);
  white-space: nowrap;
}

/* Styled <select> wrapper — the down-arrow chevron */
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel-400);
  font-size: 0.75rem;
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  border-radius: var(--radius);
  color: var(--steel-100);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  padding: 0.4rem 2rem 0.4rem 0.7rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-select:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15);
}
.form-select option {
  background: var(--steel-700);
  color: var(--steel-050);
}

/* ---------- ECT product grid overrides ----------
   The cart software renders the product grid, pagination, sort controls,
   and modal entirely via its own include file.
   Add any ECT-specific style overrides here AFTER you inspect the
   cart software's rendered HTML output on the new server, e.g.:
     .someEctClass { font-family: 'Rajdhani', sans-serif; }
---------- */

/* ---------- Products page responsive ---------- */
@media (max-width: 640px) {
  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .products-controls {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================================
   CONTACT PAGE  (contact_us.php)
============================================================ */

/* Two-column layout: form left, info right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
}

/* Side-by-side field pairs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Required / optional labels */
.required {
  color: var(--signal);
  font-weight: 700;
  margin-left: 1px;
}
.optional {
  color: var(--steel-400);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}

/* Override base form-group label spacing inside the form */
.contact-form .form-group {
  margin-bottom: 1.1rem;
}
.contact-form .form-group label {
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

/* Textarea */
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

/* Footer row: reCAPTCHA notice + submit button */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--steel-700);
}

.recaptcha-notice {
  font-size: 0.72rem;
  color: var(--steel-500);
  line-height: 1.5;
}
.recaptcha-notice a {
  color: var(--steel-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.recaptcha-notice a:hover { color: var(--aluminum); }

/* Success state — hide form, show confirmation */
.contact-success {
  font-size: 0.95rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
}

/* ── Contact Info Column ─────────────────────────────────── */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-block {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.2rem;
}

.contact-info-block h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--steel-600);
}

.info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--steel-700);
  font-size: 0.88rem;
  color: var(--steel-200);
  line-height: 1.6;
}
.info-row:last-child { border-bottom: none; }

.info-row .icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
  width: 20px;
  text-align: center;
}

.info-row a {
  color: var(--steel-200);
  text-decoration: none;
  transition: color 0.2s;
}
.info-row a:hover { color: var(--signal-light); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-col {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .contact-info-block {
    flex: 1 1 280px;
    margin-top: 0 !important;
  }
}

@media (max-width: 560px) {
  .contact-form {
    padding: 1.25rem 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .contact-info-col {
    flex-direction: column;
  }
}

/* ============================================================
   FAQ PAGE  (faq.php)
============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel-050);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--steel-700); }

.faq-question .faq-chevron {
  flex-shrink: 0;
  color: var(--signal);
  font-size: 0.8rem;
  transition: transform 0.25s var(--ease);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--steel-300);
  line-height: 1.75;
  border-top: 1px solid var(--steel-700);
}
.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   WARRANTY PAGE  (extreme-abuse-warranty.php)
============================================================ */

.warranty-hero {
  background: linear-gradient(135deg, var(--steel-750) 0%, rgba(240,90,0,0.06) 100%);
  border: 1px solid rgba(240,90,0,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.warranty-hero .w-badge {
  flex-shrink: 0;
  text-align: center;
}
.warranty-hero .w-badge .years {
  font-family: 'Rajdhani', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  display: block;
}
.warranty-hero .w-badge .years-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aluminum-dim);
  display: block;
}

.warranty-hero h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.warranty-hero p {
  font-size: 0.92rem;
  color: var(--steel-300);
  line-height: 1.7;
}

.warranty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.warranty-step {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
}
.warranty-step .step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.warranty-step .step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-050);
  display: block;
  margin-bottom: 0.4rem;
}
.warranty-step p {
  font-size: 0.82rem;
  color: var(--steel-400);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .warranty-hero { flex-direction: column; text-align: center; }
  .warranty-steps { grid-template-columns: 1fr; }
}


/* ============================================================
   WARRANTY TERMS  (extreme-abuse-warranty.php)
============================================================ */

.warranty-terms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terms-block {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
}

.terms-block h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--steel-600);
}

.terms-block p {
  font-size: 0.92rem;
  color: var(--steel-300);
  line-height: 1.75;
}
.terms-block p + p { margin-top: 0.75rem; }

.terms-list {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}
.terms-list li {
  font-size: 0.9rem;
  color: var(--steel-300);
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-bottom: 1px solid var(--steel-700);
  position: relative;
  line-height: 1.5;
}
.terms-list li:last-child { border-bottom: none; }
.terms-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 700;
}

/* ============================================================
   SITEMAP PAGE  (sitemap.php)
============================================================ */

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sitemap-col {}

.sitemap-heading {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--steel-600);
  margin-bottom: 0.6rem;
}

.sitemap-col ul { list-style: none; }
.sitemap-col ul li {
  border-bottom: 1px solid var(--steel-700);
}
.sitemap-col ul li a {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  color: var(--steel-300);
  transition: color 0.15s, padding-left 0.15s;
}
.sitemap-col ul li a:hover {
  color: var(--signal-light);
  padding-left: 0.85rem;
}

@media (max-width: 640px) {
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GENERIC STATIC CONTENT  (dealers.php, etc.)
============================================================ */

.static-content {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  font-size: 0.95rem;
  color: var(--steel-300);
  line-height: 1.75;
  max-width: 700px;
}
.static-content p + p { margin-top: 0.85rem; }
.static-content a { color: var(--signal-light); }
.static-content a:hover { color: var(--signal); }

/* ============================================================
   HEADER — Account link & Mini dropdown cart
============================================================ */

/* Account / login link */
.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-200);
  padding: 0 0.5rem 0 0;
  height: 70px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-account:hover {
  color: var(--steel-050);
  border-bottom-color: var(--aluminum-dim);
}

/* FA icon sitting next to account link */
#main-nav .fa-user {
  color: var(--steel-300);
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-left: 0.85rem;
}

/* Simple cart button */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--signal);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-cart-btn:hover {
  background: var(--signal-light);
  color: #fff !important;
}
}

/* ============================================================
   HEADER — Product Search Form
============================================================ */

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0.75rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav-search:focus-within {
  outline: none;
}

.nav-search input[type="text"] {
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  color: var(--steel-050);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  padding: 0.35rem 0.75rem;
  width: 180px;
  min-width: 0;
  height: 32px;
  transition: border-color 0.2s, width 0.25s var(--ease);
}

.nav-search input[type="text"]::placeholder {
  color: var(--steel-400);
}

.nav-search input[type="text"]:focus {
  border-color: var(--signal);
  width: 220px;
}

.nav-search button,
.nav-search-btn {
  background: #f05a00 !important;
  background: var(--signal) !important;
  border: none;
  color: #fff !important;
  padding: 0 0.75rem;
  height: 32px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-search button:hover,
.nav-search-btn:hover {
  background: #ff7a28 !important;
  background: var(--signal-light) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .nav-search input[type="text"] { width: 120px; }
  .nav-search input[type="text"]:focus { width: 160px; }
}

@media (max-width: 640px) {
  .nav-search { display: none; }
}

.nav-search button,
.nav-search-btn {
  background: #f05a00 !important;
  background: var(--signal) !important;
  border: none;
  color: #fff !important;
  padding: 0 0.6rem;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  margin-right: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-search button:hover,
.nav-search-btn:hover {
  background: #ff7a28 !important;
  background: var(--signal-light) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .nav-search input[type="text"] { width: 120px; }
  .nav-search input[type="text"]:focus { width: 160px; }
}

@media (max-width: 640px) {
  /* On mobile, move the search below the main nav */
  .nav-search {
    display: none; /* toggled open by mobile menu — extend as needed */
  }
}

/* ============================================================
   HOMEPAGE SLIDESHOW
============================================================ */

.slideshow-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--steel-900);
  user-select: none;
}

/* Slideshow container */
.slideshow {
  position: relative;
  width: 100%;
  height: 320px;
}

/* Individual slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--steel-800);
  filter: brightness(0.45);
}

/* Gradient overlay for text legibility */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.3) 55%,
    transparent 100%
  );
  pointer-events: none;
}

/* Slide text content */
.slide-content {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem;
  max-width: 480px;
}

.slide-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--signal-light);
  margin-bottom: 0.5rem;
}
.slide-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.slide-body {
  font-size: 0.92rem;
  color: var(--steel-200);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* Prev / Next arrow buttons */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}
.slide-arrow:hover {
  background: var(--signal);
  border-color: var(--signal);
}
.slide-prev { left: 0.85rem; }
.slide-next { right: 0.85rem; }

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.45rem;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.slide-dot.active {
  background: var(--signal);
  transform: scale(1.3);
}
.slide-dot:hover {
  background: rgba(255,255,255,0.7);
}

/* Welcome bar below slideshow */
.welcome-bar {
  background: var(--steel-750);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.welcome-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--steel-050);
}
.welcome-sub {
  font-size: 0.8rem;
  color: var(--steel-400);
  letter-spacing: 0.06em;
}

/* Responsive slideshow */
@media (max-width: 640px) {
  .slideshow { height: 240px; }
  .slide-content { padding: 1.25rem 1.5rem; }
  .slide-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
  .welcome-bar { flex-direction: column; text-align: center; }
}


/* ============================================================
   ECT CART FULL OVERRIDES
   Based on actual ectcart.css selectors. style.css loads after
   ectcart.css so these win by cascade order.
============================================================ */

/* ── Fonts ─────────────────────────────────────────────── */
div.cart1details, div.cart2details, div.cart3details,
div.ectsoftwrapper,
ul.TabbedPanelsTabGroup > li.TabbedPanelsTab {
  font-family: 'Source Sans 3', sans-serif;
}

/* ── PayPal / card button containers ───────────────────── */
.paypal-button, .card_container {
  background-color: transparent !important;
}

/* ── Buttons ────────────────────────────────────────────── */
input.ectbutton, button.ectbutton {
  background: #f05a00;
}
input[type="button"].ectbutton,
input[type="submit"].ectbutton,
button.ectbutton {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #f05a00;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  cursor: pointer;
  box-shadow: none;
}
input[type="button"].ectbutton:hover,
input[type="submit"].ectbutton:hover,
button.ectbutton:hover {
  background: #ff7a28;
  color: #ffffff;
}
input[type="button"].ectbutton:disabled,
input[type="submit"].ectbutton:disabled,
button.ectbutton:disabled {
  background: #3d4350;
  color: #8a9099;
  cursor: default;
}

/* ── Review stars ───────────────────────────────────────── */
div.largereviewstars svg.icon,
div.smallreviewstars svg.icon {
  fill: #f05a00;
}

/* ── Tabs ───────────────────────────────────────────────── */
div.TabbedPanelsContentGroup {
  background-color: #1a1d23;
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
ul.TabbedPanelsTabGroup > li.TabbedPanelsTab {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: #22262e;
  border: 1px solid #2e333d;
  color: #b8bdc4;
  border-radius: 5px 5px 0 0;
}
ul.TabbedPanelsTabGroup > li.TabbedPanelsTab:hover {
  background-color: #2e333d;
  color: #f2f3f5;
}
ul.TabbedPanelsTabGroup > li.TabbedPanelsTabSelected {
  background-color: #1a1d23;
  color: #f2f3f5;
  border-bottom: 1px solid #1a1d23;
}
div.tabpanelcontent { color: #b8bdc4; }

/* ── Price / Discount colours ───────────────────────────── */
div.origprice { color: #5a6170; }
div.eachcatdiscountsapply, div.eachproddiscountsapply,
div.catdiscounts, div.proddiscounts,
div.prodnoapplydiscounts { color: #ff7a28; }
div.ectdscntt, div.ectdscnt { color: #ff7a28; }
div.ectwarning, div.estimatorerror { color: #ff7a28; }
span.redstar, div.redstar::before { color: #f05a00; }

/* ── Slider range (price filter) ───────────────────────── */
.sfslidercontainer div { background: #f05a00; }

/* ── Product grid ───────────────────────────────────────── */
div.product {
  background: #1a1d23;
  border: 1px solid #2e333d;
  border-radius: 6px;
  color: #b8bdc4;
  transition: border-color 0.2s, transform 0.2s;
}
div.product:hover {
  border-color: #f05a00;
  transform: translateY(-2px);
}
div.prodname {
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.prodprice, div.detailprice {
  color: #ff7a28;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
span.liststrike { color: #5a6170; }

/* ── Category tiles ─────────────────────────────────────── */
div.category {
  background: #1a1d23;
  border: 1px solid #2e333d;
  border-radius: 6px;
  color: #b8bdc4;
  transition: border-color 0.2s;
}
div.category:hover { border-color: #f05a00; }

/* ── Cart container ─────────────────────────────────────── */
div.cartcontentsdiv { color: #b8bdc4; }
div.cartlinename {
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.cartlinetotal {
  color: #ff7a28;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
div.cartdetails { color: #8a9099; }
div.cartbackorder {
  background: #22262e;
  border: 1px solid #f05a00;
  color: #ff7a28;
}
div.scnostock, div.scbackorder {
  background: rgba(240,90,0,0.1);
  border: 1px solid #f05a00;
  color: #ff7a28;
}
div.cartstockwarning { color: #ff7a28; }
div.cartlineitems > div:not(:last-child) {
  border-bottom: 1px solid #2e333d;
}
div.cartoptiongroup { color: #8a9099; }
div.cominpurchase, div.tofreeshipping, div.coforcelogin {
  background: #22262e;
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
div.cartgrandtotaltext, div.cartgrandtotal {
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.cartsubtotaltext, div.shippingtotaltext,
div.cartcountrytaxtext, div.cartgiftcerttext,
div.cartdiscountstext { color: #8a9099; }
div.cartsubtotal, div.shippingtotal,
div.cartcountrytax, div.cartgiftcert { color: #b8bdc4; }
div.rectotdiscounts div.ectright { color: #ff7a28; }
div.cart3header, div.cart2header, div.cartheader,
div.cart4header, div.cartheading {
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.cart3gndtotcntnr {
  border-top: 1px solid #2e333d;
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.cartshippingandtotals { border-top: 1px solid #2e333d; }

/* ── Soft cart / Quick buy popup ───────────────────────── */
div.scwrap, div.qbuywrapper, div.iuwrap {
  background: #1a1d23;
  border: 1px solid #2e333d;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  color: #b8bdc4;
}
div.scprice, div.sccarttotal {
  background: #22262e;
  border-top: 1px solid #2e333d;
  color: #ff7a28;
}
div.scprodname { color: #f2f3f5; }
div.sccartdscnt { color: #ff7a28; }
div.qbopaque, div.iuopaque, div.ectopaque {
  background-color: rgba(0,0,0,0.7);
}
div.opaqueinner {
  background-color: #1a1d23;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  color: #b8bdc4;
}

/* ── New account / Login popup ──────────────────────────── */
div.ectsoftwrapper {
  background: #1a1d23;
  border: 1px solid #2e333d;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  color: #b8bdc4;
  font-family: 'Source Sans 3', sans-serif;
}
div.softformheader {
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}
div.ectsoftwrapper input[type="text"],
div.ectsoftwrapper input[type="email"],
div.ectsoftwrapper input[type="password"],
div.ectsoftwrapper textarea,
div.ectsoftwrapper select,
input.ecttextinput,
textarea.ecttextinput,
div.ectdivright input[type="text"],
div.ectdivright input[type="password"],
div.cobll input[type="text"],
div.cobll input[type="email"],
div.cobll input[type="tel"],
div.ectdivright textarea,
div.ectdivright select,
select.ectselectinput,
div.cobll select {
  background: #22262e;
  border: 1px solid #3d4350;
  border-radius: 4px;
  color: #f2f3f5;
  font-family: 'Source Sans 3', sans-serif;
  padding: 6px;
}
div.ectsoftwrapper input:focus,
input.ecttextinput:focus,
textarea.ecttextinput:focus {
  border-color: #f05a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15);
}
select.ectwarning, input.ectwarning,
textarea.ectwarning { border: 2px solid #f05a00 !important; }

/* ── Checkout steps ─────────────────────────────────────── */
div.ectdivhead, div.checkoutsteps {
  background: #1a1d23;
  border: 1px solid #2e333d;
  border-radius: 5px;
  color: #b8bdc4;
  font-family: 'Rajdhani', sans-serif;
  padding: 10px;
  margin-bottom: 10px;
}
div.cartname, div.loginheader {
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
div.softformsend, div.clientloginmessage,
div.cartloginsuccess { color: #b8bdc4; }

/* ── Search page ────────────────────────────────────────── */
div.searchheader {
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
div.nosearchresults, div.noproducts,
div.prodnoexist, div.categorynotavailable { color: #8a9099; }
div.searchresults { border-top: 1px solid #2e333d; }
div.notfoundtrysearch, div.notfoundremoved,
div.notfoundcontact { color: #b8bdc4; }

/* ── Receipt / Thank you page ───────────────────────────── */
div.receiptsectionhead {
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
div.rectotgrandtotal {
  color: #ff7a28;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
div.receiptextra, div.receiptdownload, div.receiptaddress {
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
div.receiptheadrow { color: #f2f3f5; }
div.receiptitemrow > div { border-top: 1px solid #2e333d; }
div.receipttotalstable { border-top: 1px solid #2e333d; }

/* ── Coupon / discount ──────────────────────────────────── */
div.expiredcoupon { color: #ff7a28; }
#cpncodespan { color: #8a9099; }

/* ── Mini cart drop-down ────────────────────────────────── */
div.minicart, div.minicartcnt {
  background: #1a1d23;
  color: #b8bdc4;
  font-family: 'Source Sans 3', sans-serif;
}
.ectdp_minicartcontainer {
  background: #1a1d23;
  border: 1px solid #2e333d;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  color: #b8bdc4;
}
.ectdp_minicarttotal {
  border-bottom: 1px solid #2e333d;
  color: #ff7a28;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}
.ectdp_minicartitemName { border-bottom: 1px solid #2e333d; }
div.ectdp_empty { color: #8a9099; }
.ecHidDsc { color: #ff7a28; }

/* ── Autosearch dropdown ────────────────────────────────── */
div.autosearch {
  background: #1a1d23;
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
div.autosearch > div:hover,
div.autosearch > div.autosearchselected {
  background: #22262e;
  color: #f2f3f5;
}

/* ── Stock notify popup ─────────────────────────────────── */
div.notifyinstock {
  background: #1a1d23;
  border: 1px solid #2e333d;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  color: #b8bdc4;
}

/* ── Option tooltip ─────────────────────────────────────── */
div.opttooltip { color: #8a9099; }
div.opttooltip::after { color: #f05a00; }
div.tooltipcontent {
  background: #22262e;
  border: 1px solid #2e333d;
  color: #b8bdc4;
}

/* ── Order history / Client login ───────────────────────── */
div.ectclientloginordersrow:nth-child(even) { background: #22262e; }
div.ectclientlogorder {
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
div.ectclordcount {
  border: 1px solid #2e333d;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}
span.ectclordlabel { color: #f2f3f5; }

/* ── Ship alt rates ─────────────────────────────────────── */
div.shipaltrates {
  border: 1px solid #2e333d;
  border-radius: 5px;
  background: #22262e;
}
div.cart3alratelines, div.cart3shiphead { color: #f2f3f5; }
div.cart3servicecommitment { color: #2ea84f; }

/* ── Quantity controls ──────────────────────────────────── */
div.quantity1div {
  border: 1px solid #3d4350;
  color: #8a9099;
  background: #22262e;
}
div.quantity1div > div { border-left: 1px solid #3d4350; }
div.quantity1div > div:nth-child(2) { border-bottom: 1px solid #3d4350; }
div.quantity1div > div:hover { background: #f05a00; color: #fff; }
input[type].quantity1input { background: #22262e; color: #f2f3f5; }
div.quantity2div {
  border: 1px solid #3d4350;
  color: #8a9099;
  background: #22262e;
}
div.quantity2div > div:hover { color: #f05a00; }
input[type].quantity2input { background: #22262e; color: #f2f3f5; }

/* ── Links ───────────────────────────────────────────────── */
a.ectlink:visited, a.ectlink:link { color: #ff7a28; }
a.ectlink:hover { color: #f05a00; }

/* ── Page bar ───────────────────────────────────────────── */
span.pagebarquo {
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}

/* ── Wish list ───────────────────────────────────────────── */
div.savecartlist {
  background: #22262e;
  border: 1px solid #2e333d;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
}
div.savecartlist > div {
  background: #22262e;
  border: 1px solid #2e333d;
  color: #b8bdc4;
}
div.savecartlist div:hover { background: #2e333d; }

/* ── Pricechanged warning ───────────────────────────────── */
div.pricechangedwarning {
  border: 1px solid #f05a00;
  background: rgba(240,90,0,0.08);
  color: #ff7a28;
}

/* ── Checkout button full width ─────────────────────────── */
input.checkoutbutton, button.checkoutbutton {
  width: 100%;
  font-size: 1rem;
  padding: 0.65rem 1.1rem;
}

/* ── Page labels / form fields ──────────────────────────── */
div.ectdivleft { color: #8a9099; }
div.ectdivright { color: #b8bdc4; }
div.ecthighlight { background: #22262e; }
div.tracktablehead div {
  border-top: 1px solid #2e333d;
  border-bottom: 1px solid #2e333d;
  color: #f2f3f5;
}
div.cartresumecontents, div.custdetailsresume {
  border: 1px solid #2e333d;
  border-radius: 8px;
  background: #1a1d23;
  color: #b8bdc4;
}
div.custdetsresumehead { color: #8a9099; }

/* ── Soft cart related products ─────────────────────────── */
h1.scrheader { color: #f2f3f5; font-family: 'Rajdhani', sans-serif; }
div.scrprodname { background: #22262e; }
div.scrprodname a.ectlink { color: #ff7a28; }
div.scrimage { border: 1px solid #2e333d; background: #1a1d23; }

/* ── Quantity pricing table ─────────────────────────────── */
div.prodquantpricingwrap, div.detailquantpricingwrap {
  border: 1px solid #2e333d;
  background: #1a1d23;
}
div.prodqpheading, div.detailqpheading {
  background: #22262e;
  color: #f2f3f5;
  font-family: 'Rajdhani', sans-serif;
}

/* ── Image upload ───────────────────────────────────────── */
div.imageuploadfile {
  border-color: #3d4350;
  color: #8a9099;
}
div.imageuploadfile.hoverwithfile {
  border-color: #f05a00;
  background: rgba(240,90,0,0.05);
}

/* ── Empty cart ─────────────────────────────────────────── */
div.emptycart, div.sorrycartempty,
div.cartemptyclickhere, div.emptycartcontinue { color: #8a9099; }

/* ============================================================
   DYNAMIC DISPLAY — Homepage Featured Products
   dynamicdisplay.php injects an inline <style> block AFTER our
   stylesheet loads, so !important is required to override it.
============================================================ */

a.ddLink, a.ddlink {
  color: #ff7a28 !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}
a.ddLink:hover, a.ddlink:hover {
  color: #f05a00 !important;
}

div.ddproduct {
  background-color: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  min-height: 220px !important;
  height: auto !important;
  margin: 0 10px 10px 0 !important;
  box-shadow: none !important;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
div.ddproduct:hover {
  background-color: #1a1d23 !important;
  border: 1px solid #f05a00 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
  transform: translateY(-2px);
}

div.ddallproddiscounts {
  color: #ff7a28 !important;
}
.ddproddiscounts, .dddiscountsapply {
  color: #ff7a28 !important;
  padding: 4px !important;
}

div.ddprodmanufacturer {
  color: #5a6170 !important;
  padding: 4px 8px !important;
}
div.ddprodsku {
  color: #5a6170 !important;
  padding: 4px 8px !important;
}

div.ddprodimage {
  padding: 8px !important;
  text-align: center !important;
  background-color: #22262e !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
img.ddprodimage {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

div.ddprodname {
  color: #dde0e4 !important;
  font-family: 'Rajdhani', Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  padding: 6px 8px 2px !important;
  line-height: 1.3 !important;
  height: auto !important;
  text-align: left !important;
}

div.ddprodrating { padding: 2px 8px !important; }

div.ddprodinstock {
  padding: 2px 8px !important;
  color: #2ea84f !important;
}

div.ddproddescription {
  padding: 4px 8px !important;
  font-size: 0.82rem !important;
  color: #8a9099 !important;
  line-height: 1.5 !important;
  float: none !important;
}

div.ddlistprice {
  padding: 4px 8px !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 0.82rem !important;
  color: #5a6170 !important;
  text-decoration: line-through !important;
  width: auto !important;
  float: none !important;
}

div.ddsaleprice {
  padding: 2px 8px !important;
  font-family: 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
  width: auto !important;
  float: none !important;
}

div.ddprodprice {
  color: #ff7a28 !important;
  font-family: 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  height: auto !important;
  text-align: left !important;
}

div.ddprodcurrency {
  padding: 2px 8px !important;
  font-size: 0.7rem !important;
  color: #5a6170 !important;
  width: auto !important;
  float: none !important;
}

.ddprodid {
  background: #22262e !important;
  color: #8a9099 !important;
  padding: 4px 8px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.05em !important;
  border-top: 1px solid #2e333d !important;
}

.ddBut {
  text-align: left !important;
  padding: 6px 8px 8px !important;
}

/* ============================================================
   PRODUCT DETAIL PAGE FIXES
============================================================ */

/* ── Options dropdown ───────────────────────────────────── */
select.ectselectinput,
div.prodoptions select,
div.detailoptions select,
div.option select {
  background: #22262e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f05a00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.92rem !important;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem !important;
  min-width: 220px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
select.ectselectinput:focus,
div.prodoptions select:focus,
div.detailoptions select:focus {
  border-color: #f05a00 !important;
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15) !important;
}

/* Dropdown options */
select.ectselectinput option,
div.prodoptions select option,
div.detailoptions select option {
  background: #22262e !important;
  color: #f2f3f5 !important;
}

/* Option label text */
div.optiontext {
  color: #b8bdc4 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 6px 4px 0 !important;
  min-width: 140px !important;
}

/* ── Email a Friend / Ask a Question buttons ────────────── */
input.lgaskaquestion,
input.lgemailfriend,
input[type="button"].smaskaquestion,
input[type="button"].smemailfriend {
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: #f05a00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.4rem 0.85rem !important;
  height: auto !important;
  min-height: 32px !important;
  width: auto !important;
  min-width: 140px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  margin: 2px !important;
  -webkit-appearance: none !important;
}
input.lgaskaquestion:hover,
input.lgemailfriend:hover,
input[type="button"].smaskaquestion:hover,
input[type="button"].smemailfriend:hover {
  background: #ff7a28 !important;
  color: #ffffff !important;
}

/* ── Product detail pricing ─────────────────────────────── */
div.detaillistprice {
  color: #5a6170 !important;
  text-decoration: line-through !important;
  font-size: 0.88rem !important;
}
div.detailprice {
  color: #ff7a28 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
}

/* ── Previous / Next navigation ─────────────────────────── */
div.previousnext {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #2e333d !important;
  color: #8a9099 !important;
  font-size: 0.88rem !important;
}
div.previousnext a {
  color: #ff7a28 !important;
}
div.previousnext a:hover {
  color: #f05a00 !important;
}

/* ── Product detail description ─────────────────────────── */
div.detaildescription,
div.detailshortdescription {
  color: #b8bdc4 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
}
div.detaildescription ul li,
div.detailshortdescription ul li {
  color: #b8bdc4 !important;
}

/* ── Product detail name ────────────────────────────────── */
div.detailname {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* ── In stock / out of stock ────────────────────────────── */
div.detailinstock {
  color: #2ea84f !important;
  font-size: 0.88rem !important;
}

/* ============================================================
   PRODUCT DETAIL — In Stock & Add to Cart spacing
============================================================ */

/* In Stock text — bigger and green */
div.detailinstock,
div.prodinstocklabel,
span.prodinstocklabel {
  color: #2ea84f !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 6px 0 !important;
  display: block !important;
}

/* Add to cart button area — more breathing room */
div.addtocart,
div.detailaddtocartquant,
div.addtocartquant {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-top: 1px solid #2e333d !important;
  border-bottom: 1px solid #2e333d !important;
}

/* Add to cart button itself — bigger */
button.detailbuybutton,
button.buybutton,
input[type="button"].detaillink,
button.detaillink {
  font-size: 1rem !important;
  padding: 0.65rem 1.5rem !important;
  min-height: 44px !important;
  min-width: 200px !important;
}

/* Quantity input spacing */
div.detailquantity,
div.detailaddtocartquant {
  margin-bottom: 0.75rem !important;
}

/* ============================================================
   PRODUCTS PAGE — Improved product grid layout
============================================================ */

/* Product grid container */
div.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 1.25rem !important;
  width: 100% !important;
  float: none !important;
  flex-wrap: unset !important;
}

/* Individual product card */
div.product {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: unset !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
  float: none !important;
  position: relative !important;
}
div.product:hover {
  border-color: #f05a00 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

/* Product image area */
div.prodimage {
  background: #22262e !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  display: block !important;
  width: 100% !important;
}
div.prodimage a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  overflow: hidden !important;
}
div.prodimage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}
div.product:hover div.prodimage img {
  transform: scale(1.05) !important;
}

/* Part ID badge */
div.prodid,
.ddprodid {
  background: #22262e !important;
  color: #5a6170 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 5px 10px !important;
  border-bottom: 1px solid #2e333d !important;
}

/* Product name — fixed 2-line height so all cards align */
div.prodname {
  color: #dde0e4 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 8px 10px 4px !important;
  line-height: 1.3 !important;
  height: 2.6rem !important;
  min-height: 2.6rem !important;
  max-height: 2.6rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  flex: none !important;
}
div.prodname a {
  color: #dde0e4 !important;
  text-decoration: none !important;
}
div.prodname a:hover { color: #ff7a28 !important; }

/* List price — strikethrough */
div.listprice {
  padding: 4px 10px 0 !important;
  font-size: 0.78rem !important;
  color: #5a6170 !important;
  text-decoration: line-through !important;
  font-family: 'Source Sans 3', sans-serif !important;
  width: auto !important;
  float: none !important;
}

/* Savings text */
div.proddiscounts,
div.eachproddiscountsapply {
  padding: 0 10px !important;
  font-size: 0.75rem !important;
  color: #ff7a28 !important;
  font-family: 'Source Sans 3', sans-serif !important;
}

/* Sale price */
div.prodprice {
  color: #ff7a28 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  padding: 2px 10px 8px !important;
  height: auto !important;
  line-height: 1.3 !important;
}
div.prodprice span { color: #5a6170 !important; font-size: 0.82rem !important; }

/* Options dropdown on listing page */
div.prodoptions {
  padding: 4px 10px !important;
}

/* Add to cart / Notify button area */
div.addtocart,
div.qbuybutton {
  padding: 6px 10px 10px !important;
  margin: 0 !important;
}

/* Pagination */
div.pagenumbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 1.5rem 0 !important;
  padding: 0 !important;
}
div.pagenumbers a,
div.pagenumbers span.pagebarquo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 8px !important;
  background: #22262e !important;
  border: 1px solid #2e333d !important;
  border-radius: 4px !important;
  color: #b8bdc4 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s !important;
}
div.pagenumbers a:hover {
  background: #2e333d !important;
  border-color: #3d4350 !important;
  color: #f2f3f5 !important;
}
div.pagenumbers span.pagebarquo {
  background: #f05a00 !important;
  border-color: #f05a00 !important;
  color: #fff !important;
}

/* Sort / per-page controls */
div.prodfilterbar,
div.catnavandcheckout {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 1rem !important;
  padding: 0.75rem 1rem !important;
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
}
div.catnavandcheckout select,
div.prodfilterbar select {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.85rem !important;
  padding: 0.35rem 2rem 0.35rem 0.65rem !important;
  cursor: pointer !important;
}

/* Discount banner */

/* ============================================================
   PRODUCT DETAIL PAGE — Improved layout
============================================================ */

/* Main detail layout */
div.prodimage.detailimage,
div.detailimage {
  background: #22262e !important;
  border: 1px solid #2e333d !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  text-align: center !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}
div.detailimage img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Giant thumbnail image viewer */
div.giantthumbcontainer {
  background: #22262e !important;
  border: 1px solid #2e333d !important;
  border-radius: 4px !important;
}

/* Product detail name */
div.detailname {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.15 !important;
  margin-bottom: 0.25rem !important;
  padding: 0 !important;
}

/* Part number */
div.detailid {
  color: #5a6170 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
}

/* In stock indicator */
div.detailinstock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  color: #2ea84f !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 0.5rem 0 !important;
  padding: 4px 10px !important;
  background: rgba(46,168,79,0.1) !important;
  border: 1px solid rgba(46,168,79,0.3) !important;
  border-radius: 4px !important;
}

/* Price block */
div.detaillistprice {
  color: #5a6170 !important;
  text-decoration: line-through !important;
  font-size: 0.88rem !important;
  font-family: 'Source Sans 3', sans-serif !important;
  margin-top: 0.75rem !important;
}
div.detaildiscounts,
div.detailprice {
  color: #ff7a28 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  margin: 0.25rem 0 !important;
  line-height: 1.2 !important;
}
div.detailprice strong { color: #ff7a28 !important; }

/* Description */
div.detailshortdescription {
  color: #b8bdc4 !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  margin: 0.75rem 0 !important;
  padding: 0.75rem 1rem !important;
  background: #1a1d23 !important;
  border-left: 3px solid #2e333d !important;
  border-radius: 0 4px 4px 0 !important;
}
div.detaildescription {
  color: #b8bdc4 !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  margin: 0.75rem 0 !important;
}
div.detaildescription ul {
  padding-left: 1.25rem !important;
  margin: 0.5rem 0 !important;
}
div.detaildescription ul li {
  margin-bottom: 0.35rem !important;
  color: #b8bdc4 !important;
}
div.detaildescription strong,
div.detailshortdescription strong {
  color: #dde0e4 !important;
}

/* Options section */
div.detailoptions {
  margin: 0.75rem 0 !important;
  padding: 0.75rem 0 !important;
  border-top: 1px solid #2e333d !important;
}

/* Add to cart section */
div.detailaddtocartquant,
div.addtocartquant {
  margin: 1rem 0 !important;
  padding: 1rem 0 !important;
  border-top: 1px solid #2e333d !important;
  border-bottom: 1px solid #2e333d !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

/* Previous / Next navigation */
div.previousnext {
  margin-top: 1.25rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #2e333d !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  color: #5a6170 !important;
}
div.previousnext a {
  color: #ff7a28 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
div.previousnext a:hover { color: #f05a00 !important; }

/* Tabbed panels (description / reviews tabs) */
div.TabbedPanelsContentGroup {
  border-radius: 0 0 6px 6px !important;
  margin-top: 1.5rem !important;
}
ul.TabbedPanelsTabGroup {
  display: flex !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 0 !important;
}
ul.TabbedPanelsTabGroup > li.TabbedPanelsTab {
  padding: 0.5rem 1.1rem !important;
}
div.tabpanelcontent {
  padding: 1.25rem !important;
  line-height: 1.75 !important;
}

/* Reviews */
div.clickreview button {
  min-width: 200px !important;
}
div.noreview {
  color: #5a6170 !important;
  font-style: italic !important;
  text-align: center !important;
}

/* Social / email friend buttons container */
div.socialmediabuttons {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid #2e333d !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

/* Responsive product grid */
@media (max-width: 768px) {
  div.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  div.products {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CATEGORIES PAGE
============================================================ */

/* Category grid container */
div.categories {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 1.25rem !important;
  width: 100% !important;
  float: none !important;
}

/* Individual category tile */
div.category {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  vertical-align: unset !important;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
div.category:hover {
  border-color: #f05a00 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

/* Category image */
div.category a:first-child,
div.catimage {
  display: block !important;
  background: #22262e !important;
  text-align: center !important;
  overflow: hidden !important;
  aspect-ratio: 4/3 !important;
}
div.category img,
div.catimage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}
div.category:hover img {
  transform: scale(1.05) !important;
}

/* Category name */
div.catname,
div.category a:not(:first-child) {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1rem !important;
  text-align: center !important;
  text-decoration: none !important;
  display: block !important;
  border-top: 2px solid #2e333d !important;
  transition: color 0.2s !important;
}
div.category:hover div.catname,
div.category:hover a:not(:first-child) {
  color: #ff7a28 !important;
  border-top-color: #f05a00 !important;
}

/* Category description */
div.catdescription {
  color: #8a9099 !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  padding: 0 1rem 0.75rem !important;
  text-align: center !important;
}

/* Category discount banner */



@media (max-width: 768px) {
  div.categories {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  div.categories {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CART PAGE
============================================================ */

/* Cart main wrapper */
div.cartcontentsdiv {
  color: #b8bdc4 !important;
  font-family: 'Source Sans 3', sans-serif !important;
}

/* Cart heading */
div.cartheader,
div.cart2header,
div.cart3header,
div.cart4header,
div.cartheading {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: #f2f3f5 !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 2px solid #f05a00 !important;
}

/* Cart item rows */
div.cartline {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}
div.cartlineitems > div:not(:last-child) {
  border-bottom: 1px solid #2e333d !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

/* Cart product name */
div.cartlinename {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
div.cartlinename a {
  color: #f2f3f5 !important;
  text-decoration: none !important;
}
div.cartlinename a:hover { color: #ff7a28 !important; }

/* Cart price / total */
div.cartlineprice { color: #8a9099 !important; font-size: 0.88rem !important; }
div.cartlinetotal {
  color: #ff7a28 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

/* Cart options */
div.cartoptiongroup { color: #5a6170 !important; font-size: 0.82rem !important; }
div.cartoption { color: #b8bdc4 !important; font-size: 0.82rem !important; }
div.cartoptionsline { border-bottom: 1px solid #22262e !important; }

/* Cart image */
img.cartimage {
  border-radius: 4px !important;
  border: 1px solid #2e333d !important;
  background: #22262e !important;
}

/* Cart quantity input */
input.cartquant {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  text-align: center !important;
  padding: 4px !important;
}

/* Cart totals section */
div.cartshippingandtotals {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 1rem !important;
  margin-top: 1rem !important;
}
div.cartgrandtotaltext,
div.cartgrandtotal {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #f2f3f5 !important;
  border-top: 2px solid #2e333d !important;
  padding-top: 0.5rem !important;
  margin-top: 0.5rem !important;
}
div.cartgrandtotal { color: #ff7a28 !important; }
div.cartsubtotaltext,
div.shippingtotaltext,
div.cartcountrytaxtext,
div.cartdiscountstext { color: #8a9099 !important; font-size: 0.88rem !important; }
div.cartsubtotal,
div.shippingtotal,
div.cartcountrytax { color: #b8bdc4 !important; font-size: 0.88rem !important; }

/* Coupon input */
input.cdformcoupon {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  padding: 6px 8px !important;
}

/* Free shipping / promo notices */
div.cominpurchase,
div.tofreeshipping {
  background: rgba(240,90,0,0.08) !important;
  border: 1px solid rgba(240,90,0,0.25) !important;
  border-radius: 4px !important;
  color: #ff7a28 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.6rem 1rem !important;
}

/* Empty cart */
div.emptycart { text-align: center !important; padding: 2rem 0 !important; }
div.sorrycartempty {
  color: #5a6170 !important;
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
}

/* Cart resume / order summary box */
div.cartresumecontents {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 1rem !important;
  color: #b8bdc4 !important;
}
div.custdetsresumehead {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

/* Checkout steps indicator */
div.checkoutsteps {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 1rem !important;
  font-family: 'Rajdhani', sans-serif !important;
}
div.checkoutstep { color: #5a6170 !important; }
div.cartname { color: #f2f3f5 !important; font-weight: 700 !important; }

/* Billing / shipping form fields */
div.cart2details input[type="text"],
div.cart2details input[type="email"],
div.cart2details input[type="tel"],
div.cart2details input[type="password"],
div.cart2details select,
div.cart2details textarea {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  padding: 6px 8px !important;
  font-family: 'Source Sans 3', sans-serif !important;
}
div.cart2details label,
div.cobhl2 { color: #8a9099 !important; font-size: 0.88rem !important; }

/* Shipping options */
div.shipaltrates {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}
div.cart3shiphead {
  color: #f2f3f5 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}
div.shipline { color: #b8bdc4 !important; padding: 4px 0 !important; }

/* ============================================================
   SEARCH PAGE
============================================================ */

/* Search form wrapper */
div.searchheader {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: #f2f3f5 !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 2px solid #f05a00 !important;
}

/* Search form container */
div.searchcntnr {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 0.6rem 1rem !important;
  margin-bottom: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
}

/* Search labels */
div.searchtext {
  color: #8a9099 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  width: 140px !important;
  flex-shrink: 0 !important;
}

/* Search inputs */
div.searchcontrol input[type="text"],
div.searchcontrol input[type="number"],
input.notfoundinput {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.92rem !important;
  padding: 0.45rem 0.75rem !important;
  outline: none !important;
}
div.searchcontrol input:focus,
input.notfoundinput:focus {
  border-color: #f05a00 !important;
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15) !important;
}

/* Search selects */
div.searchcontrol select,
div.searchfiltergroup select {
  background: #22262e !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0.4rem 0.65rem !important;
}

/* Search submit button area */
div.searchsubmit { padding: 0.75rem 0 !important; }

/* Search results section */
div.searchresults {
  border-top: 1px solid #2e333d !important;
  padding-top: 1.25rem !important;
  margin-top: 1.25rem !important;
}

/* No results messages */
div.nosearchresults,
div.noproducts,
div.prodnoexist {
  text-align: center !important;
  padding: 3rem 1rem !important;
  color: #5a6170 !important;
  font-size: 1rem !important;
}
div.notfoundtrysearch,
div.notfoundcontact {
  color: #8a9099 !important;
  font-size: 1rem !important;
  margin: 1rem 0 !important;
  text-align: center !important;
}

/* Search filter groups */
div.searchfiltergroup {
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.5rem !important;
}

/* Filter labels */
div.filtertext {
  color: #8a9099 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

@media (max-width: 640px) {
  div.searchtext { width: 100% !important; margin-bottom: 4px !important; }
  div.searchcntnr { flex-direction: column !important; align-items: flex-start !important; }
}

/* ============================================================
   SEARCH PAGE — Fix dropdown arrow on selects
============================================================ */

div.searchcontrol select,
div.searchfiltergroup select {
  background-color: #22262e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f05a00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0.4rem 2.25rem 0.4rem 0.75rem !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
}
div.searchcontrol select:focus,
div.searchfiltergroup select:focus {
  border-color: #f05a00 !important;
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15) !important;
}
div.searchcontrol select option,
div.searchfiltergroup select option {
  background: #22262e !important;
  color: #f2f3f5 !important;
}

/* ============================================================
/* Wrapper that holds all breadcrumb divs — make it one line */
div.catnavandcheckout,
div.catnavigation,
div.catnavcheckout {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-bottom: 0.75rem !important;
  padding: 0.4rem 0.75rem !important;
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 4px !important;
  font-size: 0.82rem !important;
  color: #5a6170 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
div.catnavandcheckout div.ectbreadcrumb,
div.catnavigation div.ectbreadcrumb,

/* ============================================================
   ECT BREADCRUMB — identical to proddetail.php ectdivhead
   Uses exact same values as ectcart.css div.ectdivhead rule
============================================================ */

div.ectbreadcrumb {
  display: inline !important;
  color: #b8bdc4 !important;
  font-size: 14px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}
div.ectbreadcrumb a {
  color: #ff7a28 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}
div.ectbreadcrumb a:hover { color: #f05a00 !important; }

/* Match ectdivhead exactly — same padding, border, radius */
div.catnavandcheckout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
  margin: 0 0 10px 0 !important;
  padding: 10px !important;
  background: #1a1d23 !important;
  border: 1px solid #2e333d !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  color: #b8bdc4 !important;
  box-sizing: border-box !important;
  min-height: unset !important;
}

/* Inner containers — no extra border or padding */
div.catnavigation,
div.catnavcheckout,
div.prodnavigation {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  color: #b8bdc4 !important;
}

/* Checkout button pushed to right */
div.catnavandcheckout div.catnavcheckout {
  margin-left: auto !important;
}

/* ── Products page sort/filter dropdowns — add orange arrow ── */
div.catnavandcheckout select,
div.prodfilterbar select,
div.catnavcheckout select {
  background-color: #22262e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f05a00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  border: 1px solid #3d4350 !important;
  border-radius: 4px !important;
  color: #f2f3f5 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0.4rem 2.25rem 0.4rem 0.75rem !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
}
div.catnavandcheckout select:focus,
div.prodfilterbar select:focus {
  border-color: #f05a00 !important;
  box-shadow: 0 0 0 3px rgba(240,90,0,0.15) !important;
}
div.catnavandcheckout select option,
div.prodfilterbar select option {
  background: #22262e !important;
  color: #f2f3f5 !important;
}

/* ============================================================
/* ============================================================
   PRODUCTS PAGE — Centering rules
============================================================ */

/* Add to cart / notify / configure buttons — centered */
div.addtocart,
div.qbuybutton,
div.detaillink {
  text-align: center !important;
}
div.addtocart button,
div.addtocart input,
div.qbuybutton button,
div.qbuybutton input,
div.detaillink button,
div.detaillink input,
div.detaillink a {
  display: inline-block !important;
  float: none !important;
}

/* Add to cart quantity row — centered */
div.addtocartquant,
div.prodaddtocartquant {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Product image navigator (multi-image scroll buttons) — centered under image */
div.prodimagenavigator {
  display: block !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 100% !important;
  margin-top: 4px !important;
  overflow: visible !important;
}
div.prodimagenavigator img {
  vertical-align: middle !important;
  margin: 0 2px !important;
}
div.prodimagenavigator input.previmg,
div.prodimagenavigator input.nextimg {
  vertical-align: middle !important;
  margin: 0 2px !important;
  display: inline-block !important;
  float: none !important;
}

/* Page-level image navigator — centered */
div.imagenavigator {
  text-align: center !important;
  white-space: nowrap !important;
}

/* Previous/Next product detail links — centered */
div.previousnext {
  text-align: center !important;
}

/* Prodnavigation (breadcrumb container) — keep flex row */
div.prodnavigation {
  justify-content: space-between !important;
}

/* ============================================================
   PRODUCT IMAGE — fix prodimage so navigator sits below image
============================================================ */

div.product div.prodimage {
  display: block !important;
  float: none !important;
  width: 100% !important;
  text-align: center !important;
}

div.product div.prodimage a {
  display: block !important;
}

div.product div.prodimage img {
  display: block !important;
  margin: 0 auto !important;
}

/* Image navigator sits below image, centered */
div.product div.prodimagenavigator {
  display: block !important;
  text-align: center !important;
  clear: both !important;
  width: 100% !important;
  margin-top: 6px !important;
  padding: 0 !important;
}
div.product div.prodimagenavigator input.previmg,
div.product div.prodimagenavigator input.nextimg {
  display: inline-block !important;
  float: none !important;
  vertical-align: middle !important;
  margin: 0 3px !important;
}
div.product div.prodimagenavigator img {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 2px !important;
}

/* ============================================================
   NOTIFY BACK IN STOCK — dark with orange outline
============================================================ */

button.notifystock,
button.outofstock,
button.detailnotifystock,
button.detailoutofstock {
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: #0d0e10 !important;
  color: #f05a00 !important;
  border: 2px solid #f05a00 !important;
  border-radius: 4px !important;
  padding: 0.45rem 1rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  transition: background 0.2s, color 0.2s !important;
  -webkit-appearance: none !important;
}
button.notifystock:hover,
button.detailnotifystock:hover {
  background: #f05a00 !important;
  color: #ffffff !important;
}

/* ============================================================
   FIX — Show prodimagenavigator buttons (were hidden by overflow)
============================================================ */

div.product div.prodimagenavigator {
  overflow: visible !important;
  font-size: 0.7em !important;
}

/* Ensure previmg/nextimg buttons are visible */
div.product div.prodimagenavigator input.previmg,
div.product div.prodimagenavigator input.nextimg {
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  font-size: 0.8em !important;
  padding: 4px !important;
  margin: 0 3px !important;
}

/* ============================================================
   FREE SHIPPING BANNER — bigger and orange
============================================================ */

div.eachproddiscountsapply,
div.eachcatdiscountsapply,

/* ============================================================
   FREE SHIPPING / DISCOUNT BANNER — definitive override
   then lists each discount. The banner text itself needs styling.
============================================================ */



div.proddiscounts,
div.eachproddiscountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #ff7a28 !important;
  padding: 2px 10px !important;
  display: block !important;
}

/* ============================================================
   DISCOUNT / FREE SHIPPING — definitive single block
============================================================ */

/* Page-level banner: "The following discounts apply / Free Shipping over $100" */







div.proddiscounts,
div.eachproddiscountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
  padding: 2px 10px !important;
  display: block !important;
}





div.allproddiscounts {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #ff7a28 !important;
  background: rgba(240,90,0,0.08) !important;
  border: 1px solid rgba(240,90,0,0.3) !important;
  border-left: 4px solid #f05a00 !important;
  border-radius: 4px !important;
  padding: 0.65rem 1rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  width: auto !important;
}
div.allproddiscounts div,
div.allproddiscounts span {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
}

/* Make image navigator prev/next buttons bigger */
div.prodimagenavigator input.previmg,
div.prodimagenavigator input.nextimg {
  font-size: 1rem !important;
  padding: 6px 10px !important;
  min-width: 32px !important;
  min-height: 28px !important;
}

/* Center product image on detail page */
div.detailimage,
div.prodimage.detailimage {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
div.detailimage img,
div.prodimage.detailimage img {
  display: block !important;
  margin: 0 auto !important;
}

/* ============================================================
   DISCOUNT BANNERS — separate styling per div
============================================================ */





div.allproddiscounts {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #ff7a28 !important;
  background: rgba(240,90,0,0.08) !important;
  border: 1px solid rgba(240,90,0,0.3) !important;
  border-left: 4px solid #f05a00 !important;
  border-radius: 4px !important;
  padding: 0.65rem 1rem !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  width: auto !important;
}

/* ============================================================
   DISCOUNT / FREE SHIPPING — single definitive block
============================================================ */

/* "The following discounts apply..." — plain grey text, no box */
div.discountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #8a9099 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 0.25rem 0 !important;
  margin-bottom: 0 !important;
  display: block !important;
  clear: both !important;
}
div.discountsapply div,
div.discountsapply span,
div.discountsapply p {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #8a9099 !important;
  background: transparent !important;
}

/* "Free Shipping in the US over $100" — orange banner */
div.allproddiscounts {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #ff7a28 !important;
  background: rgba(240,90,0,0.08) !important;
  border: 1px solid rgba(240,90,0,0.3) !important;
  border-left: 4px solid #f05a00 !important;
  border-radius: 4px !important;
  padding: 0.65rem 1rem !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  width: auto !important;
}

/* Category-level discount banner */
div.catdiscounts,
div.eachcatdiscountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
  background: rgba(240,90,0,0.08) !important;
  border: 1px solid rgba(240,90,0,0.3) !important;
  border-left: 4px solid #f05a00 !important;
  border-radius: 4px !important;
  padding: 0.65rem 1rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

/* Per-product card discount text */
div.proddiscounts,
div.eachproddiscountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
  padding: 2px 10px !important;
  display: block !important;
}

/* Product detail page discount */
div.detaildiscountsapply,
span.detaildiscountsapply {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #ff7a28 !important;
  display: block !important;
  margin: 2px 0 !important;
}

/* ============================================================
   SIDEBAR — Collapsible on mobile
============================================================ */

/* Section title — button style on mobile, div style on desktop */
.sidebar-section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: var(--steel-700) !important;
  color: var(--steel-100) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  padding: 0.6rem 1rem !important;
  border: none !important;
  border-left: 3px solid var(--signal) !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  cursor: default !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.sidebar-chevron {
  display: none;
  color: var(--signal);
  font-size: 0.8rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

/* Desktop — lists always visible */
#sidebar .sidebar-section ul {
  display: block !important;
}

/* ── Mobile sidebar collapsible (≤ 1024px) ──────────────── */
@media (max-width: 1024px) {

  /* Sidebar becomes horizontal accordion strip */
  #sidebar {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .sidebar-section {
    background: var(--steel-800) !important;
    border: 1px solid var(--steel-600) !important;
    border-radius: var(--radius) !important;
    overflow: hidden !important;
  }

  /* Show chevron on mobile */
  .sidebar-chevron {
    display: inline-block;
  }

  /* Title becomes a real tappable button */
  .sidebar-section-title {
    cursor: pointer !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: 3px solid var(--signal) !important;
    background: var(--steel-750) !important;
    min-height: 48px !important;
  }
  .sidebar-section-title:hover {
    background: var(--steel-700) !important;
  }

  /* Rotate chevron when open */
  .sidebar-section.sidebar-open .sidebar-chevron {
    transform: rotate(180deg);
  }

  /* Collapsed — hide list */
  #sidebar .sidebar-section ul {
    display: none !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--steel-600) !important;
  }

  /* Open — show list */
  #sidebar .sidebar-section.sidebar-open ul {
    display: block !important;
  }

  /* Links inside open menu */
  #sidebar .sidebar-section ul li a {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.92rem !important;
    display: block !important;
    border-left: 3px solid transparent !important;
  }
  #sidebar .sidebar-section ul li a:hover,
  #sidebar .sidebar-section ul li a.active {
    border-left-color: var(--signal) !important;
    background: var(--steel-700) !important;
    color: var(--signal-light) !important;
  }

  /* Warranty badge — full width row on mobile */
  .sidebar-warranty {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    text-align: left !important;
  }
  .warranty-badge {
    font-size: 1.8rem !important;
    flex-shrink: 0 !important;
  }
  .warranty-name { font-size: 0.82rem !important; }
  .warranty-link { margin-top: 0 !important; }
}

/* ── Phone (≤ 640px) ─────────────────────────────────────── */
@media (max-width: 640px) {

  /* Sidebar — hidden on phones */
  #sidebar { display: none !important; }
  #page-wrap { grid-template-columns: 1fr !important; }

  /* Product grid — 2 columns on phones */
  div.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* Smaller product card text */
  div.prodname {
    font-size: 0.88rem !important;
    padding: 6px 8px 2px !important;
    height: 2.31rem !important;
    min-height: 2.31rem !important;
    max-height: 2.31rem !important;
  }
  div.prodprice {
    font-size: 1rem !important;
    padding: 2px 8px 6px !important;
  }
  div.prodid { font-size: 0.65rem !important; padding: 3px 8px !important; }

  /* Category grid — 2 columns */
  div.categories {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* Search page — stack label and input */
  div.searchcntnr {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  div.searchtext {
    width: 100% !important;
    padding-bottom: 4px !important;
  }

  /* Cart — tighten layout */
  div.cartlinequanttotal {
    width: 100% !important;
  }

  /* Contact grid — single column */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* FAQ — full width */
  .faq-item { border-radius: 4px !important; }

  /* Sitemap grid — single column */
  .sitemap-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Small phone (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {

  /* Single column product grid on tiny screens */
  div.products {
    grid-template-columns: 1fr !important;
  }

  /* Single column category grid */
  div.categories {
    grid-template-columns: 1fr !important;
  }

  /* Page wrapper tighter padding */
  #page-wrap {
    padding: 0.5rem 0.5rem 1.5rem !important;
  }

  /* Breadcrumb — smaller */
  div.catnavandcheckout {
    font-size: 0.78rem !important;
    padding: 7px !important;
  }

  /* Product detail — full-width buttons */
  button.detailbuybutton,
  button.detailoutofstock,
  button.detailnotifystock,
  button.detailwishlist {
    width: 100% !important;
    min-width: unset !important;
  }

  /* Cart totals — full width */
  div.carttotals,
  div.checkoutopts {
    width: 100% !important;
  }
}

/* ============================================================
   MOBILE HEADER — Hamburger left, logo center, icons right
============================================================ */

/* Mobile icon bar — hidden on desktop */
.mobile-icons {
  display: none;
}

@media (max-width: 768px) {

  /* Header inner — hamburger | logo | icons */
  #site-header .inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 58px !important;
    gap: 0 !important;
    padding: 0 0.75rem !important;
  }

  /* Hamburger — LEFT */
  #nav-toggle {
    order: 1 !important;
    flex-shrink: 0 !important;
    margin-right: 0.5rem !important;
  }

  /* Logo — CENTER */
  #site-logo {
    order: 2 !important;
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  /* Desktop nav — hidden, drops down on hamburger tap */
  #main-nav {
    order: 10 !important;
  }

  /* Mobile icon bar — RIGHT */
  .mobile-icons {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    order: 3 !important;
    flex-shrink: 0 !important;
  }

  .mobile-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    color: var(--steel-200) !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    border-radius: var(--radius) !important;
    transition: color 0.2s, background 0.2s !important;
  }
  .mobile-icon:hover,
  .mobile-icon:active {
    color: var(--signal) !important;
    background: var(--steel-700) !important;
  }

  /* Hide desktop account icon/link from nav on mobile
     (replaced by mobile-icons bar) */
  #main-nav .fa-user,
  #main-nav .nav-account,
  #main-nav .nav-cart-btn {
    display: none !important;
  }
}



/* Hide util bar on mobile */
@media (max-width: 768px) {
  #util-bar { display: none !important; }
}
