:root {
    /* The "Dongl" Palette: Bright, Friendly, Food-focused */
    --primary-orange: #FF6B35;
    --primary-red: #D90429;
    --accent-yellow: #FFC600;
    --soft-pink: #FF9F1C;
    --bg-cream: #FFFDF7;
    --text-dark: #2B2D42;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Header & Hamburger Menu --- */
header {
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

.theme-toggle {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    margin-right: 0.75rem;
}

.language-link {
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.language-link.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.logo span {
    color: var(--accent-hover);
}

/* The Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    padding: 4.5rem 1.5rem 3rem;
    background: radial-gradient(circle at top left, var(--bg-secondary), var(--bg-primary));
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.hero h1 {
    color: var(--accent);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.cta-button,
.ghost-button {
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cta-button {
    background-color: var(--accent);
    color: #ffffff;
}

.ghost-button {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.cta-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    background-color: var(--accent-hover);
    color: #ffffff;
    border-color: var(--accent-hover);
}

.hero-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.hero-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    max-height: clamp(180px, 22vw, 320px);
    object-fit: cover;
}

.hero-card-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.hero-card div {
    padding: 1.25rem;
}

.hero-card p {
    margin: 0;
}

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

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--text-primary);
}

.section-summary {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 460px;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.product-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.product-media {
    width: 100%;
    aspect-ratio: 5 / 6;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    display: block;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    transition: opacity 0.3s ease;
    opacity: 0.2;
}

@supports not (aspect-ratio: 1 / 1) {
    .product-media {
        aspect-ratio: auto;
        padding-top: 85%;
    }
}

.product-media.loaded {
    opacity: 1;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-type {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.product-body h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex: 1;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.product-meta span {
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.product-rating .stars {
    color: #d4a017;
    letter-spacing: 0.04em;
    line-height: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.75rem;
}

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

.buy-btn {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 0.35rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: none;
}

.buy-btn:hover {
    background-color: var(--accent-hover);
}

.pagination {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination .page-link,
.pagination .page-number {
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination .page-number.active,
.pagination .page-number:hover,
.pagination .page-link:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hamburger {
        display: none; /* Hide burger on desktop */
    }

    .mobile-menu {
        position: relative;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .mobile-menu a {
        font-size: 1rem;
    }

    .hero-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
