/* =========================================================
   AQUANUSANTARA STORE - MODERN AQUATIC DESIGN SYSTEM (STAGE 3)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Deep Oceanic & Vibrant Cyan */
  --bg-main: #050b14;
  --bg-surface: #0a1424;
  --bg-card: rgba(14, 26, 47, 0.75);
  --bg-card-hover: rgba(20, 36, 64, 0.85);
  --bg-input: rgba(10, 20, 36, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  /* Primary & Accent Accents */
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --secondary-gradient: linear-gradient(135deg, #05d554 0%, #00f2fe 100%);
  --accent-glow: rgba(0, 242, 254, 0.25);
  --accent-glow-strong: rgba(0, 242, 254, 0.5);

  /* Status & Badges */
  --color-success: #00e676;
  --color-warning: #ffb300;
  --color-danger: #ff3d71;
  --color-premium: #a855f7;
  --color-wa: #25D366;

  /* Typography Colors */
  --text-main: #f0f6fc;
  --text-muted: #8b9bb4;
  --text-dim: #5c6b84;
  --text-inverse: #050b14;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 242, 254, 0.4);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);

  /* Layout */
  --max-width: 1240px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(79, 172, 254, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.font-bold {
  font-weight: 800;
}

/* Gradient Text Utilities */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-secondary {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================================
   TOP PROMO BAR & NAVIGATION
   ========================================================= */
.top-announcement-bar {
  background: linear-gradient(90deg, #081d38, #0d3b66, #081d38);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-announcement-bar .badge-pill {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Flash Sale Countdown Bar */
.flash-sale-banner-bar {
  background: linear-gradient(90deg, #380010, #7a0026, #380010);
  border-bottom: 1px solid rgba(255, 61, 113, 0.4);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flash-sale-badge {
  background: #ff3d71;
  color: #fff;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  animation: pulseFlash 1.5s infinite;
}

@keyframes pulseFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.flash-timer-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.flash-timer-display {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  color: #ffd166;
  font-family: monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links a, .dropdown-toggle {
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover, .dropdown-toggle:hover, .nav-dropdown:hover > .dropdown-toggle {
  color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.06);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle .caret {
  font-size: 0.68rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: rgba(5, 11, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 242, 254, 0.1);
  padding: 0.5rem 0;
  list-style: none;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu li a {
  padding: 0.6rem 1.15rem;
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-fast);
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: rgba(0, 242, 254, 0.12);
  color: var(--primary-cyan);
  padding-left: 1.35rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-header-wishlist, .btn-header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-header-wishlist:hover {
  border-color: #ff3d71;
  box-shadow: 0 0 15px rgba(255, 61, 113, 0.2);
}

.btn-header-cart:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.wishlist-count-badge {
  background: #ff3d71;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-count-badge {
  background: var(--primary-cyan);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-admin-panel-trigger, .btn-payment-trigger {
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.35rem;
  cursor: pointer;
}

.btn-admin-panel-trigger {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--primary-cyan);
}

.btn-admin-panel-trigger:hover {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
}

.btn-payment-trigger:hover {
  color: var(--primary-cyan);
  border-color: var(--border-active);
}

/* Hamburger Button for Mobile */
.btn-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.btn-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.btn-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border-active);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-top: 0.85rem;
  margin-bottom: 0.4rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav-list a:hover, .mobile-nav-list a:active {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-cyan);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 11, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.mobile-bar-btn span:first-child {
  font-size: 1.15rem;
}

.mobile-bar-btn:hover, .mobile-bar-btn.active {
  color: var(--primary-cyan);
}

/* Admin Login Modal Styling */
.admin-login-box {
  max-width: 440px;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.15);
}

.admin-login-hint {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-top: 1rem;
  line-height: 1.5;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* PWA Alert Banner */
.pwa-install-banner {
  background: rgba(0, 242, 254, 0.1);
  border-bottom: 1px solid var(--border-active);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn-install-pwa {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
}

/* =========================================================
   HERO BANNER SECTION
   ========================================================= */
.hero-section {
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary-cyan);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--primary-cyan);
  background: var(--bg-card-hover);
}

.hero-trust-bar {
  display: flex;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-icon {
  color: var(--primary-cyan);
  font-size: 1.1rem;
}

.hero-visual-card {
  position: relative;
}

.hero-main-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-main-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-img-wrap:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  background: rgba(10, 20, 36, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-float-top {
  top: -15px;
  right: -15px;
}

.hero-float-bottom {
  bottom: -20px;
  left: -15px;
}

.float-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(0, 242, 254, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.float-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.shipping-dispatch-status {
  margin: 1.5rem 0 0;
}

.dispatch-alert-pill {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dispatch-safe {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #bbf7d0;
}

.dispatch-weekend {
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.3);
  color: #fef08a;
}

/* =========================================================
   STORE HIGHLIGHTS SECTION
   ========================================================= */
.highlights-section {
  padding: 2rem 0 3rem;
}

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

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =========================================================
   BUNDLE PACKAGES SECTION
   ========================================================= */
.bundles-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.02), transparent);
}

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

.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.bundle-badge-discount {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff3d71, #ff9100);
  color: #fff;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  z-index: 2;
}

.bundle-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.bundle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bundle-tagline {
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.bundle-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.bundle-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.bundle-items-box {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}

.bundle-items-box h5 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.bundle-items-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bundle-price-action {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.bundle-pricing {
  display: flex;
  flex-direction: column;
}

.bundle-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.bundle-orig-price {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* =========================================================
   TAHAP 3 (FITUR 1): AQUASCAPE 2D SIMULATOR STYLING
   ========================================================= */
.simulator-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.03), transparent);
}

.simulator-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.simulator-canvas-box {
  background: #020710;
  border: 2px solid #00f2fe;
  border-radius: var(--radius-md);
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 242, 254, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sim-water-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.3) 100%);
  overflow: hidden;
}

.sim-bubbles .bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: floatBubble 4s infinite linear;
}

.b1 { width: 8px; height: 8px; left: 20%; animation-duration: 3.5s; }
.b2 { width: 12px; height: 12px; left: 45%; animation-duration: 5s; }
.b3 { width: 6px; height: 6px; left: 70%; animation-duration: 3s; }
.b4 { width: 10px; height: 10px; left: 85%; animation-duration: 4.5s; }

@keyframes floatBubble {
  0% { bottom: -10px; opacity: 0; }
  50% { opacity: 0.8; }
  100% { bottom: 100%; opacity: 0; }
}

.sim-fish-layer {
  position: absolute;
  top: 25%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
}

.swim-fish {
  font-size: 2.2rem;
  animation: swimAnim 6s infinite ease-in-out alternate;
}

.sf1 { animation-delay: 0s; }
.sf2 { animation-delay: 2s; }
.sf3 { animation-delay: 4s; }

@keyframes swimAnim {
  0% { transform: translate(0, 0) scaleX(1); }
  50% { transform: translate(40px, -20px) scaleX(1); }
  100% { transform: translate(-30px, 15px) scaleX(-1); }
}

.sim-plants-layer {
  position: absolute;
  bottom: 45px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  font-size: 2.5rem;
  z-index: 2;
}

.sim-hardscape-layer {
  position: absolute;
  bottom: 35px;
  width: 100%;
  text-align: center;
  font-size: 3rem;
  z-index: 3;
}

.sim-substrate-layer {
  height: 50px;
  width: 100%;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.sub-label {
  font-size: 0.78rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.sim-tank-frame {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary-cyan);
  font-weight: 700;
  z-index: 10;
}

.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sim-control-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.sim-control-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
}

.sim-control-group select:focus {
  border-color: var(--primary-cyan);
}

.sim-bill-box {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
}

.sim-bill-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.sim-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 1.1rem;
  font-weight: 800;
}

/* =========================================================
   TAHAP 3 (FITUR 2): WATER PARAMETER DIARY & TRACKER STYLING
   ========================================================= */
.tracker-section {
  padding: 4rem 0;
}

.tracker-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.tracker-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 2fr auto;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.tracker-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.tracker-input-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  text-align: center;
}

.water-status-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  animation: slideInUp 0.3s ease;
}

.water-status-card.status-safe {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.4);
}

.water-status-card.status-warning {
  background: rgba(255, 179, 0, 0.08);
  border-color: rgba(255, 179, 0, 0.4);
}

.water-status-card.status-danger {
  background: rgba(255, 61, 113, 0.08);
  border-color: rgba(255, 61, 113, 0.4);
}

.tracker-table-wrap {
  overflow-x: auto;
  max-height: 350px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.tracker-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.tracker-history-table th {
  background: #08111e;
  padding: 0.75rem 1rem;
  color: var(--primary-cyan);
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
}

.tracker-history-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.badge-status-pill.status-safe { background: rgba(0, 230, 118, 0.2); color: #00e676; }
.badge-status-pill.status-warning { background: rgba(255, 179, 0, 0.2); color: #ffb300; }
.badge-status-pill.status-danger { background: rgba(255, 61, 113, 0.2); color: #ff3d71; }

.btn-delete-log {
  color: var(--text-dim);
  font-weight: bold;
  padding: 0.25rem 0.5rem;
}

.btn-delete-log:hover {
  color: var(--color-danger);
}

/* =========================================================
   TAHAP 3 (FITUR 3): MULTI-BANK & QRIS MODAL STYLING
   ========================================================= */
.payment-modal-box {
  max-width: 650px;
  padding: 2.25rem;
}

.bank-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.bank-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bank-card-item:hover {
  border-color: var(--primary-cyan);
}

.bank-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.bank-icon {
  font-size: 1.75rem;
}

.bank-card-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.bank-badge {
  font-size: 0.7rem;
  color: var(--color-success);
  font-weight: 600;
}

.bank-acc-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bank-acc-num {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.btn-copy-acc {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--border-active);
  color: var(--primary-cyan);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-copy-acc:hover {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.bank-acc-holder {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================
   TAHAP 3 (FITUR 4): PRODUCT REVIEWS STYLING
   ========================================================= */
.modal-reviews-section {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-reviews-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.prod-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  max-height: 200px;
  overflow-y: auto;
}

.prod-review-row {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.prod-review-user {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.review-stars {
  color: #ffd166;
}

.prod-review-comment {
  color: var(--text-main);
  font-style: italic;
}

.prod-review-date {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.25rem;
}

.review-form-box {
  background: rgba(5, 11, 20, 0.6);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.review-form-inputs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.review-form-inputs input, .review-form-inputs select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.8rem;
}

.review-form-box textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* =========================================================
   FISH TANKMATE COMPATIBILITY CHECKER TOOL
   ========================================================= */
.compatibility-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.02), transparent);
}

.compatibility-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.compat-selectors-grid {
  display: grid;
  grid-template-columns: 1fr 0.2fr 1fr 0.8fr;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.75rem;
}

.compat-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.compat-input-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  outline: none;
}

.compat-input-group select:focus {
  border-color: var(--primary-cyan);
}

.compat-divider-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-cyan);
  font-size: 1.1rem;
  padding-bottom: 0.75rem;
}

.btn-compat-check {
  width: 100%;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.compat-result-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  animation: slideInUp 0.3s ease;
}

.compat-result-card.status-green {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.4);
}

.compat-result-card.status-yellow {
  background: rgba(255, 179, 0, 0.08);
  border-color: rgba(255, 179, 0, 0.4);
}

.compat-result-card.status-red {
  background: rgba(255, 61, 113, 0.08);
  border-color: rgba(255, 61, 113, 0.4);
}

.compat-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compat-fish-pair {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
}

.compat-fish-pair .compat-vs {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.compat-badge-pill {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
}

.compat-reason {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.compat-specs-comparison {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* =========================================================
   DOKTER IKAN SECTION
   ========================================================= */
.doctor-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(255, 61, 113, 0.03), transparent);
}

.doctor-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.doctor-search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.doctor-search-bar select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.doctor-diag-box {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  background: rgba(5, 11, 20, 0.7);
  animation: slideInUp 0.3s ease;
}

.doctor-diag-box.urgency-high {
  border-color: rgba(255, 179, 0, 0.5);
  background: rgba(255, 179, 0, 0.04);
}

.doctor-diag-box.urgency-critical {
  border-color: rgba(255, 61, 113, 0.6);
  background: rgba(255, 61, 113, 0.06);
}

.diag-header {
  margin-bottom: 1.25rem;
}

.diag-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.diag-icon {
  font-size: 2rem;
}

.diag-urgency-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 61, 113, 0.2);
  color: #ff3d71;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.diag-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.diag-info-col h4, .diag-treatment-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--primary-cyan);
}

.diag-info-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.diag-treatment-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.diag-treatment-col li {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-cyan);
}

.diag-rec-products-box {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.diag-rec-products-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.diag-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.diag-mini-prod {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem;
  border-radius: var(--radius-sm);
}

.diag-mini-prod img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.diag-mini-prod-info h5 {
  font-size: 0.8rem;
  font-weight: 700;
}

/* =========================================================
   PRODUCTS CATALOG & FILTER CONTROLS
   ========================================================= */
.catalog-section {
  padding: 4rem 0;
  position: relative;
}

.section-header-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-subtitle {
  color: var(--primary-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

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

.catalog-controls-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.categories-scroll-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.category-chip:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-chip.active {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(0, 242, 254, 0.35);
}

.filter-secondary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-input-field:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.badge-filters-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge-filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.badge-filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.badge-filter-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.sort-select-wrap select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.sort-select-wrap select:focus {
  border-color: var(--primary-cyan);
}

.catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.products-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #08111e;
  cursor: pointer;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.07);
}

.card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.card-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 4;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.card-wishlist-btn:hover {
  transform: scale(1.15);
  border-color: #ff3d71;
}

.product-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.badge-flash {
  background: linear-gradient(135deg, #ff3d71, #ff0040);
  color: #fff;
  font-weight: 800;
}

.badge-hot {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}

.badge-safe, .badge-doa {
  background: rgba(0, 230, 118, 0.9);
  color: #050b14;
  font-weight: 800;
}

.badge-promo {
  background: linear-gradient(135deg, #ff9900, #ff5500);
  color: #fff;
}

.badge-premium {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
}

.badge-discount {
  background: #ff3d71;
  color: #fff;
  font-weight: 800;
}

.badge-default {
  background: rgba(0, 242, 254, 0.9);
  color: #050b14;
}

.quick-view-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-active);
  color: var(--primary-cyan);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast);
  z-index: 3;
}

.product-card:hover .quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
}

.star-icon {
  color: #ffd166;
}

.rating-num {
  font-weight: 700;
  color: var(--text-main);
}

.sold-num {
  color: var(--text-dim);
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.product-title:hover {
  color: var(--primary-cyan);
}

.product-desc-short {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.product-pricing {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.original-price {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.stock-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-success);
}

.stock-status.low-stock {
  color: var(--color-danger);
}

.product-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.5rem;
}

.btn-add-cart {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--primary-cyan);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}

.btn-video-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #4ade80;
  padding: 0.6rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-video-wa:hover {
  background: var(--color-wa);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.btn-buy-instant {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-buy-instant:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.products-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* =========================================================
   AQUARIUM VOLUME CALCULATOR TOOL
   ========================================================= */
.calculator-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.02), transparent);
}

.calculator-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.calc-intro h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.calc-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.calc-input-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.calc-input-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 700;
  text-align: center;
}

.calc-input-group input:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

.btn-calculate {
  width: 100%;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.btn-calculate:hover {
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.calc-results-panel {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.calc-results-panel h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-result-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-res-item .res-label {
  color: var(--text-muted);
}

.calc-res-item .res-value {
  font-weight: 700;
  color: var(--text-main);
}

/* =========================================================
   DOA WARRANTY & HOW TO ORDER SECTION
   ========================================================= */
.guide-section {
  padding: 4rem 0;
}

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

.guide-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-badge {
  width: 36px;
  height: 36px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.guide-step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.guide-step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   TESTIMONIALS & FAQ ACCORDION
   ========================================================= */
.testimonials-section {
  padding: 4rem 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-stars {
  color: #ffd166;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.testi-comment {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.testi-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.testi-city {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

/* FAQ Accordion */
.faq-section {
  padding: 4rem 0 5rem;
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-active);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-main);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary-cyan);
  font-weight: 800;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.main-footer {
  background: #02060d;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-about p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 4px;
}

.footer-contact-info p {
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0a1424;
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-drawer {
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.cart-live-fish-alert {
  background: rgba(0, 230, 118, 0.12);
  border-bottom: 1px solid rgba(0, 230, 118, 0.25);
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: #bbf7d0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-drawer-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item-delete {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.cart-item-delete:hover {
  color: var(--color-danger);
}

.cart-item-fish-tag {
  font-size: 0.7rem;
  color: var(--color-success);
  font-weight: 600;
}

.cart-item-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-cyan);
  font-size: 0.95rem;
}

.qty-control-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  padding: 0.15rem 0.55rem;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qty-display {
  padding: 0.15rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #070e1a;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cart-shipping-zone-box select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.82rem;
}

.cart-styrofoam-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.custom-checkbox-label input {
  margin-top: 0.2rem;
  accent-color: var(--primary-cyan);
}

.cart-voucher-box {
  display: flex;
  gap: 0.5rem;
}

.cart-voucher-box input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.btn-apply-voucher {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-apply-voucher:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-cyan);
}

.active-voucher-chip {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-cyan);
}

.btn-remove-voucher {
  color: var(--text-muted);
  font-weight: bold;
  padding: 0 0.25rem;
}

.cart-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.summary-row.text-discount {
  color: var(--color-success);
}

.summary-row.total-row {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 800;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-checkout-wa {
  background: var(--color-wa);
  color: #fff;
  font-weight: 800;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition-fast);
}

.btn-checkout-wa:hover {
  background: #1eb956;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* =========================================================
   MODAL WINDOWS
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0d1a2d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.18);
}

.prod-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  padding: 2rem;
}

.modal-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 320px;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-wrap {
  display: flex;
  flex-direction: column;
}

.modal-cat-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.modal-prod-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-price-box .modal-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.modal-price-box .modal-orig-price {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.modal-doa-banner {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #bbf7d0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.modal-specs-section {
  margin-bottom: 1.5rem;
}

.modal-specs-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.spec-item-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
}

.spec-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.modal-action-row {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.modal-qty-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
}

.modal-qty-box input {
  width: 42px;
  background: transparent;
  border: none;
  text-align: center;
  font-weight: 700;
  color: var(--text-main);
}

.modal-qty-box button {
  padding: 0.5rem 0.65rem;
  font-weight: bold;
}

.btn-modal-add {
  flex: 1;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-modal-buy {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  color: var(--primary-cyan);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* =========================================================
   ADMIN PRODUCT MANAGER MODAL STYLING
   ========================================================= */
.admin-modal-box {
  max-width: 960px;
  padding: 2.25rem;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-action-tools {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-adm-tool {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-adm-tool:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.admin-add-card {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-table-wrap {
  overflow-x: auto;
  max-height: 400px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.admin-products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.admin-products-table th {
  background: #08111e;
  padding: 0.75rem 1rem;
  color: var(--primary-cyan);
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
}

.admin-products-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.adm-thumb {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.adm-inline-input {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  width: 90px;
  font-weight: bold;
}

.adm-stock-input {
  width: 65px;
}

.btn-adm-delete {
  background: rgba(255, 61, 113, 0.15);
  border: 1px solid rgba(255, 61, 113, 0.4);
  color: #ff3d71;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: bold;
}

.btn-adm-delete:hover {
  background: #ff3d71;
  color: #fff;
}

/* =========================================================
   WISHLIST MODAL STYLING
   ========================================================= */
.wishlist-modal-box {
  max-width: 580px;
  padding: 2rem;
}

.wishlist-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
  max-height: 400px;
  overflow-y: auto;
}

.wishlist-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.wishlist-item-row img {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.wishlist-item-info {
  flex: 1;
}

.wishlist-item-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-delete-wish {
  color: var(--text-dim);
  font-weight: bold;
  padding: 0.35rem;
}

.btn-delete-wish:hover {
  color: var(--color-danger);
}

/* =========================================================
   PRINTABLE DIGITAL RECEIPT / INVOICE MODAL
   ========================================================= */
.receipt-modal-box {
  max-width: 560px;
  padding: 2rem;
}

.receipt-paper {
  background: #ffffff;
  color: #111827;
  padding: 2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.receipt-header {
  text-align: center;
}

.receipt-logo {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.receipt-header h2 {
  color: #0d1b2a;
  font-size: 1.35rem;
  font-weight: 800;
}

.receipt-header p {
  font-size: 0.85rem;
  color: #4b5563;
}

.receipt-divider {
  height: 1px;
  border-top: 1px dashed #9ca3af;
  margin: 1rem 0;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #374151;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 0.75rem 0;
}

.receipt-table th {
  border-bottom: 1px solid #d1d5db;
  padding: 0.4rem 0;
  text-align: left;
  color: #111827;
}

.receipt-table td {
  padding: 0.45rem 0;
  border-bottom: 1px dotted #e5e7eb;
}

.receipt-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
}

.receipt-sum-row {
  display: flex;
  justify-content: space-between;
  color: #4b5563;
}

.receipt-total-row {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1b2a;
  padding-top: 0.5rem;
  border-top: 2px solid #111827;
}

.receipt-footer {
  text-align: center;
  font-size: 0.78rem;
  color: #4b5563;
  margin-top: 1rem;
}

.btn-print-receipt {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* =========================================================
   FLOATING ACTION BUTTONS
   ========================================================= */
.floating-actions-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  position: relative;
}

.floating-wa-btn {
  background: var(--color-wa);
  color: #fff;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.floating-cart-btn {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.floating-cart-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.cart-bounce {
  animation: bounceEffect 0.6s ease;
}

@keyframes bounceEffect {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.25); }
  60% { transform: scale(0.9); }
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-pill {
  background: rgba(14, 26, 47, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-pill.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.toast-success { border-color: var(--color-success); }
.toast-warning { border-color: var(--color-warning); }
.toast-error { border-color: var(--color-danger); }

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =========================================================
   PRINT STYLES FOR INVOICE
   ========================================================= */
@media print {
  body * {
    visibility: hidden;
  }
  #receipt-modal, #receipt-modal * {
    visibility: visible;
  }
  #receipt-modal {
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    padding: 0;
  }
  .receipt-paper {
    box-shadow: none;
    padding: 0;
  }
  .btn-print-receipt, .modal-close-btn {
    display: none !important;
  }
}

/* =========================================================
   RESPONSIVE STYLES (MOBILE & TABLET)
   ========================================================= */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .btn-hamburger {
    display: flex;
  }
  .btn-ambient-audio, .btn-payment-trigger {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bundles-grid {
    grid-template-columns: 1fr;
  }
  .simulator-card-wrapper {
    grid-template-columns: 1fr;
  }
  .tracker-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bank-cards-grid {
    grid-template-columns: 1fr;
  }
  .compat-selectors-grid {
    grid-template-columns: 1fr 1fr;
  }
  .compat-divider-vs {
    display: none;
  }
  .calculator-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .diag-body-grid {
    grid-template-columns: 1fr;
  }
  .doctor-search-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .prod-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .modal-img-wrap {
    height: 240px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 65px;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
  .btn-brochure-trigger {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-trust-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .compat-selectors-grid {
    grid-template-columns: 1fr;
  }
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .modal-specs-grid {
    grid-template-columns: 1fr;
  }
  .catalog-controls-bar {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .calc-inputs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TAHAP 4: ALGAE DIAGNOSTIC & CLEAN-UP CREW
   ========================================================= */
.algae-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(5, 213, 84, 0.03), transparent);
}

.algae-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.algae-search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.algae-search-bar select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.algae-card-content {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: slideInUp 0.3s ease;
}

/* =========================================================
   TAHAP 4: LIGHTING & PHOTOPERIOD SCHEDULER
   ========================================================= */
.lighting-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.02), transparent);
}

.lighting-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.light-24h-bar {
  display: flex;
  height: 38px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-active);
  margin: 1.5rem 0 1rem;
}

.light-bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.light-bar-segment:hover {
  filter: brightness(1.2);
}

.segment-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #050b14;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.light-timeline-legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

/* =========================================================
   TAHAP 4: WEEKLY CARE ROUTINE & PLANNER
   ========================================================= */
.routine-section {
  padding: 4rem 0;
}

.routine-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.routine-day-card {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.routine-day-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.day-badge {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.day-icon {
  font-size: 1.6rem;
}

.day-info {
  flex: 1;
}

.day-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.day-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =========================================================
   TAHAP 4: LANGUAGE SWITCHER DROPDOWN
   ========================================================= */
.lang-switcher-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.lang-switcher-select:hover {
  border-color: var(--primary-cyan);
}

/* =========================================================
   TAHAP 5: FEEDING & DIET CALCULATOR
   ========================================================= */
.feed-calc-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(255, 179, 0, 0.02), transparent);
}

.feed-calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.feed-calc-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.feed-calc-grid input, .feed-calc-grid select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
}

/* =========================================================
   TAHAP 5: SALT & WATER CONDITIONER DOSING
   ========================================================= */
.salt-calc-section {
  padding: 4rem 0;
}

.salt-calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.salt-calc-inputs {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.salt-calc-inputs input, .salt-calc-inputs select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
}

/* =========================================================
   TAHAP 5: LIVE ORDER & RESI TRACKER
   ========================================================= */
.order-tracker-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.02), transparent);
}

.order-tracker-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.order-tracker-search {
  display: flex;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.order-tracker-search input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
}

.tracker-live-card {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: slideInUp 0.3s ease;
}

.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0;
}

.order-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step-point {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-dot {
  width: 38px;
  height: 38px;
  background: #0d1a2d;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-muted);
}

.step-point.completed .step-dot {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #050b14;
}

.step-point.active .step-dot {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  color: #050b14;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.step-label small {
  color: var(--text-dim);
  font-weight: normal;
  display: block;
}

/* =========================================================
   TAHAP 5: LUCKY WHEEL SPIN-THE-WHEEL
   ========================================================= */
.floating-wheel-btn {
  background: linear-gradient(135deg, #ff007f 0%, #7928ca 100%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  animation: wiggleWheel 3s infinite;
}

@keyframes wiggleWheel {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10%, 30% { transform: rotate(-10deg) scale(1.05); }
  20%, 40% { transform: rotate(10deg) scale(1.05); }
  50% { transform: rotate(0deg) scale(1); }
}

.lucky-wheel-modal-box {
  max-width: 440px;
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.wheel-container-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 1.5rem auto;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid #ffffff;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

#wheel-canvas {
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* =========================================================
   TAHAP 6: CO2 DROP CHECKER & pH/KH CALCULATOR
   ========================================================= */
.co2-calc-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.03), transparent);
}

.co2-calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.co2-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: flex-end;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.co2-inputs-grid input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 700;
}

.co2-result-visual-grid {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: fadeIn 0.3s ease;
}

.drop-checker-graphic-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.drop-checker-bulb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.bulb-liquid-shine {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.drop-checker-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
}

.co2-result-details {
  flex: 1;
}

.co2-ppm-headline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.ppm-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.ppm-num small {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.co2-badge {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
}

.co2-badge-blue { background: rgba(0, 114, 255, 0.2); color: #00f2fe; border: 1px solid #00f2fe; }
.co2-badge-green { background: rgba(0, 176, 80, 0.2); color: #00e676; border: 1px solid #00e676; }
.co2-badge-optimal { background: rgba(118, 255, 3, 0.2); color: #76ff03; border: 1px solid #76ff03; box-shadow: 0 0 10px rgba(118, 255, 3, 0.3); }
.co2-badge-warning { background: rgba(198, 255, 0, 0.2); color: #c6ff00; border: 1px solid #c6ff00; }
.co2-badge-danger { background: rgba(255, 61, 113, 0.25); color: #ff3d71; border: 1px solid #ff3d71; }

/* =========================================================
   TAHAP 6: NITROGEN CYCLE & CYCLING VISUALIZER
   ========================================================= */
.cycling-section {
  padding: 4rem 0;
}

.cycling-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.nitrogen-stages-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cycle-stage-tab-btn {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
}

.cycle-stage-tab-btn:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.cycle-stage-tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.stage-tab-icon {
  font-size: 1.5rem;
}

.stage-tab-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.stage-tab-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.cycling-detail-card {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.cycling-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.cycle-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.metric-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.metric-val {
  font-size: 1.05rem;
  font-weight: 800;
}

.cycle-status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.badge-danger { background: rgba(255, 61, 113, 0.2); color: #ff3d71; }
.badge-warning { background: rgba(255, 179, 0, 0.2); color: #ffb300; }
.badge-safe { background: rgba(0, 230, 118, 0.2); color: #00e676; }

/* =========================================================
   TAHAP 6: PRODUCT COMPARISON & FLOATING COMPARE BAR
   ========================================================= */
.card-top-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 0.4rem;
  z-index: 5;
}

.btn-card-compare {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-card-compare:hover, .btn-card-compare.active {
  border-color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.2);
  color: #fff;
  transform: scale(1.1);
}

.compare-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 26, 45, 0.92);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 900;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 242, 254, 0.3);
  animation: slideInUp 0.3s ease;
}

.compare-bar-thumbs {
  display: flex;
  gap: 0.5rem;
}

.compare-thumb-chip {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--primary-cyan);
}

.compare-thumb-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-chip {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.compare-thumb-chip:hover .btn-remove-chip {
  opacity: 1;
}

.compare-modal-box {
  max-width: 950px;
  padding: 2.25rem;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  vertical-align: top;
  font-size: 0.88rem;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.04);
}

.compare-header-item {
  text-align: center;
}

.compare-header-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
}

/* =========================================================
   TAHAP 6: AMBIENT AQUATIC SOUND TOGGLE
   ========================================================= */
.btn-ambient-audio {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--primary-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-ambient-audio:hover, .btn-ambient-audio.playing {
  background: rgba(0, 242, 254, 0.25);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

/* =========================================================
   TAHAP 7: STOCK SCARCITY PROGRESS BAR
   ========================================================= */
.prod-stock-scarcity-wrap {
  margin: 0.5rem 0 0.75rem;
}

.scarcity-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.scarcity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3d71, #ffb300);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.scarcity-label {
  font-size: 0.72rem;
  color: #ffb300;
  font-weight: 700;
  display: block;
}

/* =========================================================
   TAHAP 7: SOCIAL PROOF POPUP TOASTS
   ========================================================= */
.social-proof-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.social-proof-toast {
  pointer-events: auto;
  background: rgba(13, 26, 45, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg), 0 0 15px rgba(0, 242, 254, 0.2);
  animation: slideInLeft 0.4s ease;
  max-width: 320px;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.sp-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.sp-content {
  flex: 1;
}

.sp-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.25;
}

.sp-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.15rem 0;
  line-height: 1.25;
}

.sp-time {
  font-size: 0.68rem;
  color: var(--primary-cyan);
  font-weight: 700;
  display: block;
}

.sp-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.2rem;
}

.sp-close:hover {
  color: #fff;
}

/* =========================================================
   TAHAP 7: CHILLER & HEATER THERMAL CALCULATOR
   ========================================================= */
.temp-calc-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.02), transparent);
}

.temp-calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.temp-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.temp-inputs-grid input, .temp-inputs-grid select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
}

.temp-result-card {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: fadeIn 0.3s ease;
}

/* =========================================================
   TAHAP 7: DOA CLAIM ASSISTANT
   ========================================================= */
.doa-claim-section {
  padding: 4rem 0;
}

.doa-claim-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.claim-checklist-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.claim-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
}

.claim-check-item:last-child {
  margin-bottom: 0;
}

.claim-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-cyan);
  cursor: pointer;
}

/* =========================================================
   TAHAP 7: PRINTABLE PDF BROCHURE MODAL & MEDIA PRINT
   ========================================================= */
.brochure-modal-box {
  max-width: 900px;
  padding: 2rem;
}

.brochure-paper {
  background: #ffffff;
  color: #0f172a;
  padding: 2rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.brochure-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.brochure-table th, .brochure-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
}

.brochure-table th {
  background: #f1f5f9;
  font-weight: 800;
  color: #0f172a;
}

.btn-brochure-trigger {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-brochure-trigger:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

@media print {
  body * {
    visibility: hidden;
  }
  .brochure-paper, .brochure-paper * {
    visibility: visible;
  }
  .brochure-paper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
}

/* =========================================================
   TAHAP 8: VISUAL THEMES (EMERALD & MIDNIGHT)
   ========================================================= */
[data-theme="emerald"] {
  --primary-cyan: #00e676;
  --secondary-blue: #00b0ff;
  --accent-glow: rgba(0, 230, 118, 0.35);
  --border-active: rgba(0, 230, 118, 0.4);
  --bg-main: #04130c;
  --bg-card: #082015;
}

[data-theme="midnight"] {
  --primary-cyan: #c084fc;
  --secondary-blue: #38bdf8;
  --accent-glow: rgba(192, 132, 252, 0.35);
  --border-active: rgba(192, 132, 252, 0.4);
  --bg-main: #0c071a;
  --bg-card: #160f2e;
}

.theme-switcher-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

/* =========================================================
   TAHAP 8: FERTILIZER DOSING CALCULATOR
   ========================================================= */
.fert-calc-section {
  padding: 4rem 0;
}

.fert-calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.fert-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1fr;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.fert-inputs-grid input, .fert-inputs-grid select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
}

.fert-result-card {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: fadeIn 0.3s ease;
}

/* =========================================================
   TAHAP 8: RECOMMENDATION WIZARD QUIZ
   ========================================================= */
.quiz-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.03), transparent);
}

.quiz-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 750px;
  margin: 0 auto;
}

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

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quiz-option-btn strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.quiz-option-btn small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
  border-color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.quiz-final-result-card {
  animation: fadeIn 0.4s ease;
}

/* =========================================================
   TAHAP 8: ADMIN TABS & BUSINESS ANALYTICS
   ========================================================= */
.admin-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.admin-tab-btn.active {
  color: var(--primary-cyan);
  border-bottom-color: var(--primary-cyan);
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.25rem 0;
}

/* =========================================================
   TAHAP 9: ELECTRICITY CALCULATOR & BREAKDOWN
   ========================================================= */
.elec-calc-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.02), transparent);
}

.elec-result-card {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.elec-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.elec-breakdown-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}

.elec-breakdown-item span {
  color: var(--text-muted);
}

.elec-breakdown-item strong {
  color: var(--text-main);
  font-size: 0.9rem;
}

/* =========================================================
   TAHAP 9: COMMUNITY CUSTOMER GALLERY
   ========================================================= */
.community-gallery-section {
  padding: 4.5rem 0;
}

.community-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-likes-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 61, 113, 0.4);
  color: #ff6b8b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.gallery-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.gallery-owner {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.65rem;
}

.gallery-desc {
  font-size: 0.84rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.gallery-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gallery-product-pill {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-product-pill:hover {
  background: var(--primary-cyan);
  color: var(--text-inverse);
}

/* =========================================================
   TAHAP 9: WATER PARAMETER FILTER WIDGET
   ========================================================= */
.water-filter-toggle-btn {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--primary-cyan);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.water-filter-toggle-btn:hover, .water-filter-toggle-btn.active {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.water-param-filter-panel {
  background: rgba(5, 11, 20, 0.8);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.water-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 1rem;
  align-items: flex-end;
}

/* =========================================================
   TAHAP 10: QUARANTINE & HOSPITAL TANK PROTOCOL
   ========================================================= */
.quarantine-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 230, 118, 0.02), transparent);
}

.quarantine-progress-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quarantine-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.quarantine-progress-fill {
  height: 100%;
  background: var(--primary-cyan);
  transition: width 0.4s ease;
}

.quarantine-days-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quarantine-day-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-fast);
}

.quarantine-day-card.done {
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.03);
}

.quarantine-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quarantine-day-icon {
  font-size: 1.6rem;
}

.quarantine-day-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.quarantine-step-list {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

.quarantine-protip {
  background: rgba(0, 242, 254, 0.05);
  border-left: 3px solid var(--primary-cyan);
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =========================================================
   TAHAP 10: BIOLOAD CAPACITY METER
   ========================================================= */
.bioload-section {
  padding: 4.5rem 0;
}

.bioload-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}







