/* ═══════════════════════════════════════════════════════
   SPRINT DRIVES v6 — New component CSS
   File: assets/v6-additions.css
   Enqueued globally in functions.php
═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   USP BAR — static, below hero on homepage
───────────────────────────────────────────────────────*/
.usp-bar {
  background: #fff;
  border-bottom: 1px solid var(--BD);
  border-top: 1px solid var(--BD);
  position: relative;
  z-index: 2;
}
.usp-bar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.usp-bar-inner::-webkit-scrollbar { display: none; }
.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--fb);
  font-size: 12px;
  color: var(--INK2);
}
.usp-item strong {
  color: var(--INK);
  font-weight: 700;
}
.usp-item svg {
  width: 16px; height: 16px;
  stroke: var(--N);
  stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.usp-sep {
  width: 1px;
  height: 20px;
  background: var(--BD);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .usp-bar-inner {
    padding: 0 16px;
    justify-content: flex-start;
  }
  .usp-item { font-size: 11px; padding: 11px 14px; }
}


/* ─────────────────────────────────────────────────────
   MOBILE SEARCH BAR — always visible below nav on mobile
───────────────────────────────────────────────────────*/
.nav-mobile-search {
  display: none; /* desktop: hidden */
  background: var(--N5);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 16px;
}
.nav-mobile-search form {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  overflow: hidden;
  height: 40px;
}
.nav-mobile-search svg:first-child {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.45);
  stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin: 0 10px;
  flex-shrink: 0;
}
.nav-mobile-search input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--fb);
  font-size: 13px;
  padding: 0;
}
.nav-mobile-search input::placeholder { color: rgba(255,255,255,0.38); }
.nav-mobile-search button {
  background: var(--N);
  border: none;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav-mobile-search button:hover { background: var(--N2); }
.nav-mobile-search button svg {
  width: 14px; height: 14px;
  stroke: #fff; stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .nav-mobile-search { display: block; }
}


/* ─────────────────────────────────────────────────────
   MOBILE FULL-SCREEN SLIDE-OUT MENU
───────────────────────────────────────────────────────*/
.mob-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 100vw);
  z-index: 9800;
  background: var(--N5);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.mob-menu.open {
  transform: translateX(0);
}
.mob-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9790;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mob-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.mob-menu-head button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mob-menu-head button svg {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.6); stroke-width: 2.5; fill: none;
}

.mob-nav { flex: 1; padding: 8px 0; }

.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.mob-nav-item:hover { background: rgba(255,255,255,0.04); }
.mob-nav-item--sm {
  padding: 11px 20px;
}
.mob-nav-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-nav-icon svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.7); stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.mob-nav-label {
  flex: 1;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.mob-nav-item--sm .mob-nav-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.mob-nav-arr {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.3); stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.mob-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 0;
}
.mob-menu-cta {
  display: block;
  margin: 16px 20px 24px;
  background: var(--L);
  color: var(--N4);
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.mob-menu-cta:hover { background: var(--L2); }

/* Hide desktop mega menu on mobile */
@media (max-width: 1100px) {
  .nav-links { display: none !important; }
}


/* ─────────────────────────────────────────────────────
   MOBILE BOTTOM NAVIGATION BAR
───────────────────────────────────────────────────────*/
.mob-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: #fff;
  border-top: 1px solid var(--BD);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  /* Safe area for iPhone home bar */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mob-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 8px;
  flex: 1;
  text-decoration: none;
  color: var(--MUT);
  font-family: var(--fb);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
  min-width: 0;
}
.mob-bottom-item:hover,
.mob-bottom-item:focus { color: var(--N); }
.mob-bottom-item svg {
  width: 20px; height: 20px;
  stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Centre "Shop" button — styled differently */
.mob-bottom-shop {
  color: var(--N);
  position: relative;
}
.mob-bottom-shop svg {
  stroke: var(--N);
}
/* Active state */
.mob-bottom-item.active { color: var(--N); }

@media (max-width: 768px) {
  .mob-bottom-nav {
    display: flex;
    align-items: stretch;
  }
  /* Push main content up so bottom bar doesn't overlap */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* ─────────────────────────────────────────────────────
   STICKY MOBILE ADD TO CART BAR
───────────────────────────────────────────────────────*/
.sp-sticky-atc {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 7900;
  background: #fff;
  border-top: 1px solid var(--BD);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-sticky-atc.visible {
  transform: translateY(0);
}
.sp-sticky-atc-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}
.sp-sticky-atc-info {
  flex: 1;
  min-width: 0;
}
.sp-sticky-atc-name {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 600;
  color: var(--INK);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-sticky-atc-price {
  font-family: var(--fh);
  font-size: 1rem;
  color: var(--N);
  line-height: 1.2;
}
.sp-sticky-atc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--N);
  color: #fff;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.sp-sticky-atc-btn:hover { background: var(--L); color: var(--N4); transform: translateY(-1px); }
.sp-sticky-atc-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 768px) {
  .sp-sticky-atc { display: block; }
}


/* ─────────────────────────────────────────────────────
   DISPATCH URGENCY BAR — on product pages
───────────────────────────────────────────────────────*/
.sp-dispatch-bar {
  background: #f0f9f0;
  border-top: 1px solid #c8e6c9;
  border-bottom: 1px solid #c8e6c9;
  padding: 10px 20px;
  text-align: center;
  font-family: var(--fb);
  font-size: 12px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.sp-dispatch-bar svg {
  width: 14px; height: 14px;
  stroke: #2e7d32; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────
   FOOTER COMPANY DETAILS
───────────────────────────────────────────────────────*/
.f-company-details {
  font-family: var(--fb);
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255,255,255,0.28);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.f-company-details strong {
  color: rgba(255,255,255,0.5);
}


/* ─────────────────────────────────────────────────────
   CART NOTE — updated delivery text style
───────────────────────────────────────────────────────*/
.cart-note {
  font-family: var(--fb);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  margin-bottom: 14px;
}
.cart-note strong { color: rgba(255,255,255,0.8); }


/* ─────────────────────────────────────────────────────
   TIKTOK LANDING PAGE
───────────────────────────────────────────────────────*/
.tiktok-hero {
  background: var(--N5);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.tiktok-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(105,201,182,0.08), transparent);
  pointer-events: none;
}
.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.tt-eyebrow svg {
  width: 14px; height: 14px;
  fill: currentColor; flex-shrink: 0;
}
.tt-h1 {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.tt-h1 em { font-style: normal; color: var(--L); }
.tt-sub {
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin-bottom: 32px;
}
.tt-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tt-btn-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #010101;
  color: #fff;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.tt-btn-tiktok:hover { background: #222; border-color: rgba(255,255,255,0.3); }
.tt-btn-tiktok svg { width: 16px; height: 16px; fill: currentColor; }

.tiktok-products {
  background: #f8f8f6;
  padding: 72px 0 80px;
}
.tt-section-h {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--INK);
  margin-bottom: 40px;
}
.tt-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .tt-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tt-products-grid { grid-template-columns: 1fr 1fr; } }

.tt-product-card {
  background: #fff;
  border: 1px solid var(--BD);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tt-product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.tt-product-rank {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--N);
  color: #fff;
  font-family: var(--fh);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-product-img-link { display: block; aspect-ratio: 1/1; overflow: hidden; background: #f5f5f3; }
.tt-product-img-link img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.tt-embed-wrap { aspect-ratio: 9/16; overflow: hidden; }
.tt-product-info { padding: 14px 16px; }
.tt-product-name {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--INK);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-product-price {
  font-family: var(--fh);
  font-size: 1.1rem;
  color: var(--N);
  margin-bottom: 12px;
}
.tt-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--N);
  color: #fff;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.tt-product-cta:hover { background: var(--L); color: var(--N4); }
.tt-product-cta svg {
  width: 11px; height: 11px;
  stroke: currentColor; stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

.tiktok-proof {
  background: var(--N5);
  padding: 72px 0 80px;
}
.tt-comments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .tt-comments-grid { grid-template-columns: 1fr; } }
.tt-comment {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px;
}
.tt-comment-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.tt-comment-platform svg { width: 12px; height: 12px; fill: currentColor; }
.tt-comment-text {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.tt-comment-author {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}
.tt-final-cta { text-align: center; }
.tt-delivery-note {
  font-family: var(--fb);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}
