/**
 * Author: hoangedu773
 * GitHub: https://github.com/hoangedu773
 * Date: 2024-12-18
 * Description: Sweet Bakery Design System - Modern CSS with variables and animations
 */

/* ============================================
   CSS VARIABLES - Design Tokens
   ============================================ */
:root {
  /* Colors - Warm Bakery Theme */
  --primary: #C0A062;
  --primary-light: #d4b87a;
  --primary-dark: #a68944;
  --secondary: #FADADD;
  --secondary-dark: #f0c0c5;

  /* Background */
  --bg-light: #FFF8F0;
  --bg-dark: #2a231c;
  --bg-card: #FFFFFF;
  --bg-card-dark: #332a22;

  /* Text */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #A9A9A9;
  --text-light: #F5EBE0;

  /* Borders */
  --border-light: #e8e2ce;
  --border-dark: #444033;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Font */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.navbar-bakery {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  transition: all var(--transition-base);
}

.navbar-bakery.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand-bakery {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary) !important;
}

.navbar-brand-bakery .icon {
  color: var(--primary);
  font-size: 1.75rem;
}

.nav-link-bakery {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary) !important;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
}

.nav-link-bakery:hover {
  color: var(--primary) !important;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
  position: relative;
}

.nav-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search box */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  padding: 0 0.75rem;
  border: 1px solid var(--border-light);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.5rem;
  font-size: 0.875rem;
  width: 180px;
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #F5EBE0 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="%23C0A062" opacity="0.1"/></svg>');
  background-size: 80px 80px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-bakery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: white !important;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-primary-bakery:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white !important;
}

.btn-secondary-bakery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: white;
  color: var(--primary) !important;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary-bakery:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-bg-alt {
  background: white;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge-new {
  background: var(--primary);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-sale {
  background: #ef4444;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-bestseller {
  background: #22c55e;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.product-action-btn:hover {
  background: var(--secondary);
}

.product-info {
  padding: 1.25rem;
  text-align: center;
}

.product-info h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
}

.product-rating .count {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price .old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 0.5rem;
}

.btn-add-cart {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: rgba(192, 160, 98, 0.1);
  color: var(--primary);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}

.category-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-full);
  background: rgba(250, 218, 221, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.category-card h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.category-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-bakery {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand .icon {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
  z-index: 1000;
}

.chatbot-fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    padding: 3rem 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .category-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .search-box {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary-bakery,
  .hero-buttons .btn-secondary-bakery {
    width: 100%;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  box-shadow: 0 4px 20px rgba(192, 160, 98, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(192, 160, 98, 0.5);
}

.chat-toggle span {
  color: white;
  font-size: 1.75rem;
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-box.open {
  display: flex;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-header-info span {
  font-size: 2rem;
}

.chat-header-info small {
  opacity: 0.8;
  display: block;
  font-size: 0.75rem;
}

.chat-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}

.chat-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.chat-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  background: rgba(192, 160, 98, 0.05);
}

.chat-tab span {
  font-size: 1.25rem;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-message.bot {
  background: var(--bg-light);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.chat-message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.chat-message.system {
  align-self: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.5rem;
}

.chat-input-container {
  display: flex;
  padding: 0.75rem;
  border-top: 1px solid var(--border-light);
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  outline: none;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-send:hover {
  background: var(--primary-dark);
}

.chat-send:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .chat-box {
    width: calc(100vw - 40px);
    right: 0;
    bottom: 70px;
  }
}

/* ============================================
   SMART SEARCH AUTOCOMPLETE
   ============================================ */
.search-box {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border-light);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--bg-light);
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.search-result-name mark {
  background: #fff3cd;
  padding: 0 2px;
  border-radius: 2px;
}

.search-result-category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-result-price {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.search-suggestions {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
}

.search-suggestion-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.search-suggestion-item {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-right: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-suggestion-item:hover {
  background: var(--primary);
  color: white;
}

.search-no-results {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

.search-no-results .material-symbols-outlined {
  font-size: 40px;
  margin-bottom: 8px;
  display: block;
}

.search-loading {
  padding: 20px;
  text-align: center;
}

.search-view-all {
  display: block;
  padding: 12px;
  text-align: center;
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-view-all:hover {
  background: var(--primary);
  color: white;
}