/* =============================================
   LUXURYWAY V8 - Complete Styles
   ============================================= */

:root {
  --bg-dark: #050a06;
  --bg-gradient: #1a3c24;
  --accent-gold: #D4AF37;
  --light-gold: #F2D574;
  --glass-bg: rgba(5, 10, 6, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.03);
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-gradient) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #fff;
}

body {
  padding-top: 60px;
}

/* =============================================
   STICKY GLASS HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:active {
  background: rgba(255,255,255,0.1);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.header-brand {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
}

.brand-name-white { color: #fff; }
.brand-name-gold { color: var(--accent-gold); }

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

.search-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}

.search-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1001;
  transition: left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.open { left: 0; }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu nav a:active { color: var(--accent-gold); }

/* =============================================
   WHATSAPP FAB
   ============================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-fab a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  position: relative;
}

.whatsapp-fab a::before,
.whatsapp-fab a::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-fab a::after {
  inset: -12px;
  animation-delay: 0.5s;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* =============================================
   SHIMMER SKELETON
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   GRID CONTROLS
   ============================================= */
.grid-controls {
  display: flex;
  gap: 8px;
}

.grid-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.grid-btn:active {
  transform: scale(0.95);
}

.grid-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* =============================================
   BRANDS GRID
   ============================================= */
.brands-grid {
  display: grid;
  gap: 16px;
}

.brands-grid.brands-cols-2 { grid-template-columns: repeat(2, 1fr); }
.brands-grid.brands-cols-3 { grid-template-columns: repeat(3, 1fr); }
.brands-grid.brands-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 600px) {
  .brands-grid.brands-cols-3,
  .brands-grid.brands-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-card-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px 12px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s;
}

.brand-card-minimal:active {
  transform: scale(0.98);
}

.brand-logo-container {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .brand-logo-container {
    width: 140px;
    height: 140px;
  }
}

.brand-logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-initials-fallback {
  display: none;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--accent-gold);
  font-size: 1.75rem;
  font-weight: 700;
}

.brand-card-info {
  text-align: center;
}

.brand-card-info h3 {
  color: #fff;
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-card-info p {
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-size: 0.8rem;
}

/* =============================================
   PRODUCTS GRID - THEMED DARK
   ============================================= */
.products-grid {
  display: grid;
  gap: 12px;
}

.products-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.products-grid.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 600px) {
  .products-grid.grid-cols-3,
  .products-grid.grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s;
}

.product-card:active {
  transform: scale(0.98);
}

.product-card .product-image {
  position: relative;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

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

.product-card .product-info {
  padding: 12px;
}

.product-card .product-info h3 {
  font-size: 0.85rem;
  color: #fff;
  margin: 0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 16px;
  background: rgba(0,0,0,0.3);
  text-align: center;
}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand-white { color: #fff; }
.footer-brand-gold { color: var(--accent-gold); }

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.footer-social a:active {
  background: var(--accent-gold);
  color: #000;
}

.footer-copyright {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* =============================================
   HOMEPAGE STYLES
   ============================================= */
.home-profile {
  text-align: center;
  padding: 32px 16px 24px;
}

.profile-image-wrapper {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  position: relative;
}

.profile-image-border {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  animation: profile-glow 3s ease-in-out infinite;
}

@keyframes profile-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.7); }
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

.profile-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.profile-tagline {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.profile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.profile-social a:active {
  background: var(--accent-gold);
  color: #000;
}

/* About Section - Professional Minimalist */
.home-about {
  margin: 0 16px 40px;
  padding: 24px;
  background: var(--card-bg, rgba(255,255,255,0.05));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left; /* Keeps the list easy to read */
}

.home-about h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold, #d4af37);
  font-size: 1.2rem;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-about p {
  color: rgba(255,255,255,0.7);
  line-height: 2; /* Increased line height for a cleaner look */
  margin: 0;
  font-size: 0.9rem;
}

/* Styles the bold parts in your primary gold color */
.home-about p b {
  color: var(--accent-gold, #d4af37);
  font-weight: 600;
}

/* Video Section */
.home-video-section {
  width: 100%;
  margin-bottom: 40px;
}

.home-video-section video {
  width: 100%;
  display: block;
}

/* Category Brand Section */
.home-category-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin: 0;
}

.view-all-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
}

/* Brand Links Grid - 150% SIZE */
.brand-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px 10px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: transform 0.2s;
}

.brand-link-card:active {
  transform: scale(0.97);
}

/* BRAND LINK LOGO - 150% LARGER */
.brand-link-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-link-logo img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

.brand-link-card span {
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 500;
}

/* =============================================
   CAROUSEL - Clickable with contained images
   ============================================= */
.home-carousel-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

.home-carousel-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.carousel-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.2s;
}

.carousel-item:active {
  transform: scale(0.98);
}

.carousel-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #111;
  display: block;
}

/* =============================================
   WHATSAPP FINDER STYLES - COMPACT VERSION
   ============================================= */
.whatsapp-finder-section {
  padding: 24px 16px 0; /* Zero bottom padding to touch the footer */
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.whatsapp-finder-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Light Mode Visibility Fix */
body.light-mode .whatsapp-finder-card {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .finder-text-main {
  color: #000;
}

body.light-mode .finder-text-sub {
  color: rgba(0, 0, 0, 0.6);
}

.whatsapp-finder-card:hover {
  border-color: #25D366;
  background: var(--glass-bg-hover, rgba(255, 255, 255, 0.12));
}

.finder-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.finder-icon-wrapper {
  width: 42px;
  height: 42px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.finder-text-main {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.finder-text-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  margin-top: 2px;
}

.finder-arrow {
  color: #25D366;
  font-size: 1.1rem;
}

/* FOOTER MARGIN FIX: Pulls footer up to touch the box */
.site-footer {
  margin-top: 0 !important;
  padding-top: 1.5rem;
}
   
   
/* =============================================
   CAROUSEL FULLSCREEN MODAL
   ============================================= */
.carousel-fullscreen-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.carousel-fullscreen-modal.open {
  opacity: 1;
  visibility: visible;
}

.carousel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-modal-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 20px 80px;
}

.carousel-modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-modal-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-btn:active {
  background: rgba(255,255,255,0.2);
}

.carousel-modal-nav span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* =============================================
   ESSENTIALS SECTION
   ============================================= */
.home-essentials-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

.home-essentials-section h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.essential-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  margin-bottom: 14px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 120px;
}

.essential-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%);
}

.essential-card-content {
  position: relative;
  z-index: 1;
}

.essential-card h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.essential-card-arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* =============================================
   PAGE CONTROLS
   ============================================= */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--accent-gold);
  margin: 0;
}

.page-header p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

/* BREADCRUMBS */
.breadcrumbs {
  padding: 14px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar { display: none; }

.breadcrumbs a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: rgba(255,255,255,0.3);
}

.breadcrumbs .current {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.pagination-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
/* Enhanced Pagination Styles - Add to your existing CSS */

/* Pagination ellipsis */
.pagination-ellipsis {
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  user-select: none;
}

/* First/Last page buttons styling */
.pagination-first,
.pagination-last {
  font-weight: bold;
  letter-spacing: -1px;
}

/* Manual page input wrapper */
.pagination-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Page number input field */
.pagination-input {
  width: 60px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.pagination-input:focus {
  border-color: var(--accent-gold, #d4af37);
  background: rgba(255, 255, 255, 0.15);
}

.pagination-input::-webkit-outer-spin-button,
.pagination-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pagination-input[type=number] {
  -moz-appearance: textfield;
}

/* Go button */
.pagination-go-btn {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-go-btn:hover {
  background: var(--accent-gold, #d4af37);
  border-color: var(--accent-gold, #d4af37);
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .pagination-input-wrapper {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .pagination-input {
    width: 50px;
    padding: 5px 8px;
  }
  
  .pagination-go-btn {
    padding: 5px 12px;
  }
  
  /* Hide first/last buttons on very small screens if needed */
  .pagination-first,
  .pagination-last {
    display: none;
  }
}

@media (min-width: 641px) {
  .pagination-first,
  .pagination-last {
    display: inline-flex;
  }
}
/* =============================================
   HOME SEARCH BAR (THEME AWARE)
   ============================================= */
.home-search-container {
  margin: 20px auto 0;
  max-width: 500px;
  width: 90%;
}

.search-trigger-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Use system variables for theme switching */
  background: var(--glass-bg, rgba(255, 255, 255, 0.08)); 
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
  border-radius: 50px; /* Pill shape matches search page */
  padding: 5px 5px 5px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Explicit Light Theme Overrides */
body.light-mode .search-trigger-bar {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.search-trigger-bar:hover {
  border-color: var(--accent-gold);
  background: var(--glass-bg-hover, rgba(255, 255, 255, 0.12));
}

.search-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
  font-size: 0.9rem;
}

body.light-mode .search-content {
  color: rgba(0, 0, 0, 0.5); /* Darker text for light mode */
}

.search-icon-svg {
  opacity: 0.6;
}

.search-icon-btn {
  background: var(--accent-gold);
  color: #000;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}