/* ============================================================
   TRAPTOWN — Premium Dark + Gold Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0d1117;
  --bg-card: #111820;
  --bg-card-hover: #161d27;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --gold-dark: #a67c2e;
  --gold-glow: rgba(212, 168, 67, 0.35);
  --gold-glow-strong: rgba(212, 168, 67, 0.6);
  --text-primary: #f5f5f5;
  --text-secondary: #a0a9b4;
  --text-muted: #6b7280;
  --accent-purple: #9b59b6;
  --accent-neon: #00ff88;
  --danger: #e74c3c;
  --success: #2ecc71;
  --border-color: rgba(212, 168, 67, 0.15);
  --border-color-hover: rgba(212, 168, 67, 0.4);

  /* Typography */
  --font-thai: 'Kanit', sans-serif;
  --font-en: 'Kanit', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-xl: 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-thai);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .header-logo img {
  height: 40px;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.08);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

/* Search Bar */
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px 6px 6px 16px;
  transition: var(--transition);
  max-width: 280px;
}

.header-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 0.85rem;
  width: 160px;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search button {
  background: var(--gold);
  border: none;
  color: var(--bg-primary);
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.08);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-thai);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--gold);
  font-weight: 600;
}

/* Cart Icon */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-cart:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.header-cart .cart-count {
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('IMAGES/logo.png');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  filter: blur(30px);
  transform: scale(1.2);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-primary) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-logo {
  max-width: 500px;
  width: 80%;
  margin: 0 auto 30px;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px var(--gold-glow)) drop-shadow(0 0 80px rgba(212, 168, 67, 0.15));
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-tagline {
  font-family: var(--font-thai);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  letter-spacing: 0.5px;
  line-height: 2;
}

.hero-tagline strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-primary);
  box-shadow: 0 4px 25px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px var(--gold-glow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* Gold particles animation */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 3px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 16px;
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRODUCT GRID — BEST SELLERS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(212, 168, 67, 0.15);
}

.product-card .sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  z-index: 3;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card .product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-card .product-img-wrap {
  overflow: hidden;
  position: relative;
}

.product-card .product-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.product-info {
  padding: 18px;
  text-align: center;
}

.product-category {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: 0.7;
}

.product-name {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.product-rating {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}

.product-rating .star {
  color: var(--gold);
  font-size: 0.85rem;
}

.product-rating .star.empty {
  color: var(--text-muted);
}

.product-price {
  margin-bottom: 14px;
}

.product-price .old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-right: 8px;
}

.product-price .new-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
}

.btn-add-cart {
  width: 100%;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 0 25px var(--gold-glow);
}

/* ============================================================
   WHY BUY FROM US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--gold-glow) 30deg, transparent 60deg);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: featureRotate 10s linear infinite;
}

@keyframes featureRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.feature-card:hover::before {
  opacity: 0.15;
}

.feature-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
}

.feature-card>* {
  position: relative;
  z-index: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.feature-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 4px 12px var(--gold-glow));
}

.feature-card h3 {
  font-family: var(--font-thai);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   STORAGE TIPS
   ============================================================ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  position: relative;
  transition: var(--transition);
}

.tip-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.tip-number {
  position: absolute;
  top: -14px;
  left: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.tip-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  margin-top: 6px;
}

.tip-card p,
.tip-card ul li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.tip-card ul {
  padding-left: 0;
}

.tip-card ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.tip-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============================================================
   REVIEW SLIDER
   ============================================================ */
.review-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: var(--border-radius);
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.slider-slide {
  min-width: calc(33.333% - 11px);
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.slider-slide:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.15);
  transform: translateY(-4px);
}

.slider-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

.slider-slide:hover img {
  transform: scale(1.05);
}

.slider-arrow {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slider-slide {
    min-width: calc(50% - 8px);
  }

  .slider-slide img {
    height: 220px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .slider-slide {
    min-width: 100%;
  }

  .slider-slide img {
    height: 260px;
  }
}

/* ============================================================
   POPULAR DRINKS
   ============================================================ */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.drink-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.drink-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.12);
}

.drink-img-wrap {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.drink-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.drink-card:hover .drink-img-wrap img {
  transform: scale(1.1);
}

.drink-info {
  padding: 20px;
}

.drink-info h3 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.drink-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
}

.drink-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-color-hover);
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(212, 168, 67, 0.03);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  padding-right: 16px;
}

.faq-item.active .faq-question h3 {
  color: var(--gold);
}

.faq-icon {
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.12);
}

.blog-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.08);
}

.blog-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-info {
  padding: 20px;
}

.blog-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.blog-info .read-more {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-info .read-more:hover {
  gap: 8px;
}

/* ============================================================
   REVIEW SECTION
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.review-card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 12px;
}

.footer-logo p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h2 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links-list a::before {
  content: '●';
  color: var(--gold);
  font-size: 0.5rem;
}

.footer-links-list a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
}

.footer-contact h2 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--gold-glow);
}

.social-link.facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
}

.social-link.line:hover {
  color: #00b900;
  border-color: #00b900;
}

.social-link.instagram:hover {
  color: #e4405f;
  border-color: #e4405f;
}

/* Footer bottom / Bank logos */
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.bank-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.bank-logos img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition);
}

.bank-logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, #1a1a2e, var(--bg-primary));
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 0.95rem;
  padding: 14px 18px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   PRIVACY / LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin: 36px 0 14px;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 24px 0 10px;
  font-weight: 600;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 10px 0 20px 20px;
}

.legal-content ul li {
  color: var(--text-secondary);
  padding: 4px 0;
  position: relative;
  padding-left: 18px;
}

.legal-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============================================================
   ERROR PAGES (404 / 500)
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%);
}

.error-content {
  padding: 20px;
}

.error-code {
  font-family: var(--font-en);
  font-size: 8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 60px var(--gold-glow), 0 0 120px rgba(212, 168, 67, 0.1);
  margin-bottom: 20px;
  animation: errorPulse 3s ease-in-out infinite;
}

@keyframes errorPulse {

  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 60px var(--gold-glow);
  }

  50% {
    opacity: 0.7;
    text-shadow: 0 0 100px var(--gold-glow-strong);
  }
}

.error-content h1 {
  font-family: var(--font-thai);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.error-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {

  .products-grid,
  .drinks-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo img {
    height: auto;
    width: 180px;
    max-width: 80%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  .footer-links-list {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE / LARGE (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 80px 30px 30px;
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 0.9rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .header-search {
    display: none;
  }

  .hero-logo {
    max-width: 320px;
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 0 10px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .products-grid,
  .drinks-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 5rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .container {
    width: 94%;
    padding: 0 10px;
  }

  .products-grid,
  .drinks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    max-width: 260px;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .feature-card {
    padding: 24px 18px;
  }

  .faq-question {
    padding: 14px 18px;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (375px)
   ============================================================ */
@media (max-width: 375px) {
  .hero-logo {
    max-width: 220px;
  }

  .products-grid,
  .drinks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 0.8rem;
  }

  .product-price .new-price {
    font-size: 1rem;
  }

  .btn-add-cart {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL (320px)
   ============================================================ */
@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .hero-logo {
    max-width: 190px;
  }

  .header-logo img {
    height: 36px;
  }

  .nav-menu {
    width: 85%;
  }

  .products-grid,
  .drinks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   MOBILE OVERLAY (when menu open)
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   LINE FLOATING BUTTON
   ============================================================ */
.line-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00b900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 6px 25px rgba(0, 185, 0, 0.4);
  transition: var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}

.line-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 185, 0, 0.5);
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ============================================================
   CART TOAST NOTIFICATION
   ============================================================ */
#cart-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  z-index: 10000;
  box-shadow: 0 8px 30px var(--gold-glow-strong);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

#cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

#cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-header h2 {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.cart-close-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--gold);
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.cart-close-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty p:first-child {
  font-size: 2rem;
  margin-bottom: 8px;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: 10px;
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--border-color-hover);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.cart-qty-control button {
  background: var(--bg-card);
  border: none;
  color: var(--gold);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.cart-qty-control button:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.cart-qty-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.cart-item-subtotal {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.cart-item-subtotal p {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
}

.cart-item-remove:hover {
  opacity: 1;
  transform: scale(1.2);
}

.cart-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.cart-total-price {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

.cart-line-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   PRODUCT QUANTITY SELECTOR (in cards)
   ============================================================ */
.product-qty-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
}

.qty-btn {
  background: var(--bg-card);
  border: none;
  color: var(--gold);
  font-size: 1rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.qty-input {
  width: 38px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
#checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#checkout-modal.open {
  opacity: 1;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.checkout-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  max-width: 520px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--gold-glow);
}

.checkout-content::-webkit-scrollbar {
  width: 6px;
}

.checkout-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.checkout-close:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.checkout-content h2 {
  font-family: var(--font-en);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.checkout-content h3 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 14px;
}

.checkout-step.hidden {
  display: none;
}

.checkout-items {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius-sm);
  margin-bottom: 8px;
}

.checkout-total span {
  color: var(--text-primary);
  font-weight: 600;
}

.checkout-total-price {
  color: var(--gold) !important;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 0.9rem;
  transition: var(--transition);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* QR Payment Box */
.qr-payment-box {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.qr-img {
  max-width: 240px;
  width: 100%;
  margin: 0 auto 16px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.2);
}

.qr-amount p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.qr-instruction {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 12px;
}

/* Slip Upload */
.slip-upload-area {
  margin-bottom: 8px;
}

.slip-placeholder {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.slip-placeholder:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.03);
}

.slip-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.slip-placeholder p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.slip-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.slip-preview {
  text-align: center;
}

.slip-preview img {
  max-width: 280px;
  width: 100%;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--gold);
  margin-bottom: 12px;
}

.slip-change-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.slip-change-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* Slip Verification */
.slip-verify-section {
  margin-top: 12px;
}

.slip-ref-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.slip-ref-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 0.9rem;
  transition: var(--transition);
}

.slip-ref-input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 10px var(--gold-glow);
}

.slip-verify-btn {
  white-space: nowrap;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slip-verify-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.slip-verify-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeSlideUp 0.4s ease;
}

.slip-verify-result.verify-pass {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.slip-verify-result.verify-fail {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.verify-success-icon,
.verify-fail-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.verify-success-text {
  color: #22c55e;
  font-weight: 600;
  margin: 0;
}

.verify-fail-text {
  color: #ef4444;
  font-weight: 600;
  margin: 0;
}

.verify-fail-detail {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

/* Order Success */
.order-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.order-success h2 {
  color: var(--gold) !important;
  font-size: 1.5rem !important;
  margin-bottom: 12px !important;
}

.order-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.order-ref {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  margin-top: 16px;
}

.order-ref p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.order-ref h3 {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

/* Responsive Cart/Checkout */
@media (max-width: 480px) {
  #cart-sidebar {
    width: 100vw;
    max-width: 100vw;
  }

  .checkout-content {
    padding: 20px;
    width: 96vw;
  }

  .qr-img {
    max-width: 200px;
  }

  .cart-item {
    flex-wrap: wrap;
  }
}

/* ============================================================
   MUSIC TOGGLE BUTTON
   ============================================================ */
#music-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

#music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px var(--gold-glow);
  background: var(--bg-card);
}

/* Icons */
.music-icon {
  font-size: 1.2rem;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-on {
  opacity: 0;
  transform: scale(0) rotate(-180deg);
}

.music-off {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

#music-toggle.playing .music-on {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

#music-toggle.playing .music-off {
  opacity: 0;
  transform: scale(0) rotate(180deg);
}

/* Pulse ring when playing */
.music-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}

#music-toggle.playing .music-ring {
  animation: musicPulse 2s ease-out infinite;
}

@keyframes musicPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Playing state glow */
#music-toggle.playing {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), var(--bg-secondary));
  box-shadow: 0 4px 25px var(--gold-glow), 0 0 40px rgba(212, 168, 67, 0.15);
}

/* Sound wave bars animation */
#music-toggle.playing::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: repeating-linear-gradient(90deg,
      var(--gold) 0px, var(--gold) 2px,
      transparent 2px, transparent 4px);
  border-radius: 1px;
  animation: soundBars 0.8s ease-in-out infinite alternate;
}

@keyframes soundBars {
  0% {
    height: 2px;
    opacity: 0.5;
  }

  100% {
    height: 5px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  #music-toggle {
    width: 44px;
    height: 44px;
    bottom: 18px;
    left: 18px;
  }

  .music-icon {
    font-size: 1rem;
  }
}