
/* =====================================================
   ARRZONE - ENHANCED BASE.CSS v6.0 - PART 1 OF 2
   Foundation + Structure + Layout
   ✅ Customizer Colors | ✅ Mobile Ready | ✅ Complete
   
   📋 TABLE OF CONTENTS: See header comment above
   ===================================================== */

  /*══════════════════════════════════════════════════╗
║  PART 1: FOUNDATION & STRUCTURE                         ║
╚══════════════════════════════════════════════════════════╝

1. CSS VARIABLES (Lines 10-145)
   - Layout Dimensions
   - Color System (Customizer Compatible)
   - Spacing Scale
   - Typography Scale
   - Shadows & Transitions
   - Z-Index Layers

2. RESET & BASE STYLES (Lines 150-240)
   - Universal Reset
   - HTML & Body
   - Typography Elements
   - Form Elements

3. CONTAINER (Lines 245-255)
   - Responsive Container

4. HEADER STRUCTURE (Lines 260-380)
   - Sticky Header
   - Logo & Branding
   - Search Bar
   - Navigation
   - Mobile Menu Toggle

5. HOMEPAGE SECTIONS (Lines 385-450)
   - Section Containers
   - Section Headers
   - Section Links

6. GRID SYSTEMS (Lines 455-510)
   - Horizontal Scroll Grids
   - Scrollbar Styling

7. OFFER CARDS (Lines 515-590)
   - Special Offers Grid
   - Offer Card Hover Effects

8. HOW IT WORKS (Lines 595-650)
   - Steps Grid
   - Step Cards
   - Step Numbers

9. BUTTONS (Lines 655-710)
   - Button Base
   - Button Variants
   - Button States

10. FOOTER (Lines 715-850)
    - Newsletter Section
    - Footer Columns
    - Footer Links
    - Copyright

11. UTILITIES (Lines 855-880)
    - Screen Reader Only
    - Text Alignment
    - Flexbox Helpers
    - Gap Utilities

12. ARCHIVE LAYOUTS (NEW!)
    - Archive Header
    - Archive Description
    - Taxonomy Header
    - Archive Content Wrapper

13. BREADCRUMB NAVIGATION (NEW!)
    - Breadcrumb Container
    - Breadcrumb Items
    - Breadcrumb Separator
    - Breadcrumb Current

14. FILTER SECTION (NEW!)
    - Filter Container
    - Filter Buttons Wrapper
    - Filter Button
    - Active Filter State
    - Clear Filters Button

15. EMPTY STATES (NEW!)
    - No Results Container
    - No Results Icon
    - Empty State Design

16. HUB LAYOUTS (NEW!)
    - Hub Hero Section
    - Hub Stats Bar
    - Hub Description
    - Hub Cross Links

17. MOBILE RESPONSIVENESS (NEW!)
    - Header Mobile (768px)
    - Navigation Mobile
    - Sections Mobile
    - Grids Mobile
    - Footer Mobile (768px & 480px)
    - Archive Mobile
    - Filter Mobile
 
   

/* Google Fonts Import - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* =====================================================
   🎨 1. CSS VARIABLES - CUSTOMIZER CONTROLLED
   ===================================================== */


:root {
  /* ========== LAYOUT DIMENSIONS ========== */
  --container-width: 1300px;
  --header-height: 104px;
  --hero-height: 368px;
  --deal-card-width: 270px;
  --deal-card-height: 350px;
  --deal-card-img-height: 160px;
  --store-card-width: 140px;
  --store-card-height: 170px;
  --store-logo-size: 70px;
  --category-card-width: 240px;
  --category-card-height: 90px;
  
  /* ========== FIXED COLORS (Not customizable) ========== */
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-gray-light: #f3f4f6;
  --text-dark: #111827;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  
  /* ========== CUSTOMIZABLE COLORS - DEFAULTS ========== */
  /* Customizer overrides via arrzone_customizer_css() */
  --color-primary: #ff6b35;
  --color-primary-hover: #e85d2c;
  --color-primary-light: #fff4f0;
  --color-primary-dark: #cc5529;
  --color-secondary: #333333;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-featured: #8b5cf6;
  --color-link: #3b82f6;
  --bg-section: #f8fafc;
  --bg-dark: #111827;
  --border-color: #e5e7eb;
  --border-primary: #ff6b35;
  --border-width: 2px;
  --border-width-thick: 3px;
  
  /* Derived Colors */
  --color-discount: #ef4444;
  --color-hot: #ef4444;
  --color-coupon: #ff6b35;
  
  /* ========== SPACING SCALE ========== */
  --space-3: 3px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  
/* ========== TYPOGRAPHY ========== */
  --font-tiny: 10px;
  --font-small: 11px;
  --font-body: 13px;
  --font-body-md: 14px;
  --font-h4: 13px;
  --font-h3: 20px;
  --font-nav: 13px;
  --font-logo: 20px;
  --font-h2: 24px;
  --font-stat: 28px;
  --font-icon: 24px;           /* ← FIX: Was missing value! */
  --font-stat-icon: 10px;      /* ← ADD: New variable for vote stat icons */
  --font-h1: 40px;
  --font-offer-icon: 44px;
  --font-stat-icon: 10px;

  
  /* ========== FONT WEIGHTS ========== */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;
  
  /* ========== BORDER RADIUS ========== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* ========== SHADOWS ========== */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  
  /* ========== TRANSITIONS ========== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* ========== Z-INDEX ========== */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-header: 1000;
  --z-modal: 2000;
}


/* =====================================================
   🔄 2. RESET & BASE STYLES
   ===================================================== */


*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}


body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-body);
  font-weight: var(--weight-medium);
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-section); /* ✅ Fixed: Use variable */
  overflow-x: hidden;
}


/* ========== TYPOGRAPHY ========== */


h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: var(--weight-black);
}


h1 { font-size: var(--font-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--font-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--font-h3); font-weight: var(--weight-bold); }
h4 { font-size: var(--font-h4); font-weight: var(--weight-bold); }


p {
  margin: 0;
  font-size: var(--font-body);
  font-weight: var(--weight-medium);
  line-height: 1.6;
}


a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}


a:hover {
  color: var(--color-primary);
}


ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-base);
}


button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* =====================================================
   📦 3. CONTAINER
   ===================================================== */


.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-20);
  padding-right: var(--space-20);
}


/* =====================================================
   🎯 4. HEADER STRUCTURE
   ===================================================== */


.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  background: var(--bg-white);
  border-bottom: var(--border-width-thick) solid var(--border-primary);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-16);
}


.header-wrapper {
  max-width: var(--container-width);
  margin: 0 auto;
  height: var(--header-height);
  padding: var(--space-20);
  display: flex;
  align-items: center;
  gap: var(--space-32);
}


.site-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-primary);
  font-size: var(--font-logo);
  font-weight: var(--weight-black);
  white-space: nowrap;
}


.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}


.header-search form {
  position: relative;
  width: 100%;
}


.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 48px 0 var(--space-16);
  font-size: var(--font-body);
  font-weight: var(--weight-medium);
  border: var(--border-width-thick) solid var(--border-primary);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  transition: all var(--transition-base);
}


.header-search input:focus {
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}


.header-search button[type="submit"] {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-gray);
  transition: all var(--transition-base);
  padding: 0;
  border-radius: var(--radius-sm);
}


.header-search button[type="submit"]:hover {
  color: var(--color-primary);
  background: var(--bg-section);
}


.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}


.nav-menu {
  display: flex;
  gap: var(--space-28);
  align-items: center;
}


.nav-item {
  position: relative;
}


.nav-item > a {
  font-size: var(--font-nav);
  font-weight: var(--weight-semibold);
  color: var(--text-dark);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}


.nav-item > a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}


.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-left: auto;
}


/* =====================================================
   🏠 5. HOMEPAGE SECTIONS
   ===================================================== */


.homepage-section,
.featured-deals-section,
.stores-section,
.hot-deals-section,
.categories-section,
.verified-deals-section,
.latest-deals-section,
.expiring-deals-section,
.special-offers-section,
.how-it-works-section {
  max-width: var(--container-width);
  margin: 0 auto var(--space-24);
  padding: var(--space-24) var(--space-20);
  background: var(--bg-white); /* ✅ Changed from bg-section to bg-white */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}


.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-16);
  border-bottom: var(--border-width) solid var(--border-color);
}


.section-title {
  font-size: var(--font-h2);
  font-weight: var(--weight-black);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: var(--space-10);
}


.section-emoji {
  font-size: var(--font-icon);
  line-height: 1;
}


.section-link {
  font-size: var(--font-body);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  padding: var(--space-8) var(--space-16);
  border: var(--border-width) dashed var(--color-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}


.section-link:hover {
  background: var(--color-primary);
  color: var(--text-white);
  border-style: solid;
}


/* =====================================================
   📊 6. GRID SYSTEMS - Horizontal Scroll
   ===================================================== */


.deals-grid,
.stores-grid,
.categories-grid {
  display: flex;
  gap: var(--space-14);
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--space-4) 0 var(--space-12) 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
  -webkit-overflow-scrolling: touch;
}


.deals-grid::-webkit-scrollbar,
.stores-grid::-webkit-scrollbar,
.categories-grid::-webkit-scrollbar {
  height: 6px;
}


.deals-grid::-webkit-scrollbar-track,
.stores-grid::-webkit-scrollbar-track,
.categories-grid::-webkit-scrollbar-track {
  background: var(--bg-gray-light);
  border-radius: var(--radius-full);
}


.deals-grid::-webkit-scrollbar-thumb,
.stores-grid::-webkit-scrollbar-thumb,
.categories-grid::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
}


.deals-grid::-webkit-scrollbar-thumb:hover,
.stores-grid::-webkit-scrollbar-thumb:hover,
.categories-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* =====================================================
   🎁 7. OFFER CARDS
   ===================================================== */


.special-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}


.offer-card {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-32) var(--space-24);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}


.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}


.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}


.offer-card:hover::before {
  opacity: 1;
}


.offer-icon {
  font-size: 56px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}


.offer-card:hover .offer-icon {
  transform: scale(1.15) rotate(10deg);
}


.offer-title {
  font-size: var(--font-h2);
  font-weight: var(--weight-black);
  color: var(--text-dark);
  margin: 0 0 var(--space-12);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  transition: color var(--transition-base);
}


.offer-card:hover .offer-title {
  color: var(--color-primary);
}


.offer-description {
  font-size: var(--font-body);
  font-weight: var(--weight-medium);
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0 0 var(--space-20);
  position: relative;
  z-index: 1;
  flex: 1;
}


/* =====================================================
   📖 8. HOW IT WORKS
   ===================================================== */


.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-16);
}


.step-card {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  transition: all var(--transition-base);
}


.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}


.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-16);
  background: var(--color-primary);
  color: var(--text-white);
  font-size: var(--font-h2);
  font-weight: var(--weight-black);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}


.step-title {
  font-size: var(--font-h4);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-8);
  color: var(--text-dark);
}


.step-description {
  font-size: var(--font-body);
  color: var(--text-gray);
  line-height: 1.6;
}


/* =====================================================
   🔘 9. BUTTONS
   ===================================================== */


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  font-size: var(--font-body);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}


.btn-primary {
  background: var(--color-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}


.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}


.btn-secondary {
  background: var(--color-secondary);
  color: var(--text-white);
}


.btn-secondary:hover {
  background: var(--text-dark);
}


.btn-outline {
  background: transparent;
  border: var(--border-width) solid var(--color-primary);
  color: var(--color-primary);
}


.btn-outline:hover {
  background: var(--color-primary);
  color: var(--text-white);
}


/* =====================================================
   🦶 10. FOOTER
   ===================================================== */


.site-footer {
  max-width: var(--container-width);
  margin: var(--space-40) auto 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}


.newsletter-section-footer {
  width: 100%;
  padding: var(--space-32) var(--space-20);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;
  overflow: hidden;
}


.newsletter-section-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}


.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}


.newsletter-title {
  font-size: var(--font-h2);
  font-weight: var(--weight-black);
  color: var(--text-white);
  margin-bottom: var(--space-12);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.newsletter-description {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-20);
  line-height: 1.5;
}


.newsletter-form {
  display: flex;
  gap: var(--space-12);
  max-width: 500px;
  margin: 0 auto;
}


.newsletter-input {
  flex: 1;
  height: 48px;
  padding: 0 var(--space-20);
  font-size: var(--font-body);
  font-weight: var(--weight-medium);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  transition: all var(--transition-base);
}


.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}


.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}


.newsletter-button {
  padding: 0 var(--space-32);
  height: 48px;
  background: var(--bg-white);
  color: var(--color-primary);
  font-size: var(--font-body);
  font-weight: var(--weight-bold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}


.newsletter-message {
  margin-top: var(--space-14);
  padding: var(--space-10);
  border-radius: var(--radius-sm);
  font-size: var(--font-small);
  font-weight: var(--weight-semibold);
}


.newsletter-message.success {
  background: rgba(16, 185, 129, 0.2);
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.4);
}


.newsletter-message.error {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.4);
}


.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-32);
  padding: var(--space-40) var(--space-32) var(--space-24);
}


.footer-column h4 {
  font-size: var(--font-h4);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-12);
  color: var(--text-white);
}


.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}


.footer-column a {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
  position: relative;
  padding-left: var(--space-4);
}


.footer-column a::before {
  content: '→';
  position: absolute;
  left: -12px;
  opacity: 0;
  transition: all var(--transition-base);
  color: var(--color-primary);
}


.footer-column a:hover {
  color: var(--text-white);
  padding-left: var(--space-12);
}


.footer-column a:hover::before {
  opacity: 1;
  left: 0;
}


.footer-bottom {
  text-align: center;
  font-size: var(--font-small);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-20);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* =====================================================
   ✨ 11. UTILITIES
   ===================================================== */


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }


.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }



/* =====================================================
   📄 12. ARCHIVE LAYOUTS (NEW!)
   ===================================================== */


.archive-page,
.store-archive-page,
.category-archive-page {
  max-width: var(--container-width);
  margin: 0 auto;
}


.archive-header,
.taxonomy-header {
  max-width: var(--container-width);
  margin: 0 auto var(--space-24);
  padding: var(--space-32) var(--space-20);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-card);
}


.archive-title {
  font-size: var(--font-h1);
  font-weight: var(--weight-black);
  margin-bottom: var(--space-12);
  color: var(--text-dark);
  line-height: 1.2;
}


.archive-description {
  font-size: var(--font-body-md);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


.archive-content-wrapper,
.archive-main {
  max-width: var(--container-width);
  margin: 0 auto;
}


.archive-content {
  margin-bottom: var(--space-24);
}


.archive-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-16);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-20);
}


/* =====================================================
   🍞 13. BREADCRUMB NAVIGATION (NEW!)
   ===================================================== */


.deal-breadcrumb,
.breadcrumb,
.archive-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-12) 0;
  font-size: var(--font-small);
  color: var(--text-gray);
  max-width: var(--container-width);
  margin: 0 auto var(--space-16);
  padding-left: var(--space-20);
  padding-right: var(--space-20);
}


.deal-breadcrumb a,
.breadcrumb a,
.archive-breadcrumb a {
  color: var(--text-gray);
  transition: color var(--transition-base);
  font-weight: var(--weight-medium);
}


.deal-breadcrumb a:hover,
.breadcrumb a:hover,
.archive-breadcrumb a:hover {
  color: var(--color-primary);
}


.breadcrumb-separator {
  margin: 0 var(--space-6);
  color: var(--text-light);
  user-select: none;
}


.breadcrumb-current {
  color: var(--text-dark);
  font-weight: var(--weight-semibold);
}


/* =====================================================
   🔍 14. FILTER SECTION (NEW!)
   ===================================================== */


.filter-section,
.archive-filters-section,
.complete-filter-bar {
  max-width: var(--container-width);
  margin: 0 auto var(--space-24);
  padding: var(--space-20);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-card);
}


.filter-label,
.filters-label {
  font-size: var(--font-small);
  font-weight: var(--weight-bold);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-8);
  display: block;
}


.filter-buttons,
.filter-tags {
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}


.filter-buttons:last-child {
  margin-bottom: 0;
}


.filter-button,
.filter-btn,
.filter-tag {
  padding: var(--space-8) var(--space-16);
  font-size: var(--font-body);
  font-weight: var(--weight-semibold);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}


.filter-button:hover,
.filter-btn:hover,
.filter-tag:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}


.filter-button.active,
.filter-btn.active,
.filter-tag.active {
  background: var(--color-primary);
  color: var(--text-white);
  border-color: var(--color-primary);
}


.btn-clear-filters {
  padding: var(--space-8) var(--space-16);
  font-size: var(--font-body);
  font-weight: var(--weight-semibold);
  background: transparent;
  color: var(--text-gray);
  border: var(--border-width) dashed var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}


.btn-clear-filters:hover {
  background: var(--bg-gray-light);
  border-style: solid;
  color: var(--text-dark);
}


.active-filters {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: var(--border-width) solid var(--border-color);
}


/* =====================================================
   🚫 15. EMPTY STATES (NEW!)
   ===================================================== */


.no-results,
.empty-state,
.no-deals-message {
  max-width: 500px;
  margin: var(--space-48) auto;
  padding: var(--space-40);
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-card);
}


.no-results-icon,
.empty-icon {
  font-size: 80px;
  line-height: 1;
  margin-bottom: var(--space-20);
  opacity: 0.5;
}


.no-results h2,
.empty-state h2,
.no-deals-message h2 {
  font-size: var(--font-h2);
  margin-bottom: var(--space-12);
  color: var(--text-dark);
  font-weight: var(--weight-black);
}


.no-results p,
.empty-state p,
.no-deals-message p {
  font-size: var(--font-body-md);
  color: var(--text-gray);
  margin-bottom: var(--space-24);
  line-height: 1.6;
}


.no-results-suggestions {
  text-align: left;
  margin: var(--space-24) 0;
}


.no-results-suggestions h3 {
  font-size: var(--font-h4);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-12);
  color: var(--text-dark);
}


.no-results-suggestions ul {
  list-style: disc;
  padding-left: var(--space-20);
  color: var(--text-gray);
}


.no-results-suggestions li {
  margin-bottom: var(--space-8);
  font-size: var(--font-body);
}


/* =====================================================
   🌐 16. HUB LAYOUTS (NEW!)
   ===================================================== */


.hub-hero {
  max-width: var(--container-width);
  margin: 0 auto var(--space-24);
  padding: var(--space-32) var(--space-20);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--bg-white) 100%);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--color-primary);
  text-align: center;
}


.hub-icon,
.hub-logo {
  font-size: 64px;
  line-height: 1;
  margin-bottom: var(--space-16);
}


.hub-title {
  font-size: var(--font-h1);
  font-weight: var(--weight-black);
  margin-bottom: var(--space-12);
  color: var(--text-dark);
}


.hub-description {
  font-size: var(--font-body-md);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto var(--space-20);
  line-height: 1.6;
}


.hub-stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-32);
  flex-wrap: wrap;
}


.hub-cross-links {
  max-width: var(--container-width);
  margin: 0 auto var(--space-24);
  padding: var(--space-24) var(--space-20);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-color);
}


/* =====================================================
   📱 17. MOBILE RESPONSIVENESS (NEW!)
   ===================================================== */


/* ========== TABLET & MOBILE (768px) ========== */


@media (max-width: 768px) {
  
  /* Header Mobile */
  .header-wrapper {
    height: 70px;
    padding: var(--space-12);
    gap: var(--space-12);
  }
  
  .site-logo a {
    font-size: 18px;
  }
  
  .header-search {
    display: none; /* Show on toggle if needed */
    max-width: none;
  }
  
  .primary-nav {
    display: none; /* Show mobile menu instead */
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Sections Mobile */
  .homepage-section,
  .featured-deals-section,
  .stores-section,
  .hot-deals-section,
  .categories-section,
  .verified-deals-section,
  .latest-deals-section,
  .expiring-deals-section,
  .special-offers-section,
  .how-it-works-section {
    padding: var(--space-16);
    margin-bottom: var(--space-16);
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
  }
  
  .section-title {
    font-size: var(--font-h3);
  }
  
  .section-emoji {
    font-size: var(--font-h2);
  }
  
  /* Grids Mobile - Keep horizontal scroll */
  .deals-grid,
  .stores-grid,
  .categories-grid {
    gap: var(--space-12);
  }
  
  /* Archive Mobile */
  .archive-header,
  .taxonomy-header {
    padding: var(--space-24) var(--space-16);
  }
  
  .archive-title {
    font-size: var(--font-h2);
  }
  
  .archive-deals-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding: 0 var(--space-16);
  }
  
  /* Breadcrumb Mobile */
  .deal-breadcrumb,
  .breadcrumb,
  .archive-breadcrumb {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
    font-size: 11px;
  }
  
  /* Filter Mobile */
  .filter-section,
  .archive-filters-section,
  .complete-filter-bar {
    padding: var(--space-16);
  }
  
  .filter-buttons,
  .filter-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-8);
    scrollbar-width: thin;
  }
  
  .filter-button,
  .filter-btn,
  .filter-tag {
    white-space: nowrap;
    font-size: var(--font-small);
    padding: var(--space-6) var(--space-12);
  }
  
  /* Offer Cards Mobile */
  .special-offers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  /* How It Works Mobile */
  .how-it-works-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }
  
  /* Footer Mobile */
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input,
  .newsletter-button {
    width: 100%;
  }
  
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
    padding: var(--space-24) var(--space-16);
  }
  
  /* Hub Mobile */
  .hub-hero {
    padding: var(--space-24) var(--space-16);
  }
  
  .hub-title {
    font-size: var(--font-h2);
  }
  
  .hub-icon,
  .hub-logo {
    font-size: 48px;
  }
  
  .hub-stats-bar {
    gap: var(--space-16);
  }
  
  /* Empty States Mobile */
  .no-results,
  .empty-state,
  .no-deals-message {
    margin: var(--space-32) var(--space-16);
    padding: var(--space-24);
  }
  
  .no-results-icon,
  .empty-icon {
    font-size: 56px;
  }
  
}


/* ========== MOBILE (480px) ========== */


@media (max-width: 480px) {
  
  /* Typography Mobile */
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  
  /* Container Mobile */
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  
  /* Header Extra Small */
  .header-wrapper {
    height: 60px;
    padding: var(--space-8);
  }
  
  .site-logo a {
    font-size: 16px;
    gap: var(--space-4);
  }
  
  /* Sections Extra Small */
  .section-title {
    font-size: 18px;
  }
  
  /* Footer Extra Small */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  .newsletter-title {
    font-size: var(--font-h3);
  }
  
  /* How It Works Extra Small */
  .how-it-works-steps {
    grid-template-columns: 1fr;
  }
  
  /* Archive Extra Small */
  .archive-title {
    font-size: 22px;
  }
  
  .archive-deals-grid {
    padding: 0 var(--space-12);
  }
  
  /* Breadcrumb Extra Small */
  .deal-breadcrumb,
  .breadcrumb,
  .archive-breadcrumb {
    font-size: 10px;
    gap: var(--space-4);
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }
  
  .breadcrumb-separator {
    margin: 0 var(--space-4);
  }
  
}


/* =====================================================
   ✅ END OF ENHANCED BASE.CSS v6.0
   
   📋 WHAT'S NEW IN v6.0:
   - Archive layouts (header, taxonomy, content)
   - Breadcrumb navigation system
   - Complete filter section with active states
   - Empty state designs (no-results, empty)
   - Hub layouts (hero, stats, cross-links)
   - Full mobile responsiveness (768px & 480px)
   - All inline @media queries
   
   🎯 NEXT FILES:
   - components.css (deal-card, store-card, badges, etc.)
   - pages.css (single-deal, search, homepage layouts)
   
   💡 TOTAL CLASSES COVERED IN BASE.CSS: 80+
   ===================================================== */


