/* ==========================================================================
   Aqua Street - Premium Aquatic E-Commerce Design System
   Front Store: Dark Obsidian & Electric Purple Gradient
   Admin Panel: Clean White & Crisp Light Dashboard
   ========================================================================== */

:root {
  /* Front-End Dark & Purple Palette */
  --bg-gradient-black: linear-gradient(180deg, #09030e 0%, #050505 50%, #020202 100%);
  --card-gradient-purple: linear-gradient(145deg, rgba(28, 10, 43, 0.9) 0%, rgba(13, 5, 22, 0.95) 100%);
  --card-gradient-purple-hover: linear-gradient(145deg, rgba(46, 16, 70, 0.95) 0%, rgba(20, 8, 33, 1) 100%);
  --nav-gradient-dark: linear-gradient(180deg, #0a0410 0%, #040206 100%);
  --drawer-gradient-purple: linear-gradient(180deg, #0d0517 0%, #050208 100%);
  --border-purple-subtle: rgba(168, 85, 247, 0.18);
  --border-purple-glow: rgba(192, 132, 252, 0.45);

  /* Brand Accents */
  --aqua-dark: #081b33;
  --aqua-navy: #0d284e;
  --aqua-blue: #134074;
  --aqua-ocean: #0077b6;
  --aqua-teal: #00a896;
  --aqua-cyan: #02c39a;
  --aqua-coral: #ff6b6b;
  --aqua-gold: #ffb703;
  --accent-purple: #a855f7;
  --accent-purple-light: #c084fc;

  /* Messaging & Utility */
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --wa-glow: rgba(37, 211, 102, 0.35);

  /* Customer Website Colors */
  --bg-body-dark: #050505;
  --text-heading-dark: #f8fafc;
  --text-body-dark: #cbd5e1;
  --text-muted-dark: #94a3b8;

  /* Admin Clean White Colors */
  --admin-bg: #f8fafc;
  --admin-surface: #ffffff;
  --admin-text-heading: #0f172a;
  --admin-text-body: #334155;
  --admin-text-muted: #64748b;
  --admin-border: #e2e8f0;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(168, 85, 247, 0.12);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px rgba(168, 85, 247, 0.2);
  --shadow-wa: 0 8px 25px rgba(37, 211, 102, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Resets & Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-body-dark);
  background: var(--bg-gradient-black);
  background-attachment: fixed;
  background-color: var(--bg-body-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ==========================================================================
   Minimalist Gold Pulse Black Preloader (Customer Site Only)
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #050505 0%, #111418 50%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  padding: 16px;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-pulse-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 8px;
}

.blinking-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: mildGoldBlink 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: filter, opacity, transform;
}

@keyframes mildGoldBlink {
  0% {
    opacity: 0.38;
    transform: scale(0.97);
    filter: drop-shadow(0 0 0px rgba(255, 183, 3, 0));
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.45)) 
            drop-shadow(0 0 22px rgba(212, 160, 23, 0.25));
  }
  100% {
    opacity: 0.38;
    transform: scale(0.97);
    filter: drop-shadow(0 0 0px rgba(255, 183, 3, 0));
  }
}

.text-gold {
  color: var(--aqua-gold);
}

.tracking-wider {
  letter-spacing: 0.14em;
}

.preloader-bar {
  width: 150px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4a017, #ffb703, #ffe082);
  border-radius: 99px;
  position: absolute;
  animation: preloaderGoldFill 1.8s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}

@keyframes preloaderGoldFill {
  0% {
    left: 0%;
    width: 20%;
  }
  100% {
    left: 70%;
    width: 30%;
  }
}

/* ==========================================================================
   Top Notification Bar
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #0f051d 0%, #1e0a38 50%, #0b0214 100%);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 6px 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-purple-subtle);
  text-align: center;
}

.top-notice-bar a {
  color: var(--aqua-cyan);
}

.top-notice-bar a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Navbar Container (Black + Purple Gradient)
   ========================================================================== */
.site-header {
  padding: 6px 0 0 0;
  background: var(--nav-gradient-dark);
  border-bottom: 1px solid var(--border-purple-subtle);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.brand-title span {
  color: var(--accent-purple-light);
}

.brand-tagline-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  display: block;
}

.search-form-desktop .header-search-input {
  width: 250px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-purple-subtle);
  color: #ffffff;
  font-size: 0.825rem;
  transition: var(--transition);
}

.search-form-desktop .header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-form-desktop .header-search-input:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
  color: #ffffff;
  outline: none;
}

.search-form-desktop button i {
  color: rgba(255, 255, 255, 0.6) !important;
}

.header-subnav {
  border-top: 1px solid rgba(168, 85, 247, 0.12) !important;
}

.header-subnav .nav-link-custom {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: var(--radius-pill);
  color: #cbd5e1;
  transition: var(--transition);
}

.header-subnav .nav-link-custom:hover {
  color: #ffffff !important;
  background: rgba(168, 85, 247, 0.18);
}

.header-subnav .nav-link-custom.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(107, 33, 168, 0.4) 100%);
  border: 1px solid var(--border-purple-glow);
  font-weight: 700;
}

.mobile-search-circle-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-purple-subtle);
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-search-circle-btn:hover,
.mobile-search-circle-btn:active {
  background-color: var(--accent-purple);
  color: #ffffff;
  border-color: var(--accent-purple-light);
}

.mobile-hamburger-btn {
  line-height: 1;
}

.mobile-hamburger-btn i {
  color: #ffffff !important;
}

/* ==========================================================================
   Mobile Offcanvas Drawer (Dark Purple Theme)
   ========================================================================== */
.modern-mobile-offcanvas {
  max-width: 290px;
  background: var(--drawer-gradient-purple) !important;
  color: #ffffff;
  border-right: 1px solid var(--border-purple-subtle);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
}

.modern-mobile-offcanvas .offcanvas-header {
  background: rgba(15, 6, 25, 0.95) !important;
  border-bottom: 1px solid var(--border-purple-subtle) !important;
}

.modern-mobile-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.mobile-drawer-search {
  font-size: 0.825rem;
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-purple-subtle);
  color: #ffffff;
}

.mobile-drawer-search:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-purple);
  color: #ffffff;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-drawer-link i {
  font-size: 1.05rem;
  color: var(--accent-purple-light);
  width: 22px;
  text-align: center;
  transition: var(--transition);
}

.mobile-drawer-link:hover {
  background-color: rgba(168, 85, 247, 0.18);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-drawer-link.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(107, 33, 168, 0.5) 100%);
  border: 1px solid var(--border-purple-glow);
  color: #ffffff !important;
  font-weight: 700;
}

/* ==========================================================================
   Cards (Black + Purple Gradient - Website Only)
   ========================================================================== */
.category-card {
  background: var(--card-gradient-purple);
  border: 1px solid var(--border-purple-subtle);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-card:hover {
  background: var(--card-gradient-purple-hover);
  transform: translateY(-4px);
  border-color: var(--border-purple-glow);
  box-shadow: var(--shadow-md);
}

.category-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(20, 8, 33, 0.8) 100%);
  border: 1px solid var(--border-purple-subtle);
  color: var(--accent-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-card:hover .category-icon-box {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7e22ce 100%);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.category-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.product-card {
  background: var(--card-gradient-purple);
  border: 1px solid var(--border-purple-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  background: var(--card-gradient-purple-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-purple-glow);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background-color: #0d0614;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.badge-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-new {
  background-color: var(--aqua-cyan);
  color: #081b33;
}

.badge-featured {
  background-color: var(--aqua-gold);
  color: #081b33;
}

.badge-bestseller {
  background-color: var(--accent-purple);
  color: #ffffff;
}

.stock-indicator {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stock-in {
  background: rgba(34, 197, 94, 0.88);
  color: #ffffff;
}

.stock-limited {
  background: rgba(245, 158, 11, 0.88);
  color: #ffffff;
}

.stock-out {
  background: rgba(239, 68, 68, 0.88);
  color: #ffffff;
}

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-sub {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-purple-light);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-specs-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.price-old {
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 2px 5px;
  border-radius: 4px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 576px) {
  .product-actions {
    grid-template-columns: 1fr auto;
  }
}

.trust-card,
.step-card {
  background: var(--card-gradient-purple);
  border: 1px solid var(--border-purple-subtle);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.trust-card:hover,
.step-card:hover {
  background: var(--card-gradient-purple-hover);
  transform: translateY(-4px);
  border-color: var(--border-purple-glow);
  box-shadow: var(--shadow-md);
}

.trust-metric {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-purple-light);
  margin-bottom: 8px;
}

.step-card {
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--accent-purple);
  color: var(--accent-purple-light);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #240a3d 0%, #120420 45%, #050208 100%);
  color: #ffffff;
  padding: 50px 16px 65px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-purple-subtle);
}

@media (min-width: 992px) {
  .hero-section {
    padding: 80px 0 100px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(168, 85, 247, 0.14) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px, 60px 60px;
  background-position: 0 0, 15px 15px;
  opacity: 0.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-purple-glow);
  color: var(--accent-purple-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-purple-light) 0%, var(--aqua-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #d8b4fe;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-visual-card {
  background: rgba(24, 8, 38, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-purple-glow);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .hero-visual-card {
    padding: 16px;
    margin-top: 0;
  }
}

.hero-visual-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 380px;
}

.hero-carousel-indicators {
  bottom: -40px;
}

.hero-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  transition: var(--transition);
  margin: 0 4px;
}

.hero-carousel-indicators .active {
  width: 28px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-purple-light);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.7);
}

.hero-carousel-control {
  width: 52px;
  opacity: 0.7;
  transition: var(--transition);
  z-index: 5;
}

.hero-carousel-control:hover {
  opacity: 1;
}

.hero-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(28, 10, 43, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  transition: var(--transition);
}

.hero-carousel-control:hover .hero-carousel-arrow {
  background: var(--accent-purple);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.5);
}

@media (max-width: 991.98px) {
  .hero-carousel-control {
    display: none;
  }
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  background-color: #000000;
}

.hero-fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-video-wrapper {
    height: 52vh;
    min-height: 320px;
  }
}

.tank-builder-container {
  background: linear-gradient(145deg, #190929 0%, #0d0417 100%);
  color: #ffffff;
  border: 1px solid var(--border-purple-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .tank-builder-container {
    padding: 40px 30px;
  }
}

.tank-builder-container h2,
.tank-builder-container h3,
.tank-builder-container label {
  color: #ffffff;
}

.tank-builder-container .form-control,
.tank-builder-container .form-select {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-purple-subtle);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 16px;
  width: 100%;
}

.tank-builder-container .form-control:focus,
.tank-builder-container .form-select:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-purple-light);
  color: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.25);
  outline: none;
}

.tank-builder-container .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.tank-builder-container .form-select option {
  color: #ffffff;
  background-color: #170926;
}

/* ==========================================================================
   WhatsApp Interactive Elements
   ========================================================================== */
.btn-whatsapp {
  background-color: var(--wa-green);
  color: #ffffff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  padding: 10px 20px;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: var(--wa-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-wa);
}

.btn-whatsapp-outline {
  background: transparent;
  color: var(--wa-green) !important;
  border: 2px solid var(--wa-green);
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  padding: 8px 18px;
  cursor: pointer;
}

.btn-whatsapp-outline:hover {
  background: var(--wa-green);
  color: #ffffff !important;
  border-color: var(--wa-green);
  transform: translateY(-2px);
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 1040;
  background-color: var(--wa-green);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-wa);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}

@media (min-width: 992px) {
  .floating-whatsapp-btn {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
}

.floating-whatsapp-btn:hover {
  color: #ffffff;
  transform: scale(1.08);
  background-color: var(--wa-dark);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Mobile Bottom Navigation
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(10, 4, 16, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-purple-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1030;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  font-size: 0.7rem;
  font-weight: 600;
  min-height: 48px;
  width: 20%;
  text-decoration: none;
  gap: 2px;
}

.mobile-nav-item i {
  font-size: 1.2rem;
}

.mobile-nav-item.active {
  color: var(--accent-purple-light);
}

.mobile-nav-wa {
  color: #ffffff !important;
  background: var(--wa-green);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-top: -18px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.mobile-nav-wa i {
  font-size: 1.45rem;
  margin: 0;
}

.mobile-nav-wa span {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #090310 0%, #030105 100%);
  color: #cbd5e1;
  padding: 45px 16px 25px;
  border-top: 2px solid var(--border-purple-glow);
}

@media (min-width: 992px) {
  .site-footer {
    padding: 70px 0 30px;
  }
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-purple-light);
}

@media (min-width: 992px) {
  .footer-links a:hover {
    padding-left: 5px;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  padding-top: 20px;
  margin-top: 35px;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   ADMIN PANEL (COMPLETELY OVERRIDDEN TO CLEAN WHITE - NO BLACK/PURPLE)
   Matches body.admin-page, .admin-body, or any container with .admin-layout
   ========================================================================== */
body.admin-page,
body.admin-body,
.admin-layout,
.admin-wrapper {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  color: #334155 !important;
}

/* Admin Headings & Text */
body.admin-page h1, body.admin-page h2, body.admin-page h3,
body.admin-page h4, body.admin-page h5, body.admin-page h6,
.admin-layout h1, .admin-layout h2, .admin-layout h3,
.admin-layout h4, .admin-layout h5, .admin-layout h6 {
  color: #0f172a !important;
}

body.admin-page p, .admin-layout p,
body.admin-page span, .admin-layout span,
body.admin-page label, .admin-layout label {
  color: #334155 !important;
}

/* Admin Sidebar - Pure White */
.admin-sidebar {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #1e293b !important;
  min-height: 100vh;
  padding: 20px 0;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.03) !important;
}

.admin-sidebar .brand-title {
  color: #0f172a !important;
}

.admin-sidebar .brand-title span {
  color: #0284c7 !important;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #475569 !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.admin-sidebar-link i {
  color: #64748b !important;
  font-size: 1.15rem;
}

.admin-sidebar-link:hover {
  color: #0284c7 !important;
  background-color: #f1f5f9 !important;
  border-left-color: #93c5fd !important;
}

.admin-sidebar-link:hover i {
  color: #0284c7 !important;
}

.admin-sidebar-link.active {
  color: #0284c7 !important;
  background-color: #e0f2fe !important;
  border-left: 4px solid #0284c7 !important;
  font-weight: 700;
}

.admin-sidebar-link.active i {
  color: #0284c7 !important;
}

/* Admin Navbar / Top Bar */
.admin-navbar,
.admin-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  padding: 12px 24px;
}

/* Admin Cards - Crisp White Cards with Soft Slate Borders */
.admin-card,
.admin-stat-card,
body.admin-page .card,
.admin-layout .card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 20px;
  color: #0f172a !important;
}

/* Admin Metric & Stat Numbers */
.admin-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.2;
}

.admin-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Admin Tables */
body.admin-page .table,
.admin-layout .table {
  color: #334155 !important;
  background-color: #ffffff !important;
}

body.admin-page .table th,
.admin-layout .table th {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-bottom: 2px solid #e2e8f0 !important;
  font-weight: 700;
}

body.admin-page .table td,
.admin-layout .table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #334155 !important;
}

/* Admin Form Controls & Modals */
body.admin-page .form-control,
body.admin-page .form-select,
.admin-layout .form-control,
.admin-layout .form-select {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

body.admin-page .form-control:focus,
body.admin-page .form-select:focus,
.admin-layout .form-control:focus,
.admin-layout .form-select:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

body.admin-page .modal-content,
.admin-layout .modal-content {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   AOS (Animate On Scroll) Compatibility Overrides
   ========================================================================== */
[data-aos] {
  pointer-events: auto !important;
}

html:not(.no-js) [data-aos] {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ==========================================================================
   Tablet & Mobile Responsive (< 992px)
   ========================================================================== */
@media (max-width: 991.98px) {
  .site-header {
    padding: 6px 0;
  }

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

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-tagline-sub {
    font-size: 0.58rem;
  }

  .hero-section {
    padding: 36px 16px 48px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem;
  }

  .hero-visual-card {
    margin-top: 24px;
    padding: 10px;
  }

  .hero-visual-img {
    max-height: 260px;
  }

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

  .footer-links a:hover {
    padding-left: 0;
  }

  .admin-sidebar {
    min-height: auto;
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
}

/* ==========================================================================
   Mobile Responsive Overrides (< 576px)
   ========================================================================== */
@media (max-width: 575.98px) {
  .logo-pulse-wrapper {
    width: 95px;
    height: 95px;
  }

  .preloader-bar {
    width: 120px;
  }

  .top-notice-bar {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

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

  .category-card {
    padding: 12px 6px;
  }

  .category-icon-box {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .category-name {
    font-size: 0.8rem;
  }

  .product-body {
    padding: 12px;
  }

  .product-title {
    font-size: 0.92rem;
    min-height: 2.5em;
  }

  .price-current {
    font-size: 1.05rem;
  }

  .trust-metric {
    font-size: 1.85rem;
  }

  .step-card {
    padding: 20px 14px;
  }
}

/* ==========================================================================
   Ultra-Compact Screen Overrides (< 360px)
   ========================================================================== */
@media (max-width: 359.98px) {
  .brand-title {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .mobile-nav-item {
    font-size: 0.62rem;
  }

  .mobile-nav-item i {
    font-size: 1.05rem;
  }

  .price-current {
    font-size: 0.95rem;
  }

  .logo-pulse-wrapper {
    width: 80px;
    height: 80px;
  }
}

/* ==========================================================================
   Quantity Selector Widget (Detail Pages & Product Cards)
   ========================================================================== */
.qty-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50rem;
  padding: 3px 6px;
  user-select: none;
}

.qty-stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
  padding: 0;
}

.qty-stepper-btn:hover {
  background: #25d366;
  color: #000000;
  transform: scale(1.08);
}

.qty-stepper-btn:active {
  transform: scale(0.95);
}

.qty-stepper-input {
  width: 44px;
  border: none;
  background: transparent;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  padding: 0 4px;
  -moz-appearance: textfield;
}

.qty-stepper-input::-webkit-outer-spin-button,
.qty-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Detail page prominent variant */
.qty-stepper-lg {
  background: rgba(13, 20, 35, 0.85);
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  padding: 5px 8px;
}

.qty-stepper-lg .qty-stepper-btn {
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
}

.qty-stepper-lg .qty-stepper-input {
  width: 54px;
  font-size: 1.2rem;
}

/* Product card compact variant */
.qty-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.qty-stepper-sm {
  padding: 2px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.qty-stepper-sm .qty-stepper-btn {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}

.qty-stepper-sm .qty-stepper-input {
  width: 28px;
  font-size: 0.82rem;
}