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

:root {
  --primary-color: #1B3B2B;      /* Deep Forest Tea Green */
  --secondary-color: #2D5A43;    /* Medium Sage Green */
  --accent-color: #D4AF37;       /* Gold Champagne */
  --accent-hover: #F3E5AB;       /* Light Amber */
  --bg-color: #FAF7F2;           /* Soft Milk Cream */
  --text-dark: #2F3E36;          /* Dark Charcoal Green */
  --text-light: #FAF7F2;
  --white: #FFFFFF;
  --glass-bg: rgba(250, 247, 242, 0.85);
  --glass-border: rgba(27, 59, 43, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary-color);
}

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

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding: 15px 0;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(250, 247, 242, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-text {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.logo-text span {
  color: var(--accent-color);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

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

nav a:hover {
  color: var(--accent-color);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon {
  font-size: 20px;
  color: var(--primary-color);
  position: relative;
  cursor: pointer;
  padding: 5px;
}

.nav-icon:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   HERO BANNER & AI SEARCH
   ============================================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(rgba(27, 59, 43, 0.15), rgba(27, 59, 43, 0.3)), 
              url('https://images.unsplash.com/photo-1555597673-b21d5c935865?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px 20px;
  margin-bottom: 60px;
}

.hero-content {
  max-width: 800px;
  color: var(--text-light);
  background: rgba(15, 34, 25, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 50px 40px;
  border-radius: 20px;
  border: 2px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(212, 175, 55, 0.15);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent-color);
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 15px;
  margin-bottom: 35px;
  opacity: 0.95;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.ai-search-box {
  background: var(--white);
  padding: 8px 8px 8px 15px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  display: flex;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  align-items: center;
}

.ai-search-box:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.ai-search-box input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 15px;
}

.ai-search-box input::placeholder {
  color: #666;
}

.ai-search-btn {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border: none;
  outline: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.ai-search-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Kết quả tìm kiếm AI Search */
.search-result-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 59, 43, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
}

.search-result-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 680px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 2001;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  animation: modalIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.search-result-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-result-header h3 {
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-result-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.search-result-body {
  padding: 25px;
  max-height: 480px;
  overflow-y: auto;
}

.ai-response-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.ai-citation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
  transition: var(--transition);
}

.ai-citation:hover {
  transform: scale(1.2);
  background: var(--primary-color);
  color: var(--accent-color);
}

.search-sources {
  border-top: 1px solid rgba(27, 59, 43, 0.1);
  padding-top: 15px;
}

.search-sources h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.source-item {
  font-size: 13px;
  padding: 8px 12px;
  background: var(--bg-color);
  border-left: 3px solid var(--accent-color);
  border-radius: 0 4px 4px 0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.source-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* ============================================================================
   SECTIONS & LAYOUTS
   ============================================================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}

.section-desc {
  font-size: 15px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================================
   TEA PRODUCTS LISTING
   ============================================================================ */
.store-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-top: 20px;
}

.filter-sidebar {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  height: fit-content;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  font-size: 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(27, 59, 43, 0.1);
  padding-bottom: 8px;
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-list li:hover,
.filter-list li.active {
  color: var(--accent-color);
  font-weight: 600;
  transform: translateX(5px);
}

.price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-inputs input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(27, 59, 43, 0.1);
  border-radius: 6px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.product-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Ratio */
  overflow: hidden;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.product-old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-card-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  padding: 10px 15px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

/* ============================================================================
   PULSE GLOW HIGHLIGHT EFFECT (NOTEBOOKLM CITATION DYNAMIC ANIMS)
   ============================================================================ */
.pulse-glow-highlight {
  animation: pulseGlow 3.5s forwards ease-in-out;
  scroll-margin-top: 100px;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0px rgba(212, 175, 55, 0.8);
    border-color: var(--accent-color);
  }
  20% {
    box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.9);
    border-color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.05);
  }
  40% {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
  }
  60% {
    box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.9);
    background-color: rgba(212, 175, 55, 0.05);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(212, 175, 55, 0);
  }
}

/* ============================================================================
   FLOATING CHATBOT AI (ALICE STYLE)
   ============================================================================ */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-family: var(--font-sans);
}

.chatbot-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent-color);
  transition: var(--transition);
}

.chatbot-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.chatbot-window {
  display: none;
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  height: 520px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  flex-direction: column;
  overflow: hidden;
  animation: chatbotIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes chatbotIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-color);
}

.chatbot-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-serif);
}

.chatbot-name h4 {
  color: var(--white);
  font-size: 14px;
  margin: 0;
}

.chatbot-name span {
  font-size: 11px;
  opacity: 0.8;
  color: var(--accent-color);
}

.chatbot-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}

.chat-bubble-user {
  background-color: var(--primary-color);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-bubble-bot {
  background-color: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 59, 43, 0.05);
}

.chat-bubble-bot p {
  margin-bottom: 8px;
}

.chat-bubble-bot p:last-child {
  margin-bottom: 0;
}

.chatbot-sources {
  font-size: 11px;
  margin-top: 8px;
  border-top: 1px dashed rgba(27, 59, 43, 0.1);
  padding-top: 5px;
  color: #666;
}

.chatbot-sources-title {
  font-weight: 600;
  margin-bottom: 3px;
}

.chatbot-input-row {
  padding: 15px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
  background: var(--white);
}

.chatbot-input-row input {
  flex-grow: 1;
  border: 1px solid rgba(27, 59, 43, 0.1);
  outline: none;
  border-radius: 30px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  transition: var(--transition);
}

.chatbot-input-row input:focus {
  border-color: var(--primary-color);
}

.chatbot-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--accent-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-send-btn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* ============================================================================
   TOAST NOTIFICATION BEAUTY
   ============================================================================ */
#toastContainer {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 24px;
  background: var(--primary-color);
  color: var(--accent-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--accent-color);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-error {
  background: #721C24;
  color: #F8D7DA;
  border-left-color: #F5C6CB;
}

/* ============================================================================
   CART & CHECKOUT STYLES
   ============================================================================ */
.cart-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 59, 43, 0.4);
  backdrop-filter: blur(3px);
  z-index: 1500;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background: var(--white);
  z-index: 1501;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid rgba(27, 59, 43, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: var(--white);
}

.cart-drawer-header h3 {
  color: var(--white);
  font-size: 18px;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty-msg {
  text-align: center;
  color: #666;
  margin-top: 50px;
}

.cart-item {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid rgba(27, 59, 43, 0.05);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13.5px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-item-ctrl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(27, 59, 43, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.cart-item-qty-btn {
  background: #eee;
  border: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-weight: 700;
}

.cart-item-qty-input {
  width: 30px;
  text-align: center;
  border: none;
  font-size: 12px;
  outline: none;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #cc0000;
  font-size: 12px;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(27, 59, 43, 0.1);
  background: var(--bg-color);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
}

.cart-subtotal-price {
  color: var(--primary-color);
}

/* ============================================================================
   CART PAGE SPECIFIC
   ============================================================================ */
.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin-top: 25px;
}

@media(max-width: 900px) {
  .cart-page-grid {
    grid-template-columns: 1fr;
  }
}

.cart-page-items {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
}

.checkout-sidebar {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  height: fit-content;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(27, 59, 43, 0.1);
  border-radius: 6px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  background: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background: var(--white);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 20px 20px 20px;
  margin-top: 80px;
  border-top: 3px solid var(--accent-color);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-desc {
  font-size: 13.5px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--accent-color);
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13.5px;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.6;
}

/* ============================================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ============================================================================ */
@media (max-width: 991px) {
  .nav-container {
    padding: 0 20px;
  }
  nav {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  /* Header navigation collapse */
  .menu-toggle {
    display: block !important; /* Force display of hamburger menu on mobile overriding inline display:none */
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  nav.active {
    max-height: 350px;
    opacity: 1;
    padding: 15px 0;
  }
  
  nav a {
    color: var(--text-light);
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.05);
  }
  
  nav a::after {
    display: none; /* Hide hover line */
  }
  
  nav a:hover, nav a.active {
    background-color: rgba(250, 247, 242, 0.08);
    color: var(--accent-color);
  }
  
  /* Hero Banner scaling */
  .hero {
    min-height: 60vh;
    padding: 110px 15px 40px 15px;
    margin-bottom: 40px;
  }
  
  .hero-content {
    padding: 30px 20px;
  }
  
  .hero-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  
  .hero-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  /* Grid sections stacking */
  .store-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .filter-sidebar {
    position: relative;
    top: 0;
  }
  
  /* Section title font sizes */
  .section-title {
    font-size: 28px;
  }
  
  .section-container {
    padding: 40px 15px;
  }
  
  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 22px;
  }
  
  /* AI Search input and button wrap for small screens */
  .ai-search-box {
    flex-direction: column;
    border-radius: 15px;
    padding: 10px;
    gap: 8px;
  }
  
  .ai-search-box input {
    width: 100%;
    padding: 8px;
    text-align: center;
  }
  
  .ai-search-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
  
  /* Chatbot window dimensions on mobile to prevent overflow */
  .chatbot-window {
    width: calc(100vw - 30px);
    right: -15px;
    bottom: 75px;
    height: 70vh;
    max-height: 480px;
  }
  
  .chat-bubble {
    max-width: 90%;
  }
  
  /* Search modal response text */
  .search-result-modal {
    width: 95%;
  }
  
  /* Product Cards action buttons shrink for small screens */
  .product-card-btn-row {
    gap: 5px;
  }
  
  .btn-small {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  /* Cart item layout on mobile */
  .cart-item {
    gap: 10px;
  }
  
  .cart-item-img {
    width: 60px;
    height: 60px;
  }
  
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

