/* ============================================
   CrossbodyBag.au - Modern CSS Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #2d5a4a;
    --primary-dark: #1e3d32;
    --primary-light: #3d7a64;
    --secondary: #d4a574;
    --secondary-light: #e8c9a8;
    --accent: #c9a86c;
    --dark: #1a1a1a;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
    --lighter-gray: #e5e5e5;
    --off-white: #f8f6f3;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select {
    font-family: inherit;
    font-size: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Hidden Utility */
.hidden {
    display: none !important;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.logo-au {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--secondary-light) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d5a4a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 74, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 74, 0.4);
}

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

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

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Features Bar
   ============================================ */
.features-bar {
    background: var(--primary);
    padding: var(--space-lg) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--white);
    font-weight: 500;
}

.feature-icon {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .feature-item {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--off-white);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-group label {
    font-weight: 500;
    color: var(--dark-gray);
    white-space: nowrap;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary);
    outline: none;
}

.view-toggle {
    margin-left: auto;
    display: flex;
    gap: var(--space-xs);
}

.view-btn {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    color: var(--medium-gray);
    transition: all var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--lighter-gray) 0%, var(--off-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-badge.sale {
    background: var(--error);
}

.product-badge.new {
    background: var(--success);
}

.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

.action-btn.active {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: var(--space-lg);
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.stars {
    color: var(--warning);
    font-size: 0.875rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--light-gray);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 1rem;
    color: var(--light-gray);
    text-decoration: line-through;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.feature-tag {
    padding: var(--space-xs) var(--space-sm);
    background: var(--off-white);
    color: var(--medium-gray);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

.product-cta {
    display: flex;
    gap: var(--space-sm);
}

.product-cta .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.875rem;
}

/* Products Table */
.products-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table th,
.products-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--lighter-gray);
}

.products-table th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.products-table tr:hover {
    background: var(--off-white);
}

.table-product-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.table-product-image {
    width: 60px;
    height: 60px;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.table-product-name {
    font-weight: 600;
    color: var(--dark);
}

.table-product-brand {
    font-size: 0.875rem;
    color: var(--light-gray);
}

.load-more-container {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============================================
   Quiz Section
   ============================================ */
.quiz-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.quiz-section .section-title,
.quiz-section .section-subtitle {
    color: var(--white);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-start,
.quiz-questions,
.quiz-results {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: var(--dark-gray);
}

.quiz-intro {
    text-align: center;
}

.quiz-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.quiz-intro h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.quiz-intro p {
    color: var(--medium-gray);
    margin-bottom: var(--space-xl);
}

/* Quiz Progress */
.quiz-progress {
    margin-bottom: var(--space-xl);
}

.progress-bar {
    height: 6px;
    background: var(--lighter-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-base);
}

.progress-text {
    font-size: 0.875rem;
    color: var(--light-gray);
}

/* Quiz Question */
.question-container h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: var(--space-lg);
}

.quiz-options {
    display: grid;
    gap: var(--space-md);
}

.quiz-option {
    padding: var(--space-lg);
    border: 2px solid var(--lighter-gray);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--off-white);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(45, 90, 74, 0.1);
}

.option-icon {
    font-size: 1.5rem;
}

.option-text {
    font-weight: 500;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xl);
}

/* Quiz Results */
.results-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.results-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.results-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.results-products {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.result-product {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.result-product-image {
    width: 100px;
    height: 100px;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.result-product-info {
    flex: 1;
}

.result-product-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.result-match {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.result-product-info p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

#retakeQuizBtn {
    display: block;
    margin: 0 auto;
}

/* ============================================
   Compare Section
   ============================================ */
.compare-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.compare-slot {
    min-height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.compare-slot.empty {
    border: 2px dashed var(--lighter-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-slot.filled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.add-compare-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--light-gray);
    transition: color var(--transition-fast);
}

.add-compare-btn:hover {
    color: var(--primary);
}

.plus-icon {
    width: 48px;
    height: 48px;
    border: 2px dashed currentColor;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.compare-item {
    position: relative;
}

.compare-item-image {
    height: 120px;
    background: var(--lighter-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.compare-item-info {
    padding: var(--space-md);
}

.compare-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.compare-item-price {
    font-weight: 700;
    color: var(--primary);
}

.remove-compare-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.remove-compare-btn:hover {
    background: var(--error);
    color: var(--white);
}

/* Compare Table */
.compare-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--lighter-gray);
}

.compare-table th {
    background: var(--off-white);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--off-white);
    position: sticky;
    left: 0;
}

.compare-header-image {
    width: 80px;
    height: 80px;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-sm);
}

.compare-header-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.check-icon {
    color: var(--success);
    font-size: 1.25rem;
}

.cross-icon {
    color: var(--error);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .compare-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .compare-slots {
        grid-template-columns: 1fr 1fr;
    }

    .compare-slot {
        min-height: 150px;
    }
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--lighter-gray);
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--dark);
}

.modal-close {
    font-size: 1.5rem;
    color: var(--light-gray);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-search {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--lighter-gray);
}

.search-input {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-products {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    display: grid;
    gap: var(--space-md);
}

.modal-product-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 1px solid var(--lighter-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-product-item:hover {
    border-color: var(--primary);
    background: var(--off-white);
}

.modal-product-image {
    width: 50px;
    height: 50px;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.modal-product-info h4 {
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.modal-product-info span {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Guide Section
   ============================================ */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.guide-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.guide-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.guide-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   SEO Section
   ============================================ */
.seo-section {
    background: var(--off-white);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: var(--space-lg);
}

.seo-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: var(--space-xl) 0 var(--space-md);
}

.seo-content p {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.seo-content ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.seo-content li {
    color: var(--medium-gray);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
    list-style: disc;
}

.seo-content strong {
    color: var(--dark);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--dark);
    padding: var(--space-3xl) 0;
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.newsletter-content p {
    color: var(--light-gray);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    background: var(--white);
}

.newsletter-input:focus {
    outline: 2px solid var(--primary);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--light-gray);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.875rem;
}

.affiliate-disclosure {
    margin-top: var(--space-sm);
    font-size: 0.75rem !important;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .view-toggle {
        margin-left: 0;
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .result-product {
        flex-direction: column;
        text-align: center;
    }

    .result-product-image {
        margin: 0 auto;
    }
}
