/* CompareKro Modern Design System - "Glass & Clean" */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - "Soothing Sand & Stone" */
    --primary: #2C3E50;
    /* Charcoal - Text/Headings */
    --primary-light: #546E7A;
    /* Slate Blue Grey */

    --accent: #A67B5B;
    /* Warm Sand/Leather - Primary Action */
    --accent-hover: #8B664B;
    /* Darker Sand */

    --success: #6AB04C;
    /* Natural Green */
    --warning: #F0932B;
    /* Soft Orange */
    --danger: #EB4D4B;
    /* Soft Red */

    /* Backgrounds */
    --bg-body: #F9F8F6;
    /* Off-white/Beige Tint */
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.65);

    /* Text */
    --text-main: #4A4A4A;
    /* Soft Dark Grey */
    --text-muted: #7F8C8D;
    /* Grey */
    --text-light: #BDC3C7;
    --text-title: #2C3E50;

    /* Borders & Shadows */
    --border-subtle: #E5E5E5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(44, 62, 80, 0.05), 0 4px 6px -2px rgba(44, 62, 80, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(44, 62, 80, 0.05), 0 10px 10px -5px rgba(44, 62, 80, 0.02);
    --shadow-glass: 0 8px 32px 0 rgba(166, 123, 91, 0.1);

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    /* Softer, rounder corners */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Tighter tracking for modern headings */
    margin-bottom: 0.75rem;
}

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

a:hover {
    color: var(--accent-hover);
}

/* Utilities */

/* Glassmorphism */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Cards */
.card-modern {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

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

.card-modern-flat {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: var(--radius-full);
    /* Pill shape */
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4);
    color: white;
}

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

.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: var(--text-light);
    color: var(--primary);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #D68910 100%);
    /* Sand to Golden Brown */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Elements */
.input-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-surface);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    color: var(--text-title);
}

.input-modern:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Badges */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Layout Containers */
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations included in CSS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Navbar specific override */
.navbar-modern {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.navbar-modern .nav-link {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
}

.navbar-modern .nav-link:hover {
    color: var(--accent);
}

/* Active link indicator */
.navbar-modern .nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

/* Missing Navbar Child Styles */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile hide for now, or stack them */
    }
}

/* Footer modern */
/* Footer modern */
.footer-modern {
    background-color: var(--primary);
    /* Charcoal */
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--accent);
    /* Sand top border */
}

/* --- Components --- */

/* Hero Section */
.hero-modern {
    background: radial-gradient(circle at top right, #F5F5F0 0%, #E3E3DC 100%);
    /* Light Sand Gradient */
    position: relative;
    /* overflow: visible; allow dropdowns */
    padding: 8rem 0 6rem;
    color: var(--text-title);
    /* Dark text for light bg */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(166, 123, 91, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    /* Soft Sand Glow */
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Search Widget */
.search-widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 40px -12px rgba(166, 123, 91, 0.15);
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-tab {
    background: transparent;
    border: 1px solid rgba(44, 62, 80, 0.1);
    /* Darker subtle border */
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-tab:hover,
.search-tab.active {
    background: var(--accent);
    /* Sand/Leather */
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(166, 123, 91, 0.3);
}

.search-inputs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.search-inputs>div {
    flex: 1;
    min-width: 200px;
    /* Ensure wrapping on small screens */
}

@media (max-width: 768px) {
    .search-inputs {
        grid-template-columns: 1fr;
        background: transparent;
        padding: 0;
    }

    .search-input-group input {
        background: white;
        margin-bottom: 0.5rem;
    }
}

/* Search Inputs Layout */
.search-inputs {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .search-inputs {
        flex-direction: column;
    }
}

.search-input-group {
    position: relative;
    background: white;
    border-radius: 12px;
    transition: box-shadow var(--transition-fast);
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(166, 123, 91, 0.2);
    z-index: 50;
    /* Ensure active input is above others */
}

.search-input-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 2;
    /* Ensure icon is above input background if any */
}

.search-input-group input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    /* Increased left padding for icon */
    margin-left: 1.25rem;
    border: none;
    border-radius: 12px;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-title);
    outline: none;
    height: 100%;
}

.search-input-group input::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.search-input-group input:focus {
    box-shadow: none;
    /* Handled by container */
}

.search-inputs select {
    padding: 0.75rem 1rem;
    /* Better vertical padding */
    font-weight: 500;
    color: var(--text-title);
    cursor: pointer;
    background-image: none !important;
    /* Remove default arrow */
    border-radius: 8px;
    /* Slight radius on focus ring */
}

.search-inputs option {
    padding: 10px;
    /* Improve dropdown list spacing */
    font-weight: 500;
}


.search-inputs select:focus {
    box-shadow: none;
    outline: none;
    color: var(--accent);
}

/* Loader Override */
#loader {
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.95);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: -4rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--bg-body);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: white;
    transform: rotate(-5deg);
}

/* Sections */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: left;
    margin: 2rem 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-title);
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Comparison Pages Specifics --- */
.comparison-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}

.comparison-card h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: var(--primary-light);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: var(--radius-md);
}

.comparison-table th:last-child {
    border-top-right-radius: var(--radius-md);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.comparison-table tr:hover td {
    background-color: var(--bg-body);
}

.platform-name {
    font-weight: 600;
    color: var(--primary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg-body);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.benefit-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Platform Logos */
.platform-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.platform-logo {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 4rem;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Inputs Modern */
.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.search-input-group {
    position: relative;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: all var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(166, 123, 91, 0.1);
}

.search-input-group i {
    color: var(--text-light);
    margin-right: 0.75rem;
}

.search-input-group input,
.search-input-group select {
    border: none;
    outline: none;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
}

/* Autocomplete Suggestions */
.suggestions-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    padding: 0.5rem;
    animation: fadeIn 0.2s ease-out;
}

.suggestions-list.show {
    display: block;
}

.suggestions-list::-webkit-scrollbar {
    width: 6px;
}

.suggestions-list::-webkit-scrollbar-thumb {
    background-color: var(--border-subtle);
    border-radius: 20px;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.suggestion-item i {
    color: var(--text-light);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
}

.suggestion-item:hover {
    background-color: rgba(166, 123, 91, 0.08);
    /* Accent alpha */
    color: var(--accent);
}

.suggestion-item:hover i {
    color: var(--accent);
}

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

/* --- Restored & Modernized Page Specific Styles --- */

/* Shopping Page - Product Cards */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-img {
    height: 180px;
    width: 100%;
    object-fit: contain;
    padding: 1rem;
    background: white;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-body {
    padding: 1rem;
    /* Reduced from 1.25rem */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-store {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.store-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
}

.store-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-title);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

.product-original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.product-discount {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.5rem;
}



.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(166, 123, 91, 0.25);
    border: none;
    white-space: nowrap;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(166, 123, 91, 0.35);
    color: white;
}

.view-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .product-img {
        height: 140px;
        padding: 0.5rem;
    }

    .product-body {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-original-price {
        font-size: 0.8rem;
    }

    .store-logo {
        width: 16px;
        height: 16px;
    }

    .store-name {
        font-size: 0.75rem;
    }

    .view-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: auto;
    }

    /* Main Product Mobile */
    .main-product {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .main-product-img {
        height: 200px;
        margin-bottom: 1rem;
    }

    .main-product-title {
        font-size: 1.25rem;
    }

    .main-product-price {
        font-size: 1.5rem;
    }
}

/* Shopping Page - Main Product Feature */
.main-product {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.main-product-img {
    height: 300px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.main-product-title {
    font-size: 1.75rem;
    color: var(--text-title);
    margin-bottom: 1rem;
}

.main-product-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Shopping Page - Search Container & Tabs */
.search-container-modern {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-tab:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    /* Ensure no underline */
}

/* Shopping Page - Search Box */
.search-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    border: none;
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    outline: none;
    color: var(--text-main);
    background: transparent;
}

.search-button {
    background: var(--accent);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-button:hover {
    background: var(--accent-hover);
}

.search-icon {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Shopping Page - Marquee */
.responsive-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.marquee-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: transparent;
    border: none;
    margin-bottom: 3rem;
}

.marquee-inner {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;

    padding: 0.2rem 1rem;
    border-radius: var(--radius-full);
    /* border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

.store-badge img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Full Screen Loader */
.loader-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

@keyframes scroll-left {
    to {
        transform: translateX(-50%);
    }
}

/* Hotel Page - Cards */
.hotel-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .hotel-card {
        flex-direction: row;
    }
}

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

.hotel-images {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hotel-images {
        width: 280px;
        height: auto;
    }
}

.hotel-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.hotel-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price-section {
    padding: 1.5rem;
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    border-left: 1px solid var(--border-subtle);
}

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

.deal-button {
    background: var(--success);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: background var(--transition-fast);
}

.deal-button:hover {
    background: #559e3d;
    color: white;
}

/* Provider Logos */
.provider-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.provider-logo {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Travel Page - Hamster Animation */
.wheel-and-hamster {
    --dur: 1s;
    position: relative;
    width: 12em;
    height: 12em;
    font-size: 14px;
    margin: 2rem auto;
}

.wheel,
.hamster,
.hamster div,
.spoke {
    position: absolute;
}

.wheel,
.spoke {
    border-radius: 50%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wheel {
    background: radial-gradient(100% 100% at center, hsla(0, 0%, 60%, 0) 47.8%, hsl(0, 0%, 60%) 48%);
    z-index: 2;
}

.hamster {
    animation: hamster var(--dur) ease-in-out infinite;
    top: 50%;
    left: calc(50% - 3.5em);
    width: 7em;
    height: 3.75em;
    transform: rotate(4deg) translate(-0.8em, 1.85em);
    transform-origin: 50% 0;
    z-index: 1;
}

.hamster__head {
    animation: hamsterHead var(--dur) ease-in-out infinite;
    background: hsl(30, 90%, 55%);
    border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
    box-shadow: 0 -0.25em 0 hsl(30, 90%, 80%) inset, 0.75em -1.55em 0 hsl(30, 90%, 90%) inset;
    top: 0;
    left: -2em;
    width: 2.75em;
    height: 2.5em;
    transform-origin: 100% 50%;
}

.hamster__ear {
    animation: hamsterEar var(--dur) ease-in-out infinite;
    background: hsl(0, 90%, 85%);
    border-radius: 50%;
    box-shadow: -0.25em 0 hsl(30, 90%, 55%) inset;
    top: -0.25em;
    right: -0.25em;
    width: 0.75em;
    height: 0.75em;
    transform-origin: 50% 75%;
}

.hamster__eye {
    animation: hamsterEye var(--dur) linear infinite;
    background-color: hsl(0, 0%, 0%);
    border-radius: 50%;
    top: 0.375em;
    left: 1.25em;
    width: 0.5em;
    height: 0.5em;
}

.hamster__nose {
    background: hsl(0, 90%, 75%);
    border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
    top: 0.75em;
    left: 0;
    width: 0.2em;
    height: 0.25em;
}

.hamster__body {
    animation: hamsterBody var(--dur) ease-in-out infinite;
    background: hsl(30, 90%, 90%);
    border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
    box-shadow: 0.1em 0.75em 0 hsl(30, 90%, 55%) inset, 0.15em -0.5em 0 hsl(30, 90%, 80%) inset;
    top: 0.25em;
    left: 2em;
    width: 4.5em;
    height: 3em;
    transform-origin: 17% 50%;
    transform-style: preserve-3d;
}

.hamster__limb--fr,
.hamster__limb--fl {
    clip-path: polygon(0 0, 100% 0, 70% 80%, 60% 100%, 0% 100%, 40% 80%);
    top: 2em;
    left: 0.5em;
    width: 1em;
    height: 1.5em;
    transform-origin: 50% 0;
}

.hamster__limb--fr {
    animation: hamsterFRLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 80%) 80%, hsl(0, 90%, 75%) 80%);
    transform: rotate(15deg) translateZ(-1px);
}

.hamster__limb--fl {
    animation: hamsterFLLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 90%) 80%, hsl(0, 90%, 85%) 80%);
    transform: rotate(15deg);
}

.hamster__limb--br,
.hamster__limb--bl {
    border-radius: 0.75em 0.75em 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 70% 90%, 70% 100%, 30% 100%, 40% 90%, 0% 30%);
    top: 1em;
    left: 2.8em;
    width: 1.5em;
    height: 2.5em;
    transform-origin: 50% 30%;
}

.hamster__limb--br {
    animation: hamsterBRLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 80%) 90%, hsl(0, 90%, 75%) 90%);
    transform: rotate(-25deg) translateZ(-1px);
}

.hamster__limb--bl {
    animation: hamsterBLLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 90%) 90%, hsl(0, 90%, 85%) 90%);
    transform: rotate(-25deg);
}

.hamster__tail {
    animation: hamsterTail var(--dur) linear infinite;
    background: hsl(0, 90%, 85%);
    border-radius: 0.25em 50% 50% 0.25em;
    box-shadow: 0 -0.2em 0 hsl(0, 90%, 75%) inset;
    top: 1.5em;
    right: -0.5em;
    width: 1em;
    height: 0.5em;
    transform: rotate(30deg) translateZ(-1px);
    transform-origin: 0.25em 0.25em;
}

.spoke {
    animation: spoke var(--dur) linear infinite;
    background: radial-gradient(100% 100% at center, hsl(0, 0%, 60%) 4.8%, hsla(0, 0%, 60%, 0) 5%),
        linear-gradient(hsla(0, 0%, 55%, 0) 46.9%, hsl(0, 0%, 65%) 47% 52.9%, hsla(0, 0%, 65%, 0) 53%) 50% 50% / 99% 99% no-repeat;
}

@keyframes hamster {

    from,
    to {
        transform: rotate(4deg) translate(-0.8em, 1.85em);
    }

    50% {
        transform: rotate(0) translate(-0.8em, 1.85em);
    }
}

@keyframes hamsterHead {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(8deg);
    }
}

@keyframes hamsterEye {

    from,
    90%,
    to {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0);
    }
}

@keyframes hamsterEar {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(12deg);
    }
}

@keyframes hamsterBody {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-2deg);
    }
}

@keyframes hamsterFRLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(50deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-30deg) translateZ(-1px);
    }
}

@keyframes hamsterFLLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(-30deg);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(50deg);
    }
}

@keyframes hamsterBRLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(-60deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(20deg) translateZ(-1px);
    }
}

@keyframes hamsterBLLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(20deg);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-60deg);
    }
}

@keyframes hamsterTail {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(30deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(10deg) translateZ(-1px);
    }
}

@keyframes spoke {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-1turn);
    }
}

/* --- Blog & Article Sections (Grocery Page) --- */

.blog-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.5rem;
    color: var(--text-title);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.blog-content h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--text-title);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p,
.blog-content li {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Tip Box */
.tip-box {
    background: rgba(166, 123, 91, 0.1);
    /* Accent alpha */
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.tip-title {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Highlights */
.keyword-highlight {
    color: var(--accent);
    font-weight: 600;
    background: rgba(166, 123, 91, 0.08);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

/* FAQ Items */
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Feedback Suggestion Modal --- */

.suggestion-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1050;
    transition: all var(--transition-normal);
}

.suggestion-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--accent-hover);
    box-shadow: 0 0 20px rgba(166, 123, 91, 0.4);
}

.suggestion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.suggestion-modal.modal-show {
    opacity: 1;
}

.suggestion-modal .modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-subtle);
}

.suggestion-modal.modal-show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: var(--danger);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-title);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-body);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(166, 123, 91, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.thank-you-message {
    text-align: center;
    padding: 2rem 1rem;
    display: none;
    /* Hidden by default */
}

.thank-you-message h3 {
    color: var(--success);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Loader Overlay */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Hotel Results Modern --- */
.hotel-card-modern {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .hotel-card-modern {
        flex-direction: row;
        height: 280px;
    }

    .card-image-wrapper {
        width: 320px;
        flex-shrink: 0;
        position: relative;
    }

    .card-details {
        flex-grow: 1;
        padding: 1.5rem;
        border-right: 1px solid var(--border-subtle);
        overflow-y: auto;
    }

    .card-action {
        width: 250px;
        flex-shrink: 0;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--bg-surface);
    }
}

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

.badge-price {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.hotel-name {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.review-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Partner Rows */
.partner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.partner-logo-sm {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.partner-price {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

/* Fix Sort Dropdown Visibility */
div.dropdown-menu {
    z-index: 10000 !important;
    display: none;
    /* Bootstrap toggles this to block */
}

div.dropdown-menu.show {
    display: block;
}

.suggestions-list {
    z-index: 10002 !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    box-shadow: var(--shadow-lg);
    /* Visibility controlled by .hidden class */
    display: block;
    /* Default to visible if not hidden */
    z-index: 10050 !important;
}

.suggestions-list:not(.hidden) {
    display: block;
}

.hidden {
    display: none !important;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f9f9f9;
}

/* --- Travel Results "Card List" Redesign --- */
.results-category-group {
    margin-bottom: 2rem;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-subtle);
}

.category-header-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.category-header-modern img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.category-header-modern h4 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.travel-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fff;
}

.travel-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.travel-result-card.best-deal {
    border: 2px solid var(--success);
    background: rgba(106, 176, 76, 0.03);
    position: relative;
}

.best-deal-tag {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.result-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.provider-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    padding: 2px;
    background: white;
    border: 1px solid #f0f0f0;
}

.result-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-title);
    font-weight: 600;
}

.result-time {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.result-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-title);
}

.book-btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    background: var(--text-title);
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.book-btn-sm:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 576px) {
    .travel-result-card {
        padding: 0.75rem;
    }

    .provider-logo {
        width: 40px;
        height: 40px;
    }

    .result-price {
        font-size: 1.1rem;
    }
}

/* --- Content Enrichment Styles (AdSense) --- */
.blog-content-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-main);
}

.blog-content-modern h2 {
    color: var(--primary);
    margin-top: 4rem;
    /* Increased spacing between topics */
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(166, 123, 91, 0.1);
    padding-bottom: 0.5rem;
}

.blog-content-modern h3 {
    color: var(--text-title);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tip-box {
    background: rgba(245, 158, 11, 0.1);
    /* Warning/Amber tint */
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.tip-box h4 {
    color: #92400e;
    /* Darker amber */
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

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

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--bg-surface);
    font-weight: 600;
    color: var(--text-title);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    background: var(--bg-surface);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: white;
}

/* --- Improved CTA Box --- */
.cta-box {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, #fff8f1 100%);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px -10px rgba(166, 123, 91, 0.15);
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: var(--accent);
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
    color: white;
}

/* --- Legal & Info Page Styles --- */
.legal-page-header {
    background: var(--bg-surface);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 3rem;
}

.legal-page-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.legal-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--text-title);
    font-size: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.legal-section h3 {
    color: var(--text-main);
    font-size: 1.15rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-section p,
.legal-section li {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style-type: none;
    padding-left: 1rem;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
}

.legal-section ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: transform 0.2s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(166, 123, 91, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}