@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');
html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FAF6EF;
    /* Soft Elegant Cream */
    /* background-image: url('../../images/brand_pattern.png'); */
    background-size: 800px;
    background-repeat: repeat;
    background-attachment: fixed;
    color: #4B2E2A;
    /* Rich dark brown-burgundy */
    font-weight: 500;
    /* Medium body text */
    overflow-x: clip;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #5A0000;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    /* Extra bold for headings */
    line-height: 1.2;
}

.text-secondary {
    color: #6B4A45;
    /* Muted warm brown */
    font-weight: 700;
}

html.dark .text-secondary {
    color: #E9DFC9;
    /* Lighter beige for contrast */
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
    color: #F4EBDD;
}

html.dark body::before {
    background-color: rgba(26, 0, 0, 0.95);
    /* 5% visibility in Dark Mode */
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F4EBDD;
}

::-webkit-scrollbar-thumb {
    background: #7A0000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5A0000;
}


/* Dark mode scrollbar */

html.dark ::-webkit-scrollbar-track {
    background: #5A0000;
}

html.dark ::-webkit-scrollbar-thumb {
    background: #E9DFC9;
}

html.dark ::-webkit-scrollbar-thumb:hover {
    background: #F4EBDD;
}


/* Micro Animations */

.glass-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(244, 235, 221, 0.95);
    border-bottom: 2px solid #7A0000;
}

html.dark .glass-nav {
    background: rgba(90, 0, 0, 0.95);
    border-bottom: 2px solid #E9DFC9;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 30px -5px rgba(74, 13, 26, 0.3), 0 10px 10px -5px rgba(74, 13, 26, 0.1);
}


/* Menu nav to mirror front/menu.html */

.menu-nav {
    background: rgba(90, 0, 0, 0.95);
    border-bottom: 2px solid #7A0000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.menu-nav .nav-link {
    color: #F4EBDD;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.menu-nav .nav-link:hover {
    color: #E9DFC9;
}


/* Light mode fallback for menu-nav (when not dark) */

html:not(.dark) .menu-nav {
    background: rgba(250, 246, 239, 0.98);
    border-bottom: 1px solid rgba(90, 0, 0, 0.06);
}


/* Base Scroll Animations */

.fade-in-section {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Elegant Reveal Animations */

.reveal-from-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-from-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-from-right.is-visible,
.reveal-from-left.is-visible,
.reveal-from-bottom.is-visible,
.reveal-zoom.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}


/* Gradient text */

.text-gradient {
    background: linear-gradient(135deg, #7A0000 0%, #5A0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #E9DFC9 0%, #F4EBDD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-overlay {
    background: linear-gradient(0deg, rgba(90, 0, 0, 0.95) 0%, rgba(122, 0, 0, 0.6) 50%, rgba(90, 0, 0, 0.4) 100%);
}


/* Delicious Continuous Animations */

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-float-delay {
    animation: float-delay 7s ease-in-out infinite;
}

@keyframes float-fast {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(-1deg);
    }
}

.animate-float-fast {
    animation: float-fast 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 0, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(122, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 0, 0, 0);
    }
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin-slow {
    animation: spin-slow 20s linear infinite;
}


/* Image zoom effect inside cards */

.img-zoom-hover img {
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-zoom-hover:hover img {
    transform: scale(1.15) rotate(1deg);
}


/* ═══════════════════════════════════════════
   VINTAGE HERO SECTION
   ═══════════════════════════════════════════ */


/* Sepia-dark layered overlay */

.hero-vintage-overlay {
    background: linear-gradient(to top, rgba(90, 0, 0, 0.97) 0%, rgba(122, 0, 0, 0.75) 40%, rgba(90, 0, 0, 0.45) 100%), linear-gradient(to right, rgba(90, 0, 0, 0.65) 0%, transparent 60%), linear-gradient(to bottom, rgba(90, 0, 0, 0.50) 0%, transparent 30%);
    mix-blend-mode: multiply;
}


/* Film grain texture via SVG data URI */

.hero-grain {
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    pointer-events: none;
}


/* Vignette radial shadow */

.hero-vignette {
    background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(90, 0, 0, 0.85) 100%);
    pointer-events: none;
}


/* Ornamental corner L-brackets */

.vintage-corner {
    width: 38px;
    height: 38px;
    border-color: #E9DFC9;
    border-style: solid;
    border-width: 0;
    opacity: 0.4;
}

.vintage-corner-tr {
    border-top-width: 2px;
    border-right-width: 2px;
}

.vintage-corner-tl {
    border-top-width: 2px;
    border-left-width: 2px;
}

.vintage-corner-br {
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.vintage-corner-bl {
    border-bottom-width: 2px;
    border-left-width: 2px;
}


/* Thin burgundy divider line */

.vintage-divider-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #7A0000, transparent);
}


/* Diamond ornament */

.vintage-diamond {
    width: 7px;
    height: 7px;
    background: #7A0000;
    transform: rotate(45deg);
    flex-shrink: 0;
}


/* Full-width ornament rule */

.vintage-ornament-rule {
    height: 1px;
    background: linear-gradient(to right, rgba(122, 0, 0, 0.4), rgba(122, 0, 0, 0.13));
    flex: 1;
}


/* Badge / stamp area */

.vintage-stamp {
    border: 1px solid rgba(122, 0, 0, 0.2);
    padding: 8px 20px;
    background: rgba(90, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.04em;
}


/* Headline text shadow for depth */

.vintage-headline {
    text-shadow: 2px 3px 18px rgba(0, 0, 0, 0.9), 0 0 60px rgba(122, 0, 0, 0.15);
}

.vintage-title-line {
    letter-spacing: -0.01em;
}

.vintage-subtitle-line {
    text-shadow: 1px 2px 12px rgba(122, 0, 0, 0.4), 2px 3px 18px rgba(0, 0, 0, 0.9);
}


/* Subtext styling */

.vintage-subtext {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}


/* Primary CTA — burgundy with light text */

.vintage-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #7A0000 0%, #5A0000 100%);
    color: #F4EBDD;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border: 1px solid #7A0000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(122, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vintage-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5A0000 0%, #7A0000 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vintage-btn-primary:hover::before {
    opacity: 1;
}

.vintage-btn-primary:hover {
    box-shadow: 0 6px 30px rgba(122, 0, 0, 0.55);
    transform: translateY(-1px);
}

.vintage-btn-primary span,
.vintage-btn-primary svg {
    position: relative;
    z-index: 1;
}


/* Outline CTA — vintage border style */

.vintage-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 36px;
    background: transparent;
    color: #E9DFC9;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border: 1px solid rgba(233, 223, 201, 0.33);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.vintage-btn-outline:hover {
    border-color: #F4EBDD;
    color: #F4EBDD;
    background: rgba(244, 235, 221, 0.08);
}


/* Stats strip — antique paper/dark finish */

.vintage-stats-strip {
    background: rgba(90, 0, 0, 0.85);
    border-top: 1px solid rgba(122, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

.vintage-stats-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(122, 0, 0, 0.4), transparent);
}

.vintage-stat-num {
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 0 20px rgba(122, 0, 0, 0.5);
}


/* ═══════════════════════════════════════════
   MINIMAL LUXURY HERO
   ═══════════════════════════════════════════ */

.hero-minimal-bg {
    background: radial-gradient(circle at 50% 50%, #FDF9F8 0%, #F2E8E6 100%);
    background-color: #F2E8E6;
    position: relative;
    box-shadow: inset 0 0 150px rgba(122, 0, 0, 0.04), 0 40px 60px -20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(122, 0, 0, 0.08);
}


/* Pattern handled globally on body to avoid 'divided' look */

html.dark .hero-minimal-bg {
    background: radial-gradient(circle at 50% 50%, #4A0D1A 0%, #300000 100%);
    background-color: #300000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3), 0 30px 50px rgba(0, 0, 0, 0.5);
}

html.dark .hero-minimal-bg::before {
    opacity: 0.05;
}

.product-focal-shadow {
    filter: drop-shadow(0 30px 50px rgba(122, 0, 0, 0.25));
}

html.dark .product-focal-shadow {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}


/* ═══════════════════════════════════════════
   PREMIUM CATEGORY FILTER
   ═══════════════════════════════════════════ */

.category-filter-strip {
    padding: 16px 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.category-filter-strip>div {
    pointer-events: auto;
}

.filter-container {
    display: flex;
    width: max-content;
    margin: 0 auto;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(107, 74, 69, 0.15);
    border-radius: 100px;
    box-shadow: 0 12px 35px -5px rgba(90, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

html.dark .filter-container {
    background: rgba(26, 0, 0, 0.5);
    border-color: rgba(244, 235, 221, 0.1);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .filter-container {
        justify-content: flex-start;
        padding: 6px;
        width: auto;
        margin: 0;
    }
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.menu-filter-btn {
    white-space: nowrap;
    padding: 10px 26px;
    border-radius: 100px;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #6B4A45;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

html.dark .menu-filter-btn {
    color: #E9DFC9;
    background: transparent;
}

.menu-filter-btn:hover {
    color: #5A0000;
    background: rgba(107, 74, 69, 0.05);
}

html.dark .menu-filter-btn:hover {
    color: #F4EBDD;
    background: rgba(244, 235, 221, 0.08);
}

.menu-filter-btn.active {
    background: linear-gradient(135deg, #7A0000 0%, #5A0000 100%);
    color: #fff !important;
    box-shadow: 0 8px 20px -6px rgba(90, 0, 0, 0.5);
}

html.dark .menu-filter-btn.active {
    background: linear-gradient(135deg, #F4EBDD 0%, #E9DFC9 100%);
    color: #5A0000 !important;
    box-shadow: 0 8px 20px -6px rgba(244, 235, 221, 0.3);
}


/* ═══════════════════════════════════════════
   CART & MODAL STYLES
   ═══════════════════════════════════════════ */


/* Cart Drawer */

.cart-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: rgba(244, 235, 221, 0.98);
    backdrop-filter: blur(15px);
    z-index: 100;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

html.dark .cart-drawer {
    background: rgba(90, 0, 0, 0.98);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-drawer.open {
    left: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(90, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}


/* Floating Cart Button */

.floating-cart-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 80;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-btn:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #7A0000;
    color: #F4EBDD;
    font-size: 10px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #F4EBDD;
}


/* Modal Styles */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #F4EBDD;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(122, 0, 0, 0.25);
}

html.dark .modal-content {
    background: #5A0000;
}

.modal.show .modal-content {
    transform: scale(1);
}


/* Form Inputs */

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(122, 0, 0, 0.1);
    background: #F4EBDD;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

html.dark .form-input {
    background: #5A0000;
    border-color: rgba(233, 223, 201, 0.2);
    color: #F4EBDD;
}

.form-input:focus {
    border-color: #7A0000;
    box-shadow: 0 0 0 3px rgba(122, 0, 0, 0.1);
}


/* Quantity Controls */

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E9DFC9;
    color: #7A0000;
    transition: all 0.2s ease;
}

html.dark .qty-btn {
    background: #7A0000;
    color: #F4EBDD;
}

.qty-btn:hover {
    background: #7A0000;
    color: #F4EBDD;
}


/* Product Card Improvements */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    box-shadow: 0 10px 28px -10px rgba(90, 0, 0, 0.12);
}

.product-card .img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.product-card .add-to-cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(122, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-card:hover .add-to-cart-overlay {
    opacity: 1;
}


/* Keep visual parity with front: make delicious-card & product-card share radius */

.delicious-card,
.product-card {
    border-radius: 24px;
}


/* Global pattern handled via body for a continuous, non-divided look */

#hero,
section,
footer {
    background-image: none !important;
}


/* Do NOT apply pattern inside cards to keep them clean as requested */

.product-card,
.menu-card,
.cart-item,
.bg-white,
.bg-beige-50 {
    background-image: none !important;
}


/* ═══════════════════════════════════════════
   DELICIOUS MENU SHOWCASE
   ═══════════════════════════════════════════ */

.delicious-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px -10px rgba(90, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

html.dark .delicious-card {
    background: #2a0a0a;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.delicious-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(90, 0, 0, 0.25);
}

.delicious-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .delicious-img-wrapper {
        height: 320px;
    }
}

.delicious-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.delicious-card:hover .delicious-img-wrapper img {
    transform: scale(1.15);
}


/* Appetizing Glow Effect */

.delicious-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(90, 0, 0, 0.15) 100%);
    opacity: 0.6;
    transition: opacity 0.6s ease;
}

.delicious-card:hover .delicious-img-wrapper::after {
    opacity: 0.3;
}


/* Glassmorphism Info Overlay */

.delicious-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 768px) {
    .delicious-info {
        padding: 24px;
    }
}

html.dark .delicious-info {
    background: rgba(42, 10, 10, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.delicious-card:hover .delicious-info {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.85);
}

html.dark .delicious-card:hover .delicious-info {
    background: rgba(42, 10, 10, 0.85);
}

.delicious-category {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #5A0000;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .delicious-category {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 4px;
    }
}

html.dark .delicious-category {
    color: #E9DFC9;
}

.delicious-title {
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    color: #4B2E2A;
    margin-bottom: 4px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .delicious-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
}

html.dark .delicious-title {
    color: #F4EBDD;
}

.delicious-price {
    font-size: 14px;
    font-weight: 800;
    color: #5A0000;
}

@media (min-width: 768px) {
    .delicious-price {
        font-size: 18px;
    }
}

html.dark .delicious-price {
    color: #F4EBDD;
}

.delicious-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #5A0000;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(90, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.delicious-card:hover .delicious-badge {
    transform: scale(1);
}


/* Masterpiece Section Styling */

.masterpiece-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.masterpiece-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(90, 0, 0, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.delicious-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .delicious-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
}


/* Ribbon Label */

.ribbon {
    position: absolute;
    top: 20px;
    left: -35px;
    z-index: 20;
    background: #5A0000;
    color: white;
    padding: 8px 45px;
    transform: rotate(-45deg);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}
