/* ==========================================================================
   Prime Star Tools — Modern B2B & Trade Tool Redesign
   ========================================================================== */

:root {
  --bg-dark: #0a0f1c;
  --bg-darker: #060912;
  --bg-light: #f6f8fb;
  --surface: #ffffff;
  --teal: #2cd2c6;
  --teal-dark: #18a89d;
  --teal-glow: rgba(44, 210, 198, 0.28);
  --navy: #161d32;
  --quote-blue: #0066b4;
  --text-main: #141b2d;
  --text-muted: #5a657d;
  --border: #e3e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-display: 'Jost', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-teal {
  color: var(--teal);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-teal {
  background: var(--teal);
  color: #061216;
  box-shadow: 0 8px 24px rgba(44, 210, 198, 0.35);
}

.btn-teal:hover {
  background: #3be3d7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(44, 210, 198, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header (Blended seamlessly over Hero)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.65) 65%, rgba(10, 15, 28, 0) 100%);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 15, 28, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.header-top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.35rem 0;
}

.header-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-strip-inner i {
  color: var(--teal);
  margin-right: 0.3rem;
}

.strip-links {
  display: flex;
  gap: 1.25rem;
}

.strip-links a:hover {
  color: var(--teal);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.desktop-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.quote-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(44, 210, 198, 0.14);
  border: 1px solid rgba(44, 210, 198, 0.45);
  color: #ffffff;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-trigger-btn:hover {
  background: rgba(44, 210, 198, 0.25);
  transform: translateY(-1px);
}

.quote-badge {
  background: var(--teal);
  color: #061216;
  font-weight: 800;
  font-size: 0.72rem;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-nav-drawer {
  background: rgba(10, 15, 28, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mobile-nav-drawer[hidden] {
  display: none;
}

.mobile-nav-drawer a {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.mobile-drawer-breadcrumb {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.mobile-drawer-breadcrumb i,
.mobile-drawer-breadcrumb strong {
  color: var(--teal);
  font-weight: 600;
}

.mobile-drawer-breadcrumb span {
  opacity: 0.45;
  margin: 0 0.25rem;
}

/* ==========================================================================
   Hero Section (Blended with Header + Breadcrumb Bridge)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 3.75rem;
  background: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-blend-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.85) 0%, rgba(10, 15, 28, 0.25) 38%, rgba(10, 15, 28, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 15, 28, 0.94) 0%, rgba(10, 15, 28, 0.78) 46%, rgba(10, 15, 28, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.35rem;
}

.hero-breadcrumbs a:hover,
.hero-breadcrumbs .crumb-current {
  color: var(--teal);
  font-weight: 600;
}

.crumb-sep {
  opacity: 0.45;
}

.hero-text-block {
  max-width: 610px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.6rem;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-pill i {
  color: var(--teal);
}

/* ==========================================================================
   Shared Section Headers
   ========================================================================== */
.section-header-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2rem;
}

.section-header-center.compact-header {
  margin-bottom: 1.4rem;
}

.carousel-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(44, 210, 198, 0.12);
  color: var(--teal-dark);
  border: 1px solid rgba(44, 210, 198, 0.35);
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Best Sellers 3D Carousel (aqwake.co.za 3D Amphitheater Curved Mechanics)
   ========================================================================== */
.bestsellers-section {
  padding: 4.25rem 0 3.5rem;
  background: var(--surface);
  overflow: hidden;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  border-color: var(--teal-dark);
  color: var(--navy);
}

.cat-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.cat-pill.active i {
  color: var(--teal);
}

.catalog-search-wrap {
  position: relative;
  min-width: 230px;
  flex: 0 1 260px;
}

.catalog-search-wrap i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.catalog-search-wrap input {
  width: 100%;
  padding: 0.5rem 0.9rem 0.5rem 2.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.catalog-search-wrap input:focus {
  border-color: var(--teal-dark);
  background: #fff;
}

.bestsellers-3d-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  overflow: visible;
  user-select: none;
  touch-action: pan-y;
}

.bestsellers-3d-ring {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  user-select: none;
}

.bestsellers-3d-ring .product-card {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -210px !important;
  margin-left: -120px !important;
  transform-origin: center center !important;
  width: 240px !important;
  min-height: 420px;
  height: 420px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.bestsellers-3d-ring .product-card:hover {
  border-color: var(--teal-dark);
}

.bestsellers-3d-ring .product-card.card-center {
  border: 2px solid var(--teal-dark);
  box-shadow: 0 20px 48px rgba(10, 15, 28, 0.18), 0 0 0 1px rgba(44, 210, 198, 0.35);
}

.card-media-wrap {
  position: relative;
  height: 195px;
  background: #f4f6fa;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img-primary,
.card-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.card-img-secondary {
  opacity: 0;
}

.product-card:hover .card-img-primary {
  transform: scale(1.05);
}

.product-card:hover .card-img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.badge-new {
  display: inline-block;
  background: var(--navy);
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
}

.card-quick-actions {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.card-quick-view-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.38rem 0.5rem;
  cursor: pointer;
}

.card-quick-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--teal);
  color: #061216;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 0.95rem 1.05rem;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.card-sku-code {
  color: var(--teal-dark);
  font-weight: 700;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  height: 2.3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.35rem;
}

.card-rating {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.card-rating .stars {
  color: #f59e0b;
  margin-right: 0.25rem;
}

.card-quote-row {
  margin-top: auto;
}

.btn-card-quote {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--quote-blue);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-card-quote:hover {
  background: #044a80;
}

.btn-card-quote.added {
  background: var(--teal-dark);
}

.stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.stage-nav-arrow.arrow-left { left: 4px; }
.stage-nav-arrow.arrow-right { right: 4px; }

@media (min-width: 1280px) {
  .stage-nav-arrow.arrow-left { left: -16px; }
  .stage-nav-arrow.arrow-right { right: -16px; }
}

.stage-nav-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #061216;
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.carousel-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-indicator-dot.active {
  width: 32px;
  background: var(--teal-dark);
  box-shadow: 0 2px 6px rgba(24, 168, 157, 0.4);
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section {
  padding: 3.75rem 0;
  background: var(--bg-light);
}

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

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-dark);
  box-shadow: 0 12px 26px rgba(10, 15, 28, 0.08);
}

.cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(44, 210, 198, 0.14);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.cat-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cat-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   About & App QR Section
   ========================================================================== */
.about-section {
  padding: 3.75rem 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.stat-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--teal-dark);
}

.stat-box span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-app-card {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(44, 210, 198, 0.25);
  box-shadow: 0 18px 36px rgba(10, 15, 28, 0.16);
}

.qr-wrap {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 12px;
  flex-shrink: 0;
}

.qr-wrap img {
  width: 105px;
  height: 105px;
}

.app-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.app-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.app-card-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Compact 2-Line Marquee Reviews
   ========================================================================== */
.reviews-section {
  padding: 3rem 0;
  background: var(--bg-light);
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee-row {
  display: flex;
  width: max-content;
  gap: 0.75rem;
}

.marquee-left {
  animation: marqueeScrollLeft 38s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 42s linear infinite;
}

.marquee-wrapper:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review-card-sm {
  width: 265px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 4px 12px rgba(10, 15, 28, 0.04);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.68rem;
}

.review-text {
  font-size: 0.76rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
}

.review-role {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Compact FAQ Section (Small on Desktop & Mobile)
   ========================================================================== */
.faq-section {
  padding: 2.75rem 0;
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.72rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq-question i {
  font-size: 0.75rem;
  color: var(--teal-dark);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Branches & Contact Section
   ========================================================================== */
.contact-section {
  padding: 3.25rem 0;
  background: var(--bg-light);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.branch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.branch-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(44, 210, 198, 0.14);
  color: var(--teal-dark);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.55rem;
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.branch-addr {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.branch-addr i,
.branch-links i {
  color: var(--teal-dark);
  margin-right: 0.35rem;
}

.branch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.branch-links a:hover {
  color: var(--teal-dark);
}

/* ==========================================================================
   Footer + Exact Systect Socials + Exact aqwake.co.za Created by Systect
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2.25rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-mission {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal);
}

/* Exact systect.co.za Footer Socials */
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1.35rem;
}

.social-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  animation: socialWave var(--bd, 4s) ease-in-out infinite var(--bdy, 0s);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, filter 0.35s, opacity 0.3s;
  will-change: transform;
}

.footer-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

.footer-icon-btn.facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-icon-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.footer-icon-btn.linkedin {
  background: #0A66C2;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

.footer-icon-btn:hover {
  transform: translateY(-8px) scale(1.15) !important;
  filter: brightness(1.18);
  z-index: 2;
}

.footer-icon-btn:hover svg {
  transform: scale(1.12);
}

.footer-icon-btn.facebook:hover  { box-shadow: 0 8px 24px rgba(24, 119, 242, 0.75); }
.footer-icon-btn.instagram:hover { box-shadow: 0 8px 24px rgba(220, 39, 67, 0.75); }
.footer-icon-btn.linkedin:hover  { box-shadow: 0 8px 24px rgba(10, 102, 194, 0.75); }

.footer-social-icons:hover .footer-icon-btn:not(:hover) {
  opacity: 0.7;
}

@keyframes socialWave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-6px) rotate(2deg); }
  75%      { transform: translateY(4px) rotate(-1.5deg); }
}

/* Exact aqwake.co.za Footer Bottom & Created by Systect */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-centered-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  width: 100%;
}

.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.25);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.95), 0 0 5px rgba(0,240,255,0.75), 0 0 12px rgba(0,240,255,0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.95), 0 0 5px rgba(255,61,230,0.75), 0 0 12px rgba(255,61,230,0.35);
  }
  40% {
    color: #44ff26;
    border-color: rgba(68, 255, 38, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.95), 0 0 5px rgba(68,255,38,0.75), 0 0 12px rgba(68,255,38,0.35);
  }
  60% {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.95), 0 0 5px rgba(255,215,0,0.75), 0 0 12px rgba(255,215,0,0.35);
  }
  80% {
    color: #5c6eff;
    border-color: rgba(92, 110, 255, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.95), 0 0 5px rgba(92,110,255,0.75), 0 0 12px rgba(92,110,255,0.35);
  }
}

/* ==========================================================================
   Modals & Quote Drawer
   ========================================================================== */
.modal-backdrop,
.quote-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 18, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop[hidden],
.quote-drawer-backdrop[hidden] {
  display: none;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--navy);
  cursor: pointer;
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
}

.qv-media {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.qv-media img {
  max-height: 240px;
  margin: 0 auto;
  object-fit: contain;
}

.qv-sku {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
}

.qv-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0.25rem 0 0.4rem;
}

.qv-rating {
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 0.65rem;
}

.qv-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.qv-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.qv-specs li {
  font-size: 0.74rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.quote-drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.quote-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
}

.quote-drawer-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.quote-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-drawer-header .modal-close {
  position: static;
}

.quote-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
}

.quote-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--bg-light);
  border-radius: 8px;
}

.quote-item-info {
  flex: 1;
  min-width: 0;
}

.quote-item-info h4 {
  font-size: 0.82rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.quote-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.quote-qty button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  cursor: pointer;
  font-weight: 700;
}

.quote-drawer-form {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quote-drawer-form input {
  width: 100%;
  padding: 0.58rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.84rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quote-status-msg {
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Mobile App-Style Bottom Navigation Bar
   ========================================================================== */
.mobile-app-bar {
  display: none;
}

/* ==========================================================================
   Responsive Rules (Tablet <= 1080px & Mobile <= 768px)
   ========================================================================== */
@media (max-width: 1080px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-socials {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 1.25rem auto 0 auto !important;
  }

  .social-label {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-social-icons {
    justify-content: center !important;
    width: 100% !important;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stage-nav-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .header-top-strip,
  .desktop-nav,
  .quote-btn-label {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand-logo img {
    height: 38px;
  }

  .hero-section {
    min-height: 460px;
    padding: 5.5rem 0 2.5rem;
  }

  .hero-breadcrumbs {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .bestsellers-section {
    padding: 2.75rem 0 2.25rem;
  }

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .category-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    overflow: visible;
  }

  .cat-pill {
    justify-content: center;
    padding: 0.48rem 0.55rem;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-search-wrap {
    max-width: 100%;
    flex: 1 1 auto;
  }

  /* Smaller 3D Carousel on Mobile so nothing goes off-screen */
  .bestsellers-3d-stage-wrap {
    min-height: 365px;
  }

  .bestsellers-3d-ring {
    min-height: 350px;
  }

  .bestsellers-3d-ring .product-card {
    width: 196px !important;
    min-height: 335px;
    height: 335px;
    margin-top: -167px !important;
    margin-left: -98px !important;
  }

  .bestsellers-3d-ring .product-card .card-media-wrap {
    height: 148px;
  }

  .bestsellers-3d-ring .product-card .card-body {
    padding: 0.72rem 0.8rem;
  }

  .bestsellers-3d-ring .product-card .card-title {
    font-size: 0.8rem;
    height: 2.1rem;
  }

  .categories-grid,
  .branches-grid,
  .qv-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-app-card {
    flex-direction: column;
    text-align: center;
  }

  .review-card-sm {
    width: 225px;
    padding: 0.6rem 0.75rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-social-icons {
    gap: 8px;
  }

  /* Fixed Mobile App Bottom Bar */
  .mobile-app-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(10, 15, 28, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 100vw;
  }

  .app-tab {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 500;
    padding: 0.2rem 0;
    cursor: pointer;
  }

  .app-tab i {
    font-size: 1rem;
  }

  .app-tab.active,
  .app-tab:hover {
    color: var(--teal);
  }

  .app-quote-icon-wrap {
    position: relative;
    display: inline-flex;
  }

  .app-quote-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--teal);
    color: #061216;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
  }
}
