/* 
 * Sitar Lebensmittel-Markt - True Glass Storytelling
 * Complete Layout Overhaul 2026
 */

*,
::before,
::after {
    box-sizing: border-box;
}

:root {
    /* Premium Organic Palette */
    --primary: #3A6B35;
    /* Lighter, fresher fern green */
    --accent: #E3B23C;
    /* Warm honey gold */

    /* Deep Atmospheric Backgrounds */
    --bg-dark: #0F120D;
    /* Dark moss-charcoal */

    /* Glass Tokens */
    --dark-glass: rgba(10, 15, 8, 0.75);
    --light-glass: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.12);

    /* Text */
    --text-main: #F4F4F4;
    /* Soft white */
    --text-muted: rgba(244, 244, 244, 0.7);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Outfit', sans-serif;

    /* High-Level Spacing System */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 2.5rem;
    /* 40px */
    --space-xl: clamp(3rem, 5vw, 5rem);
    /* Responsive Section Spacing */
    --card-padding: clamp(1rem, 2vw, 1.5rem);
}

/* === LIVING BACKGROUND === */
body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    /* Deep, natural mesh gradient (Moss, Earth, Night) */
    background:
        radial-gradient(at 0% 0%, hsla(110, 30%, 15%, 1) 0, transparent 60%),
        radial-gradient(at 90% 10%, hsla(35, 40%, 20%, 1) 0, transparent 50%),
        radial-gradient(at 80% 90%, hsla(110, 25%, 12%, 1) 0, transparent 60%),
        radial-gradient(at 10% 80%, hsla(200, 20%, 12%, 1) 0, transparent 50%);
    background-size: 200% 200%;
    animation: meshFlow 20s ease infinite;
}

@keyframes meshFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Texture Overlay for Grain */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* === STRUCTURE === */
.scrolling-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (max-width: 480px) {
    .scrolling-wrapper {
        padding: 0 1rem;
    }
}

/* === GLASS COMPONENTS === */
.glass-panel {
    background: var(--light-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-dock {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

/* Service Icon Styling */
.service-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1rem;
    /* Gold color filter for SVG icons - converts to #E3B23C */
    filter: brightness(0) saturate(100%) invert(72%) sepia(45%) saturate(520%) hue-rotate(6deg) brightness(95%) contrast(90%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(85%) sepia(50%) saturate(600%) hue-rotate(6deg) brightness(100%) contrast(95%);
}

/* === SECTION STYLING === */
.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    /* Fluid font size */
    line-height: 1.6;
}

.section-card {
    background: var(--light-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
}

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

/* === HERO: ASYMMETRICAL SPLIT === */
.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 90vh;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
}

.hero-content {
    position: relative;
}

.hero-visual {
    position: relative;
    height: clamp(400px, 70vh, 800px);
    /* Constrain heigth */
}

.hero-img-card {
    position: absolute;
    inset: 0;
    border-radius: 180px 180px 20px 20px;
    /* Window shape */
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-img-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-badge {
    position: absolute;
    bottom: 10%;
    left: -10%;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-badge i {
    font-size: 1.5rem !important;
    margin-bottom: 0.3rem !important;
}

.hero-badge div div {
    font-size: 0.65rem !important;
    letter-spacing: 1px !important;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Typography Overrides */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    /* Fluid Hero Title */
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    /* Fluid Section Title */
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
        text-align: center;
    }

    .stat-item strong {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .stat-item span {
        font-size: 0.55rem;
        display: block;
        line-height: 1.2;
    }
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-mono);
    color: var(--accent);
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === MASONRY PRODUCTS === */
.product-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
    padding: 2rem 0;
}

@media (max-width: 1024px) {
    .product-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .product-card.tall {
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .product-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
        /* Taller for better aspect ratio */
        gap: 0.75rem;
        /* Increased breathing room */
    }

    .product-info-hover {
        padding: 0.6rem;
        /* Very compact padding */
        justify-content: center;
    }

    .product-info-hover h3 {
        font-size: 0.9rem;
        /* Smaller title */
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }

    .product-info-hover p {
        font-size: 0.68rem;
        /* Smaller description */
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* Safety limit */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.product-card.tall {
    grid-row: span 2;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info-hover {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    /* Solid dark overlay for better readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.product-card:hover .product-info-hover {
    opacity: 1;
    transform: translateY(0);
}

.product-info-hover h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.product-info-hover p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
}

/* === NAVIGATION === */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2.5rem;
    display: flex;
    gap: 2rem;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s;
    white-space: nowrap;
}

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

.nav-link.active {
    opacity: 1;
    border-bottom: 2px solid var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 12rem;
    }

    .hero-visual {
        height: 50vh;
        order: -1;
    }

    h1 {
        font-size: 3.5rem;
    }

    .stats-row {
        justify-content: center;
    }

    p {
        margin: 0 auto;
    }

    .hero-badge {
        width: 80px;
        height: 80px;
        padding: 1rem;
        left: auto;
        right: 5%;
        bottom: 5%;
    }

    .hero-badge i {
        font-size: 1rem !important;
    }

    .hero-badge div div {
        font-size: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-split {
        padding-top: 8rem;
        gap: 2rem;
    }

    h1 {
        /* font-size handled by clamp */
        margin-bottom: var(--space-sm);
    }

    .hero-visual {
        height: 40vh;
    }

    .hero-badge {
        width: 70px;
        height: 70px;
        padding: 0.8rem;
        right: 0;
        bottom: 0;
    }
}

/* === BAKAL DYNAMIC INTEGRATION === */
/* Styled for Glassmorphism Context */

/* Tab Buttons (Generated by JS) */
.bakal-tab {
    background: var(--light-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.8rem 1rem;
    /* More tappable area */
    border-radius: 8px;
    /* Softer */
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    /* Readable */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    min-height: 48px;
    /* Accessibility standard */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bakal-tab:hover {
    background: var(--border-glass);
    color: #fff;
    transform: translateY(-2px);
}

.bakal-tab.active {
    background: var(--accent);
    color: #0f120d;
    /* Dark text on gold */
    border-color: var(--accent);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(227, 178, 60, 0.4);
}

/* Product Cards (Generated by JS) */
.bakal-products-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
    padding: 1rem 0;
}

@media (max-width: 1200px) {
    .bakal-products-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .bakal-products-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
}

@media (max-width: 600px) {
    .bakal-products-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns for better readability */
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .bakal-product-card {
        border-radius: 12px;
        min-height: auto;
        max-width: none;
    }

    .bakal-product-image {
        padding: 0.75rem 0.75rem 0;
    }

    .bakal-product-card img {
        height: 120px;
        padding: 0.75rem;
    }

    .bakal-product-info {
        padding: 0.75rem;
    }

    .bakal-product-name {
        font-size: 0.8rem !important;
        /* Readable size */
        margin-bottom: 0.4rem !important;
        min-height: 2.8em !important;
    }

    .bakal-product-cta {
        font-size: 0.75rem !important;
        /* Readable size */
        padding: 0.4rem 0.5rem;
        background: rgba(227, 178, 60, 0.1);
        /* Subtle tap target background */
        border-radius: 4px;
        width: 100%;
        justify-content: center;
    }
}

.bakal-product-card {
    background: var(--light-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    max-width: 280px;
    margin: 0 auto;
}

.bakal-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Bakal Product Image Container */
.bakal-product-image {
    padding: 1.5rem 1.5rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bakal-product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bakal Product Info */
/* Bakal Product Info */
.bakal-product-info {
    padding: var(--card-padding);
    /* Improved responsive padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Bakal Product Title */
.bakal-product-card h3,
.bakal-product-card .product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bakal Product Price */
.bakal-product-card .product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

/* === RECIPE SECTION MODERNIZED === */
#recipes {
    background: #0a0c0f;
    padding: 6rem 1rem;
    position: relative;
    z-index: 2;
}

/* Modern Filter Bar */
.recipe-filters-container {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    background: #15181d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

#recipe-search {
    width: 100%;
    background: #0a0c0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

#recipe-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 178, 60, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(227, 178, 60, 0.3);
}

/* Modern Recipe Grid - Premium Glass Style */
/* === SILENT LUXURY RECIPE SECTION === */
#recipes {
    background: #0f120d;
    /* Deep rich black */
    padding: 6rem 1rem;
    position: relative;
    z-index: 2;
}

/* 1. Filter Container - Minimal & Floating */
.recipe-filters-container {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    /* Full pill shape */
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.search-wrapper {
    flex-grow: 1;
    position: relative;
    min-width: 250px;
}

#recipe-search {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    font-family: var(--font-sans);
}

#recipe-search:focus {
    outline: none;
}

#recipe-search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.filter-btn:hover {
    color: #fff;
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-color: rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
}

/* 2. The Grid - Wide & Airy */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 3. The Card - Glassmorphism Style (matching .glass-panel) */
.recipe-card {
    background: var(--light-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.4), 0 0 20px rgba(227, 178, 60, 0.1);
    border-color: rgba(227, 178, 60, 0.3);
}

/* Image - The Hero */
.recipe-image {
    width: 100%;
    height: 300px;
    /* Taller, more cinematic */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    background: #1a1a1a;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Badges - Floating Pills (FIXED) */
.recipe-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: row;
    /* Horizontal */
    gap: 8px;
    z-index: 10;
    pointer-events: none;
    flex-wrap: wrap;
    align-items: flex-start;
    /* Ensure no stretching */
}

.badge {
    height: 24px;
    width: auto !important;
    /* Force auto width */
    max-width: fit-content !important;
    /* Fixed height prevents stretching */
    display: inline-flex;
    /* Changed from flex to inline-flex */
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex: 0 0 auto;
    /* Prevent growing */
    white-space: nowrap;
    line-height: normal;
    /* Reset line-height */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.badge-primary {
    color: var(--primary);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(0, 0, 0, 0.85);
    /* Keep dark for legibility */
}

/* Typography - Clean & Editorial */
.recipe-content {
    padding: 0 0.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recipe-meta i {
    color: var(--primary);
    margin-right: 6px;
}

.recipe-title {
    font-family: 'Playfair Display', serif;
    /* Editorial Font */
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 400;
    /* Lighter weight for elegance */
    transition: color 0.3s;
}

.recipe-card:hover .recipe-title {
    color: var(--primary);
}

.recipe-desc {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button - Minimal Link */
.recipe-footer {
    margin-top: auto;
    padding: 0;
    border: none;
}

.btn-recipe {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 0;
    font-family: var(--font-sans);
    /* Use sans-serif for UI elements */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
    box-shadow: none;
    width: auto;
    justify-content: flex-start;
}

.btn-recipe::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.btn-recipe:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
    transform: none;
    gap: 15px;
}

.btn-recipe:hover::after {
    width: 60px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .recipe-filters-container {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.5rem;
        gap: 1.5rem;
        background: rgba(20, 20, 20, 0.8);
    }

    .search-wrapper {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
    }

    .filter-pills {
        justify-content: center;
    }

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

    .recipe-image {
        height: 250px;
    }
}

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

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

.search-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .recipe-filters-container {
        padding: 1rem;
        margin: 0 1rem 3rem 1rem;
    }

    .filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .recipe-title {
        font-size: 1.25rem;
    }
}

.bakal-product-info {
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bakal-product-name {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    font-weight: 500;
}

.bakal-product-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

.bakal-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.bakal-product-cta:hover {
    gap: 0.5rem;
    color: #fff;
}

/* Load More Button */
.bakal-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.bakal-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: #0f120d;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 178, 60, 0.4);
}

.bakal-load-more-btn:hover {
    background: #f0c04a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(227, 178, 60, 0.5);
}

.bakal-load-more-btn:active {
    transform: translateY(-1px);
}

.bakal-load-more-count {
    font-weight: 400;
    opacity: 0.8;
    font-size: 0.8rem;
}

.bakal-load-more-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.bakal-load-more-btn:hover i {
    transform: translateY(3px);
}

@media (max-width: 600px) {
    .bakal-load-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .bakal-load-more-count {
        font-size: 0.65rem;
    }
}

/* Pagination Buttons */
.bakal-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-glass);
    border: 1px solid var(--border-glass);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.bakal-page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.bakal-page-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: bold;
}

/* === OFFERS (ANGEBOTE) SECTION === */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.offer-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.offer-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.offer-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.41;
    /* DIN A format approx */
    object-fit: cover;
    /* Changed from contain to cover for cleaner look */
    background: #fff;
    display: block;
}

.offer-title {
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    background: var(--dark-glass);
}

.offers-empty {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem !important;
}

.offers-empty h3 {
    font-size: 1.1rem;
}

.offers-empty p {
    font-size: 0.85rem;
}

/* Lightbox */
.offer-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.offer-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.offer-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.offer-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.offer-lightbox-close:hover {
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .offer-card img {
        height: 150px;
    }
}

/* === MEAT CARDS === */
.meat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.meat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: auto;
    aspect-ratio: 3/4;
    /* Modern standard */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.meat-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.meat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.meat-card:hover .meat-card-image img {
    transform: scale(1.1);
}

.halal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent) !important;
    color: #000;
    z-index: 2;
}

.halal-badge i {
    font-size: 0.8rem;
}

.meat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    text-align: center;
    z-index: 1;
}

.meat-card-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.meat-card-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

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

@media (max-width: 600px) {
    .meat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .meat-card {
        /* aspect-ratio handles height */
    }

    .meat-card-content {
        padding: 1rem;
    }

    .meat-card-content h3 {
        font-size: 1rem;
    }

    .meat-card-content p {
        font-size: 0.7rem;
    }
}

/* === JOURNEY SECTION === */
.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.watermark-heading {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem 0;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;

    /* Subtle Engraved Effect */
    color: rgba(0, 0, 0, 0.15);
    text-shadow:
        0.5px 1px 1px rgba(255, 255, 255, 0.1),
        -0.5px -0.5px 1px rgba(0, 0, 0, 0.3);
    mix-blend-mode: overlay;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
    .journey-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .journey-grid img {
        width: 180px !important;
    }

    /* Watermark Heading Restyle */
    .watermark-heading {
        font-size: 15vw !important;
        /* Viewport based, prevents overflow */
        opacity: 0.2;
        margin-bottom: -1rem;
    }

    #journey h2:not(.watermark-heading) {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }

    #journey p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 600px) {
    #journey {
        padding: 2rem 0 !important;
    }

    .journey-grid {
        gap: 1rem !important;
    }

    #journey .glass-panel {
        padding: 1rem !important;
    }

    #journey .glass-panel img {
        width: 140px !important;
    }

    #journey h2:not(.watermark-heading) {
        font-size: 1rem !important;
    }

    #journey .watermark-heading {
        font-size: 2.5rem !important;
    }

    #journey h3 {
        font-size: 1rem !important;
    }

    #journey p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 1.5rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 0.9rem;
    }

    .service-card p {
        font-size: 0.75rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }
}

/* === BAKAL TABS RESPONSIVE === */
@media (max-width: 1024px) {

    .bakal-tabs-main,
    .bakal-tabs-sub {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .bakal-tabs-main,
    .bakal-tabs-sub {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.25rem !important;
    }

    .bakal-tab {
        padding: 0.35rem 0.4rem;
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {

    .bakal-tabs-main,
    .bakal-tabs-sub {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bakal-tab {
        padding: 0.3rem 0.35rem;
        font-size: 0.5rem;
        letter-spacing: 0;
    }

    .bakal-products-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem;
    }
}

/* === FOOTER RESPONSIVE === */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-grid address,
.footer-grid ul {
    font-size: 0.85rem;
}

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

    .footer-grid h3 {
        font-size: 1rem;
    }

    .footer-grid address,
    .footer-grid ul {
        font-size: 0.8rem;
        line-height: 1.8;
    }

    #contact-form>div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* === JOBS SECTION RESPONSIVE === */
@media (max-width: 900px) {
    #jobs .glass-panel {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem !important;
        padding: 2rem !important;
    }

    #jobs .glass-panel>div:first-child>div {
        justify-content: center;
    }

    #jobs h2 {
        font-size: 1.3rem;
    }

    #jobs p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    #jobs .glass-panel {
        padding: 1.5rem !important;
    }

    #jobs h2 {
        font-size: 1.1rem;
    }

    #jobs p {
        font-size: 0.75rem;
    }

    #jobs .glass-dock {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* === NAVIGATION RESPONSIVE === */
@media (max-width: 768px) {
    .floating-nav {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.65rem;
    }
}

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

    .nav-link {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }

    /* Scrollable Nav for Mobile */
    .floating-nav {
        width: 90%;
        max-width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Hide Scrollbar */
        scrollbar-width: none;
        /* Firefox */
    }

    .floating-nav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }
}

/* === CONTACT FORM RESPONSIVE === */
@media (max-width: 768px) {
    #contact-form .glass-panel {
        padding: 1.5rem !important;
    }

    #contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    #contact-form button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 18, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    padding: 1.5rem 2rem;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

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

.cookie-text h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #0f120d;
}

.cookie-btn-accept:hover {
    background: #f0c04a;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text h4 {
        font-size: 0.9rem;
    }

    .cookie-text p {
        font-size: 0.75rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
}

/* === RECIPE PAGE STYLES === */
.recipe-hero {
    min-height: 30vh;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.recipe-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.recipe-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* === RECIPE CONTROLS === */
.recipe-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    /* Ensure it doesn't collapse */
}

.recipe-search {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* Slightly wider */
}

/* Specific selector to override default styles */
.recipe-controls .recipe-search input {
    width: 100%;
    background: #2a2a2a;
    /* Fallback */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1rem 1rem 3.5rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: none;
    -webkit-appearance: none;
    /* Remove Safari/Chrome default styles */
}

.recipe-controls .recipe-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(227, 178, 60, 0.25);
    outline: none;
}

.recipe-controls .recipe-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.recipe-search i {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    /* Make icon accent color */
    font-size: 1.2rem;
    pointer-events: none;
}

.recipe-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

/* E-Commerce Style Filter Pills for Recipe Page */
.recipe-filter-bar .bakal-tab {
    width: auto;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: auto;
}

.recipe-filter-bar .bakal-tab.active {
    background: var(--accent);
    color: #0f120d;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(227, 178, 60, 0.3);
}

/* === RECIPE MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Recipe Modal - Glassmorphism Design */
.recipe-modal {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 80px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .recipe-modal {
    transform: translateY(0);
}

/* ===== INGREDIENTS HOVER PREVIEW ===== */
.recipe-ingredients-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border-glass);
    padding: 1.2rem 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    max-height: 60%;
    overflow-y: auto;
}

.recipe-card:hover .recipe-ingredients-preview {
    transform: translateY(0);
    opacity: 1;
}

.recipe-ingredients-preview h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipe-ingredients-preview h4 i {
    font-size: 0.9rem;
}

.recipe-ingredients-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}

.recipe-ingredients-preview li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.3rem 0;
}

.recipe-ingredients-preview li i {
    color: var(--accent);
    font-size: 0.65rem;
}

.recipe-ingredients-preview li.more-items {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    grid-column: 1 / -1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--accent);
    color: #000;
}

.modal-image {
    height: 100%;
    min-height: 300px;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

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

.modal-body {
    flex-grow: 1;
}

.modal-section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.modal-ingredients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.ingredient-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-main);
    background: var(--light-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    background: rgba(58, 107, 53, 0.15);
    border-color: var(--primary);
    transform: translateX(4px);
}

.ingredient-item i {
    color: var(--accent);
    font-size: 0.6rem;
}

/* Modal CTA Button - Liquid Glass */
.modal-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: auto;
    background: var(--light-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.modal-cta-btn:hover {
    background: rgba(58, 107, 53, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.modal-cta-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.modal-cta-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .recipe-modal {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .modal-image {
        height: 250px;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.6rem;
    }
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    min-height: 400px;
}

.recipe-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.recipe-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.recipe-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recipe-card:hover .recipe-image-wrapper img {
    transform: scale(1.1);
}

.recipe-badges {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.recipe-badge {
    background: var(--accent);
    color: #0f120d;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.recipe-badge.veggie {
    background: #4ade80;
}

.recipe-badge.vegan {
    background: #22c55e;
}

.recipe-badge.gluten-free {
    background: #facc15;
}

.recipe-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    color: #fff;
    line-height: 1.3;
}

.recipe-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.recipe-meta i {
    color: var(--accent);
    margin-right: 6px;
}

.recipe-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-ingredients h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.ingredient-tag {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.recipe-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.8rem 1.5rem;
    background: var(--light-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    gap: 8px;
}

.recipe-link::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.recipe-link:hover {
    background: rgba(227, 178, 60, 0.15);
    border-color: rgba(227, 178, 60, 0.4);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.recipe-link:hover::after {
    transform: translateX(4px);
}

/* Recipe Page Media Queries - Responsive Grid */
@media (max-width: 1400px) {
    .recipe-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

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

    .recipe-title {
        font-size: 1.2rem;
    }

    .recipe-meta {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .recipe-hero h1 {
        font-size: 2.5rem;
    }

    .recipe-title {
        font-size: 1rem;
    }

    .recipe-meta {
        display: none;
    }

    .recipe-desc {
        display: none;
    }
}

@media (max-width: 600px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        padding: 1rem 0.5rem;
    }

    .recipe-hero {
        padding-top: 5rem;
    }

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

    .recipe-title {
        font-size: 0.8rem;
    }
}

/* FORCED OVERRIDES FOR BADGES AND PRODUCT CARDS */
.recipe-badges {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    height: auto !important;
    min-height: 0 !important;
}

.badge {
    height: 24px !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-bottom: 5px !important;
}

/* ========================================
   MOBILE OPTIMIZATIONS FOR RECIPE PAGES
   ======================================== */

@media (max-width: 768px) {

    /* Recipe Hero */
    .recipe-hero {
        padding: 4rem 1.5rem 2rem !important;
        min-height: auto;
    }

    .recipe-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .recipe-hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    /* Recipe Controls / Filter Section */
    .recipe-controls {
        padding: 1.5rem 1rem !important;
        margin: 0 1rem 2rem !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .recipe-search {
        margin-bottom: 1rem;
        width: 100% !important;
    }

    .recipe-search input {
        font-size: 0.85rem;
        padding: 0.7rem 1rem 0.7rem 2.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .recipe-search i {
        left: 0.8rem !important;
        font-size: 0.9rem;
    }

    /* Filter Pills - Mobile */
    .recipe-filter-bar {
        gap: 0.4rem !important;
    }

    .recipe-filter-bar .bakal-tab {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.6rem !important;
        border-radius: 16px !important;
    }

    /* Recipe Grid - 3 Columns on Mobile */
    .recipes-grid,
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0 0.5rem !important;
    }

    /* Recipe Cards - Compact for 3-column */
    .recipe-card {
        border-radius: 12px !important;
    }

    .recipe-image-wrapper {
        height: 100px !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .recipe-content {
        padding: 0.5rem !important;
    }

    .recipe-title {
        font-size: 0.7rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.2 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .recipe-meta {
        display: none !important;
    }

    .recipe-desc {
        display: none !important;
    }

    .recipe-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.55rem !important;
        border-radius: 8px !important;
    }

    .recipe-link::after {
        font-size: 0.7rem !important;
    }

    /* Hide ingredients preview on small cards */
    .recipe-ingredients-preview {
        display: none !important;
    }

    /* Badges smaller */
    .recipe-badges {
        top: 5px !important;
        right: 5px !important;
    }

    .recipe-badge,
    .badge {
        font-size: 0.5rem !important;
        padding: 2px 6px !important;
        height: 16px !important;
    }

    /* Modal */
    .recipe-modal {
        grid-template-columns: 1fr !important;
        max-height: 90vh !important;
        margin: 1rem !important;
        border-radius: 16px !important;
    }

    .modal-image {
        height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .modal-content {
        padding: 1.5rem !important;
    }

    .modal-title {
        font-size: 1.5rem !important;
    }

    .modal-meta {
        font-size: 0.8rem !important;
    }

    .modal-ingredients {
        grid-template-columns: 1fr !important;
    }

    .ingredient-item {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .modal-cta-btn {
        padding: 0.8rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    .recipe-hero h1 {
        font-size: 1.8rem !important;
    }

    .recipe-controls {
        padding: 1rem !important;
        margin: 0 0.5rem 1.5rem !important;
    }

    .recipes-grid,
    .recipe-grid {
        padding: 0 0.5rem !important;
        gap: 1rem !important;
    }

    .recipe-card {
        border-radius: 12px !important;
    }

    .recipe-image-wrapper {
        height: 180px !important;
    }

    .recipe-content {
        padding: 0.8rem !important;
    }

    .recipe-title {
        font-size: 1.1rem !important;
    }

    .recipe-filter-bar .bakal-tab {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.65rem !important;
    }
}

/* =====================================================
   NEW CLEAN RECIPE CARDS - No Overlay
   ===================================================== */
.recipe-card-clean {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.recipe-card-clean:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.recipe-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

/* Fallback background when image is placeholder - REMOVED per user request */
/* .recipe-card-image:has(.placeholder-img) { background: #ffffff; } */

.recipe-card-image img.placeholder-img {
    object-fit: contain;
    width: 50% !important;
    height: 50% !important;
    margin: 25%;
    filter: grayscale(100%);
    opacity: 0.2;
}

.recipe-card-clean:hover .recipe-card-image img:not(.placeholder-img) {
    transform: scale(1.08);
}

.recipe-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recipe-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recipe-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}

.recipe-card-meta i {
    color: var(--accent);
    margin-right: 4px;
}

/* =====================================================
   QUICK INFO POPUP - Bottom Sheet on Mobile
   ===================================================== */
.recipe-quick-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.recipe-quick-popup.active {
    opacity: 1;
    visibility: visible;
}

.quick-popup-sheet {
    background: linear-gradient(145deg, rgba(30, 35, 45, 0.98), rgba(20, 25, 35, 0.98));
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.recipe-quick-popup.active .quick-popup-sheet {
    transform: translateY(0);
}

.quick-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quick-popup-close:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.quick-popup-header {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-popup-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.quick-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-popup-image img.placeholder-img {
    object-fit: contain;
    padding: 20%;
    filter: grayscale(100%);
    opacity: 0.3;
}

.quick-popup-info {
    flex: 1;
    min-width: 0;
}

.quick-popup-info h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.quick-popup-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quick-popup-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.quick-popup-summary {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.quick-popup-ingredients {
    padding: 0 1.5rem 1rem;
}

.quick-popup-ingredients h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-popup-ingredients ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.quick-popup-ingredients li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-popup-ingredients li img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.quick-popup-ingredients li.more {
    color: var(--accent);
    font-style: italic;
    background: transparent;
}

.quick-popup-cta {
    display: block;
    margin: 1rem 1.5rem 1.5rem;
    padding: 1rem;
    background: var(--accent);
    color: var(--bg-dark);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
}

.quick-popup-cta:hover {
    background: #f5c44a;
    transform: translateY(-2px);
}

.quick-popup-cta i {
    margin-left: 8px;
}

/* Mobile Bottom Sheet */
@media (max-width: 640px) {
    .recipe-quick-popup {
        padding: 0;
        align-items: flex-end;
    }

    .quick-popup-sheet {
        border-radius: 24px 24px 0 0;
        max-height: 90vh;
        transform: translateY(100%);
    }

    .recipe-quick-popup.active .quick-popup-sheet {
        transform: translateY(0);
    }

    .quick-popup-header {
        padding: 1.25rem;
    }

    .quick-popup-image {
        width: 80px;
        height: 80px;
    }

    .quick-popup-info h2 {
        font-size: 1.2rem;
    }

    .quick-popup-ingredients ul {
        grid-template-columns: 1fr;
    }
}

/* Responsive Recipe Grid - Auto-fit Cards */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem 0;
}

@media (min-width: 1200px) {
    .recipe-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 900px) {
    .recipe-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 899px) and (min-width: 640px) {
    .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 639px) {
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem 0;
    }

    .recipe-card-body {
        padding: 0.75rem;
    }

    .recipe-card-title {
        font-size: 0.9rem;
    }

    .recipe-card-meta {
        font-size: 0.7rem;
        gap: 0.5rem;
    }

    .recipe-card-category {
        font-size: 0.55rem;
        padding: 3px 8px;
    }
}

/* =====================================================
   FULL DETAILS POPUP STYLES
   ===================================================== */
.quick-popup-sheet.full-details {
    max-width: 900px;
    /* Wider for full details */
}

.quick-popup-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    padding: 0 1.5rem 2rem;
}

.quick-popup-instructions {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.quick-popup-instructions h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instructions-content ol {
    padding-left: 1.2rem;
    margin: 0;
}

.instructions-content li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Bakal Promo Link */
.bakal-promo {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(227, 178, 60, 0.1), rgba(227, 178, 60, 0.05));
    border: 1px solid rgba(227, 178, 60, 0.2);
    border-radius: 12px;
    text-align: center;
}

.bakal-promo p {
    font-size: 0.8rem;
    color: var(--accent);
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.bakal-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    transition: transform 0.2s;
}

.bakal-link:hover {
    transform: scale(1.05);
}

/* Ingredients with Images in Popup */
.quick-popup-ingredients li.has-image {
    padding: 0.4rem;
    align-items: center;
}

.quick-popup-ingredients li img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}

.quick-popup-ingredients li .ing-name {
    flex: 1;
}

/* Responsive Popup Grid */
@media (max-width: 768px) {
    .quick-popup-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-popup-sheet.full-details {
        max-width: 100%;
    }
}

/* ============================================
   SKELETON LOADING SCREENS - Modern Design
   ============================================ */

/* Base Skeleton Element */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Shapes */
.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-text.title {
    height: 1.5rem;
    width: 70%;
}

.skeleton-text.subtitle {
    height: 1rem;
    width: 50%;
}

.skeleton-text.line {
    height: 0.875rem;
    width: 100%;
}

.skeleton-text.line-short {
    height: 0.875rem;
    width: 80%;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 8px;
}

/* Recipe Card Skeleton */
.skeleton-recipe-card {
    background: var(--light-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    min-height: 400px;
}

.skeleton-recipe-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-recipe-content {
    padding: 1.5rem;
}

.skeleton-recipe-badge {
    width: 80px;
    height: 24px;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.skeleton-recipe-title {
    height: 1.5rem;
    width: 85%;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.skeleton-recipe-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.skeleton-recipe-meta-item {
    height: 1rem;
    width: 60px;
    border-radius: 4px;
}

/* Offer Card Skeleton */
.skeleton-offer-card {
    background: var(--light-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
}

.skeleton-offer-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-offer-content {
    padding: 1.25rem;
}

.skeleton-offer-title {
    height: 1.25rem;
    width: 70%;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.skeleton-offer-date {
    height: 0.875rem;
    width: 50%;
    border-radius: 4px;
}

/* Grid Layouts for Skeletons */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .skeleton-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Loading Container */
.loading-container {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fade-in animation when content loads */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.content-loaded {
    animation: fadeIn 0.4s ease-out;
}

/* Skeleton Pulse (Alternative to Shimmer) */
.skeleton-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON - Modern Design
   ============================================ */

#scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4a025 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(227, 178, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F120D;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(227, 178, 60, 0.6);
}

#scrollToTop:active {
    transform: translateY(-2px) scale(0.98);
}

#scrollToTop i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

#scrollToTop:hover i {
    transform: translateY(-2px);
}

/* Progress Ring (Optional Enhancement) */
#scrollToTop::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#scrollToTop.show::before {
    opacity: 0.3;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #scrollToTop {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
    }

    #scrollToTop i {
        font-size: 1.1rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus State for Accessibility */
#scrollToTop:focus {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

#scrollToTop:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   MOBILE NAVIGATION - Hamburger Menu
   Modern & Accessible Design
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation - Transform to X */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Show hamburger button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Show overlay when active */
    .mobile-menu-overlay {
        display: block;
    }

    /* Transform nav menu to mobile drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--dark-glass);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem 0;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    }

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

    /* Mobile nav links */
    .nav-menu .nav-link {
        width: 100%;
        padding: 1.25rem 2rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(227, 178, 60, 0.1);
        border-left: 4px solid var(--accent);
        padding-left: calc(2rem - 4px);
    }

    /* Adjust main nav positioning */
    .floating-nav {
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
        width: calc(100% - 2rem);
        left: 1rem;
        transform: none;
        top: 1rem;
    }

    /* Add logo/brand space on mobile */
    .floating-nav::before {
        content: 'Sitar Markt';
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--accent);
        font-family: var(--font-serif);
        flex-shrink: 0;
    }
}

/* Tablet Adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

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

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Animation delays for menu items (stagger effect) */
@media (max-width: 768px) {
    .nav-menu.active .nav-link {
        animation: slideInRight 0.3s ease forwards;
        opacity: 0;
    }

    .nav-menu.active .nav-link:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-menu.active .nav-link:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-menu.active .nav-link:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-menu.active .nav-link:nth-child(6) {
        animation-delay: 0.3s;
    }

    .nav-menu.active .nav-link:nth-child(7) {
        animation-delay: 0.35s;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* ============================================
   EMPTY STATES - Modern Design
   ============================================ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.6;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.empty-state-message {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.empty-state-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, #d4a025 100%);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 178, 60, 0.3);
}

.empty-state-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 178, 60, 0.4);
}

.empty-state-action i {
    font-size: 1.1rem;
}

/* Specific Empty States */
.empty-state-recipes {
    background: var(--light-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    margin: 2rem 0;
}

.empty-state-search {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
}

.empty-state-offers {
    background: var(--light-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    margin: 2rem 0;
}

/* Illustration Container (optional) */
.empty-state-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    opacity: 0.7;
}

.empty-state-illustration svg,
.empty-state-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .empty-state {
        padding: 3rem 1.5rem;
        min-height: 300px;
    }

    .empty-state-icon {
        font-size: 3rem;
    }

    .empty-state-title {
        font-size: 1.25rem;
    }

    .empty-state-message {
        font-size: 0.95rem;
    }

    .empty-state-illustration {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   INLINE MESSAGES - Toast Replacement
   GitHub-Recommended Accessible Approach
   ============================================ */

/* Message Container */
.inline-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid;
    animation: slideInDown 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Message Icon */
.inline-message-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

/* Message Content */
.inline-message-content {
    flex: 1;
}

.inline-message-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.inline-message-text {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Close Button */
.inline-message-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    font-size: 1.25rem;
    color: inherit;
}

.inline-message-close:hover {
    opacity: 1;
}

.inline-message-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Message Types */
.inline-message-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
    color: #10b981;
}

.inline-message-success .inline-message-content {
    color: var(--text-main);
}

.inline-message-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: #ef4444;
}

.inline-message-error .inline-message-content {
    color: var(--text-main);
}

.inline-message-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
    color: #f59e0b;
}

.inline-message-warning .inline-message-content {
    color: var(--text-main);
}

.inline-message-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
    color: #3b82f6;
}

.inline-message-info .inline-message-content {
    color: var(--text-main);
}

/* Persistent Banner (for critical messages) */
.persistent-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.4s ease-out;
}

.persistent-banner-success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.persistent-banner-error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.persistent-banner-warning {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.persistent-banner-info {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.persistent-banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.persistent-banner-icon {
    font-size: 1.5rem;
}

.persistent-banner-text {
    font-weight: 500;
}

.persistent-banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.persistent-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Message Container (for stacking multiple messages) */
.message-container {
    position: fixed;
    top: 80px;
    right: 2rem;
    max-width: 400px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-container .inline-message {
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .message-container {
        left: 1rem;
        right: 1rem;
        top: 70px;
        max-width: none;
    }

    .inline-message {
        padding: 0.875rem 1rem;
    }

    .persistent-banner {
        padding: 0.875rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .persistent-banner-content {
        width: 100%;
    }

    .persistent-banner-close {
        width: 100%;
    }
}

/* Auto-dismiss animation */
.inline-message.dismissing {
    animation: slideOutUp 0.3s ease-out forwards;
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ARIA Live Region (screen reader only) */
.sr-live-region {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === INSTAGRAM FEED SECTION === */
.instagram-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.instagram-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.instagram-header p {
    color: var(--text-muted);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.insta-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.insta-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.insta-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-stats {
    color: #fff;
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.insta-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insta-icon-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.insta-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.insta-card:hover .insta-overlay {
    opacity: 1;
}

.insta-card:hover img {
    transform: scale(1.1);
}

.insta-fallback-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--light-glass);
    border-radius: 20px;
}

@media (max-width: 900px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-header h2 {
        font-size: 1.8rem;
    }

    .instagram-grid {
        gap: 0.8rem;
    }

    .insta-stats {
        font-size: 0.9rem;
        gap: 1rem;
    }
}