:root {
  --bg-primary: #ffffff;
  --bg-secondary: #faf8f4;
  --bg-tertiary: #f0ece4;
  --bg-card: rgba(255, 255, 255, 0.92);
  
  --accent-main: #c8a44e;
  --accent-main-hover: #b08d3a;
  --accent-main-glow: rgba(200, 164, 78, 0.5);
  --accent-main-dim: rgba(200, 164, 78, 0.15);
  
  --text-main: #1a1a2e;
  --text-muted: #6b6b80;
  --text-dim: #999aaa;
  
  --border-glow: 0 0 15px rgba(200, 164, 78, 0.2);
  --border-glow-hover: 0 0 25px rgba(200, 164, 78, 0.35);
  
  --sidebar-width: 260px;
  --transition-speed: 0.3s;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-kanit: 'Kanit', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-kanit);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

button, input, select, textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-glow {
  text-shadow: 0 0 10px var(--accent-main-glow);
}

.box-glow {
  box-shadow: 0 0 15px var(--accent-main-dim);
}

.badge-red {
  background-color: var(--accent-main);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  margin-left: 0;
  margin-top: 0;
  padding: 2rem;
  padding-bottom: 120px; /* Space for the bottom navbar */
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0; /* Prevent flex blowout */
  transition: var(--transition-speed) ease;
}

/* ==========================================================================
   SIDEBAR COMPONENT
   ========================================================================== */
.sidebar {
  width: 100%;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--accent-main-dim);
  height: auto;
  position: fixed;
  left: 0;
  top: auto;
  bottom: 0;
  border-bottom: none;
  border-top: 1px solid var(--accent-main-dim);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

.sidebar-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  text-align: left;
}

.sidebar-logo img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(200, 164, 78, 0.15));
  transition: var(--transition-smooth);
}

.sidebar-logo img:hover, .mobile-logo img:hover, .footer-info img:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 6px 15px rgba(200, 164, 78, 0.35));
}

.sidebar-logo h1 {
  display: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
  background: var(--bg-tertiary);
  padding: 0.3rem 1rem;
  border-radius: 30px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  border: none;
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  color: var(--accent-main);
  background-color: transparent;
  transform: translateY(-2px);
}

.nav-item:active {
  transform: scale(0.97);
}

.nav-item:hover svg {
  transform: translateY(-2px);
}

.nav-item.active {
  color: var(--accent-main-hover);
  background-color: rgba(200, 164, 78, 0.1);
  border-color: var(--accent-main);
  box-shadow: none;
  font-weight: 600;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.nav-item.active svg {
  fill: var(--accent-main-hover);
}

/* Sidebar Footer / Cart Button */
.sidebar-footer {
  margin-top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.sidebar-cart-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-main-dim);
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.sidebar-cart-btn:hover {
  border-color: var(--accent-main);
  box-shadow: 0 4px 15px rgba(200, 164, 78, 0.15);
  background: rgba(200, 164, 78, 0.08);
  transform: translateY(-1px);
}

.sidebar-cart-btn:active {
  transform: scale(0.97);
}

.sidebar-cart-btn .cart-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sidebar-cart-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-main);
}

.sidebar-cart-count {
  background: var(--accent-main);
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 700;
}

.sidebar-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
}

.sidebar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-speed) ease;
}

.sidebar-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.sidebar-social-link:hover {
  background: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--accent-main-glow);
}

/* ==========================================================================
   HEADER COMPONENT (Mobile & Fallback)
   ========================================================================== */
.mobile-header {
  display: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.55rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-logo img {
  width: 85px;
  height: auto;
  transition: var(--transition-smooth);
}

.mobile-logo h1 {
  display: none;
}

.mobile-menu-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:active {
  transform: scale(0.93);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Cool Mobile Phone Button */
.mobile-phone-btn {
  background: linear-gradient(135deg, var(--accent-main), #d4a843);
  border: none;
  border-radius: 10px;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  box-shadow: 0 0 12px var(--accent-main-glow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-phone-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  animation: phoneRing 2.5s infinite ease-in-out;
}

.mobile-phone-btn::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--accent-main);
  border-radius: 14px;
  opacity: 0.8;
  animation: phonePulse 2s infinite cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}

.mobile-phone-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 5px 15px var(--accent-main-glow) !important;
}

.mobile-phone-btn:active {
  transform: scale(0.9) !important;
  box-shadow: 0 0 5px rgba(200, 164, 78, 0.3) !important;
}

@keyframes phoneRing {
  0% { transform: rotate(0) scale(1); }
  5% { transform: rotate(15deg) scale(1.1); }
  10% { transform: rotate(-15deg) scale(1.1); }
  15% { transform: rotate(15deg) scale(1.1); }
  20% { transform: rotate(-15deg) scale(1.1); }
  25% { transform: rotate(0) scale(1); }
  100% { transform: rotate(0) scale(1); }
}

@keyframes phonePulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   HERO SHOWCASE SECTION
   ========================================================================== */
.hero-showcase-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  min-height: 480px;
}

/* Glassmorphic Panel Base */
.dashboard-panel {
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-main-dim);
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.dashboard-panel:hover {
  border-color: rgba(200, 164, 78, 0.3);
  box-shadow: var(--border-glow-hover);
}

.hero-slider-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 70% 30%, rgba(200, 164, 78, 0.12) 0%, rgba(0, 0, 0, 0) 65%), var(--bg-card);
}

/* Slider slides styling */
.hero-slide {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  align-content: center;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  animation: fadeEffect 0.6s ease;
}

.hero-slide.active {
  display: grid;
}

@keyframes fadeEffect {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-slide-subtitle {
  color: var(--accent-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-slide-title span {
  display: block;
  font-size: 1.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.3rem;
}

.hero-slide-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 420px;
}

.hero-slide-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-main-hover, #b8943e));
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(200, 164, 78, 0.25);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-main-hover, #b8943e), var(--accent-main));
  box-shadow: 0 8px 28px rgba(200, 164, 78, 0.45);
  transform: translateY(-3px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(200, 164, 78, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: rgba(200, 164, 78, 0.08);
  border-color: var(--accent-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200, 164, 78, 0.12);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

/* Image Visual Panel */
.hero-slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-slide-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.25) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.hero-image-wrapper {
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  animation: floatImage 6s ease-in-out infinite;
}

.hero-product-img {
  grid-area: stack;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  mix-blend-mode: normal;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
}

.hero-product-img.img-primary {
  z-index: 2;
  opacity: 1;
  transform: scale(1.15);
}

.hero-product-img.img-secondary {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.15);
}

/* Cross-fade on hover */
.hero-image-wrapper:hover .img-primary {
  opacity: 0;
  transform: scale(1.1);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.hero-image-wrapper:hover .img-secondary {
  opacity: 1;
  transform: scale(1.25);
  filter: drop-shadow(0 15px 25px rgba(200, 164, 78, 0.3));
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Thumbs slider navigations */
.hero-thumbs-container {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-thumb-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.4rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

.hero-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.6;
  transition: all var(--transition-speed) ease;
}

.hero-thumb-btn:hover {
  border-color: rgba(200, 164, 78, 0.5);
}

.hero-thumb-btn:hover img {
  opacity: 0.9;
}

.hero-thumb-btn.active {
  border-color: var(--accent-main);
  background: rgba(200, 164, 78, 0.05);
  box-shadow: var(--border-glow);
}

.hero-thumb-btn.active img {
  opacity: 1;
  filter: drop-shadow(0 0 4px var(--accent-main-glow));
}

/* Right Panel: Vice City Overview mockup */
.overview-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.overview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-main-dim);
  padding-bottom: 0.6rem;
}

.overview-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-main);
}

.overview-banner {
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  position: relative;
  border: 1px solid var(--accent-main-dim);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.overview-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.overview-banner:hover img {
  transform: scale(1.05);
}

.overview-banner:hover {
  border-color: var(--accent-main);
  box-shadow: 0 0 15px var(--accent-main-dim);
}

.overview-banner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}

.overview-banner-text {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2;
}

.overview-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: auto;
}

.overview-feature-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.overview-feature-box svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-main);
  filter: drop-shadow(0 0 2px var(--accent-main-glow));
}

.overview-feature-box span {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.overview-feature-box:hover {
  border-color: var(--accent-main);
  color: var(--text-main);
  box-shadow: 0 0 10px var(--accent-main-dim);
  transform: translateY(-2px);
}

/* ==========================================================================
   WIDGETS ROW GRID
   ========================================================================== */
.widgets-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
}

/* Widget: Live Watch Party (Live orders feed) */
.live-watch-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.live-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(200, 164, 78, 0.15);
  border: 1px solid var(--accent-main);
  color: var(--accent-main);
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.live-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-main);
  box-shadow: 0 0 8px var(--accent-main);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.live-stats {
  margin: 0.8rem 0;
}

.live-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.live-number-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.live-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 95px;
  overflow: hidden;
  position: relative;
}

.live-notif-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-tertiary);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  border-left: 3px solid var(--accent-main);
  animation: slideNotif 0.5s ease-out;
}

@keyframes slideNotif {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-notif-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--accent-main);
  border: 1px solid var(--border-color);
}

.live-notif-text {
  flex: 1;
  color: var(--text-muted);
}

.live-notif-text strong {
  color: var(--text-main);
}

/* Widget: Countdown to Launch */
.countdown-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.countdown-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.6rem 0.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.countdown-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-main);
  text-shadow: 0 0 5px var(--accent-main-glow);
}

.countdown-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* Widget: Delivery Platforms */
.platforms-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.platforms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.platform-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.platform-item:hover {
  border-color: var(--accent-main);
  color: var(--text-main);
}

.platform-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-main);
  font-size: 0.7rem;
}

/* Widget: Social Pulse */
.social-pulse-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-pulse-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.social-pulse-wave {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 40px;
  margin: 0.5rem 0;
  padding: 0 0.5rem;
}

.pulse-bar {
  width: 3px;
  background-color: var(--accent-main);
  box-shadow: 0 0 6px var(--accent-main-glow);
  border-radius: 3px;
  animation: pulseWave 1s ease-in-out infinite alternate;
}

@keyframes pulseWave {
  0% { height: 10%; }
  100% { height: 100%; }
}

/* Set different animation delays for a natural wave effect */
.pulse-bar:nth-child(1) { animation-delay: 0.1s; height: 30%; }
.pulse-bar:nth-child(2) { animation-delay: 0.4s; height: 50%; }
.pulse-bar:nth-child(3) { animation-delay: 0.2s; height: 75%; }
.pulse-bar:nth-child(4) { animation-delay: 0.6s; height: 25%; }
.pulse-bar:nth-child(5) { animation-delay: 0.3s; height: 90%; }
.pulse-bar:nth-child(6) { animation-delay: 0.7s; height: 40%; }
.pulse-bar:nth-child(7) { animation-delay: 0.5s; height: 80%; }
.pulse-bar:nth-child(8) { animation-delay: 0.8s; height: 60%; }
.pulse-bar:nth-child(9) { animation-delay: 0.2s; height: 35%; }
.pulse-bar:nth-child(10) { animation-delay: 0.9s; height: 70%; }

.social-pulse-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--accent-main-dim);
  padding-top: 0.5rem;
}

.social-pulse-meta span strong {
  color: var(--text-main);
}

/* ==========================================================================
   PRODUCTS GRID & CARD COMPONENTS
   ========================================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  gap: 0.3rem;
  border-left: 3px solid var(--accent-main);
  padding-left: 0.9rem;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  font-family: 'Kanit', sans-serif;
  margin: 0;
}

.section-header h2 span {
  color: var(--accent-main);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  display: block;
  margin-top: 0.15rem;
  opacity: 0.95;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  margin-top: 0.1rem;
  max-width: 600px;
}

/* Filters for product page */
.filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
}

.filter-tab:hover {
  border-color: var(--accent-main);
  color: var(--text-main);
  background-color: rgba(200, 164, 78, 0.03);
}

.filter-tab.active {
  background-color: var(--accent-main);
  border-color: var(--accent-main);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-main-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-main-dim);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(200, 164, 78, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--border-glow-hover);
}

.product-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 10;
}

.product-card-image {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.05) 0%, rgba(0,0,0,0) 70%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-speed) ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.6rem;
  border-top: 1px solid rgba(200, 164, 78, 0.04);
}

.product-card-category {
  color: var(--accent-main);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

/* Product features e.g. THC content */
.product-card-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.product-meta-tag {
  background: var(--bg-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.03);
  color: var(--text-muted);
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.03);
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.product-card-price span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

.btn-card-add {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--accent-main);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-card-add svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn-card-add:active {
  transform: scale(0.9);
}

.product-card:hover .btn-card-add {
  background: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
  box-shadow: 0 4px 12px rgba(200, 164, 78, 0.4);
}

.product-card:hover .btn-card-add svg {
  transform: rotate(90deg);
}

/* ==========================================================================
   SHOPPING CART DRAWER
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--accent-main-dim);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--accent-main-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-drawer-header h3 span {
  color: var(--accent-main);
}

.btn-close-cart {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-cart svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: color var(--transition-speed) ease;
}

.btn-close-cart:hover svg {
  color: var(--accent-main);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-empty-message {
  color: var(--text-dim);
  text-align: center;
  margin-top: 3rem;
  font-size: 0.95rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 164, 78, 0.04);
}

.cart-item-img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  padding: 0.3rem;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--accent-main);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.cart-qty-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.cart-qty-btn:hover {
  background: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
}

.cart-item-qty input {
  width: 28px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Remove styling for arrows on input type number */
.cart-item-qty input::-webkit-outer-spin-button,
.cart-item-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.btn-remove-item:hover {
  color: var(--accent-main);
}

.btn-remove-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--accent-main-dim);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-summary-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.cart-summary-total span {
  color: var(--accent-main);
}

.btn-checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #06c755; /* LINE Green */
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
  font-size: 0.95rem;
}

.btn-checkout:hover {
  background-color: #05b04b;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
}

.btn-checkout:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.2);
}

.btn-checkout svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Modal Overlay for Drawer */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

.cart-overlay.open {
  display: block;
}

/* ==========================================================================
   PRODUCT DETAILS MODAL
   ========================================================================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-wrapper.open {
  display: flex;
}

.details-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  border-radius: 24px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.btn-close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
  z-index: 10;
}

.btn-close-modal:hover {
  background: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
}

.modal-visual {
  background: radial-gradient(circle, rgba(200, 164, 78, 0.08) 0%, rgba(0,0,0,0) 70%), var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border-right: 1px solid var(--border-color);
}

.modal-visual img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.modal-info {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
}

.modal-category {
  color: var(--accent-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.modal-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.4rem 0;
}

.modal-attributes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  background: var(--bg-tertiary);
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(200, 164, 78, 0.04);
}

/* Tier Option Cards inside Details Modal */
.tier-option-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.7rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tier-option-card:hover {
  border-color: rgba(200, 164, 78, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 164, 78, 0.1);
}

.tier-option-card.active {
  background: rgba(200, 164, 78, 0.05) !important;
  border-color: var(--accent-main) !important;
  box-shadow: 0 0 15px rgba(200, 164, 78, 0.25);
}

.modal-attr-item {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-attr-item strong {
  color: var(--text-main);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.modal-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.qty-selector {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.2rem;
  height: 46px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.qty-btn:active {
  transform: scale(0.8);
}

.qty-btn:hover {
  color: var(--accent-main);
}

.qty-input-box {
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
}

.qty-input-box::-webkit-outer-spin-button,
.qty-input-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-action-row .btn-primary {
  flex-grow: 1;
  height: 46px;
  justify-content: center;
}

/* ==========================================================================
   REVIEW PAGE STYLING
   ========================================================================== */
.review-header-container {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 2rem;
}

.rating-overview-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem;
}

.rating-big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-main);
  text-shadow: 0 0 15px var(--accent-main-glow);
  line-height: 1;
}

.rating-stars {
  color: #ffb800; /* gold */
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.rating-total-txt {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating-bars-list {
  width: 100%;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 45px 1fr 35px;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rating-bar-bg {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background-color: var(--accent-main);
  box-shadow: 0 0 8px var(--accent-main-glow);
}

/* Review grid list */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-main-dim);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
}

.review-card:hover {
  border-color: rgba(200, 164, 78, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--border-glow-hover);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-main);
  font-size: 1rem;
}

.review-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-user-badge {
  font-size: 0.65rem;
  color: var(--accent-main);
  background: rgba(200, 164, 78, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  border: 1px solid rgba(200, 164, 78, 0.2);
  margin-top: 0.1rem;
  display: inline-block;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.review-stars {
  color: #ffb800;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-product-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,245,0.95) 100%);
  border: 1px solid rgba(200, 164, 78, 0.4);
  align-self: flex-start;
  font-size: 0.72rem;
  color: #c8a44e;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(200, 164, 78, 0.15);
  letter-spacing: 0.2px;
}

/* Submit Review Panel */
.submit-review-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.submit-review-panel h3 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-main);
  border-bottom: 1px solid var(--accent-main-dim);
  padding-bottom: 0.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-input {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
}

.form-input:focus {
  border-color: var(--accent-main);
  box-shadow: 0 0 10px var(--accent-main-dim);
  background-color: rgba(200, 164, 78, 0.02);
}

/* Interactive Star Rating Selector */
.star-selector {
  display: flex;
  gap: 0.4rem;
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.star-select-btn {
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.star-select-btn.active, .star-select-btn:hover, .star-select-btn.hovered {
  color: #ffb800;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

/* ==========================================================================
   CONTACT PAGE STYLING
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 1.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-main);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-info-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-details p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

.contact-info-details span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.map-placeholder-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(10%) sepia(30%);
}

.contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-main);
  border-bottom: 1px solid var(--accent-main-dim);
  padding-bottom: 0.6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--accent-main-dim);
  background-color: var(--bg-secondary);
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(200, 164, 78, 0.15));
  transition: var(--transition-smooth);
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 480px;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--accent-main);
  padding-left: 0.6rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links-list a:hover {
  color: var(--accent-main);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(200, 164, 78, 0.04);
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom strong {
  color: var(--text-muted);
}

/* Scroll To Top button */
.scroll-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--accent-main);
  color: white;
  border-color: var(--accent-main);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-main-glow);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* Mobile Bottom Navigation Bar — Glassmorphism Floating Tab Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  height: 64px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.6rem;
  transition: var(--transition-smooth);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  font-size: 0.65rem;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  gap: 0.15rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  width: 100%;
  padding: 0.35rem 0;
  border-radius: 14px;
  z-index: 1;
}

/* Pill-shaped active indicator background */
.mobile-nav-item::before {
  content: '';
  position: absolute;
  inset: 4px 6px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.mobile-nav-item:active {
  transform: scale(0.92);
}

.mobile-nav-item svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.mobile-nav-item:hover {
  color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-item.active {
  color: var(--accent-main);
}

.mobile-nav-item.active::before {
  background: rgba(200, 164, 78, 0.1);
  box-shadow: 0 0 12px rgba(200, 164, 78, 0.08);
}

.mobile-nav-item.active svg {
  filter: drop-shadow(0 0 6px rgba(200, 164, 78, 0.5));
  transform: scale(1.05);
}

.mobile-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--accent-main);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 6px var(--accent-main-glow);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
  .widgets-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}

@media (max-width: 1024px) {
  .app-wrapper {
    flex-direction: column;
  }
  
  #header-container {
    width: 100%;
  }

  /* Show mobile header/nav and hide desktop sidebar */
  .sidebar {
    display: none;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  .cart-drawer-footer {
    padding-bottom: calc(1.5rem + 88px);
  }
  
  .main-content {
    margin-left: 0;
    margin-top: 0;
    padding: 1.2rem;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
    gap: 1.8rem;
    margin-bottom: 0;
  }
  
  .hero-showcase-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .overview-panel {
    display: none; /* Hide Overview block on mobile to save vertical space */
  }
}

@media (max-width: 768px) {
  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-slide-content {
    align-items: center;
  }
  
  .hero-slide-title {
    font-size: 2.2rem;
  }
  
  .hero-slide-desc {
    margin: 0 auto;
  }
  
  .hero-slide-visual {
    order: -1; /* Image first on mobile */
    min-height: 200px;
  }
  
  .hero-product-img {
    max-height: 200px;
  }
  
  .widgets-container {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .review-header-container {
    grid-template-columns: 1fr;
  }
  
  .details-modal {
    grid-template-columns: 1fr;
  }
  
  .modal-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
  }
  
  .modal-info {
    padding: 1.5rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-slide-title {
    font-size: 1.8rem;
  }
  
  .hero-slide-title span {
    font-size: 1.3rem;
  }
  
  .hero-slide-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-slide-ctas button, .hero-slide-ctas a {
    width: 100%;
    justify-content: center;
  }
  
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}

/* Mixers Guide Section */
.mixers-guide-section {
  padding: 4rem 0;
}

.mixers-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mixer-guide-card {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.mixer-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(200, 164, 78, 0.15);
  border-color: var(--accent-main);
}

.mixer-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--accent-main), #c89640);
  color: var(--text-main);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.mixer-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.05) 0%, transparent 70%);
  padding: 1.5rem;
  position: relative;
}

.mixer-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-main-dim), transparent);
}

.mixer-card-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.mixer-guide-card:hover .mixer-card-image img {
  transform: scale(1.08) rotate(2deg);
}

.mixer-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.mixer-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: 'Kanit', sans-serif;
}

.mixer-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  color: var(--accent-main);
  background: rgba(200, 164, 78, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(200, 164, 78, 0.15);
}

.mixer-card-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mixer-recommend-badge {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-main);
  background: var(--bg-main);
  border-left: 3px solid var(--accent-main);
  padding: 0.5rem 0.75rem;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
}

/* Mixer Modal Specifics */
.mixer-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mixer-modal-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.mixer-modal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  min-height: 320px;
}

.mixer-modal-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--accent-main), #c89640);
  color: var(--text-main);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.mixer-modal-visual img {
  max-height: 350px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.mixer-modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
}

.mixer-modal-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mixer-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Kanit', sans-serif;
  letter-spacing: -0.02em;
}

.mixer-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.mixer-modal-metadata {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(200, 164, 78, 0.03);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.mixer-meta-item {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mixer-meta-item strong {
  color: var(--text-main);
}

/* Taste Profile Stats */
.mixer-stats-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  padding-top: 1.2rem;
}

.mixer-stats-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-main);
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.mixer-stat-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  gap: 1rem;
}

.mixer-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mixer-stat-bar-bg {
  height: 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.mixer-stat-bar-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.mixer-stat-val {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
  font-family: 'Kanit', sans-serif;
}

/* Mixing Tip Box */
.mixer-tip-box {
  background: rgba(200, 164, 78, 0.03);
  border-left: 4px solid var(--accent-main);
  padding: 1rem;
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 1px solid rgba(200, 164, 78, 0.05);
  border-left-width: 4px;
}

.mixer-tip-box strong {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mixer-tip-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive Mixers */
@media (max-width: 768px) {
  .mixer-modal-content {
    grid-template-columns: 1fr;
  }
  
  .mixer-modal-visual {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 2rem;
    min-height: auto;
  }
  
  .mixer-modal-visual img {
    max-height: 240px;
  }

  .mixer-modal-info {
    padding: 1.5rem;
  }
  
  .mixer-stat-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  
  .mixer-stat-val {
    text-align: left;
  }
}

/* Overview Modal Specifics */
.overview-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  border-radius: 24px;
  width: 90%;
  max-width: 860px;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.5rem;
}

.overview-popup-icon-container svg {
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(200, 164, 78, 0.3)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(200, 164, 78, 0.6)); }
}

@media (max-width: 480px) {
  .overview-modal {
    padding: 1.5rem;
  }
}

/* Language Switcher Floating Widget */
.lang-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  animation: langWidgetFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes langWidgetFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-widget-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  box-shadow: 0 4px 15px rgba(200, 164, 78, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  color: var(--text-main);
}

.lang-widget-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent-main);
  box-shadow: 0 0 20px var(--accent-main-glow);
}

.lang-widget-btn svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-speed) ease;
  fill: currentColor;
}

.lang-menu {
  position: absolute;
  bottom: 55px;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-main-dim);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 120px;
}

.lang-widget-container:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  font-family: 'Kanit', sans-serif;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-menu button:last-child {
  border-bottom: none;
}

.lang-menu button:hover {
  background: rgba(200, 164, 78, 0.1);
  color: var(--accent-main);
  padding-left: 1.25rem;
}

/* Hide Google Translate top bar & frame */
.skiptranslate iframe {
  display: none !important;
}
body {
  top: 0 !important;
}
#goog-gt-tt {
  display: none !important;
}

@media (max-width: 768px) {
  .lang-widget-container {
    bottom: calc(90px + env(safe-area-inset-bottom));
    right: 20px;
  }
  .scroll-top-btn {
    bottom: calc(146px + env(safe-area-inset-bottom)) !important;
    right: 20px !important;
  }
  .lang-widget-btn {
    width: 42px;
    height: 42px;
  }
}

/* Overview Modal responsive optimizations */
.overview-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  padding: 0 1.8rem; /* Centering + clearing absolute close button */
  text-align: center;
  font-family: 'Kanit', sans-serif;
}

@media (max-width: 480px) {
  .overview-modal-title {
    font-size: 1.25rem;
    margin-top: 1.2rem; /* Clear the X button on mobile */
    padding: 0 0.5rem;
    line-height: 1.4;
  }
  .delivery-platforms-grid {
    gap: 0.5rem !important;
  }
  .delivery-platform-card {
    padding: 0.75rem 0.5rem !important;
    gap: 0.5rem !important;
    font-size: 0.82rem !important;
  }
  .delivery-platform-card span {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   PRICING PACKAGES SECTION
   ========================================================================== */

/* --- Grid Layout --- */
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Package Card (Base) --- */
.package-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent-main-dim);
  border-radius: 24px;
  padding: 0 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* --- Package Cover Image --- */
.package-cover {
  width: calc(100% + 4rem);
  margin: 0 -2rem 1.5rem -2rem;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.05) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.package-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.package-card:hover .package-cover img {
  transform: scale(1.08);
}

/* --- Package Card Hover --- */
.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 164, 78, 0.4);
  box-shadow: var(--border-glow-hover), var(--shadow-lg);
}

/* --- Featured Card --- */
.package-card.featured {
  transform: scale(1.03);
  border-color: var(--accent-main);
  box-shadow: 0 0 30px rgba(200, 164, 78, 0.2), 0 0 60px rgba(200, 164, 78, 0.08), var(--shadow-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 164, 78, 0.1) 0%, rgba(200, 164, 78, 0) 60%), var(--bg-card);
  z-index: 2;
}

.package-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 0 40px rgba(200, 164, 78, 0.35), 0 0 80px rgba(200, 164, 78, 0.12), var(--shadow-lg);
}

/* --- Badge --- */
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-main);
  color: #fff;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 18px var(--accent-main-glow);
}

/* --- Icon Container --- */
.package-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-main-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition-smooth);
}

.package-card:hover .package-icon {
  box-shadow: 0 0 20px var(--accent-main-dim);
}

.package-icon svg,
.package-icon img {
  width: 38px;
  height: 38px;
}

.package-icon svg {
  fill: var(--accent-main);
  filter: drop-shadow(0 0 4px var(--accent-main-glow));
}

/* --- Package Name --- */
.package-name {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

/* --- Package Price --- */
.package-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-main);
  margin-bottom: 0.3rem;
  line-height: 1.1;
  text-shadow: none;
}

/* --- Price Suffix / Subtitle --- */
.package-price-suffix {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* --- Features List --- */
.package-features {
  list-style: none;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 0;
}

/* --- Individual Feature Item --- */
.package-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 164, 78, 0.05);
  transition: color var(--transition-speed) ease;
}

.package-feature:last-child {
  border-bottom: none;
}

.package-card:hover .package-feature {
  color: var(--text-main);
}

/* --- Feature Checkmark Icon --- */
.package-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-main);
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px var(--accent-main-glow));
}

/* --- CTA Button --- */
.package-cta {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--accent-main);
  border-radius: 14px;
  color: var(--text-main);
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.package-cta:hover {
  background: var(--accent-main);
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-main-glow);
  transform: translateY(-2px);
}

.package-cta:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px var(--accent-main-glow);
}

/* --- Featured Card CTA --- */
/* Styles removed to match other buttons */

/* --- Responsive: Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .package-card.featured {
    transform: scale(1);
  }

  .package-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* --- Responsive: Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .packages-grid {
    max-width: 100%;
    gap: 1.2rem;
  }

  .package-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .package-name {
    font-size: 1.35rem;
  }

  .package-price {
    font-size: 2.3rem;
  }

  .package-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }

  .package-icon svg,
  .package-icon img {
    width: 30px;
    height: 30px;
  }

  .package-feature {
    font-size: 0.88rem;
    gap: 0.6rem;
  }

  .package-cta {
    padding: 0.85rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

/* ==========================================================================
   PORTFOLIO SHOWCASE SECTION
   ========================================================================== */

/* Portfolio Section Container */
#portfolio-section {
  margin-top: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
}

/* Individual Portfolio Card */
.portfolio-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--accent-main-dim);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  group: portfolio;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-main), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-card:hover {
  border-color: rgba(200, 164, 78, 0.4);
  box-shadow: var(--border-glow-hover), 0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
}

/* Browser Mockup Frame */
.portfolio-browser-frame {
  position: relative;
  background: #f5f2ee;
  padding: 0;
  overflow: hidden;
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(245, 242, 238, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.portfolio-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}

.portfolio-browser-dot:nth-child(2) {
  background: #ffbd2e;
}

.portfolio-browser-dot:nth-child(3) {
  background: #28c940;
}

.portfolio-browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  background: rgba(200, 164, 78, 0.05);
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Screenshot Container */
.portfolio-screenshot-container {
  position: relative;
  width: 100%;
  --screenshot-height: 280px;
  height: var(--screenshot-height);
  overflow: hidden;
}

.portfolio-screenshot {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-screenshot {
  transform: translateY(calc(-100% + var(--screenshot-height)));
}

/* Gradient Overlay on Screenshot */
.portfolio-screenshot-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Portfolio Card Info */
.portfolio-info {
  padding: 1.2rem 1.5rem 1.5rem;
  position: relative;
}

.portfolio-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--accent-main-dim);
  border: 1px solid rgba(200, 164, 78, 0.2);
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--accent-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.portfolio-category-badge svg {
  width: 10px;
  height: 10px;
  fill: var(--accent-main);
}

.portfolio-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.portfolio-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Portfolio Tech Tags */
.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1rem;
}

.portfolio-tech-tag {
  padding: 3px 8px;
  background: rgba(200, 164, 78, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  font-size: 0.6rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Portfolio CTA Button */
.portfolio-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-main-hover));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-kanit);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.portfolio-visit-btn:hover {
  box-shadow: 0 4px 20px var(--accent-main-glow);
  transform: scale(1.05);
}

.portfolio-visit-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.portfolio-visit-btn:hover svg {
  transform: translateX(3px);
}

.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: #28c940;
  font-weight: 500;
}

.portfolio-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c940;
  animation: portfolioLivePulse 2s infinite;
}

@keyframes portfolioLivePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40, 201, 64, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(40, 201, 64, 0); }
}

/* Portfolio Scroll Reveal Animation */
.portfolio-card {
  opacity: 0;
  transform: translateY(40px);
  animation: portfolioReveal 0.6s ease forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes portfolioReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Portfolio Stats Bar */
.portfolio-stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-main-dim);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.portfolio-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.portfolio-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-main), #d4b866);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.portfolio-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Portfolio Responsive --- */
@media screen and (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-screenshot-container {
    --screenshot-height: 220px;
  }

  .portfolio-stats-bar {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.2rem 1rem;
  }

  .portfolio-stat-number {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .portfolio-info {
    padding: 1rem 1.2rem 1.2rem;
  }

  .portfolio-title {
    font-size: 0.95rem;
  }

  .portfolio-screenshot-container {
    --screenshot-height: 180px;
  }

  .portfolio-stats-bar {
    gap: 1rem;
  }
  
  .portfolio-stat-item {
    flex-basis: 40%;
  }
}


/* ================= UPGRADED REVIEWS CONTROLS & CARDS ================= */

/* Controls bar container */
.reviews-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(245, 242, 235, 0.6);
  border: 1px solid rgba(200, 164, 78, 0.04);
  padding: 1.2rem;
  border-radius: 18px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

/* Search Box */
.reviews-search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.reviews-search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.reviews-search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  background: var(--bg-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
}

.reviews-search-box input:focus {
  outline: none;
  border-color: var(--accent-main);
  box-shadow: 0 0 10px rgba(200, 164, 78, 0.2);
}

/* Filter buttons */
.reviews-filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(200, 164, 78, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background: rgba(200, 164, 78, 0.08);
  color: var(--text-main);
  border-color: rgba(200, 164, 78, 0.3);
}

.filter-btn.active {
  background: var(--accent-main);
  color: #fff;
  border-color: var(--accent-main);
  box-shadow: 0 0 12px var(--accent-main-glow);
  font-weight: 600;
}

/* Sort dropdown */
.reviews-sort-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reviews-sort-box select {
  background: var(--bg-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all var(--transition-speed) ease;
}

.reviews-sort-box select:focus {
  border-color: var(--accent-main);
}

/* Elegant Quote Mark inside Card */
.review-card {
  position: relative;
  overflow: hidden;
  opacity: 0; /* Animated entry */
}

.review-quote-mark {
  position: absolute;
  right: 1.5rem;
  bottom: 0.5rem;
  font-size: 8rem;
  font-family: 'Kanit', sans-serif;
  line-height: 1;
  color: rgba(200, 164, 78, 0.04);
  pointer-events: none;
  user-select: none;
}

/* Review Badge */
.review-user-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.verified-icon {
  color: var(--accent-main);
}

/* Star rating glow */
.review-stars {
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

/* Tag icon styling */
.review-product-tag {
  display: inline-flex !important;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,245,0.95) 100%) !important;
  border-color: rgba(200, 164, 78, 0.4) !important;
  color: #c8a44e !important;
}

/* No reviews found state */
.no-reviews-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(245, 242, 235, 0.6);
  border: 1px dashed rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  margin-top: 1rem;
}

.no-reviews-icon {
  width: 48px;
  height: 48px;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.no-reviews-state h4 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.no-reviews-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Entry Animation for dynamic reviews grid cards */
@keyframes reviewReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for reviews controls */
@media screen and (max-width: 768px) {
  .reviews-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .reviews-filter-buttons {
    justify-content: flex-start;
  }
  
  .reviews-sort-box {
    justify-content: space-between;
  }
}

/* ==========================================================================
   PROMOTIONAL FLYER SHOWCASE SECTION
   ========================================================================== */

/* --- Section Container --- */
.promo-showcase-section {
  position: relative;
  overflow: hidden;
}

.promo-showcase-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Promo Grid --- */
.promo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

/* --- Individual Promo Card --- */
.promo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.45s ease;
  transform-style: preserve-3d;
  will-change: transform;
  animation: promoCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.promo-card:nth-child(1) { animation-delay: 0.1s; }
.promo-card:nth-child(2) { animation-delay: 0.25s; }
.promo-card:nth-child(3) { animation-delay: 0.4s; }
.promo-card:nth-child(4) { animation-delay: 0.55s; }
.promo-card:nth-child(5) { animation-delay: 0.7s; }

@keyframes promoCardReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}

.promo-card:hover {
  border-color: rgba(200, 164, 78, 0.5);
  box-shadow:
    0 0 30px rgba(200, 164, 78, 0.2),
    0 20px 60px rgba(0, 0, 0, 0.08),
    inset 0 0 60px rgba(200, 164, 78, 0.03);
}

/* --- Neon Glow Border Effect --- */
.promo-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    rgba(200, 164, 78, 0) 30%,
    rgba(200, 164, 78, 0.6) 50%,
    rgba(200, 164, 78, 0) 70%,
    transparent 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: promoNeonRotate 4s linear infinite;
}

.promo-card:hover::before {
  opacity: 1;
}

@keyframes promoNeonRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Shimmer Overlay --- */
.promo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(200, 164, 78, 0.04) 40%,
    rgba(0, 0, 0, 0.06) 50%,
    rgba(200, 164, 78, 0.04) 60%,
    transparent 80%
  );
  z-index: 3;
  pointer-events: none;
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.promo-card:hover::after {
  left: 120%;
}

/* --- Card Image --- */
.promo-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.promo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.6s ease;
}

.promo-card:hover .promo-card-image img {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.1);
}

/* --- Card Overlay (Bottom gradient with info) --- */
.promo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.5rem 1.2rem 1.5rem;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.97) 0%, rgba(250, 248, 244, 0.88) 50%,
    transparent 100%
  );
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.4s ease;
}

.promo-card:hover .promo-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.promo-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.promo-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.promo-card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-main);
  text-shadow: none;
  font-family: 'Kanit', sans-serif;
}

/* --- Floating Badge --- */
.promo-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-main);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 4px 16px rgba(200, 164, 78, 0.5);
  animation: promoBadgePulse 2.5s ease-in-out infinite;
}

@keyframes promoBadgePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(200, 164, 78, 0.4); transform: scale(1); }
  50% { box-shadow: 0 4px 24px rgba(200, 164, 78, 0.7); transform: scale(1.05); }
}

/* --- Zoom/View Icon Hint --- */
.promo-card-zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 164, 78, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 164, 78, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
}

.promo-card-zoom svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  filter: drop-shadow(0 0 4px rgba(200, 164, 78, 0.5));
}

.promo-card:hover .promo-card-zoom {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================================
   FLYER POPUP MODAL
   ========================================================================== */

/* --- Overview Modal Grid --- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.overview-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-main);
  box-shadow: 0 8px 24px rgba(200, 164, 78, 0.1);
}

.overview-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(200, 164, 78, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 12px rgba(200, 164, 78, 0.15);
  overflow: hidden;
}

.overview-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.flyer-modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: background 0.45s ease,
              backdrop-filter 0.45s ease,
              -webkit-backdrop-filter 0.45s ease,
              opacity 0.45s ease,
              visibility 0s linear 0.45s;
  padding: 1.5rem;
}

.flyer-modal-wrapper.open {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  opacity: 1;
  visibility: visible;
  transition: background 0.45s ease,
              backdrop-filter 0.45s ease,
              -webkit-backdrop-filter 0.45s ease,
              opacity 0.45s ease,
              visibility 0s linear 0s;
}

/* --- Modal Content Box --- */
.flyer-modal {
  position: relative;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(250, 248, 244, 0.99));
  border: 1px solid rgba(200, 164, 78, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(200, 164, 78, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: scale(0.88) translateY(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
}

.flyer-modal-wrapper.open .flyer-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* --- Close Button --- */
.flyer-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.flyer-modal-close:hover {
  background: var(--accent-main);
  border-color: var(--accent-main);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(200, 164, 78, 0.5);
}

.flyer-modal-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Image Container with Zoom --- */
.flyer-modal-image-container {
  width: 100%;
  overflow: auto;
  max-height: 65vh;
  cursor: zoom-in;
  position: relative;
  background: radial-gradient(circle at center, rgba(200, 164, 78, 0.04) 0%, transparent 70%);
}

.flyer-modal-image-container.zoomed {
  cursor: zoom-out;
}

.flyer-modal-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center center;
}

.flyer-modal-image-container.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}

/* --- Modal Footer with CTA --- */
.flyer-modal-footer {
  padding: 1.5rem 2rem;
  background: rgba(250, 248, 244, 0.97);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.flyer-modal-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.flyer-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.flyer-modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.flyer-modal-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-main);
  text-shadow: none;
  font-family: 'Kanit', sans-serif;
}

.flyer-modal-price-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.flyer-modal-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.flyer-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent-main);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(200, 164, 78, 0.3);
  position: relative;
  overflow: hidden;
}

.flyer-modal-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.flyer-modal-cta:hover::before {
  width: 300px;
  height: 300px;
}

.flyer-modal-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(200, 164, 78, 0.5);
}

.flyer-modal-cta:active {
  transform: scale(0.96);
}

.flyer-modal-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.flyer-modal-cta span {
  position: relative;
  z-index: 1;
}

/* --- Zoom hint indicator --- */
.flyer-zoom-hint {
  position: absolute;
  bottom: 80px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.flyer-modal-image-container.zoomed ~ .flyer-zoom-hint {
  opacity: 0;
}

.flyer-zoom-hint svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-main);
}

/* ==========================================================================
   PROMO SHOWCASE RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .promo-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .promo-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 480px;
    margin: 0 auto;
  }

  .promo-card-title {
    font-size: 0.92rem;
  }

  .promo-card-price {
    font-size: 1.15rem;
  }

  .flyer-modal {
    max-width: 100%;
    border-radius: 16px;
  }

  .flyer-modal-footer {
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    text-align: center;
  }

  .flyer-modal-info {
    align-items: center;
  }

  .flyer-modal-actions {
    width: 100%;
  }

  .flyer-modal-cta {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .flyer-modal-image-container {
    max-height: 55vh;
  }
}

/* ================= COOL POP-UP HOVER EFFECTS ================= */
button, .btn-primary, .btn-secondary, .package-cta, .nav-item, .mobile-nav-item, .sidebar-social-link, .portfolio-visit-btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
button:hover, .btn-primary:hover, .btn-secondary:hover, .package-cta:hover, .portfolio-visit-btn:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(200, 164, 78, 0.6) !important;
}

.dashboard-panel, .package-card, .review-card, .promo-card, .portfolio-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.dashboard-panel:hover, .package-card:hover, .review-card:hover, .promo-card:hover, .portfolio-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 20px rgba(200, 164, 78, 0.15) !important;
  z-index: 10;
  position: relative;
}

/* ============================================================================
   🌟 PREMIUM VISUAL ENHANCEMENTS
   ========================================================================== */

/* --- Animated Gradient Background --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="0" cy="500" r="100" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="150" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="200" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="250" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="300" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="350" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="400" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="450" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="500" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="550" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="600" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="650" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="700" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="750" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="800" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="850" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="900" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="950" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="0" cy="500" r="1000" fill="none" stroke="%23c8a44e" stroke-opacity="0.14" stroke-width="2" /><circle cx="780" cy="500" r="24" fill="%23c8a44e" fill-opacity="0.35" /><circle cx="600" cy="300" r="15" fill="%23c8a44e" fill-opacity="0.25" /><circle cx="850" cy="650" r="18" fill="%23c8a44e" fill-opacity="0.3" /></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="1000" cy="500" r="100" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="150" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="200" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="250" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="300" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="350" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="400" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="450" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="500" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="550" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="600" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="650" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="700" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="750" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="800" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="850" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="900" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="950" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="1000" cy="500" r="1000" fill="none" stroke="%23c8a44e" stroke-opacity="0.11" stroke-width="2" /><circle cx="220" cy="500" r="24" fill="%23c8a44e" fill-opacity="0.35" /><circle cx="400" cy="700" r="15" fill="%23c8a44e" fill-opacity="0.25" /><circle cx="150" cy="350" r="18" fill="%23c8a44e" fill-opacity="0.3" /></svg>'),
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(200, 164, 78, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(180, 144, 64, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 90%, rgba(212, 184, 102, 0.04) 0%, transparent 50%);
  background-position: -350px center, calc(100% + 400px) center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 1300px 1300px, 1200px 1200px, cover, cover, cover;
  animation: bgGradientShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@media (max-width: 768px) {
  body::before {
    background-position: -200px center, calc(100% + 200px) center, center, center, center;
    background-size: 700px 700px, 650px 650px, cover, cover, cover;
  }
}

@keyframes bgGradientShift {
  0% {
    opacity: 0.6;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    filter: hue-rotate(15deg);
  }
  100% {
    opacity: 0.7;
    filter: hue-rotate(-10deg);
  }
}

/* --- Floating Particle Dots (decorative) --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(200, 164, 78, 0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(212, 184, 102, 0.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(160, 120, 48, 0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 80%, rgba(200, 164, 78, 0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 50%, rgba(0, 0, 0, 0.06) 50%, transparent 50%);
  animation: particleFloat 30s linear infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

/* --- Scroll Reveal Animation --- */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.section-header,
.dashboard-panel,
.package-card,
.review-card,
.portfolio-card,
.promo-card,
.what-you-get-card,
.faq-item,
.contact-info-panel,
.contact-form-panel {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger children for a cascading effect */
.packages-grid .package-card:nth-child(1),
.what-you-get-grid .what-you-get-card:nth-child(1) { animation-delay: 0.05s; }
.packages-grid .package-card:nth-child(2),
.what-you-get-grid .what-you-get-card:nth-child(2) { animation-delay: 0.12s; }
.packages-grid .package-card:nth-child(3),
.what-you-get-grid .what-you-get-card:nth-child(3) { animation-delay: 0.19s; }
.packages-grid .package-card:nth-child(4),
.what-you-get-grid .what-you-get-card:nth-child(4) { animation-delay: 0.26s; }
.packages-grid .package-card:nth-child(5),
.what-you-get-grid .what-you-get-card:nth-child(5) { animation-delay: 0.33s; }
.packages-grid .package-card:nth-child(6),
.what-you-get-grid .what-you-get-card:nth-child(6) { animation-delay: 0.40s; }

.portfolio-grid .portfolio-card:nth-child(1) { animation-delay: 0.05s; }
.portfolio-grid .portfolio-card:nth-child(2) { animation-delay: 0.15s; }
.portfolio-grid .portfolio-card:nth-child(3) { animation-delay: 0.25s; }
.portfolio-grid .portfolio-card:nth-child(4) { animation-delay: 0.35s; }
.portfolio-grid .portfolio-card:nth-child(5) { animation-delay: 0.45s; }
.portfolio-grid .portfolio-card:nth-child(6) { animation-delay: 0.55s; }
.portfolio-grid .portfolio-card:nth-child(7) { animation-delay: 0.65s; }

/* --- Enhanced Glassmorphism on Cards --- */
.dashboard-panel,
.package-card,
.review-card,
.contact-info-panel,
.contact-form-panel {
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 250, 245, 0.88) 50%, rgba(255, 255, 255, 0.95) 100%) !important;
}

/* --- Neon Glow Hover on Primary Buttons --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(200, 164, 78, 0.6), rgba(180, 144, 64, 0.4), rgba(212, 184, 102, 0.3));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* --- Package Card Neon Border Hover --- */
.package-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200, 164, 78, 0.4), rgba(180, 144, 64, 0.3), rgba(212, 184, 102, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.package-card:hover::before {
  opacity: 1;
}

/* --- Section Headers Glow Text --- */
.section-header h2 {
  background: linear-gradient(135deg, #c8a44e 0%, #1a1a2e 50%, #c8a44e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textGradient 4s ease-in-out infinite alternate;
}

@keyframes textGradient {
  0% { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.section-header h2 span {
  -webkit-text-fill-color: var(--accent-main);
}

/* --- Accent Pulse Glow --- */
@keyframes accentPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(200, 164, 78, 0.3), 0 0 16px rgba(200, 164, 78, 0.1);
  }
  50% {
    box-shadow: 0 0 16px rgba(200, 164, 78, 0.5), 0 0 32px rgba(200, 164, 78, 0.2);
  }
}

.live-indicator,
.promo-card-badge {
  animation: accentPulse 3s ease-in-out infinite;
}

/* --- Hero Image Float Animation --- */
.hero-product-img {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* --- Portfolio Card Shine Sweep --- */
.portfolio-card {
  position: relative;
  overflow: hidden;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(200, 164, 78, 0.04) 45%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(200, 164, 78, 0.04) 55%,
    transparent 60%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 2;
}

.portfolio-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* --- FAQ Accordion Smooth --- */
.faq-item {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item.active {
  border-left-color: var(--accent-main);
  background: rgba(200, 164, 78, 0.03);
}

/* --- Smooth Link Underline Effect --- */
.nav-item::after,
.mobile-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-main);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(200, 164, 78, 0.4);
}

.nav-item:hover::after,
.mobile-nav-item:hover::after,
.nav-item.active::after,
.mobile-nav-item.active::after {
  width: 80%;
  left: 10%;
}

/* --- Review Stars Shimmer --- */
.rating-stars {
  background: linear-gradient(90deg, #ffc107, #ffeb3b, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: starShimmer 3s ease-in-out infinite;
}

@keyframes starShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- Scrollbar Accent Glow --- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-main), #b08d3a);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c8a44e, #b08d3a);
  box-shadow: 0 0 8px rgba(200, 164, 78, 0.5);
}

/* --- Contact Form Input Focus Glow --- */
.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  border-color: var(--accent-main) !important;
  box-shadow: 0 0 0 3px rgba(200, 164, 78, 0.15), 0 0 15px rgba(200, 164, 78, 0.1) !important;
  outline: none;
}

/* --- Reduce Motion for Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* --- Load More Button styling --- */
.load-more-container button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.load-more-container button:hover svg {
  transform: translateY(3px);
}
