/* ============================================================
   LOWES FOODS — Brand-Matched Styles
   ============================================================ */
:root {
  --lf-green-dark: #1B5E20;
  --lf-green: #2E7D32;
  --lf-green-accent: #388E3C;
  --lf-green-light: #E8F5E9;
  --lf-yellow: #FFC107;
  --lf-red: #D32F2F;
  --lf-cream: #FFF8E1;
  --lf-brown: #5D4037;
  --text-dark: #212121;
  --text-muted: #666;
  --border: #E0E0E0;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   TOP BAR (dark green)
   ============================================================ */
.topbar {
  background: var(--lf-green-dark);
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left { flex: 1; }
.topbar-right { justify-content: flex-end; }

.topbar-logo {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 36px;
  font-weight: normal;
  color: white;
  padding: 0 20px;
  position: relative;
  letter-spacing: 1px;
}

.topbar-logo::after {
  content: 'Foods';
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  font-family: Arial, sans-serif;
  text-align: center;
  margin-top: -8px;
  text-transform: uppercase;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.topbar-item:hover { opacity: 0.8; }

.topbar-item svg { width: 16px; height: 16px; }

/* ============================================================
   MAIN NAV (green bar with logo + search + cart)
   ============================================================ */
.mainnav {
  background: var(--lf-green);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mainnav-logo {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 42px;
  color: white;
  padding: 0 10px;
  line-height: 1;
  letter-spacing: 1px;
  cursor: pointer;
}

.pickup-pill {
  background: white;
  border-radius: 6px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lf-green-dark);
  font-size: 12px;
  line-height: 1.3;
  min-width: 280px;
  cursor: pointer;
}

.pickup-pill strong {
  color: var(--lf-green-dark);
  font-size: 13px;
  font-weight: 700;
}

.pickup-pill .pickup-icon {
  background: var(--lf-green);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pickup-pill .pickup-icon svg { width: 14px; height: 14px; }

.search-bar {
  flex: 1;
  background: white;
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-dark);
}

.search-bar svg { width: 20px; height: 20px; color: var(--lf-green); }

.mainnav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
  font-size: 13px;
}

.mainnav-action {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.mainnav-action svg { width: 18px; height: 18px; }

.cart-badge {
  background: var(--lf-yellow);
  color: var(--lf-green-dark);
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* ============================================================
   SECONDARY NAV (green menu items)
   ============================================================ */
.subnav {
  background: var(--lf-green);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  overflow-x: auto;
}

.subnav-item {
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 2px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s;
}

.subnav-item:hover, .subnav-item.active {
  border-bottom-color: var(--lf-yellow);
}

.subnav-item.menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   STORE PICKUP BAR (under nav)
   ============================================================ */
.store-bar {
  background: #F5F5F5;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.store-bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.store-bar-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.store-bar-btn {
  background: white;
  border: 2px solid var(--lf-green);
  color: var(--lf-green);
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: auto;
}

.store-bar-btn + .store-bar-btn { margin-left: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--lf-brown);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  padding: 20px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-content h1 .script {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  text-transform: none;
  font-size: 80px;
  font-weight: normal;
  display: inline-block;
  transform: rotate(-5deg);
  margin: 0 8px;
  color: var(--lf-yellow);
}

.hero-content p {
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}

.hero-cta {
  display: inline-block;
  background: var(--lf-green);
  color: white;
  padding: 14px 36px;
  border-radius: 4px;
  margin-top: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); }

/* Hero nav arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.hero-dot.active { background: white; }

/* ============================================================
   WEEKLY SPECIALS (horizontal scroll product row)
   ============================================================ */
.section {
  padding: 40px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--lf-green-dark);
  letter-spacing: 0.5px;
}

.section-view-all {
  color: var(--lf-green);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-behavior: smooth;
}

.product-scroll::-webkit-scrollbar { height: 8px; }
.product-scroll::-webkit-scrollbar-thumb {
  background: var(--lf-green);
  border-radius: 4px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.savings-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--lf-yellow);
  color: var(--lf-green-dark);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  border-bottom-right-radius: 6px;
}

.product-img-wrap {
  width: 100%;
  height: 160px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.offer-inside {
  background: white;
  border: 2px solid var(--lf-green);
  color: var(--lf-green);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin: 6px 10px 0;
  letter-spacing: 0.3px;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px 0;
  color: var(--text-dark);
  line-height: 1.3;
  flex: 1;
  min-height: 36px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
}

.product-price {
  color: var(--lf-red);
  font-weight: 800;
  font-size: 18px;
}

.product-price-original {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 12px;
}

.product-unit {
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 10px 8px;
}

.add-to-cart-btn {
  background: var(--lf-green);
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.add-to-cart-btn:hover { background: var(--lf-green-dark); }
.add-to-cart-btn svg { width: 14px; height: 14px; }

/* ============================================================
   CARD GRID (Fresh Rewards, Store, Deals, Pasta cards)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.promo-card {
  text-align: center;
  cursor: pointer;
}

.promo-card-img {
  width: 100%;
  height: 220px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--lf-green-light);
  border: 1px solid var(--border);
}

.promo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lf-green-dark);
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.promo-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.promo-card-link {
  color: var(--lf-green);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--lf-green);
  padding-bottom: 2px;
  display: inline-block;
}

/* ============================================================
   BIG DIGITAL EVENT BANNER (red/yellow)
   ============================================================ */
.big-banner {
  background: linear-gradient(90deg, #D32F2F 0%, #C62828 50%, #B71C1C 100%);
  color: white;
  padding: 30px 40px;
  margin: 20px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 4px solid var(--lf-yellow);
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.big-banner-headline {
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 1px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

.big-banner-script {
  font-family: 'Brush Script MT', cursive;
  color: var(--lf-yellow);
  font-size: 36px;
  font-weight: normal;
  display: block;
  line-height: 1;
  margin: 2px 0;
}

.big-banner-sub {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 8px;
}

.big-banner-cta {
  background: var(--lf-yellow);
  color: var(--lf-green-dark);
  padding: 14px 28px;
  font-weight: 900;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid white;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--lf-green-dark);
  color: white;
  padding: 50px 24px 20px;
  margin-top: 60px;
}

.footer-cols {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--lf-yellow);
  font-weight: 800;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
  cursor: pointer;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1400px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   CHAT WIDGET — Floating button & panel
   ============================================================ */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--lf-green);
  color: white;
  border: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 28px; height: 28px; }

.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--lf-yellow);
  color: var(--lf-green-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 10px;
  border: 2px solid white;
}

.chat-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 420px;
  height: 640px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
}

.chat-panel.open { display: flex; }

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

.chat-header {
  background: var(--lf-green);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lf-yellow);
  color: var(--lf-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-title {
  flex: 1;
  line-height: 1.2;
}

.chat-title strong {
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.chat-title span {
  font-size: 11px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-title span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(76,175,80,0.3);
}

.chat-header-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-header-btn:hover { background: rgba(255,255,255,0.3); }
.chat-header-btn svg { width: 16px; height: 16px; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #F9FAF8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-msg.user {
  background: var(--lf-green);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  background: white;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Chat product cards */
.chat-products {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}

.chat-product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-product-card:hover {
  border-color: var(--lf-green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.chat-product-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #FAFAFA;
  border-radius: 6px;
  flex-shrink: 0;
}

.chat-product-info {
  flex: 1;
  min-width: 0;
}

.chat-product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.chat-product-brand {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.chat-product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--lf-red);
}

.chat-product-add {
  align-self: center;
  background: var(--lf-green);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Quick replies */
.chat-quick-replies {
  padding: 10px 16px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #F9FAF8;
}

.quick-reply {
  background: white;
  border: 1.5px solid var(--lf-green);
  color: var(--lf-green);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply:hover {
  background: var(--lf-green);
  color: white;
}

/* Input */
.chat-input-wrap {
  padding: 12px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  resize: none;
  font-family: inherit;
}

.chat-input:focus { border-color: var(--lf-green); }

.chat-send {
  background: var(--lf-green);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send:hover { background: var(--lf-green-dark); }
.chat-send svg { width: 18px; height: 18px; }

/* Typing indicator */
.typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  align-self: flex-start;
  width: fit-content;
}

.typing span {
  width: 8px;
  height: 8px;
  background: var(--lf-green);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.9); }
  30% { opacity: 1; transform: scale(1.1); }
}

/* Welcome screen with persona pills */
.welcome-screen {
  padding: 20px 16px;
  text-align: center;
}

.welcome-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--lf-green-dark);
  margin-bottom: 6px;
}

.welcome-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.welcome-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.welcome-btn {
  background: var(--lf-green);
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.welcome-btn.secondary {
  background: white;
  border: 2px solid var(--lf-green);
  color: var(--lf-green);
}

.welcome-btn:hover { opacity: 0.9; }

/* Persona picker */
.persona-picker-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--lf-green-dark);
  margin-bottom: 12px;
  text-align: left;
  padding: 0 4px;
}

.persona-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  margin-bottom: 8px;
}

.persona-card:hover {
  border-color: var(--lf-green);
  transform: translateY(-1px);
}

.persona-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lf-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.persona-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.persona-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.persona-tooltip {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 10px;
  background: #1a1a1a;
  color: white;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.persona-card:hover .persona-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.persona-tooltip strong { color: var(--lf-yellow); display: block; margin-bottom: 4px; }

/* ============================================================
   QUIZ / PROFILE BUILDER
   ============================================================ */
.quiz-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.quiz-progress-dot {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.quiz-progress-dot.active { background: var(--lf-green); }

.quiz-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  background: white;
  border: 2px solid var(--border);
  padding: 12px 14px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
  font-weight: 500;
}

.quiz-option:hover {
  border-color: var(--lf-green);
  background: var(--lf-green-light);
}

.quiz-option.selected {
  border-color: var(--lf-green);
  background: var(--lf-green);
  color: white;
  font-weight: 700;
}

.quiz-submit {
  background: var(--lf-green);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.quiz-submit:disabled {
  background: var(--border);
  cursor: not-allowed;
}

/* ============================================================
   STORE / APPOINTMENT CARDS IN CHAT
   ============================================================ */
.chat-store-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.chat-store-card:hover { border-color: var(--lf-green); }

.chat-store-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: var(--lf-green-light);
}

.chat-store-body { padding: 10px 12px; }

.chat-store-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--lf-green-dark);
  margin-bottom: 2px;
}

.chat-store-meta {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.time-slot {
  background: white;
  border: 1.5px solid var(--lf-green);
  color: var(--lf-green);
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.time-slot:hover { background: var(--lf-green); color: white; }
.time-slot.disabled {
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  background: #F5F5F5;
}

.appt-confirm {
  background: linear-gradient(135deg, var(--lf-green) 0%, var(--lf-green-dark) 100%);
  color: white;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.appt-confirm-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.appt-id {
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.appt-detail {
  font-size: 13px;
  padding: 3px 0;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pdp {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.pdp-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid var(--border);
}

.pdp-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pdp-brand {
  text-transform: uppercase;
  color: var(--lf-green);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.pdp-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.pdp-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--lf-red);
  margin-bottom: 4px;
}

.pdp-unit {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.pdp-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.pdp-tag {
  background: var(--lf-green-light);
  color: var(--lf-green-dark);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pdp-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.qty-selector button {
  background: white;
  border: none;
  width: 40px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  color: var(--lf-green);
  font-weight: 700;
}

.qty-selector span {
  width: 40px;
  text-align: center;
  font-weight: 700;
}

.pdp-add-btn {
  background: var(--lf-green);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.pdp-add-btn:hover { background: var(--lf-green-dark); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-wrap {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.checkout-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--lf-green-dark);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.checkout-field {
  margin-bottom: 14px;
}

.checkout-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.checkout-field input:focus { border-color: var(--lf-green); }

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 6px;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; }
.cart-item-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-weight: 700; font-size: 14px; color: var(--lf-red); }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--lf-green-dark);
}

.place-order-btn {
  background: var(--lf-green);
  color: white;
  padding: 16px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
}

.place-order-btn:hover { background: var(--lf-green-dark); }

/* Responsive */
@media (max-width: 900px) {
  .pdp, .checkout-wrap { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 48px; }
  .hero-content h1 .script { font-size: 52px; }
  .big-banner-headline { font-size: 36px; }
  .chat-panel { width: calc(100vw - 20px); right: 10px; bottom: 10px; height: calc(100vh - 20px); max-height: 640px; }
}


/* ============================================================
   RECIPES PAGE
   ============================================================ */
.recipes-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 24px;
}

.recipes-filters {
  padding-right: 10px;
}

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

.filter-group h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.filter-option {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.filter-option input {
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--lf-green);
}

.filter-group .show-more {
  color: var(--lf-green);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding-top: 6px;
  display: inline-block;
}

.recipes-content {
  min-width: 0;
}

.recipes-header {
  margin-bottom: 20px;
}

.recipes-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.recipes-header .recipes-count {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* AI-powered conversational search bar */
.ai-search-bar {
  position: relative;
  margin-bottom: 8px;
}

.ai-search-bar input {
  width: 100%;
  padding: 14px 50px 14px 44px;
  border: 2px solid var(--lf-green);
  border-radius: 26px;
  font-size: 15px;
  outline: none;
  background: white;
  font-family: inherit;
  transition: box-shadow 0.2s;
}

.ai-search-bar input:focus {
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
}

.ai-search-bar .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lf-green);
}

.ai-search-bar .ai-badge {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--lf-green) 0%, var(--lf-green-dark) 100%);
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}

.ai-search-bar .ai-badge:hover {
  transform: translateY(-50%) scale(1.02);
}

.ai-search-hint {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
  align-items: center;
}

.ai-search-hint .hint-label {
  font-weight: 600;
}

.ai-search-hint .hint-pill {
  background: var(--lf-green-light);
  color: var(--lf-green-dark);
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
  font-weight: 500;
}

.ai-search-hint .hint-pill:hover {
  background: var(--lf-green);
  color: white;
}

.ai-interpretation {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border-left: 4px solid var(--lf-green);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--lf-green-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-interpretation .sparkle {
  background: var(--lf-green);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.recipe-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.recipe-card:hover { transform: translateY(-3px); }

.recipe-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.recipe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.recipe-card-fav:hover { background: white; }
.recipe-card-fav svg { width: 16px; height: 16px; color: var(--lf-green); }

.recipe-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
  line-height: 1.3;
  min-height: 36px;
}

.recipe-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.recipe-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.recipe-card-meta svg { width: 14px; height: 14px; }

.recipes-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.recipes-empty h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.search-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.search-loading .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid var(--border);
  border-top-color: var(--lf-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RECIPE DETAIL PAGE
   ============================================================ */
.recipe-detail {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 24px;
}

.recipe-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.recipe-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.recipe-info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.recipe-info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.recipe-info-box .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lf-green-light);
  color: var(--lf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recipe-info-box .icon svg { width: 18px; height: 18px; }

.recipe-info-box .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.recipe-info-box .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.recipe-description {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.recipe-hero-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}

.recipe-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-dietary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dietary-pill {
  background: white;
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-top: 20px;
}

.recipe-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.recipe-section-title.with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-all-btn {
  background: var(--lf-green);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.add-all-btn:hover { background: var(--lf-green-dark); }
.add-all-btn svg { width: 12px; height: 12px; }

.ingredients-list {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px;
}

.ingredient-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

.ingredient-row .bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.ingredient-row.has-product .bullet {
  background: var(--lf-green);
}

.ingredient-row .text {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.35;
}

.ingredient-row .text .product-link {
  color: var(--lf-green);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(46, 125, 50, 0.3);
}

.ingredient-row .text .product-link:hover {
  text-decoration-color: var(--lf-green);
}

.ingredient-row .price {
  font-size: 13px;
  font-weight: 700;
  color: var(--lf-red);
  white-space: nowrap;
}

.ingredient-add {
  background: var(--lf-green);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.ingredient-add:hover { transform: scale(1.1); background: var(--lf-green-dark); }
.ingredient-add.added { background: var(--text-muted); }

.directions-list {
  list-style: none;
  padding: 0;
}

.direction-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 8px;
  margin-bottom: 8px;
  align-items: start;
}

.direction-num {
  width: 32px;
  height: 32px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 14px;
}

.direction-text {
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 14px;
  padding-top: 4px;
}

.cook-it-btn {
  background: white;
  border: 2px solid var(--lf-green);
  color: var(--lf-green);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
}

.cook-it-btn:hover { background: var(--lf-green); color: white; }

/* Responsive */
@media (max-width: 900px) {
  .recipes-wrap { grid-template-columns: 1fr; }
  .recipes-filters { display: none; }
  .recipe-header { grid-template-columns: 1fr; }
  .recipe-body { grid-template-columns: 1fr; gap: 24px; }
}


/* ============================================================
   COUPON CARDS (in chat + coupons page)
   ============================================================ */
.chat-coupon-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%);
  border: 2px dashed var(--lf-green);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  margin-bottom: 6px;
}

.chat-coupon-card:hover {
  border-color: var(--lf-green-dark);
  transform: translateY(-1px);
}

.coupon-scissors {
  font-size: 22px;
  flex-shrink: 0;
}

.coupon-card-body {
  flex: 1;
  min-width: 0;
}

.coupon-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--lf-green-dark);
  line-height: 1.3;
}

.coupon-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.coupon-clip-btn {
  background: var(--lf-green);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.coupon-clip-btn:hover { background: var(--lf-green-dark); }
.coupon-clip-btn:disabled { background: #999; cursor: default; }

/* ============================================================
   COUPONS PAGE
   ============================================================ */
.coupons-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.coupons-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.coupon-stat {
  background: var(--lf-green-dark);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.coupon-stat .stat-value {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}

.coupon-stat .stat-label {
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.coupons-login-bar {
  background: #F5F5F5;
  padding: 16px 24px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.coupons-login-bar button {
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  margin: 0 6px;
  letter-spacing: 0.5px;
}

.coupons-login-bar .btn-primary {
  background: var(--lf-green);
  color: white;
  border: none;
}

.coupons-login-bar .btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.coupons-search {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}

.coupons-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.coupons-search input:focus { border-color: var(--lf-green); }

.coupons-search select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: white;
  cursor: pointer;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.coupon-page-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}

.coupon-page-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.coupon-page-img {
  width: 100%;
  height: 140px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.coupon-page-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.coupon-page-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.coupon-page-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  flex: 1;
}

.coupon-page-expires {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.coupon-page-clip {
  background: var(--lf-green);
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0 0 8px 8px;
}

.coupon-page-clip:hover { background: var(--lf-green-dark); }
.coupon-page-clip.clipped { background: #666; }

/* Coupon badge on product cards */
.coupon-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lf-green);
  color: white;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  border-bottom-left-radius: 6px;
  z-index: 2;
}

@media (max-width: 700px) {
  .coupons-stats { grid-template-columns: repeat(2, 1fr); }
}
