/* ==========================================================================
   SWANLAKE Design System & Styling
   Theme: Luxury Rose-Gold & Soft Lavender (Target Market: Women)
   Aesthetics: Deep Velvet Plum Backgrounds, Rose-Pink Accents, Soft Glow
   Responsiveness: Mobile First, Tablet, Desktop & Ultra-wide Adaptive Layouts
   ========================================================================== */

:root {
  --bg-dark: #130914;
  --bg-card: #1d1022;
  --bg-card-hover: #2b1733;
  --border-color: rgba(244, 114, 182, 0.18);
  --primary-gold: #f472b6;
  --primary-pink: #fb7185;
  --primary-lavender: #c084fc;
  --text-main: #fdf2f8;
  --text-muted: #cbd5e1;
  --terminal-green: #f472b6;
  --terminal-bg: #0d0510;
  --accent-blue: #e11d48;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-main: 0 4px 20px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  zoom: 80%;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 9, 20, 0.92);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(244, 114, 182, 0.2);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(19, 9, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(244, 114, 182, 0.15);
}

.menu-button .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Popup Navigation Menu Drawer */
.popup-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 1.2rem;
  background: #1c1022;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  width: 240px;
  z-index: 999;
  overflow: hidden;
  animation: fadeInDown 0.25s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.popup-item {
  color: var(--text-main);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(244, 114, 182, 0.08);
  transition: background 0.2s ease;
  white-space: nowrap;
}

.popup-item:last-child {
  border-bottom: none;
}

.popup-item i {
  color: var(--primary-gold);
  width: 18px;
}

.popup-item:hover {
  background: #2b1733;
}

/* Main Container Layout */
.container {
  max-width: 1100px;
  margin: 75px auto 40px auto;
  padding: 0 1rem;
}

/* Search Bar */
.search-section {
  margin-bottom: 1.2rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  color: var(--primary-gold);
  font-size: 0.95rem;
}

.input-box {
  width: 100%;
  background: #1a0e1f;
  border: 1px solid rgba(244, 114, 182, 0.2);
  color: #fff;
  padding: 0.75rem 2.8rem 0.75rem 2.8rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-box:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.2);
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}

/* Banner Slider Carousel */
.slider-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.15);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.banner-card {
  height: 180px;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-1 {
  background: url('banner1.png') center/cover no-repeat;
}

.banner-2 {
  background: url('banner2.png') center/cover no-repeat;
}

.banner-3 {
  background: url('banner3.png') center/cover no-repeat;
}

.banner-content {
  max-width: 500px;
  z-index: 2;
}

/* Right-side Banner Glassmorphism 3D Graphics */
.banner-graphic {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.timeline-box {
  background: rgba(29, 16, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 114, 182, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  width: 210px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(244, 114, 182, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transform: rotate(-2deg);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
}

.badge-mini {
  background: rgba(244, 114, 182, 0.2);
  color: var(--primary-gold);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.bar-pink { background: linear-gradient(90deg, #f472b6, #fb7185); height: 100%; border-radius: 4px; }
.bar-purple { background: linear-gradient(90deg, #c084fc, #a855f7); height: 100%; border-radius: 4px; }
.bar-cyan { background: linear-gradient(90deg, #38bdf8, #818cf8); height: 100%; border-radius: 4px; }

.ai-chip-card, .cs-support-card {
  background: rgba(29, 16, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 114, 182, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 114, 182, 0.25);
  transform: rotate(2deg);
}

.ai-brain-icon, .cs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4);
}

.ai-info, .cs-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-info strong, .cs-info strong {
  font-size: 0.84rem;
  color: #fff;
}

.ai-info span, .cs-info span {
  font-size: 0.72rem;
  color: var(--primary-gold);
}

@media (max-width: 768px) {
  .banner-graphic {
    display: none; /* Hide 3D graphic overlay on mobile phones to ensure 100% text readability */
  }
}

.banner-badge {
  background: rgba(244, 114, 182, 0.25);
  border: 1px solid var(--primary-gold);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.banner-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}

.banner-content p {
  font-size: 0.82rem;
  color: rgba(253, 242, 248, 0.9);
  margin-bottom: 1rem;
}

.btn-banner {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
  color: #ffffff;
  border: none;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 114, 182, 0.5);
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.slider-bullet {
  width: 28px;
  height: 5px;
  border-radius: 4px;
  background: rgba(244, 114, 182, 0.25);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-bullet.active {
  background: var(--primary-gold);
}

/* Category Navigation Bar */
.category-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1.2rem;
}

.category-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.category-nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.2rem 0;
  min-width: max-content;
}

.category-btn {
  background: #1c1022;
  color: var(--text-muted);
  border: 1px dashed rgba(244, 114, 182, 0.25);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-radius: 8px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover {
  background: #2b1733;
  color: var(--text-main);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
  color: #ffffff;
  border-style: solid;
  border-color: var(--primary-gold);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.3);
}

/* Live Info Announcement Bar */
.live-info-bar {
  background: rgba(29, 16, 34, 0.85);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.live-info-badge {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.live-info-content {
  font-size: 0.84rem;
  color: var(--text-main);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-typing-text::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  color: var(--primary-gold);
  animation: liveBlink 0.8s step-end infinite;
}

@keyframes liveBlink {
  50% { opacity: 0; }
}

/* Sections & Grids */
.section-boxhome {
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 0.85rem;
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.65rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

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

.trending-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(6, 1fr);
}

/* Product Cards */
.product-card {
  background: linear-gradient(135deg, #1c1022, #26162e);
  border-radius: 16px;
  padding: 0.75rem;
  position: relative;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(244, 114, 182, 0.12);
}

.product-card:hover {
  transform: scale(1.03);
  background: linear-gradient(135deg, #281732, #341e40);
  border-color: rgba(244, 114, 182, 0.35);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.25);
}

.tag-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.product-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-icon-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

.product-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.product-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-top: 0.1rem;
}

.price-badge {
  font-size: 0.78rem;
  color: var(--primary-gold);
  font-weight: 700;
  margin-top: 0.2rem;
}

/* ==========================================================================
   PRODUCT DETAIL VIEW (Match User Reference Screenshot)
   ========================================================================== */

.product-detail-wrapper {
  max-width: 900px;
  margin: 10px auto 40px auto;
}

.btn-back {
  background: #1c1022;
  color: var(--primary-gold);
  border: 1px solid var(--border-color);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: #2b1733;
  transform: translateX(-3px);
}

.detail-header-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.detail-header-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.detail-header-info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.detail-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: var(--primary-gold);
  font-weight: 600;
}

.detail-check-list i {
  color: #4ade80;
  margin-right: 0.25rem;
}

.instruction-box {
  background: #18101e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.instruction-box h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.instruction-box ul {
  padding-left: 1.2rem;
  line-height: 1.7;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.instruction-box li {
  margin-bottom: 0.25rem;
}

.step-card {
  background: #18101e;
  border: 1px solid rgba(244, 114, 182, 0.15);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.category-sub-label {
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.6rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.variant-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.variant-detail-card {
  background: #25162b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-detail-card:hover {
  border-color: var(--primary-gold);
}

.variant-detail-card.selected {
  border-color: var(--primary-gold);
  background: rgba(244, 114, 182, 0.25);
  box-shadow: 0 0 14px rgba(244, 114, 182, 0.3);
}

.variant-duration {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.variant-price-text {
  font-size: 0.78rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-top: 0.25rem;
}

.payment-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.payment-method-card {
  background: #25162b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-method-card.selected {
  border-color: var(--primary-gold);
  background: rgba(244, 114, 182, 0.25);
  box-shadow: 0 0 14px rgba(244, 114, 182, 0.3);
}

.pay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.pay-card-tag {
  font-size: 0.65rem;
  background: var(--primary-gold);
  color: #000;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.pay-card-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.promo-input-wrapper, .wa-input-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.country-flag {
  background: #25162b;
  border: 1px solid rgba(244, 114, 182, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.buy-action-section {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.btn-buy-yellow {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  padding: 0.85rem 3rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-buy-yellow:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f472b6, #e11d48);
  box-shadow: 0 8px 25px rgba(244, 114, 182, 0.6);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--primary-gold);
  outline-offset: 3px;
}



/* Footer Styling */
footer {
  background: #0d0511;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 1.5rem 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand h4 {
  font-size: 1.2rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h5, .footer-payments h5 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pay-badge {
  background: #1c1022;
  border: 1px solid rgba(244, 114, 182, 0.2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0 auto;
  padding: 1.2rem 1.2rem 0 1.2rem;
  border-top: 1px solid rgba(244, 114, 182, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #1d1022;
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-card.modal-lg {
  max-width: 580px;
}

@keyframes modalScaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

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

.modal-body {
  padding: 1.2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.input-group {
  margin-bottom: 1rem;
}

.tx-result-box {
  background: #2b1733;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.modal-footer {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  background: #130914;
}

.btn-cancel {
  background: #2b1733;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-submit {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

/* RESPONSIVE BREAKPOINTS */

/* Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .header-container {
    padding: 0 0.8rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .container {
    margin-top: 65px;
    padding: 0 0.75rem;
  }
  .banner-card {
    height: auto;
    min-height: 155px;
    padding: 1.1rem 1.2rem;
  }
  .banner-content h2 {
    font-size: 1.05rem;
  }
  .banner-content p {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .product-card {
    padding: 0.7rem;
  }
  .product-title {
    font-size: 0.78rem;
  }
  .variant-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payment-cards-grid {
    grid-template-columns: 1fr;
  }
  .cmd-info-line {
    font-size: 0.76rem;
  }

  .buy-action-section {
    justify-content: center;
  }
  .btn-buy-yellow {
    width: 100%;
    justify-content: center;
  }
  input[type="text"], input[type="number"], select, textarea {
    font-size: 16px !important; /* Prevent iOS Safari auto-zoom */
  }
}

/* Floating WhatsApp CS Button */
.floating-wa-btn {
  position: fixed;
  bottom: 22px;
  right: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa-btn:active {
  transform: scale(0.94);
}

.floating-wa-btn i {
  font-size: 1.7rem;
}

@media (max-width: 480px) {
  .floating-wa-btn {
    width: 46px;
    height: 46px;
    bottom: 18px;
    right: 16px;
  }

  .floating-wa-btn i {
    font-size: 1.5rem;
  }
}

/* Mobile Medium (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .variant-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (641px - 900px) */
@media (min-width: 641px) and (max-width: 900px) {
  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

/* Desktop & Up (768px+) */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

/* ==========================================================================
   NEW FEATURES STYLES: Maintenance Mode, Flash Sale Timer & FAQ Accordion
   ========================================================================== */

/* Maintenance Mode Banner */
.maintenance-banner {
  background: linear-gradient(135deg, #7f1d1d, #b91c1c);
  border: 1px solid #ef4444;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  animation: pulseMaintenance 2s infinite alternate;
}

@keyframes pulseMaintenance {
  0% { border-color: rgba(239, 68, 68, 0.4); }
  100% { border-color: rgba(239, 68, 68, 1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
}

/* Flash Sale Countdown Bar */
.flash-sale-bar {
  background: linear-gradient(135deg, #2b0b1f, #1c0620);
  border: 1px solid var(--primary-pink);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.25);
}

.flash-sale-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-gold);
}

.flame-icon {
  color: #f97316;
  animation: flamePulse 1.2s infinite ease-in-out;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #f97316); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 10px #ef4444); }
}

.timer-boxes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timer-box {
  background: #120716;
  border: 1px solid var(--primary-gold);
  color: #ffffff;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.timer-colon {
  font-weight: 800;
  color: var(--primary-gold);
}

/* FAQ Accordion Section */
.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #18101e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25 ease;
}

.faq-item:hover {
  border-color: rgba(244, 114, 182, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.2rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem 1.2rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

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

/* See More Button Styling */
.see-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-see-more {
  background: #1c1022;
  color: var(--primary-gold);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.22s ease;
  min-height: 44px;
}

.btn-see-more:hover {
  background: #2b1733;
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.25);
}

.btn-see-more:focus-visible {
  outline: 2px solid var(--primary-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   12. SHOPPING CART & FLOATING ACTIONS STYLING
   ========================================================================== */

/* Header Cart Button */
.cart-header-btn {
  position: relative;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid var(--border-color);
  color: var(--primary-gold);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-header-btn:hover {
  background: rgba(244, 114, 182, 0.25);
  transform: translateY(-1px);
}

.cart-header-btn *,
.floating-cart-btn *,
.btn-buy-yellow *,
.btn-add-cart * {
  pointer-events: none;
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* Buy Action Dual Buttons */
.buy-action-section {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.btn-add-cart {
  flex: 1;
  min-width: 160px;
  background: rgba(192, 132, 252, 0.15);
  border: 1.5px solid var(--primary-lavender);
  color: #f3e8ff;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.22s ease;
}

.btn-add-cart:hover {
  background: rgba(192, 132, 252, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192, 132, 252, 0.3);
}

.buy-action-section .btn-buy-yellow {
  flex: 1;
  min-width: 160px;
}

/* Floating Action Button Group */
.floating-btn-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

.floating-cart-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(192, 132, 252, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(192, 132, 252, 0.7);
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--bg-dark);
}

.floating-wa-btn {
  position: static !important;
}

/* Cart Modal Styling */
.cart-modal-card {
  max-width: 500px !important;
  width: 95% !important;
}

.cart-empty-box {
  text-align: center;
  padding: 2.5rem 1rem;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-items-container::-webkit-scrollbar {
  width: 5px;
}
.cart-items-container::-webkit-scrollbar-thumb {
  background: rgba(244, 114, 182, 0.3);
  border-radius: 4px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(29, 16, 34, 0.75);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.cart-item-card:hover {
  border-color: rgba(244, 114, 182, 0.4);
}

.cart-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--primary-gold);
  margin-top: 1px;
}

.cart-item-subtotal {
  font-size: 0.76rem;
  color: #39ff14;
  font-weight: 600;
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.qty-control-box {
  display: flex;
  align-items: center;
  background: rgba(13, 5, 16, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: rgba(244, 114, 182, 0.15);
  color: var(--primary-gold);
  border: none;
  width: 26px;
  height: 26px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: rgba(244, 114, 182, 0.35);
}

.qty-num {
  padding: 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.cart-remove-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.cart-remove-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  transform: scale(1.08);
}

.cart-summary-box {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border-color);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 0.8rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cart-total-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #39ff14;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.85rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1d1022;
  color: #ffffff;
  border: 1.5px solid var(--primary-gold);
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


