/* ==========================================================================
   Thai Herbal Care - 360° Interactive Landing Page Styles
   Brand: กิติกรณ์สมุนไพร (วิสาหกิจชุมชนกิติกรสมุนไพร หัวหิน)
   Website: thaiherbalcare.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1b5e3b;
  --primary-dark: #0f3d25;
  --primary-light: #2e8b57;
  --primary-soft: #e8f5e9;
  --accent-gold: #c59b27;
  --accent-gold-light: #f7e7b4;
  --accent-gold-dark: #9a7616;
  --bg-dark: #0d1f15;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-dark: rgba(13, 31, 21, 0.85);
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-light: #f9fafb;
  --border-light: rgba(27, 94, 59, 0.15);
  --border-gold: rgba(197, 155, 39, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 10px 30px rgba(197, 155, 39, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Prompt', 'Sarabun', sans-serif;
  color: var(--text-dark);
  background-color: #f7faf7;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

p, span, li, button, input {
  font-family: 'Sarabun', 'Prompt', sans-serif;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 50%, #f3e5ab 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emerald-gradient-text {
  background: linear-gradient(135deg, #1b5e3b 0%, #2e8b57 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--accent-gold-dark);
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

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

.nav-link-ebook {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a16207 !important;
  font-weight: 600;
  background: rgba(197, 155, 39, 0.1);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.3);
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link-ebook i {
  color: #b45309;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.nav-link-ebook:hover {
  background: rgba(197, 155, 39, 0.22);
  color: #78350f !important;
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

.nav-link-ebook:hover i {
  transform: scale(1.1);
}

.nav-link-ebook::after {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cart-trigger {
  position: relative;
  background: var(--primary-soft);
  border: 1px solid var(--border-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cart-trigger:hover {
  background: var(--primary);
  color: #fff;
}

.cart-badge {
  background: #e11d48;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(27, 94, 59, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 59, 0.35);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e0b84c 100%);
  color: #111;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 155, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ==========================================================================
   Hero Section & 360° Studio Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(circle at top center, #eef7ee 0%, #f7faf7 60%, #e5ede5 100%);
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.12) 0%, rgba(27, 94, 59, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 360 Studio Wrapper */
.studio-360 {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 94, 59, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 580px;
  position: relative;
}

.viewer-column {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0d1a12;
  overflow: hidden;
}

.viewer-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  user-select: none;
}

.viewer-iframe-wrapper,
.viewer-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.viewer-video-wrapper video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* 360 Overlay Badges */
.viewer-overlay-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.viewer-overlay-top > * {
  pointer-events: auto;
}

.badge-360-live {
  background: rgba(13, 31, 21, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-360-live i {
  color: var(--accent-gold);
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mode-pills {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.mode-pill-btn {
  background: none;
  border: none;
  color: #bbb;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.mode-pill-btn.active {
  background: var(--accent-gold);
  color: #111;
}

/* Interactive Drag Overlay */
.viewer-drag-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.viewer-drag-overlay:active {
  cursor: grabbing;
}

.drag-hint-pill {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInOut 4s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.95; transform: translateY(-3px); }
}

/* Drive Status Bar */
.drive-status-bar {
  background: rgba(13, 26, 18, 0.95);
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  z-index: 10;
  font-size: 0.9rem;
}

.drive-status-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
}

.drive-status-text strong {
  color: var(--accent-gold-light);
}

.btn-drive-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-drive-link:hover {
  background: var(--accent-gold);
  color: #111;
  border-color: var(--accent-gold);
}

/* 360 Controls Bar */
.viewer-controls-bar {
  background: rgba(13, 26, 18, 0.95);
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  z-index: 10;
}

.btn-ctrl {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-ctrl:hover {
  background: var(--accent-gold);
  color: #111;
  border-color: var(--accent-gold);
}

.btn-ctrl.active {
  background: var(--primary-light);
  color: #fff;
}

.slider-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9ca3af;
}

.slider-labels .current-deg {
  color: var(--accent-gold-light);
  font-weight: 700;
}

.range-360 {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #374151;
  outline: none;
  cursor: pointer;
}

.range-360::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.6);
  border: 2px solid #fff;
}

.ctrl-group-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Product Details in 360 Studio */
.studio-sidebar {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  overflow-y: auto;
}

.product-detail-header {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.product-cat-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.product-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: #b91c1c;
}

.product-price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-detail-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.product-highlight-box {
  background: #fafaf5;
  border-left: 3px solid var(--accent-gold);
  padding: 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.product-highlight-box p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #4b5563;
}

.feature-bullet i {
  color: var(--primary);
  margin-top: 3px;
}

.studio-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-add-cart-large {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(27, 94, 59, 0.25);
  transition: var(--transition);
}

.btn-add-cart-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-website-direct {
  background: linear-gradient(135deg, #c59b27 0%, #9a7616 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
  transition: var(--transition);
}

.btn-website-direct:hover {
  background: linear-gradient(135deg, #d8ac2f 0%, #aa8218 100%);
  color: #fff;
  transform: translateY(-2px);
}

.btn-line-direct {
  background: #06c755;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.25);
  transition: var(--transition);
}

.btn-line-direct:hover {
  background: #05a847;
  color: #fff;
  transform: translateY(-2px);
}

/* 360 Thumbnails Reel Under Studio */
.carousel-360-reel {
  margin-top: 2rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.reel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.reel-title {
  font-size: 1.1rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reel-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reel-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #f0f0f0;
}

.reel-scroll::-webkit-scrollbar {
  height: 6px;
}

.reel-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

.reel-card {
  min-width: 140px;
  width: 140px;
  background: #fdfdfd;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
}

.reel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.reel-card.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 4px 12px rgba(27, 94, 59, 0.15);
}

.reel-card-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
}

.reel-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
  line-height: 1.3;
}

.reel-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b91c1c;
  margin-top: 4px;
}

.reel-card-360-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Trust & Strengths Bar
   ========================================================================== */
.trust-section {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Catalog Grid Section
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
  background: #f7faf7;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

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

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27, 94, 59, 0.2);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.card-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #f5f8f5;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.06);
}

.badge-has-360 {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 31, 21, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #b91c1c;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.btn-card-360 {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--border-light);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-card-360:hover {
  background: var(--accent-gold);
  color: #111;
  border-color: var(--accent-gold);
}

.btn-card-cart {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-cart:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* ==========================================================================
   Heritage & Community Section
   ========================================================================== */
.heritage-section {
  padding: 90px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.heritage-img-col {
  position: relative;
}

.heritage-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 480px;
}

.heritage-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent-gold);
  max-width: 280px;
}

.floating-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.floating-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.heritage-content-col h3 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.heritage-content-col p {
  color: #4b5563;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.heritage-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.heritage-step-box {
  background: var(--primary-soft);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.heritage-step-box h5 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.heritage-step-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Virtual Garden 360 Panorama Experience
   ========================================================================== */
.garden-360-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
}

.garden-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.garden-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.garden-header h2 {
  font-size: 2.3rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.garden-header p {
  color: #9ca3af;
  font-size: 1.05rem;
}

.garden-canvas-box {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

#gardenCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.garden-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(13, 31, 21, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
}

.garden-overlay-info h5 {
  color: var(--accent-gold-light);
  font-size: 1rem;
  margin-bottom: 2px;
}

.garden-overlay-info p {
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 0;
}

.garden-drag-prompt {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Testimonials & FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: #f7faf7;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.25rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Footer & Contact
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  font-size: 1.1rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9ca3af;
}

.footer-contact-list i {
  color: var(--accent-gold);
  margin-top: 4px;
}

.footer-bottom {
  max-width: 1320px;
  margin: 25px auto 0;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* ==========================================================================
   Shopping Cart Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: #fff;
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #f7faf7;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.9rem;
  color: #b91c1c;
  font-weight: 700;
  margin-top: 2px;
}

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

.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-count {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.btn-cart-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #f0f0f0;
  background: #fafaf9;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.btn-checkout-line {
  background: #06c755;
  color: #fff;
  border: none;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-checkout-line:hover {
  background: #05a847;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) and (min-width: 1025px) {
  .header-container {
    padding: 0.6rem 1rem;
  }
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn-primary {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .btn-mobile-toggle {
    display: block;
  }
  .studio-360 {
    grid-template-columns: 1fr;
  }
  .viewer-stage {
    min-height: 400px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heritage-grid {
    grid-template-columns: 1fr;
  }
  .heritage-img-main {
    height: 360px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .viewer-stage {
    min-height: 320px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Floating LINE Official Button (สั่งซื้อผ่าน LINE เพิ่มเพื่อน)
   Design matched to user specification / media_1793940209179.png
   ========================================================================== */
.floating-line-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f6f47;
  background: linear-gradient(135deg, #24764b 0%, #1a633d 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 22px 8px 12px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(26, 99, 61, 0.45), 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  user-select: none;
}

.floating-line-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 32px rgba(26, 99, 61, 0.55), 0 6px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2a8757 0%, #1f6f47 100%);
}

.floating-line-icon-box {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06c755;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.floating-line-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.floating-line-text .sub-text {
  font-family: 'Prompt', 'Sarabun', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.floating-line-text .main-text {
  font-family: 'Prompt', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .floating-line-btn {
    bottom: 20px;
    right: 16px;
    padding: 7px 18px 7px 10px;
    gap: 8px;
  }
  .floating-line-icon-box {
    width: 34px;
    height: 34px;
    font-size: 22px;
    border-radius: 8px;
  }
  .floating-line-text .sub-text {
    font-size: 0.78rem;
  }
  .floating-line-text .main-text {
    font-size: 1.15rem;
  }
}

