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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --accent-color: #f97316;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

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

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c2410c 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-products {
    padding: 2.5rem 2rem;
}

.hero-products h1 {
    font-size: 2rem;
}

.hero-products p {
    font-size: 1rem;
    margin-bottom: 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--white);
    text-decoration: none;
    color: var(--accent-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #ea6c0a;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #6b7280;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-accept {
    background-color: var(--success-color);
    color: var(--white);
}

.cookie-accept:hover {
    background-color: #059669;
}

.cookie-reject {
    background-color: var(--border-color);
    color: var(--text-color);
}

.cookie-reject:hover {
    background-color: #d1d5db;
}

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

.cookie-settings:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-in-out;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cookie-modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.cookie-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.cookie-modal-close:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

.cookie-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-intro {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-badge.required {
    background-color: #6b7280;
}

.cookie-category-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.cookie-examples {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked+.cookie-slider {
    background-color: var(--success-color);
}

.cookie-switch input:checked+.cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-switch.disabled .cookie-slider {
    cursor: not-allowed;
    background-color: #9ca3af;
}

/* Modal Footer */
.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-link {
    color: var(--white);
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0.5rem;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
    }

    .cookie-modal {
        padding: 1rem;
    }

    .cookie-modal-content {
        max-height: 95vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.25rem;
    }

    .cookie-category {
        padding: 1rem;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.9rem;
    }
}

.nav a.nav-active {
    color: var(--accent-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

/* ============================================================================
   PROMO BANNERS (Home Page)
============================================================================ */

.promo-banners {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ----- Banner 1: Featured Products (two-card layout) ----- */

.banner-featured {
    background: #eef2f7;
    border-radius: 12px;
    overflow: hidden;
}

.banner-featured-header {
    padding: 2rem 2rem 0 2rem;
}

.banner-featured-header h2 {
    font-size: 1.75rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-heading-line {
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.banner-featured-body {
    display: flex;
    align-items: stretch;
    min-height: 360px;
}

.banner-featured-image {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #b8cfe8 0%, #7fa8c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
}

.banner-featured-cards {
    flex: 1;
    display: flex;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem 1.5rem 1.25rem;
    position: relative;
    align-items: stretch;
}

.banner-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 0 6px 0;
}

.banner-product-card {
    flex: 1;
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.banner-product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.banner-card-underline {
    width: 35px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.banner-card-subtitle {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

.banner-features {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.banner-features li {
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    line-height: 1.4;
}

.check {
    color: var(--accent-color);
    font-weight: bold;
    flex-shrink: 0;
}

.banner-info-icon {
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: help;
}

.banner-card-date {
    font-size: 0.82rem;
    color: var(--accent-color);
    margin-top: auto;
}

.banner-card-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* ----- Banner 2: Wide (easy shopping style) ----- */

.banner-wide {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    min-height: 260px;
}

.banner-wide-image {
    width: 300px;
    flex-shrink: 0;
    background: #e0e5ea;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-wide-emoji {
    font-size: 5.5rem;
    position: relative;
    z-index: 1;
}

.banner-wide-accent {
    position: absolute;
    width: 120px;
    height: 140px;
    background: var(--accent-color);
    bottom: -20px;
    right: -25px;
    border-radius: 6px;
    opacity: 0.85;
}

.banner-wide-content {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.banner-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

.banner-wide-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.55;
}

.banner-wide-subtitle {
    font-size: 0.88rem;
    color: var(--accent-color);
}

/* ----- Banner 3: Promo (free shipping style) ----- */

.banner-promo {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.banner-promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.banner-promo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.banner-promo-description {
    font-size: 0.9rem;
    color: #6b7280;
}

.banner-promo-date {
    font-size: 0.88rem;
    color: var(--accent-color);
}

.banner-promo-visual {
    width: 280px;
    flex-shrink: 0;
    height: 190px;
    background: #111827;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-display {
    display: flex;
    gap: 12px;
}

.banner-display-digit {
    background: #111827;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    width: 90px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    text-shadow: 0 0 16px var(--accent-color);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25), inset 0 0 10px rgba(249, 115, 22, 0.1);
}

/* ----- Banner Buttons ----- */

.banner-btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    align-self: flex-start;
}

.banner-btn-primary:hover {
    background: #ea6c0a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.banner-btn-secondary {
    background: none;
    color: var(--text-color);
    border: none;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
}

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

.banner-btn-outline {
    background: none;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.55rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    width: fit-content;
}

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

/* ---- Banner Responsive ---- */

@media (max-width: 900px) {
    .banner-featured-body {
        flex-direction: column;
    }

    .banner-featured-image {
        width: 100%;
        height: 180px;
        font-size: 5rem;
    }

    .banner-featured-cards {
        flex-direction: column;
        padding: 1.5rem;
    }

    .banner-wide {
        flex-direction: column;
    }

    .banner-wide-image {
        width: 100%;
        height: 160px;
    }

    .banner-wide-content {
        padding: 1.5rem;
    }

    .banner-promo {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .banner-promo-visual {
        width: 100%;
        height: 140px;
    }

    .banner-promo-title {
        font-size: 1.5rem;
    }

    .banner-promo-display {
        font-size: 2rem;
    }
}