/* ==========================================================================
   TRAPTOWN LUXURY DESIGN SYSTEM
   Tone: Gold (#D4AF37, #F5D061, #AA7C11) & White (#FFFFFF, #F8FAFC)
   ========================================================================== */

:root {
  /* Primary Metallic Gold Palette */
  --gold-primary: #D4AF37;
  --gold-light: #F5D061;
  --gold-bright: #FFE082;
  --gold-dark: #997517;
  --gold-deep: #684F10;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-subtle: rgba(212, 175, 55, 0.12);
  --gold-gradient: linear-gradient(135deg, #FFE898 0%, #D4AF37 50%, #997517 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFF0B8 0%, #E6C24E 50%, #B38B1C 100%);
  --gold-metallic: linear-gradient(90deg, #D4AF37 0%, #FFF5CC 25%, #D4AF37 50%, #AA7C11 75%, #F5D061 100%);

  /* Pristine Whites & Light Neutrals */
  --white-pure: #FFFFFF;
  --white-pearl: #F8FAFC;
  --white-cream: #F1F5F9;
  --white-muted: #CBD5E1;
  --white-translucent: rgba(255, 255, 255, 0.85);

  /* Deep Luxury Backdrops for Ultra Contrast */
  --bg-main: #0B0D11;
  --bg-surface: #12151B;
  --bg-card: #171B22;
  --bg-card-hover: #1E232C;
  --bg-glass: rgba(23, 27, 34, 0.75);
  --border-gold: rgba(212, 175, 55, 0.28);
  --border-gold-light: rgba(212, 175, 55, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Functional Colors */
  --color-success: #10B981;
  --color-line: #06C755;
  --color-line-hover: #05B34C;
  --color-danger: #EF4444;
  --color-purple: #9333EA;

  /* Typography */
  --font-thai: 'Kanit', sans-serif;
  --font-heading: 'Kanit', sans-serif;
  --font-trap: 'Kanit', sans-serif;

  /* Shadows & Elevations */
  --shadow-gold-sm: 0 2px 10px rgba(212, 175, 55, 0.15);
  --shadow-gold-md: 0 6px 24px rgba(212, 175, 55, 0.25);
  --shadow-gold-lg: 0 12px 40px rgba(212, 175, 55, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Light Theme Utility */
.theme-light-card {
  background: #FFFFFF !important;
  color: #1E232C !important;
  border: 1px solid #E2E8F0 !important;
}

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

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

body {
  font-family: var(--font-thai);
  background-color: var(--bg-main);
  color: var(--white-pure);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white-pure);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.gold-text-shimmer {
  background: linear-gradient(90deg, #D4AF37 0%, #FFF5CC 30%, #D4AF37 60%, #FFE082 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #0A0B0E 0%, #1E1A0F 50%, #0A0B0E 100%);
  border-bottom: 1px solid var(--border-gold);
  color: var(--white-pure);
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  max-width: 680px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
  will-change: transform;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.announcement-tag {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  word-break: keep-all !important;
}

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

.announcement-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
}

.announcement-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 13, 17, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 12px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-dragon-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-dragon-logo-img {
  transform: scale(1.08) rotate(4deg);
}

.logo-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold-sm);
  color: #0B0D11;
  font-weight: 900;
  font-size: 1.3rem;
  font-family: var(--font-trap);
  letter-spacing: -1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.58rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(8px, 1.25vw, 18px);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item {
  flex-shrink: 0;
}

.nav-item a {
  font-size: clamp(0.82rem, 0.88vw, 0.9rem);
  font-weight: 500;
  color: var(--white-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--white-pure);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.badge-pulse {
  background: #DC2626;
  color: #FFF;
  font-size: 0.62rem;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 4px;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  animation: pulseBadge 1.5s infinite;
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--gold-glow);
}

.btn-line-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-line);
  color: var(--white-pure);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-line-header:hover {
  background: var(--color-line-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white-pure);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: rgba(11, 13, 17, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white-pure);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.15) 0%, rgba(11, 13, 17, 0) 70%),
              linear-gradient(180deg, #0B0D11 0%, #10141B 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-family: var(--font-thai);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0B0D11;
  box-shadow: var(--shadow-gold-md);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-pure);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-line-large {
  background: var(--color-line);
  color: var(--white-pure);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
}

.btn-line-large:hover {
  background: var(--color-line-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(6, 199, 85, 0.5);
}

.btn-payment-line {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  white-space: normal !important;
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
  box-sizing: border-box;
  max-width: 100%;
}

.btn-payment-line i {
  font-size: 1.35rem;
  vertical-align: middle;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--white-muted);
}

/* Hero Media Showcase */
.hero-showcase {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(18, 21, 27, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.floating-info p {
  font-size: 0.78rem;
  color: var(--gold-light);
}

.floating-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white-pure);
}

/* ==========================================================================
   TRUST BADGES / FEATURES GRID
   ========================================================================== */
.trust-section {
  padding: 36px 0 50px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold-sm);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 224, 130, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
  background: #0D0F14;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.trust-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.trust-card:hover .trust-icon-box {
  border-color: var(--gold-light);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.55);
  transform: scale(1.08) rotate(3deg);
}

.trust-card:hover .trust-icon-img {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-card p {
  font-size: 0.82rem;
  color: var(--white-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCT CATALOG & SHOP SECTION
   ========================================================================== */
.shop-section {
  padding: 70px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

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

/* Filter Controls */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  background: var(--bg-surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--white-muted);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-thai);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--gold-gradient);
  color: #0B0D11;
  border-color: transparent;
  box-shadow: var(--shadow-gold-sm);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
}

.search-box input {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--white-pure);
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-thai);
  outline: none;
  width: 220px;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-subtle);
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white-muted);
  font-size: 0.85rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

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

.product-badge-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-hot { background: #DC2626; color: #FFF; }
.badge-import { background: var(--gold-gradient); color: #0A0B0E; }
.badge-deal { background: #9333EA; color: #FFF; }

.product-image-box {
  position: relative;
  width: 100%;
  height: 270px;
  background: #11141A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(18, 21, 27, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white-pure);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
}

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

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-flavor {
  font-size: 0.8rem;
  color: var(--white-muted);
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.rating-stars {
  color: #FBBF24;
  font-size: 0.78rem;
}

.rating-count {
  font-size: 0.72rem;
  color: var(--white-muted);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 14px;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

.price-original {
  font-size: 0.85rem;
  color: #94A3B8;
  text-decoration: line-through;
}

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

.btn-add-cart {
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
  font-family: var(--font-thai);
}

.btn-add-cart:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--shadow-gold-sm);
}

.btn-line-direct {
  background: var(--color-line);
  color: #FFF;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-line-direct:hover {
  background: var(--color-line-hover);
}

/* ==========================================================================
   VIP PROMOTION BANNER
   ========================================================================== */
.promo-section {
  padding: 30px 0 60px;
}

.promo-banner {
  background: linear-gradient(135deg, #1C180A 0%, #12151B 60%, #0B0D11 100%);
  border: 1px solid var(--border-gold-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.promo-content {
  min-width: 0;
  width: 100%;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: #0B0D11;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.promo-title {
  font-size: 2.1rem;
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.promo-desc {
  font-size: 0.95rem;
  color: var(--white-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.promo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.promo-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.promo-feat-item i {
  color: var(--gold-light);
}

.promo-image-box {
  position: relative;
}

.promo-image-box img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold-md);
  width: 100%;
}

/* ==========================================================================
   INTERACTIVE LEAN MIXING CALCULATOR (สูตรผสม Double Cup)
   ========================================================================== */
.mixer-section {
  padding: 70px 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, rgba(11, 13, 17, 0) 70%),
              var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.mixer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  box-shadow: var(--shadow-card);
}

.mixer-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 8px;
}

.select-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--white-muted);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-thai);
}

.pill-btn:hover,
.pill-btn.active {
  background: var(--gold-subtle);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.range-slider-wrapper {
  margin-top: 8px;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #2A303C;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--white-muted);
  margin-top: 6px;
}

/* Mixer Visualizer Display */
.mixer-preview {
  background: #0D0F14;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Realistic Double Cup Showcase */
.realistic-cup-wrapper {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cup-real-container {
  position: relative;
  width: 190px;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.18);
  border: 1px solid var(--border-gold);
  background: #0D0F14;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cup-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cup-real-container:hover .cup-real-img {
  transform: scale(1.04);
}

.cup-glow-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(212, 175, 55, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

/* Semi-transparent Liquid Level Indicator on the side */
.cup-liquid-overlay {
  position: absolute;
  right: 12px;
  bottom: 18px;
  width: 14px;
  height: 160px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cup-liquid-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.9) 0%, rgba(212, 175, 55, 0.95) 100%);
  border-radius: 0 0 8px 8px;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s ease;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.floating-ice-tag {
  position: absolute;
  top: 14px;
  left: 12px;
  background: rgba(18, 21, 27, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white-pure);
  display: flex;
  align-items: center;
  gap: 4px;
  animation: floatIceBadge 2.5s ease-in-out infinite alternate;
  box-shadow: var(--shadow-gold-sm);
}

@keyframes floatIceBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

.cup-traptown-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 13, 17, 0.88);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
}

.cup-traptown-badge .badge-tt-text {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.cup-traptown-badge small {
  font-size: 0.55rem;
  color: var(--gold-light);
  font-weight: 600;
}

.recipe-breakdown {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
  text-align: left;
}

.recipe-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.recipe-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   GEO & DELIVERY COVERAGE HUB (GEO Optimization)
   ========================================================================== */
.geo-section {
  padding: 70px 0;
}

.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.geo-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 26px;
}

.geo-checker-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
}

.geo-checker-box input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-gold);
  color: #FFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-family: var(--font-thai);
  outline: none;
}

.geo-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.geo-table-header {
  padding: 18px 22px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.geo-table {
  width: 100%;
  border-collapse: collapse;
}

.geo-table th,
.geo-table td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.geo-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold-light);
  font-weight: 700;
}

.geo-table tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

.geo-speed-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  width: 100%;
}

.speed-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
  line-height: 1.25;
}

.speed-instant { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.speed-fast { background: rgba(59, 130, 246, 0.15); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.3); }
.speed-standard { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }

.geo-time-cell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.geo-time-text {
  font-size: 0.82rem;
  color: var(--white-muted);
  white-space: nowrap !important;
  line-height: 1.2;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-section {
  padding: 70px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-sm);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0A0B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.reviewer-meta h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.reviewer-meta span {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.review-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 600;
}

.review-body {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-product-tag {
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--gold-light);
  background: var(--gold-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}

/* ==========================================================================
   AEO & FAQ SECTION (Answer Engine Optimization)
   ========================================================================== */
.faq-section {
  padding: 70px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.faq-item:hover {
  border-color: var(--gold-light);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-pure);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-thai);
}

.faq-question i {
  color: var(--gold-light);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.65;
  display: none;
}

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

/* ==========================================================================
   PAYMENT CONFIRMATION SECTION (แจ้งชำระเงินผ่าน LINE เท่านั้น)
   ========================================================================== */
.payment-section {
  padding: 70px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.payment-line-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  box-shadow: var(--shadow-card);
  align-items: center;
}

.bank-info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.payment-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.qr-code-holder {
  width: 190px;
  height: 190px;
  background: #FFF;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.qr-code-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bank-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.bank-detail-item {
  font-size: 0.88rem;
}

.bank-label {
  color: var(--white-muted);
  font-size: 0.8rem;
  display: block;
}

.bank-val {
  color: #FFF;
}

.btn-copy-acc {
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  font-family: var(--font-thai);
}

.btn-copy-acc:hover {
  background: var(--gold-gradient);
  color: #0A0B0E;
}

/* Steps Flow */
.payment-steps-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

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

.step-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0A0B0E;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-flow-content h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
  color: var(--white-pure);
}

.step-flow-content p {
  font-size: 0.8rem;
  color: var(--white-muted);
  line-height: 1.4;
}

.status-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 1.5s infinite;
}

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

.admin-online-status {
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #080A0D;
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 28px;
  color: var(--white-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gold-gradient);
  color: #0B0D11;
  border-color: transparent;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--white-pure);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
  display: inline-block;
}

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

/* ==========================================================================
   CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-gold);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

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

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

.cart-drawer-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn-close-drawer:hover {
  color: var(--white-pure);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: #111;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 700;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  border-radius: 4px;
  cursor: pointer;
}

.qty-display {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
  font-size: 1rem;
}

.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.cart-total-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

/* ==========================================================================
   MODAL & DIALOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-card);
}

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

.modal-body {
  padding: 24px;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-line-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-line);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.45), 0 0 0 0 rgba(6, 199, 85, 0.7);
  animation: pulseLine 2s infinite;
  transition: transform var(--transition-fast);
}

.floating-line-btn:hover {
  transform: scale(1.1);
}

@keyframes pulseLine {
  0% { box-shadow: 0 8px 25px rgba(6, 199, 85, 0.45), 0 0 0 0 rgba(6, 199, 85, 0.7); }
  70% { box-shadow: 0 8px 25px rgba(6, 199, 85, 0.45), 0 0 0 16px rgba(6, 199, 85, 0); }
  100% { box-shadow: 0 8px 25px rgba(6, 199, 85, 0.45), 0 0 0 0 rgba(6, 199, 85, 0); }
}

.live-order-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  background: rgba(18, 21, 27, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-order-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0A0B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.toast-text p {
  font-size: 0.82rem;
  font-weight: 700;
}

.toast-text span {
  font-size: 0.72rem;
  color: var(--white-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
/* QuickView Modal Grid */
.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(11, 13, 17, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
  z-index: 995;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 0.72rem;
  font-weight: 500;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-family: var(--font-thai);
  text-decoration: none;
}

.mobile-bottom-item i {
  font-size: 1.35rem;
}

.mobile-bottom-item:hover,
.mobile-bottom-item.active {
  color: var(--gold-light);
}

.mobile-cart-icon-wrapper {
  position: relative;
  display: inline-flex;
}

.mobile-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--gold-gradient);
  color: #0B0D11;
  font-size: 0.65rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--gold-glow);
}

.mobile-bottom-line {
  color: var(--color-line) !important;
  font-weight: 700;
}

.mobile-bottom-line i {
  color: var(--color-line);
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE DESIGN
   ========================================================================== */

/* 1. Large Displays & 4K Screens (≥ 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
  }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 2. Medium Laptops & Desktops (1025px - 1140px) */
@media (max-width: 1140px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
}

/* 3. Tablets & iPad Pro Landscape (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
  }
  .hero-image-wrapper img {
    height: 380px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mixer-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .geo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .payment-line-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .btn-payment-line {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 4. Mobile Devices & Small Tablets (≤ 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  .container {
    padding: 0 12px;
    box-sizing: border-box;
  }

  .site-header {
    width: 100% !important;
    max-width: 100% !important;
  }

  .nav-container {
    height: 60px;
    gap: 8px;
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .logo-text {
    display: none !important;
  }

  .brand-dragon-logo-img {
    width: 40px;
    height: 40px;
  }

  .btn-line-header {
    display: none !important;
  }

  .mobile-toggle {
    font-size: 1.55rem;
    padding: 2px 4px;
  }

  .mobile-nav-drawer {
    top: 60px !important;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .floating-line-btn {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .live-order-toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  .announcement-links {
    display: none;
  }

  .announcement-marquee {
    font-size: 0.72rem;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .marquee-track {
    animation-duration: 14s !important;
    gap: 24px !important;
  }

  .hero-section {
    padding: 24px 0 32px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 5vw, 2.1rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-image-wrapper img {
    height: 280px;
  }

  /* Horizontal Swipe for Category Tabs */
  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  /* 2-Column E-Commerce Grid on Mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .product-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .product-image-box {
    height: 155px;
  }

  .product-info {
    padding: 8px 10px 10px;
  }

  .product-title {
    font-size: 0.84rem;
    margin-bottom: 2px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-flavor {
    font-size: 0.68rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-meta {
    margin-bottom: 8px;
    gap: 4px;
  }

  .rating-stars {
    font-size: 0.68rem;
  }

  .rating-count {
    font-size: 0.64rem;
  }

  .product-price-row {
    margin-bottom: 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

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

  .price-original {
    font-size: 0.7rem;
  }

  .product-actions {
    gap: 4px;
  }

  .btn-add-cart {
    font-size: 0.72rem;
    padding: 7px 4px;
    gap: 3px;
  }

  .btn-add-cart i {
    font-size: 0.85rem;
  }

  .btn-line-direct {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  /* Promo Banner */
  .promo-banner {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .promo-content {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .promo-title {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .promo-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .promo-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .promo-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .promo-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Mixer & GEO */
  .mixer-card {
    padding: 20px;
  }

  .cup-visual-box {
    width: 110px;
    height: 150px;
  }

  .geo-speed-row {
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
  }

  .geo-table th,
  .geo-table td {
    padding: 8px 6px !important;
    font-size: 0.78rem !important;
  }

  .geo-time-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .speed-badge {
    font-size: 0.7rem !important;
    padding: 3px 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    word-break: keep-all !important;
    line-height: 1.2 !important;
  }

  .geo-time-text {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

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

  .faq-question {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 0.85rem;
    padding: 0 16px 14px;
  }

  /* Payment Section */
  .payment-section {
    padding: 24px 0;
    overflow: hidden;
  }

  .payment-line-card {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 14px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: var(--radius-md) !important;
  }

  .bank-info-box,
  .payment-steps-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 10px !important;
    overflow: hidden !important;
  }

  .btn-payment-line {
    padding: 10px 8px !important;
    font-size: 0.85rem !important;
  }

  .btn-payment-line i {
    font-size: 1.1rem !important;
  }

  .admin-online-status {
    font-size: 0.68rem !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
  }

  .qr-code-holder {
    width: 140px !important;
    height: 140px !important;
    max-width: 100% !important;
    padding: 6px !important;
  }

  .step-flow-item {
    gap: 10px !important;
    padding: 8px 0 !important;
    min-width: 0 !important;
  }

  .step-flow-content {
    min-width: 0 !important;
    word-break: break-word !important;
  }

  .step-flow-content h4 {
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
  }

  .step-flow-content p {
    font-size: 0.76rem !important;
  }

  /* Cart Drawer Full Screen on Mobile */
  .cart-drawer {
    max-width: 100%;
    height: 100dvh;
  }

  .cart-drawer-body {
    padding: 14px 16px;
  }

  .cart-drawer-footer {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  /* Quick View Modal Full Screen on Mobile */
  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal-card {
    max-height: 85dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .quickview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 5. Small Mobile / Foldable Outer Screens (≤ 380px) */
@media (max-width: 380px) {
  .admin-online-status {
    font-size: 0.62rem !important;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .logo-title {
    font-size: 1.25rem;
  }
  .stat-number {
    font-size: 1.2rem;
  }
  .container {
    padding: 0 12px;
  }
}

/* 6. Landscape Orientation on Mobile (max-height: 520px) */
@media (max-height: 520px) and (orientation: landscape) {
  .site-header {
    height: 56px;
  }
  .nav-container {
    height: 56px;
  }
  .hero-section {
    padding: 20px 0;
  }
  .modal-card {
    max-height: 90vh;
  }
  .mobile-bottom-bar {
    height: 52px;
  }
}


