:root {
    /* Portugal National Colors */
    --primary: #006600;
    --primary-dark: #004d00;
    --primary-light: #008000;
    --secondary: #cc0000;
    --secondary-dark: #990000;
    --accent: #ffd700;
    
    /* Neutral Colors */
    --charcoal: #2d2d2d;
    --charcoal-dark: #1a1a1a;
    --charcoal-light: #3d3d3d;
    --soft-grey: #f5f5f5;
    --soft-grey-dark: #e8e8e8;
    
    --danger: #ef4444;
    --background: #ffffff;
    --surface: #ffffff;
    --text-primary: #2d2d2d;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --continente: #e30613;
    --pingo-doce: #00a651;
    --mercadona: #69b92d;
    --gradient-primary: linear-gradient(135deg, #006600 0%, #008000 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
    --gradient-portugal: linear-gradient(135deg, #006600 0%, #006600 50%, #cc0000 100%);
}

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

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

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

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtext {
    font-size: 0.55rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.3px;
    -webkit-text-fill-color: #888;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--background);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/hero-banner-new.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    margin-bottom: 0;
}

.hero + .section {
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.search-container {
    margin-bottom: 40px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 20px 24px 20px 56px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    background: white;
    box-shadow: var(--shadow-xl);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--background);
}

.search-result-name {
    font-weight: 500;
    color: var(--text-primary);
}

.search-result-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--background);
    padding: 4px 10px;
    border-radius: 20px;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge.continente {
    background: var(--continente);
}

.store-badge.pingo-doce {
    background: var(--pingo-doce);
}

.store-badge.mercadona {
    background: var(--mercadona);
}

.store-badge.auchan {
    background: #FFB800;
    color: #2d2d2d;
}

.store-badge.lidl {
    background: #0050aa;
}

.store-badge.aldi {
    background: #FF6200;
}

.store-badge.intermarche {
    background: #8B0000;
}

.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.card-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 30%;
    left: 8%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.section {
    padding: 40px 0 50px 0;
    margin-top: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.comparison-section {
    background: white;
}

.comparison-container {
    background: var(--background);
    border-radius: var(--radius-xl);
    padding: 32px;
    min-height: 300px;
}

.comparison-container:empty {
    display: none;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-meta {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comparison-add-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 0, 0.3);
}

.comparison-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 0, 0.4);
}

.comparison-add-btn.added {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.comparison-add-btn .btn-icon {
    font-size: 1.1rem;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.price-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.price-card.cheapest {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.price-card.cheapest::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

.cheapest-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.store-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.store-logo.continente {
    background: var(--continente);
}

.store-logo.pingo-doce {
    background: var(--pingo-doce);
}

.store-logo.mercadona {
    background: var(--mercadona);
}

.store-info h4 {
    font-weight: 600;
    color: var(--text-primary);
}

.store-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-display {
    text-align: center;
    padding: 20px 0;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.price-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.promo-badge {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.update-date {
    color: var(--text-muted);
}

.price-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: #856404;
}

.disclaimer-icon {
    font-size: 1rem;
}

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

.categories-section {
    background: var(--soft-grey);
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 180px);
    gap: 24px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    width: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.category-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 0, 0.2);
}

.category-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-image-wrapper {
    overflow: hidden;
    position: relative;
}

.category-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 100%);
    pointer-events: none;
}

.category-content {
    padding: 14px 12px;
    text-align: center;
    background: white;
}

.category-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-section {
    background: white;
    padding: 60px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.featured-card {
    background: var(--soft-grey);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: white;
}

.featured-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 8px;
}

.featured-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.featured-content {
    flex: 1;
    width: 100%;
}

.featured-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 2.6em;
}

.featured-store {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.featured-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.featured-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
}

.featured-promo {
    background: linear-gradient(135deg, var(--secondary) 0%, #b30000 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Flyers Section */
.flyers-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 60px 0;
}

.flyers-header {
    text-align: center;
    margin-bottom: 40px;
}

.flyers-badge {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.store-flyers-group {
    margin-bottom: 40px;
}

.store-flyers-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
}

.store-flyers-title.continente-title {
    background: var(--continente);
}

.store-flyers-title.pingo-doce-title {
    background: var(--pingo-doce);
}

.store-flyers-title.mercadona-title {
    background: var(--mercadona);
}

.store-flyers-title.auchan-title {
    background: #FFB800;
    color: #2d2d2d;
}

.store-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.flyer-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.flyer-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.flyer-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.flyer-card a {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.flyer-card a:hover {
    background: #005500;
}

@media (max-width: 768px) {
    .store-section {
        grid-template-columns: 1fr;
    }
    
    .store-flyers-title {
        font-size: 1.2rem;
    }
}

.seasonal-section {
    background: #f8f9fa;
    padding: 0;
    margin-top: 40px;
}

.seasonal-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.seasonal-content {
    padding: 60px 0;
}

.seasonal-header {
    text-align: center;
    margin-bottom: 40px;
}

.seasonal-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.seasonal-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #eee;
    position: relative;
    overflow: hidden;
}

.seasonal-card:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 0, 0.1);
    border-color: #ddd;
}

.seasonal-card.peak::before {
    content: "PEAK!";
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--primary);
    color: white;
    padding: 4px 30px;
    font-size: 0.65rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.seasonal-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background: #f8f8f8;
}

.seasonal-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
}

.seasonal-fun-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.seasonal-tip {
    text-align: center;
    margin-top: 30px;
    padding: 16px 24px;
    background: white;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    width: auto;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.seasonal-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1024px) {
    .seasonal-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .seasonal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .seasonal-image {
        width: 100%;
        height: 100px;
    }
    
    .seasonal-name {
        font-size: 0.9rem;
    }
    
    .seasonal-fun-copy {
        font-size: 0.75rem;
    }
    
    .seasonal-tip {
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .seasonal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.basket-section {
    background: var(--soft-grey);
}

.basket-section-inner {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.basket-container {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.basket-summary {
    background: var(--secondary);
    color: white;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.basket-total {
    display: flex;
    flex-direction: column;
}

.basket-total-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.basket-total-amount {
    font-size: 2.5rem;
    font-weight: 800;
}

.basket-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.basket-items {
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
}

.basket-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.basket-item:hover {
    background: var(--background);
}

.basket-item-icon {
    font-size: 1.5rem;
}

.basket-item-info {
    flex: 1;
}

.basket-item-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.basket-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.basket-item-store {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
}

.basket-item-store.continente {
    background: rgba(255, 204, 0, 0.15);
    color: #cc9900;
}

.basket-item-store.pingodoce {
    background: rgba(0, 128, 0, 0.1);
    color: #006600;
}

.basket-item-store.mercadona {
    background: rgba(0, 128, 0, 0.1);
    color: #006600;
}

.store-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.store-dot.continente {
    background: var(--continente);
}

.store-dot.pingo-doce {
    background: var(--pingo-doce);
}

.store-dot.mercadona {
    background: var(--mercadona);
}

.store-dot.auchan {
    background: #FFB800;
}

.store-dot.lidl {
    background: #0050aa;
}

.store-dot.aldi {
    background: #FF6200;
}

.store-dot.intermarche {
    background: #8B0000;
}

.basket-item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-contact {
    margin-top: 16px;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-email:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-divider {
    color: white;
    opacity: 0.5;
}

.footer-link {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Ad Container Styles */
.ad-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 15px 0;
}

.ad-banner {
    background: #fafafa;
}

.ad-container ins {
    display: block;
    width: 100%;
    max-width: 100%;
}

.ad-container:empty,
.ad-container ins:empty {
    display: none;
    padding: 0;
    margin: 0;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .floating-card {
        font-size: 2rem;
    }
    
    .store-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .basket-summary {
        flex-direction: column;
        text-align: center;
    }
}

.product-list-container {
    margin-top: 24px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.product-list-item {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-list-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.product-list-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-list-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.product-list-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.back-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #006600 0%, #008000 50%, #00a651 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-cart {
    width: 24px;
    height: 24px;
    color: white;
}

.product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.product-list-content {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.product-list-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.product-list-actions .add-to-basket-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 20px;
}

.featured-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.basket-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-result-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.featured-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    align-items: center;
}

.basket-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

/* Old dark promotions section removed - using light theme below */

/* Flyers Section */
.flyers-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.flyers-header {
    text-align: center;
    margin-bottom: 48px;
}

.flyers-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #009900 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 102, 0, 0.3);
}

.flyers-stores {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flyer-store-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eee;
}

.store-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0;
}

.store-logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.continente-header {
    border-bottom-color: var(--continente);
}

.pingo-doce-header {
    border-bottom-color: var(--pingo-doce);
}

.mercadona-header {
    border-bottom-color: var(--mercadona);
}

.flyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.flyer-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.flyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.flyer-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.flyer-card .flyer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.flyer-card .flyer-link:hover {
    gap: 10px;
}

.flyer-card .flyer-link::after {
    content: '→';
}

.flyer-empty {
    text-align: center;
    padding: 24px;
    color: #888;
    font-style: italic;
}

/* Promotions Section with Product Cards */
.promotions-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
}

.promotions-section .section-title {
    color: var(--charcoal);
}

.promotions-section .section-subtitle {
    color: var(--text-secondary);
}

.promotions-header {
    text-align: center;
    margin-bottom: 40px;
}

.promotions-badge {
    display: inline-block;
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(204, 0, 0, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4); }
}

.promotions-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8e1;
    color: #856404;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 16px;
    border: 1px solid #ffc107;
}

.disclaimer-icon {
    font-size: 1rem;
}

/* Store Tabs - Solid colored like hero badges */
.store-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.store-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.store-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-tab.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* All stores tab - neutral dark */
.store-tab[data-store="all"] {
    background: var(--charcoal);
}

.store-tab[data-store="all"]:hover,
.store-tab[data-store="all"].active {
    background: #1a1a1a;
}

/* Continente - red */
.store-tab[data-store="continente"] {
    background: var(--continente);
}

.store-tab[data-store="continente"]:hover,
.store-tab[data-store="continente"].active {
    background: #c00510;
}

/* Pingo Doce - green */
.store-tab[data-store="pingo_doce"] {
    background: var(--pingo-doce);
}

.store-tab[data-store="pingo_doce"]:hover,
.store-tab[data-store="pingo_doce"].active {
    background: #008a44;
}

/* Mercadona - lime green */
.store-tab[data-store="mercadona"] {
    background: var(--mercadona);
}

.store-tab[data-store="mercadona"]:hover,
.store-tab[data-store="mercadona"].active {
    background: #5aa025;
}

/* Auchan - yellow/gold */
.store-tab[data-store="auchan"] {
    background: #FFB800;
    color: #2d2d2d;
}

.store-tab[data-store="auchan"]:hover,
.store-tab[data-store="auchan"].active {
    background: #E5A600;
}

/* Lidl - blue and yellow */
.store-tab[data-store="lidl"] {
    background: #0050aa;
}

.store-tab[data-store="lidl"]:hover,
.store-tab[data-store="lidl"].active {
    background: #003d80;
}

/* Aldi - orange (distinct from Lidl blue) */
.store-tab[data-store="aldi"] {
    background: #FF6200;
}

.store-tab[data-store="aldi"]:hover,
.store-tab[data-store="aldi"].active {
    background: #E55800;
}

/* Intermarché - dark crimson (distinct from Continente red) */
.store-tab[data-store="intermarche"] {
    background: #8B0000;
}

.store-tab[data-store="intermarche"]:hover,
.store-tab[data-store="intermarche"].active {
    background: #6B0000;
}


.store-tab .tab-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Promotions Product Grid */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
}

.store-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-tag.continente {
    background: var(--continente);
    color: white;
}

.store-tag.pingo_doce {
    background: var(--pingo-doce);
    color: white;
}

.store-tag.mercadona {
    background: var(--mercadona);
    color: white;
}

.store-tag.auchan {
    background: #FFB800;
    color: #2d2d2d;
}

.store-tag.lidl {
    background: #0050aa;
    color: white;
}

.store-tag.aldi {
    background: #FF6200;
    color: white;
}

.store-tag.intermarche {
    background: #8B0000;
    color: white;
}

.product-info {
    padding: 16px;
}

.product-category {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

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

.product-original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-valid {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #eee;
}

.promotions-footer {
    text-align: center;
    margin-top: 24px;
}

.update-info {
    color: #888;
    font-size: 0.9rem;
}

/* Empty state */
.promotions-empty {
    text-align: center;
    padding: 48px;
    color: #888;
}

.promotions-empty h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .store-tabs {
        gap: 8px;
    }
    
    .store-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .store-tab .tab-logo {
        width: 20px;
        height: 20px;
    }
    
    .promotions-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .product-image-container {
        height: 150px;
    }
}

.promo-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 50%, #ffd700 100%);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.promo-store-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.promo-store-card:hover {
    transform: translateY(-4px);
}

.promo-store-card.continente {
    border-top: 4px solid var(--continente);
}

.promo-store-card.pingo-doce {
    border-top: 4px solid var(--pingo-doce);
}

.promo-store-card.mercadona {
    border-top: 4px solid var(--mercadona);
}

.promo-store-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.promo-store-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.promo-store-logo.continente { background: var(--continente); }
.promo-store-logo.pingo-doce { background: var(--pingo-doce); }
.promo-store-logo.mercadona { background: var(--mercadona); }

.promo-store-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.promo-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.promo-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.promo-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-product:hover {
    background: var(--primary);
    color: white;
}

.promo-product:hover .promo-product-price {
    color: white;
}

.promo-product-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.promo-product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: white;
    border-radius: 8px;
    flex-shrink: 0;
}

.promo-product-info {
    flex: 1;
    min-width: 0;
}

.promo-product-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
}

.promo-product-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
}

.promo-view-all {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.christmas-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 0;
}

.christmas-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.christmas-content {
    padding: 60px 0 80px 0;
}

.christmas-section .section-title,
.christmas-section .section-subtitle {
    color: white;
}

.christmas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.christmas-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.christmas-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.christmas-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--background);
    border-radius: 12px;
    flex-shrink: 0;
}

.christmas-content {
    flex: 1;
    min-width: 0;
}

.christmas-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.christmas-store {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.christmas-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.promo-badge-small {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

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

/* Floating Items Animation */
.floating-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-item {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.4;
    left: var(--x);
    top: var(--y);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-8px) rotate(-3deg);
    }
    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* Shopping List Section */
.shopping-list-section {
    background: white;
}

.shopping-list-container {
    background: var(--soft-grey);
    border-radius: var(--radius-xl);
    padding: 32px;
    min-height: 200px;
}

.shopping-list-empty {
    text-align: center;
    padding: 40px;
}

.shopping-list-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.shopping-list-empty p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.shopping-list-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shopping-list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shopping-list-item {
    display: grid;
    grid-template-columns: auto 1fr repeat(3, 100px) auto;
    gap: 16px;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.shopping-list-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.shopping-list-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.shopping-list-item-price {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-weight: 600;
}

.shopping-list-item-price.continente {
    background: rgba(227, 6, 19, 0.1);
    color: var(--continente);
}

.shopping-list-item-price.pingo-doce {
    background: rgba(0, 166, 81, 0.1);
    color: var(--pingo-doce);
}

.shopping-list-item-price.mercadona {
    background: rgba(105, 185, 45, 0.1);
    color: var(--mercadona);
}

.shopping-list-item-price.cheapest {
    border: 2px solid var(--primary);
    background: rgba(0, 102, 0, 0.1);
}

.shopping-list-remove {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    padding: 8px;
}

.shopping-list-remove:hover {
    color: var(--secondary);
}

.shopping-list-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.shopping-list-total-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.shopping-list-total-card.cheapest {
    border: 3px solid var(--primary);
    background: linear-gradient(135deg, #f0fff0 0%, #e8f5e8 100%);
}

.shopping-list-total-store {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.shopping-list-total-amount {
    font-size: 2rem;
    font-weight: 800;
}

.shopping-list-total-card.continente .shopping-list-total-amount {
    color: var(--continente);
}

.shopping-list-total-card.pingo-doce .shopping-list-total-amount {
    color: var(--pingo-doce);
}

.shopping-list-total-card.mercadona .shopping-list-total-amount {
    color: var(--mercadona);
}

.shopping-list-total-card.cheapest .shopping-list-total-amount {
    color: var(--primary);
}

.shopping-list-savings {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

.card-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.card-logos img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.card-logo-text {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background: #1a1f71;
    padding: 2px 4px;
    border-radius: 2px;
}

.payment-separator,
.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0;
}

.payment-separator::before,
.payment-separator::after,
.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.payment-separator span,
.payment-divider span {
    padding: 0 15px;
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
}

.card-hint {
    margin: 12px 0 0 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    text-align: center;
    border: 1px solid #dee2e6;
}

.card-hint span {
    font-size: 1.1rem;
}

.email-language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.email-lang-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.email-lang-toggle {
    display: flex;
    gap: 6px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 8px;
}

.email-lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #666;
}

.email-lang-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.email-lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .email-language-selector {
        flex-direction: column;
        gap: 8px;
    }
}

/* Add to List Button */
.add-to-list-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.add-to-list-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.add-to-list-btn.added {
    background: var(--text-muted);
}

/* My Basket Section */
.my-basket-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.basket-header-area {
    text-align: center;
    margin-bottom: 40px;
}

.basket-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.basket-personalized-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.edit-name-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.basket-fun-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.basket-name-editor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.basket-name-input {
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    font-size: 1rem;
    width: 250px;
    outline: none;
    transition: box-shadow 0.2s;
}

.basket-name-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 102, 0, 0.2);
}

.save-name-btn, .cancel-name-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.save-name-btn {
    background: var(--primary);
    color: white;
}

.cancel-name-btn {
    background: #dc3545;
    color: white;
}

.save-name-btn:hover, .cancel-name-btn:hover {
    transform: scale(1.1);
}

.my-basket-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.empty-basket {
    text-align: center;
    padding: 60px 20px;
}

.empty-basket-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.empty-basket-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-basket-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.browse-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 0, 0.3);
}

.browse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 0, 0.4);
}

.basket-items-area {
    display: grid;
    gap: 30px;
}

.basket-items-list {
    display: grid;
    gap: 12px;
}

.basket-running-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #008800 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.running-total-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.running-total-icon {
    font-size: 1.5rem;
}

.running-total-count {
    font-weight: 600;
    font-size: 1.1rem;
}

.running-total-best {
    display: flex;
    align-items: center;
    gap: 8px;
}

.running-total-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.running-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.basket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 12px;
    transition: all 0.2s;
}

.basket-item:hover {
    background: #e9ecef;
}

.basket-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.basket-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.basket-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.basket-item-remove {
    background: transparent;
    border: none;
    color: #dc3545;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.basket-item-remove:hover {
    background: rgba(220, 53, 69, 0.1);
}

.basket-store-comparison {
    background: linear-gradient(135deg, var(--primary) 0%, #008800 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
}

.store-comparison-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.store-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.store-comparison-card {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.store-comparison-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.store-comparison-card.cheapest {
    background: var(--accent);
    color: var(--charcoal);
}

.store-comparison-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.store-comparison-total {
    font-size: 1.8rem;
    font-weight: 800;
}

.store-comparison-savings {
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.9;
}

/* Enhanced Add to List Button */
.add-to-basket-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #008800 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 102, 0, 0.3);
}

.add-to-basket-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 0, 0.4);
}

.add-to-basket-btn.added {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.add-to-basket-btn .btn-icon {
    font-size: 1.2rem;
}

/* ========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ======================================== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 150px);
        gap: 16px;
        justify-content: center;
    }
    
    .featured-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        max-width: 900px;
    }
    
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 12px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-subtext {
        font-size: 0.5rem;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 50px;
    }
    
    .hero-content {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
        padding: 0 10px;
    }
    
    .search-box {
        margin: 0 10px;
    }
    
    .search-input {
        padding: 14px 14px 14px 44px;
        font-size: 0.95rem;
    }
    
    .store-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
        padding: 0 10px;
    }
    
    .store-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    /* Floating Items - Keep but smaller on mobile */
    .floating-item {
        font-size: 1.5rem;
        opacity: 0.25;
    }
    
    .floating-card {
        font-size: 1.5rem;
        padding: 8px 16px;
    }
    
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        padding: 0 20px;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .category-image {
        height: 100px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .featured-card {
        padding: 16px;
    }
    
    .featured-image {
        width: 60px;
        height: 60px;
    }
    
    .featured-name {
        font-size: 0.85rem;
        min-height: auto;
    }
    
    .category-content {
        padding: 10px;
    }
    
    .category-name {
        font-size: 0.85rem;
    }
    
    /* Product List */
    .product-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-list-item {
        padding: 12px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .product-list-item-info {
        width: 100%;
    }
    
    .product-list-item-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Price Cards */
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card {
        padding: 20px;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    /* Comparison Container */
    .comparison-container {
        padding: 20px;
    }
    
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .product-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .comparison-add-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Featured Section */
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        padding: 16px;
        gap: 12px;
    }
    
    /* Basket Section */
    .basket-summary {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .basket-total-amount {
        font-size: 2rem;
    }
    
    .basket-items {
        padding: 12px;
    }
    
    .basket-item {
        padding: 12px;
        flex-wrap: wrap;
    }
    
    /* Promotions Grid */
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    /* Christmas Grid */
    .christmas-grid {
        grid-template-columns: 1fr;
    }
    
    /* Shopping List */
    .shopping-list-item {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }
    
    .shopping-list-item-price {
        grid-column: span 1;
    }
    
    .shopping-list-totals {
        grid-template-columns: 1fr;
    }
    
    /* My Basket Section */
    .basket-name-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .basket-personalized-title {
        font-size: 1.6rem;
    }
    
    .store-comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .my-basket-content {
        padding: 20px;
    }
    
    .basket-store-comparison {
        padding: 20px;
    }
    
    .store-comparison-total {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 16px;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    /* Modal */
    .modal-content {
        margin: 10px;
        max-height: 90vh;
        width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    /* Ad Containers */
    .ad-container {
        padding: 10px 0;
    }
}

/* Small Mobile: up to 480px */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .logo-subtext {
        font-size: 0.45rem;
    }
    
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 8px;
    }
    
    .search-box {
        margin: 0 8px;
    }
    
    .store-badges {
        gap: 8px;
        margin-top: 20px;
    }
    
    .store-badge {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .floating-item {
        font-size: 1.25rem;
        opacity: 0.2;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 32px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 16px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 16px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
    }
    
    .category-image {
        height: 80px;
    }
    
    .category-content {
        padding: 8px;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
    
    .basket-personalized-title {
        font-size: 1.4rem;
    }
    
    .price-main {
        font-size: 1.75rem;
    }
    
    .basket-total-amount {
        font-size: 1.75rem;
    }
    
    .add-to-basket-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .floating-card {
        display: none;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix any potential overflow issues */
.container,
.nav-container,
.hero-content,
.comparison-container,
.basket-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Smooth scrolling for touch devices */
@media (hover: none) {
    .search-results,
    .basket-items,
    .modal-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Trust Badge Styles */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 0.9rem;
    color: white;
    backdrop-filter: blur(10px);
}

.trust-icon {
    color: #4ade80;
    font-weight: bold;
}

.trust-text {
    opacity: 0.95;
}

.trust-separator {
    opacity: 0.5;
}

.trust-link {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.trust-link:hover {
    opacity: 1;
}

/* Price Disclaimer */
.price-disclaimer {
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-size: 0.85rem;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-disclaimer-icon {
    font-size: 1rem;
}

/* Verification Page Styles */
.policy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.policy-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.verify-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.verify-card.highlight-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--primary);
}

.verify-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.verify-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.verify-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.verify-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verify-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.verify-card li:last-child {
    border-bottom: none;
}

.verify-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.last-updated-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #ddd;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

.update-icon {
    font-size: 1.2rem;
}

.back-home {
    text-align: center;
    margin-top: 40px;
}

.back-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #004d00;
    transform: translateY(-2px);
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-disclaimer .disclaimer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-badge {
        flex-wrap: wrap;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .policy-title {
        font-size: 1.8rem;
    }
    
    .verify-card {
        padding: 20px;
    }
    
    .verify-icon {
        font-size: 1.5rem;
    }
    
    .footer-disclaimer {
        padding: 12px 15px;
    }
    
    .footer-disclaimer .disclaimer-text {
        font-size: 0.8rem;
    }
}

/* ===== Shopping List ===== */

/* Add to List Button on Product Cards */
.add-to-list-btn {
    width: 100%;
    padding: 10px 16px;
    margin-top: 12px;
    background: var(--soft-grey);
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-list-btn:hover {
    background: var(--primary);
    color: white;
}

.add-to-list-btn.added {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.add-to-list-btn.added:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Floating Action Button */
.shopping-list-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #008800 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 102, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopping-list-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 102, 0, 0.5);
}

.shopping-list-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Shopping List Panel */
.shopping-list-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    max-height: 70vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.shopping-list-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.shopping-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary) 0%, #008800 100%);
    border-radius: 16px 16px 0 0;
}

.shopping-list-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shopping-list-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.shopping-list-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.shopping-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 400px;
}

.shopping-list-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 16px;
    font-size: 0.95rem;
}

.shopping-list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shopping-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--soft-grey);
    border-radius: 12px;
    position: relative;
}

.shopping-list-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.shopping-list-details {
    flex: 1;
    min-width: 0;
}

.shopping-list-name {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shopping-list-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.shopping-list-discount {
    background: var(--secondary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.shopping-list-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.shopping-list-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 1rem;
    transition: color 0.2s;
}

.shopping-list-remove:hover {
    color: var(--secondary);
}

.shopping-list-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--soft-grey);
    border-radius: 0 0 16px 16px;
}

.shopping-list-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.shopping-list-total {
    color: var(--primary);
    font-size: 1.3rem;
}

.shopping-list-print-btn {
    width: 100%;
    padding: 12px;
    background: #f0f0f0;
    border: 2px solid #888;
    color: #333;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.shopping-list-print-btn:hover {
    background: #e0e0e0;
    border-color: #666;
}

.shopping-list-clear-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.shopping-list-clear-btn:hover {
    background: var(--secondary);
    color: white;
}

/* Done button in shopping list */
.shopping-list-done-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.shopping-list-done-btn:hover {
    background: #005500;
    transform: translateY(-1px);
}

/* Final Shopping List Section */
.final-list-section {
    background: linear-gradient(135deg, var(--soft-grey) 0%, #e8f5e9 100%);
    padding: 60px 0;
}

.final-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.final-list-store-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.final-list-store-card.continente .final-list-store-header {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}

.final-list-store-card.pingo_doce .final-list-store-header {
    background: linear-gradient(135deg, #006600 0%, #004400 100%);
}

.final-list-store-card.mercadona .final-list-store-header {
    background: linear-gradient(135deg, #00aa00 0%, #008800 100%);
}

.final-list-store-card.auchan .final-list-store-header {
    background: linear-gradient(135deg, #FFB800 0%, #E5A600 100%);
    color: #2d2d2d;
}

.final-list-store-card.lidl .final-list-store-header {
    background: linear-gradient(135deg, #0050aa 0%, #003d80 100%);
}

.final-list-store-card.aldi .final-list-store-header {
    background: linear-gradient(135deg, #FF6200 0%, #E55800 100%);
}

.final-list-store-card.intermarche .final-list-store-header {
    background: linear-gradient(135deg, #8B0000 0%, #6B0000 100%);
}

.final-list-store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: white;
}

.final-list-store-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.final-list-store-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.final-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.final-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.final-list-item:last-child {
    border-bottom: none;
}

.final-list-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.final-list-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.final-list-item-name {
    font-weight: 500;
    color: var(--charcoal);
}

.final-list-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.final-list-item-store {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

.final-list-item-discount {
    background: var(--secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.final-list-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-left: auto;
}

.final-list-store-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--soft-grey);
    font-weight: 600;
    font-size: 1.1rem;
}

.final-list-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    font-size: 1.3rem;
    font-weight: 700;
}

.final-list-total-amount {
    color: var(--primary);
    font-size: 1.8rem;
}

.final-list-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-list-print-btn,
.final-list-back-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.final-list-print-btn {
    background: var(--primary);
    border: none;
    color: white;
}

.final-list-print-btn:hover {
    background: #005500;
    transform: translateY(-2px);
}

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

.final-list-back-btn:hover {
    background: var(--primary);
    color: white;
}

/* Mobile adjustments for shopping list */
@media (max-width: 768px) {
    .shopping-list-fab {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
    
    .shopping-list-panel {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: 90px;
        max-height: 60vh;
    }
    
    .final-list-grid {
        grid-template-columns: 1fr;
    }
    
    .final-list-grand-total {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .final-list-total-amount {
        font-size: 1.5rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/attached_assets/thanksgiving-dinner-assortment-table_1764798591628.jpg') center/cover no-repeat;
    z-index: -2;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: -1;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contact-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 60px 0 80px;
    background: var(--soft-grey);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info-card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-detail-item span,
.contact-detail-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-detail-item a:hover {
    color: var(--primary);
}

.contact-tip {
    background: linear-gradient(135deg, #f0fff0 0%, #e8f5e8 100%);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-left: 4px solid var(--primary);
}

.tip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-tip p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.contact-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 0, 0.3);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.2rem;
}

.form-status {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-subtitle {
        font-size: 1.05rem;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 40px 0 60px;
    }
}

/* Parallax Section Styles */
.parallax-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.why-parallax {
    background-image: url('/attached_assets/egg-tart-traditional-portuguese-dessert-pastel-de-nata_1764799263049.jpg');
}

.standalone-parallax {
    min-height: 350px;
}

.why-section {
    padding: 70px 0;
    background: #ffffff;
}

.why-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.why-section .why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-section .why-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.why-section .why-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.why-section .benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.why-section .benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--soft-grey);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 500;
}

.why-section .benefit-icon {
    font-size: 1.4rem;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.parallax-content {
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.parallax-content .section-title {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.parallax-content .why-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.parallax-content .why-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.parallax-content .why-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.parallax-content .benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--soft-grey-dark);
}

.parallax-content .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    background: var(--soft-grey);
    padding: 16px 20px;
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.parallax-content .benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.parallax-content .benefit-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        min-height: auto;
    }
    
    .parallax-content {
        padding: 60px 16px;
    }
    
    .parallax-content .section-title {
        font-size: 2rem;
    }
    
    .parallax-content .why-content {
        padding: 30px 24px;
    }
    
    .parallax-content .why-content h3 {
        font-size: 1.25rem;
    }
    
    .parallax-content .why-content p {
        font-size: 1rem;
    }
    
    .parallax-content .benefit-item {
        font-size: 1rem;
        padding: 14px 16px;
    }
}

/* ========================================
   MOBILE HAMBURGER MENU STYLES
   ======================================== */

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: var(--soft-grey);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-grey);
}

.mobile-menu-header .logo {
    flex: 1;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #2d2d2d !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    background: transparent;
}

.mobile-nav-link:visited {
    color: #2d2d2d !important;
    text-decoration: none !important;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: #f5f5f5;
    color: #006600 !important;
    border-left-color: #006600;
    text-decoration: none !important;
}

.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(0, 102, 0, 0.1) 0%, transparent 100%);
    color: #006600 !important;
    border-left-color: #006600;
    font-weight: 600;
    text-decoration: none !important;
}

.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--soft-grey);
}

.mobile-language-switcher {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mobile-lang-btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    .language-switcher {
        display: flex;
        padding: 3px;
        gap: 2px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .nav-actions {
        gap: 12px;
        align-items: center;
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}


/* ==========================================
   Blog Preview Section (Homepage)
   ========================================== */
.blog-preview-section {
    background: #f8f9fa;
    padding: 70px 0 80px;
}

.blog-preview-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-preview-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 0, 0.1) 0%, rgba(0, 128, 0, 0.15) 100%);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.blog-preview-header .section-title {
    margin-bottom: 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.blog-card-btn {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.blog-card-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.blog-preview-cta {
    text-align: center;
}

.blog-preview-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 102, 0, 0.2);
}

.blog-preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 0, 0.3);
}

/* Blog Preview Responsive */
@media (max-width: 1024px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .blog-preview-grid .blog-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .blog-preview-section {
        padding: 50px 0 60px;
    }
    
    .blog-preview-header {
        margin-bottom: 30px;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-preview-grid .blog-card:last-child {
        max-width: none;
    }
    
    .blog-card-body {
        padding: 18px 20px 20px;
    }
    
    .blog-card-title {
        font-size: 1rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
    
    .blog-preview-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}
