/* ============================================
   GB ASIA - Professional Theme with Dark/Light Mode
   ============================================ */

:root {
  /* Light Mode Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #6c757d;
  --border-color: #e2e8f0;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  --nav-bg: #1e293b;
  --nav-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  --nav-text: #f1f5f9;
  --nav-border: #334155;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --footer-bg: #1a1a2e;
  --footer-text: #e2e8f0;
  --hero-overlay: rgba(0, 0, 0, 0.5);
  --badge-bg: #fef3c7;
  --badge-text: #92400e;
  --input-bg: #ffffff;
  --input-border: #d1d5db;
  --pagination-bg: #ffffff;
  --pagination-active: #f59e0b;
  --section-alt-bg: #f1f5f9;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --accent-color: #f59e0b;
  --accent-hover: #fbbf24;
  --nav-bg: #1e293b;
  --nav-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  --nav-text: #f1f5f9;
  --nav-border: #334155;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --hero-overlay: rgba(15, 23, 42, 0.7);
  --badge-bg: #78350f;
  --badge-text: #fef3c7;
  --input-bg: #334155;
  --input-border: #475569;
  --pagination-bg: #1e293b;
  --pagination-active: #f59e0b;
  --section-alt-bg: #1e293b;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Navigation
   ============================================ */
.gb-navbar {
  background-color: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  padding: 0.6rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--nav-border);
}

.gb-navbar .navbar-brand {
  text-decoration: none;
  padding: 0;
  margin-right: 2rem;
}

.gb-navbar .gb-logo-img {
  height: 88px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.gb-navbar .navbar-brand:hover .gb-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}

.gb-brand-info {
  line-height: 1.15;
}

.gb-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
}

.gb-brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--accent-color);
  text-transform: uppercase;
}

.gb-navbar .nav-link {
  color: var(--nav-text) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem !important;
  letter-spacing: 0.6px;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}

.gb-navbar .nav-link:hover,
.gb-navbar .nav-link.active {
  color: var(--accent-color) !important;
  background-color: rgba(255, 255, 255, 0.06);
}

.gb-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 15%;
  right: 15%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.gb-navbar .nav-shop-link {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.gb-navbar .nav-shop-link:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #ffffff !important;
}

.gb-navbar .dropdown-menu {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 0.5rem 0;
}

.gb-navbar .dropdown-item {
  color: var(--text-primary);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.gb-navbar .dropdown-item:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-color);
}

.gb-navbar .search-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  border-radius: 25px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  width: 180px;
  transition: all 0.3s ease;
}

.gb-navbar .search-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.gb-navbar .search-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
  width: 220px;
}

.gb-navbar .search-form .btn-search {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.4rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.gb-navbar .search-form .btn-search:hover {
  background-color: var(--accent-hover);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #f1f5f9;
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: rotate(15deg);
}

/* ============================================
   Hero Section
   ============================================ */
.gb-hero {
  margin-top: 76px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 500px;
}

.gb-hero .carousel-item {
  min-height: 500px;
}

.gb-hero .carousel-item img,
.gb-hero .carousel-item iframe {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.gb-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 2rem 2rem;
  color: #fff;
}

.gb-hero-specs table {
  font-size: 0.9rem;
}

.gb-hero-specs td {
  padding: 0.2rem 0.5rem;
  color: #e2e8f0;
}

.gb-hero-links a {
  display: inline-block;
  margin: 0 0.4rem;
  transition: transform 0.3s ease;
}

.gb-hero-links a:hover {
  transform: translateY(-3px);
}

.gb-hero-links img {
  height: 32px;
  width: auto;
}

/* ============================================
   Section Styles
   ============================================ */
.gb-section {
  padding: 4rem 0;
}

.gb-section-alt {
  background-color: var(--section-alt-bg);
}

.gb-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.gb-section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.gb-section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

.gb-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ============================================
   Product Cards
   ============================================ */
.gb-product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gb-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(245, 158, 11, 0.5);
}

.gb-product-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.gb-product-card .card-img-wrapper img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gb-product-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.gb-product-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gb-product-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
  flex: 1;
}

.gb-product-card .card-actions {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.gb-product-card .card-actions .btn-detail,
.gb-product-card .card-actions .btn-shop {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.gb-product-card .btn-detail {
  gap: 0.4rem;
  padding: 0 0.85rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
  white-space: nowrap;
}

.gb-product-card .btn-detail:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.gb-product-card .btn-shop {
  padding: 0 0.75rem;
  border: 1.5px solid rgba(238, 77, 45, 0.3);
  background-color: var(--bg-secondary);
  color: #ee4d2d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gb-product-card .btn-shop img {
  height: 20px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.gb-product-card .btn-shop:hover {
  border-color: #ee4d2d;
  background-color: #ee4d2d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(238, 77, 45, 0.35);
}

.gb-product-card .btn-shop:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.04);
}



/* ============================================
   Banner Section
   ============================================ */
.gb-banner-carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.gb-banner-carousel img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ============================================
   Partner Section
   ============================================ */
.gb-partner {
  text-align: center;
}

.gb-partner img {
  max-width: 250px;
  margin: 1rem auto;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

[data-theme="dark"] .gb-partner img {
  filter: brightness(1.1);
}

/* ============================================
   About Section
   ============================================ */
.gb-about-content {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.gb-about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.gb-about-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.gb-about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.gb-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.btn-accent {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ============================================
   CTA / Manufacture Section
   ============================================ */
.gb-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 16px;
  margin: 2rem 0;
}

.gb-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.gb-cta p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.gb-footer {
  background-color: var(--footer-bg);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-footer .footer-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #ffffff !important;
  display: block;
}

.gb-footer .footer-desc {
  color: #94a3b8 !important;
  font-size: 0.88rem;
  line-height: 1.65;
}

.gb-footer p,
.gb-footer .text-muted {
  color: #94a3b8 !important;
  font-size: 0.88rem;
  line-height: 1.65;
}

.gb-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gb-footer .footer-links li {
  margin-bottom: 0.65rem;
}

.gb-footer .footer-links a {
  color: #cbd5e1 !important;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.gb-footer .footer-links a:hover {
  color: #fbbf24 !important;
  transform: translateX(3px);
}

.gb-footer .footer-links a.text-warning {
  color: #f59e0b !important;
  font-weight: 600;
}

.gb-footer .footer-links a.text-warning:hover {
  color: #fbbf24 !important;
}

.gb-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0 !important;
  margin-right: 0.65rem;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.gb-footer .footer-social a:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.gb-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 1.75rem;
  margin-top: 2rem;
  color: #94a3b8 !important;
  font-size: 0.85rem;
}

.gb-footer .footer-bottom span,
.gb-footer .footer-bottom p {
  color: #94a3b8 !important;
}

/* ============================================
   Pagination
   ============================================ */
.gb-pagination .page-item .page-link {
  background-color: var(--pagination-bg);
  border-color: var(--border-color);
  color: var(--text-primary);
  border-radius: 8px;
  margin: 0 3px;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  transition: all 0.3s ease;
}

.gb-pagination .page-item .page-link:hover,
.gb-pagination .page-item.active .page-link {
  background-color: var(--pagination-active);
  border-color: var(--pagination-active);
  color: #fff;
}

/* ============================================
   Utilities
   ============================================ */
.spacer-top {
  margin-top: 100px;
}

@media (max-width: 991.98px) {
  .spacer-top {
    margin-top: 80px;
  }
  .gb-navbar .gb-logo-img {
    height: 56px;
  }
}

.text-accent {
  color: var(--accent-color);
}

/* ============================================
   Custom Category Badge
   ============================================ */
.gb-badge-category {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-color);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .gb-badge-category {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Card Title Clamp */
.gb-product-card .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .gb-hero {
    min-height: 300px;
  }

  .gb-hero .carousel-item {
    min-height: 300px;
  }

  .gb-hero .carousel-item img,
  .gb-hero .carousel-item iframe {
    height: 300px;
  }

  .gb-section {
    padding: 2.5rem 0;
  }

  .gb-section-title h2 {
    font-size: 1.5rem;
  }

  .gb-about-content {
    padding: 1.5rem;
  }

  .gb-cta {
    padding: 3rem 1.5rem;
  }

  .gb-cta h2 {
    font-size: 1.5rem;
  }

  .gb-navbar .search-form .form-control {
    width: 140px;
  }

  .gb-navbar .search-form .form-control:focus {
    width: 160px;
  }

  /* Mobile product card improvements (Tablet) */
  .gb-product-card .card-img-wrapper {
    min-height: 170px;
    padding: 0.75rem;
  }

  .gb-product-card .card-img-wrapper img {
    max-height: 150px;
  }

  .gb-product-card .card-body {
    padding: 1rem;
  }

  .gb-product-card .btn-detail,
  .gb-product-card .btn-shop {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    min-height: 38px;
  }
}

@media (max-width: 575.98px) {
  .gb-hero-links img {
    height: 24px;
  }

  .gb-hero-specs td {
    font-size: 0.75rem;
  }

  /* 2-Column Mobile Product Card */
  .gb-product-card {
    border-radius: 10px;
  }

  .gb-product-card .card-img-wrapper {
    min-height: 135px;
    height: 135px;
    padding: 0.5rem;
    border-radius: 10px 10px 0 0;
  }

  .gb-product-card .card-img-wrapper img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
  }

  .gb-product-card .card-body {
    padding: 0.65rem;
  }

  .gb-product-card .gb-badge-category {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    line-height: 1.2;
    margin-bottom: 0.35rem !important;
  }

  .gb-product-card .card-title {
    font-size: 0.8rem;
    line-height: 1.28;
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.1rem;
  }

  .gb-product-card .card-body small {
    font-size: 0.68rem;
    margin-bottom: 0.25rem;
  }

  .gb-product-card .card-body .mb-3,
  .gb-product-card .card-body .mb-2 {
    margin-bottom: 0.45rem !important;
    font-size: 0.72rem;
  }

  .gb-product-card .card-actions {
    gap: 0.35rem;
    margin-top: auto;
  }

  .gb-product-card .card-actions .btn-detail {
    height: 32px;
    min-height: 32px;
    font-size: 0.72rem;
    padding: 0 0.45rem;
    border-radius: 6px;
    gap: 0.2rem;
    white-space: nowrap;
  }

  .gb-product-card .card-actions .btn-detail i {
    font-size: 0.65rem !important;
  }

  .gb-product-card .card-actions .btn-shop {
    height: 32px;
    min-height: 32px;
    width: 34px;
    flex: 0 0 34px;
    padding: 0;
    border-radius: 6px;
  }

  .gb-product-card .card-actions .btn-shop img {
    height: 16px;
    max-width: 80%;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Mobile navbar toggle */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(148, 163, 184, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================
   Carousel Arrow Fix
   ============================================ */
.gb-carousel .carousel-control-prev,
.gb-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.85;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gb-carousel .carousel-control-prev:hover,
.gb-carousel .carousel-control-next:hover {
  opacity: 1;
  background-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.gb-carousel .carousel-control-prev {
  left: -8px;
}

.gb-carousel .carousel-control-next {
  right: -8px;
}

@media (max-width: 768px) {
  .gb-carousel .carousel-control-prev {
    left: 4px;
  }
  .gb-carousel .carousel-control-next {
    right: 4px;
  }
}

/* ============================================
   Lightbox Modal Component
   ============================================ */
.gb-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.gb-lightbox.active {
  display: flex !important;
}

.gb-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 1000000;
  user-select: none;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
  color: #ffffff;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 1000000;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
  color: #ffffff;
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ============================================
   Dark Mode High-Contrast Overrides
   ============================================ */
[data-theme="dark"] {
  color-scheme: dark;
}

/* Override Bootstrap !important text utilities in Dark Mode */
[data-theme="dark"] .text-dark {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .badge.bg-warning,
[data-theme="dark"] .badge.bg-warning.text-dark,
[data-theme="dark"] .btn-warning,
[data-theme="dark"] .btn-warning.text-dark {
  color: #0f172a !important;
}

[data-theme="dark"] .text-muted {
  color: #94a3b8 !important;
}

[data-theme="dark"] .text-secondary {
  color: #cbd5e1 !important;
}

[data-theme="dark"] small.text-muted,
[data-theme="dark"] p.text-muted,
[data-theme="dark"] span.text-muted {
  color: #94a3b8 !important;
}

/* Backgrounds & borders in Dark Mode */
[data-theme="dark"] .bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .bg-white {
  background-color: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Breadcrumbs in Dark Mode */
[data-theme="dark"] .breadcrumb {
  background: transparent;
}

[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .breadcrumb-item a {
  color: #94a3b8 !important;
}

[data-theme="dark"] .breadcrumb-item a:hover {
  color: #f59e0b !important;
}

[data-theme="dark"] .breadcrumb-item.active {
  color: #f8fafc !important;
  font-weight: 500;
}

[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
  color: #64748b !important;
}

/* Badges & Tables in Dark Mode */
[data-theme="dark"] .badge.bg-light {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] table,
[data-theme="dark"] .table {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .table td,
[data-theme="dark"] .table th,
[data-theme="dark"] .specs-table td {
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .specs-table .spec-label {
  color: #94a3b8 !important;
}

[data-theme="dark"] .specs-table .spec-value {
  color: #f8fafc !important;
}

/* Detail info cards in Dark Mode */
[data-theme="dark"] .detail-info {
  background-color: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .detail-info h1,
[data-theme="dark"] .detail-info .h2,
[data-theme="dark"] .detail-product-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .gallery-hint {
  color: #94a3b8 !important;
}

[data-theme="dark"] .btn-outline-secondary {
  color: #cbd5e1 !important;
  border-color: #475569 !important;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  background-color: #334155 !important;
  border-color: #64748b !important;
  color: #ffffff !important;
}

/* =========================================================================
 * FOOTER SOCIAL ICONS
 * ========================================================================= */
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer-social a:hover {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
  transform: translateY(-3px);
}

/* =========================================================================
 * FLOATING WHATSAPP BUTTON
 * ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-float:hover {
  background-color: #20ba59;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}
.whatsapp-float i, .whatsapp-float .fa-whatsapp {
  font-size: 1.4rem;
}
@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
}

/* =========================================================================
 * COOKIE CONSENT BANNER
 * ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 440px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  animation: slideUpCookie 0.4s ease-out;
}
@keyframes slideUpCookie {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 576px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =========================================================================
 * TESTIMONIALS SECTION
 * ========================================================================= */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.testimonial-product {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-badge-shopee {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  background-color: rgba(238, 77, 45, 0.12);
  color: #ee4d2d;
  border: 1px solid rgba(238, 77, 45, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ee4d2d, #f59e0b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.testimonial-info h6 {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.testimonial-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================================================
 * FAQ ACCORDION STYLES
 * ========================================================================= */
.faq-accordion .accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.faq-accordion .accordion-button {
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}
.faq-accordion .accordion-body {
  background-color: var(--bg-card);
  color: var(--text-primary);
  line-height: 1.7;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
}
[data-theme="dark"] .faq-accordion .accordion-button::after {
  filter: invert(1) brightness(0.8);
}
