    @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:wdth,wght@87.5,600&display=swap');

    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        font-family: "Roboto Condensed";
    }

    :root {
        /* Light theme (default) */
        --lead: #212121;
        --gold-finger: #F2BD12;
        --eye-ball: #FFFDF7;
        --hint-yellow: #FCF1CC;
        --pure-while: #FFF;
        --text-primary: #212121;
        --text-secondary: #666666;
        --bg-primary: #FFFDF7;
        --bg-secondary: #FFF;
        --bg-accent: #FCF1CC;
        --border-color: #E0E0E0;
        --shadow: rgba(0, 0, 0, 0.1);
        --shadow-strong: rgba(0, 0, 0, 0.2);
        --navbar-bg: transparent;
        --logo-color: #111;
        --gold-hover: #e67e22;
        --success: #27ae60;
        --error: #e74c3c;
        --yellow-glow: #f9d423;
        --light-yellow-glow: #ffe259;
        --red-touch: #ff4e50;
        --orange-touch: #ffa751;
        --gold-glow: #f39c12;
        --white: #ffffff;

    }

    [data-theme="dark"] {
        /* Dark theme */
        --lead: #E0E0E0;
        --gold-finger: #F2BD12;
        --eye-ball: #1A1A1A;
        --hint-yellow: #2D2D2D;
        --pure-while: #2D2D2D;
        --text-primary: #E0E0E0;
        --text-secondary: #B0B0B0;
        --bg-primary: #1A1A1A;
        --bg-secondary: #2D2D2D;
        --bg-accent: #2D2D2D;
        --border-color: #404040;
        --shadow: rgba(0, 0, 0, 0.3);
        --shadow-strong: rgba(0, 0, 0, 0.5);
        --navbar-bg: transparent;
        --logo-color: #fff;
        --text-black:#2a2a2a;
    }

    /* Dark theme specific improvements */
    [data-theme="dark"] .order-card {
        border-color: var(--hint-yellow);
    }

    [data-theme="dark"] .social-media {
        background-color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .social-media:hover {
        background-color: var(--gold-finger) !important;
    }

    [data-theme="dark"] .btn:hover {
        background-color: var(--gold-finger);
        color: var(--bg-primary);
    }

    [data-theme="dark"] .quatity-btn {
        background: var(--gold-finger);
        color: var(--bg-primary);
    }

    [data-theme="dark"] .quatity-btn:hover {
        background: var(--text-primary);
        color: var(--bg-primary);
    }

    body {
        background-color: var(--eye-ball);
        color: var(--lead);
        transition: background-color 0.4s ease, color 0.4s ease;
        padding-top: 14vh;
        overflow-x: hidden;
    }

    /* Dark mode overrides */
    body.dark-mode {
        --lead: #E0E0E0;
        --eye-ball: #1c1c1c;
        --hint-yellow: #4b3b00;
        --pure-white: #2c2c2c;
        --gold-finger: #ffca28;
        background-color: var(--eye-ball);
        color: var(--lead);
    }

    .theme-toggle {
        background: var(--gold-finger);
        border: none;
        border-radius: 50%;
        padding: 0.6rem;
        font-size: 1.2rem;
        cursor: pointer;
        color: var(--lead);
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .theme-toggle:hover {
        transform: rotate(15deg) scale(1.1);
        background: var(--lead);
        color: var(--pure-while);
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 14vh;
    }

    body::-webkit-scrollbar {
        width: 0;
    }

    /* BASIC STYLING */

    a {
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }

    .flex {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    li {
        list-style: none;
    }

    .between {
        justify-content: space-between;
    }

    .gap-2 {
        gap: 2rem;
    }

    .gap-3 {
        gap: 3rem;
    }

    .wrapper {
        max-width: 1400px;
        margin: auto;
        padding-inline: 1.5rem;
    }

    img {
        height: auto;
        max-width: 100%;
        margin: auto;
        display: block;
    }

    .p-top {
        padding-top: 6rem;
    }

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

    .mt-4 {
        margin-top: 4rem;
    }

    .mt-half {
        margin-top: 0.5rem;
    }

    .mt-one {
        margin-top: 1.5rem;
    }

    .m-auto {
        margin: auto;
    }

    /* HEADER STYLING - UPDATED FOR TRANSPARENT NAVBAR */

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--bg-accent);
        box-shadow: none;
        z-index: 1000;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    header.scrolled {
        background-color: var(--bg-secondary);
        box-shadow: 0 2px 5px var(--shadow);
    }

    /* Override wrapper constraints inside header */
    header .wrapper,
    header .navbar.wrapper {
        max-width: 100% !important;
        padding-inline: 3rem !important;
    }

    /* Hover effect for navbar links */
    .navList a {
        position: relative;
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* Add an underline animation */
    .navList a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background-color: var(--gold-finger);
        transition: width 0.3s ease;
    }

    /* On hover — text color + underline animation */
    .navbar li a:hover,
    .navbar li a.active {
        color: var(--gold-finger);
        border-bottom: 1px solid var(--gold-finger);
    }

    .navList a:hover::after {
        width: 100%;
    }

    .navbar {
        height: 14vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 3rem;
        background-color: transparent;
        box-shadow: none;
    }

    .logo {
        font-size: 2rem;
        font-weight: bold;
        color: var(--gold-finger);
        transition: color 0.3s ease;
        margin: 0;
    }

    .btn {
        display: inline-block;
        padding: 0.9rem 2rem;
        background-color: var(--gold-finger);
        border-radius: 1rem;
        font-size: 1.1rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0 2px 1px;
        color: var(--pure-while);
        transition: 0.3s ease-in-out;
        border: none;
    }

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

    .cart-icon {
        color: var(--lead);
        font-size: 1.3rem;
        position: relative;
    }

    .cart-icon .cart-value {
        position: absolute;
        top: 50%;
        right: -10px;
        font-size: 0.85rem;
        width: 20px;
        aspect-ratio: 1;
        border-radius: 100vh;
        background-color: var(--gold-finger);
        color: var(--lead);
        text-align: center;
        line-height: 20px;
    }

    /* THEME TOGGLE BUTTON */
    .theme-toggle {
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.3rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
    }

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

    .theme-toggle i {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .theme-toggle.dark i {
        transform: rotate(180deg);
    }

    .theme-toggle:hover i {
        color: var(--gold-finger);
    }

    /* LANGUAGE SELECTOR STYLING */
    /* LANGUAGE SELECTOR CUSTOM DROPDOWN - FIXED */
    .custom-select {
        position: relative;
        background-color: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        border-radius: 1rem;
        width: 150px;
        cursor: pointer;
    }
    .custom-select .selected {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.7rem 1rem;
        color: var(--text-primary);
    }
    .custom-select .selected::after {
        content: "\25BE";
        font-size: 1rem;
        color: var(--text-primary);
        margin-left: 0.5rem;
    }
    .custom-select .options {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        border-radius: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        opacity: 0;
        transform: translateY(-6px);
    }
    .custom-select.open .options {
        display: block;
        animation: customSelectFade 0.25s ease forwards;
    }
    .custom-select .options li {
        padding: 0.7rem 1rem;
        color: var(--text-primary);
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .custom-select .options li:hover {
        background: var(--hint-yellow);
    }
    @keyframes customSelectFade {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-theme-toggle {
        width: auto;
        padding: 0.8rem 1.5rem;
        border-radius: 1rem;
        background-color: var(--bg-accent);
        margin: 0.5rem 0;
        gap: 0.5rem;
    }

    .mobile-theme-toggle span {
        font-size: 1rem;
        font-weight: 500;
    }

    .desktop-action {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .desktop-action .hamberger {
        font-size: 1.5rem;
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    /* SECTION STYLING */

    /* HERO SECTION */
    .hero-section {
        min-height: calc(100vh - 14vh);
        margin-top: 1vh;
    }

    h1 {
        text-transform: capitalize;
        font-size: 5.6vw;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    h1 span {
        color: var(--gold-finger);
    }

    p {
        font-size: 1.5rem;
        color: var(--text-secondary);
        line-height: 1.8rem;
        font-weight: 400;
        transition: color 0.3s ease;
    }

    .para {
        margin-block: 2rem;
        max-width: 550px;
    }

    .content,
    .srevice-card {
        flex: 1;
        flex-basis: 300px;
    }

    .image-container {
        width: 600px;
        height: 600px;
        border-radius: 30px;
        overflow: hidden;
        perspective: 1000px;
    }

    .pizza-boy {
        width: 100%;
        height: 100%;
        border-radius: 30px;
        transition: transform 1s ease;
        transform-style: preserve-3d;
    }

    /* On hover, rotate halfway */
    .image-container:hover .pizza-boy {
        transform: rotateY(180deg);
    }


    .social-media {
        background: var(--hint-yellow);
        width: 3rem;
        aspect-ratio: 1;
        border-radius: 1rem;
        display: flex;
        font-size: 2rem;
        align-items: center;
        box-shadow: rgba(0, 0, 0, 0.1) 0 2px 1px;
        transition: all 0.5s ease-in-out;
    }

    .linkdin img {
        width: 2rem;
    }

    .social-media:hover {
        width: 3.2rem;
    }

    /* SECTION 01 */
    h5 {
        text-transform: capitalize;
        font-size: 1.2rem;
        letter-spacing: 0.2rem;
        color: var(--gold-finger);
    }

    h2 {
        font-size: 4rem;
        text-transform: capitalize;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    h3 {
        font-size: 2rem;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    .srevice-card h3 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    /* SECTION 02 */
    .order-card {
        flex: 1;
        flex-basis: 300px;
        background: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        border-radius: 2rem;
        box-shadow:
            var(--shadow-strong) 8px 8px 8px,
            var(--shadow-strong) 8px 8px 8px inset;
        transition: all 0.5s ease-in-out;
        padding: 0 1rem 1rem 1rem;
        position: relative;
    }

    .order-card:hover{
        transform: translateY(-10px);
        box-shadow: 0 0 15px 5px rgba(233, 120, 79, 0.514);
    }

    /* Favorite heart button on cards */
    .order-card .fav-btn {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        background: var(--bg-secondary);
        color: var(--text-secondary);
        border: 2px solid var(--border-color);
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

    .order-card .fav-btn:hover {
        border-color: var(--gold-finger);
        color: var(--gold-finger);
    }

    .order-card .fav-btn.active {
        background: var(--gold-finger);
        color: var(--lead);
        border-color: var(--gold-finger);
    }

    .order-card img {
        width: 10rem;
        filter: drop-shadow(rgba(0, 0, 0, 0.2) 0px 10px 10px);
    }

    h4 {
        font-size: 1.5rem;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    .price {
        font-size: 1.5rem;
        padding: 1.3rem 0 2rem 0;
        color: var(--gold-finger);
    }

    /* CART TAB STYLING */

    .cart-tab {
        background-color: var(--bg-accent);
        position: fixed;
        inset: 0 -500 0 auto;
        width: 25rem;
        padding-block: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9;
        box-shadow: var(--shadow) -10px -10px 20px;
        transition: .3s ease-in-out;
        display: none;
    }

    .cart-tab-active {
        inset: 8rem 0 0 auto;
        display: flex;
    }

    .cart-list {
        flex: 1;
        width: 100%;
        margin-top: 1.5rem;
        overflow: auto;
    }

    .cart-list::-webkit-scrollbar {
        width: 0;
    }

    .total-container {
        width: 100%;
        background-color: var(--gold-finger);
        text-align: center;
        margin-block: 1rem;
        padding-block: 1rem;
    }

    .total-container h4 {
        display: inline-block;
        font-size: 1.3rem;
        font-weight: 400;
    }

    .btn-container .btn {
        background-color: var(--lead);
        transition: 0.4s ease-in;
    }

    .btn-container .btn:hover {
        background-color: var(--gold-finger);
        color: var(--lead);
    }

    .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.7rem 1rem;
        transition: all .5s ease-in-out;
    }

    .item.slide-out {
        transform: translateX(50%);
    }

    .item .detail {
        flex: 2;
    }

    .cart-list .item:nth-child(2n) {
        background: var(--bg-primary);
    }

    .item .images-container img {
        width: 5rem;
    }

    .item h4 {
        font-size: 1.1rem;
        color: var(--text-primary);
    }

    .item .item-total {
        font-weight: 400;
        margin-top: 0.3rem;
    }

    .quatity-btn {
        background: var(--lead);
        color: var(--pure-while);
        width: 1.7rem;
        aspect-ratio: 1;
        border-radius: 100vw;
        text-align: center;
        line-height: 1.7rem;
    }

    .quatity-value {
        font-size: 1.2rem;
        font-weight: 400;
        margin-inline: 0.6rem;
    }

    /* SECTION 03 */
    .review-container {
        width: 650px;
        max-width: 100%;
        flex: 1;
        flex-basis: 300px;
    }

    .swiper {
        width: 100%;
        height: 100%;
    }

    .profile {
        width: 4rem;
        aspect-ratio: 1;
        border-radius: 100vw;
        overflow: hidden;
    }

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

    .arrow {
        background-color: var(--gold-finger);
        border-radius: 100vw;
        padding: 1rem;
        aspect-ratio: 1;
        color: var(--lead);
    }

    /* SECTION 04 */
    .app-container {
        background-color: var(--bg-accent);
        border-radius: 3rem;
        padding: 3rem 6rem;
    }

    .app-image img {
        width: 25rem;
    }

    .app-container h2 {
        font-size: 4.5rem;
    }

    /* SECTION 05 STYLING */

    .input-container {
        width: 40rem;
        max-width: 100%;
        background: var(--bg-secondary);
        padding: 0.8rem;
        box-shadow: var(--shadow-strong) 0 5px 8px;
        border-radius: 1rem;
        margin: 4rem auto;
    }

    input[type="email"] {
        flex: 1;
        height: 6vh;
        background: transparent;
        border: none;
        font-size: 1.1rem;
        padding-left: 1rem;
        color: var(--text-primary);
    }

    input[type="email"]:focus {
        outline: none;
    }

    /* EMAIL VALIDATION STYLES */

    /* Error state for invalid email */
    input[type="email"].error {
        border: 2px solid #e74c3c !important;
        border-radius: 0.5rem;
        animation: shake 0.3s;
    }

    /* Error message styling */
    .error-message {
        display: none;
        color: #e74c3c;
        font-size: 0.9rem;
        margin-top: 0.5rem;
        font-weight: 500;
        text-align: center;
    }

    /* Shake animation for error state */
    @keyframes shake {

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

        25% {
            transform: translateX(-10px);
        }

        75% {
            transform: translateX(10px);
        }
    }

    /* Optional: Success state (green border when valid) */
    input[type="email"].success {
        border: 2px solid #27ae60 !important;
        border-radius: 0.5rem;
    }

    /* FOOTER STYLING */

    .footer-container {
        background-color: var(--bg-accent);
        margin-top: 10rem;
        padding-block: 4rem;
    }

    .footer-container .flex {
        align-items: flex-start;
    }

    .footer-container .social-media {
        background-color: var(--bg-secondary);
    }

    .footer-wrapper {
        flex: 1;
        flex-basis: 150px;
    }

    .footer-wrapper:nth-child(1) {
        flex: 2;
        flex-basis: 300px;
    }

    .footer-link {
        color: var(--text-secondary);
        font-size: 1.1rem;
        transition: all 0.5s ease-out;
    }

    .footer-link:hover {
        color: var(--text-primary);
    }

    .back-to-top {
        position: fixed;
        right: 1.5rem;
        bottom: 1.5rem;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background: var(--gold-finger);
        color: var(--lead);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: rgba(0, 0, 0, 0.2) 0 6px 12px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity .3s ease, transform .3s ease;
        z-index: 10;
    }

    .back-to-top.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* WHATSAPP FLOATING BUTTON (Mobile-First & Responsive) */
    .whatsapp-fab {
        position: fixed;
        left: 1rem;  
        bottom: 1rem; 
        width: 2.75rem; 
        height: 2.75rem;
        border-radius: 50%;
        background: #25D366; 
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem; 
        box-shadow: 0 4px 10px var(--shadow-strong); 
        transition: transform var(--transition-normal), box-shadow var(--transition-normal);
        z-index: 10;
        text-decoration: none;
    }

    .whatsapp-fab:hover {
        transform: scale(1.1) translateY(-2px);
        box-shadow: 0 6px 14px var(--shadow-strong);
        color: #FFFFFF;
    }

    /* --- Responsiveness --- */

    /* 1. Tablet and Desktop screens (768px and up) */
    @media (min-width: 768px) {
        .whatsapp-fab {
            left: 1.5rem;   
            bottom: 1.5rem;
            width: 3rem;    
            height: 3rem;
            font-size: 1.8rem; 
            box-shadow: 0 6px 12px var(--shadow-strong);
        }

        .whatsapp-fab:hover {
            box-shadow: 0 8px 16px var(--shadow-strong);
        }
    }

    /* 2. Accessibility: Respect user preference for reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .whatsapp-fab {
            transition: none;
            animation: none;
        }

        .whatsapp-fab:hover {
            transform: none; 
            box-shadow: 0 6px 12px var(--shadow-strong);
        }
    }

    /* MEDIA STYLING */
    @media screen and (max-width: 800px) {

        /* HEADER STYLING */
        .navList,
        .desktop-action .btn {
            display: none;
        }

        .desktop-action .hamberger {
            display: block;
        }

        .mobile-menu {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            position: absolute;
            top: 90%;
            left: -100%;
            transform: translateX(-50%);
            width: 20rem;
            padding: 2rem;
            background: var(--bg-secondary);
            border: 2px solid var(--gold-finger);
            border-radius: 2rem;
            box-shadow:
                var(--shadow-strong) 8px 8px 8px,
                var(--shadow-strong) 8px 8px 8px inset;
            transition: all 0.5s ease-in-out;
        }

        .mobile-menu-active {
            left: 50%;
            transform: translateX(-50%);
        }

        /* SECTION STYLING */

        /* HERO SECTION */
        h1 {
            font-size: 3.6rem;
        }

        .content {
            padding-top: 3rem;
        }

        .place-order-btn {
            width: 80%;
            text-align: center;
            margin: auto;
        }

        .media {
            margin: auto;
        }

        .social-media {
            margin-bottom: 3rem;
        }

        p {
            font-size: 1.2rem;
        }

        .gap-2 {
            gap: 1.4rem;
        }

        /* SECTION 01 */
        .gap-4 {
            gap: 4rem;
        }

        h2 {
            font-size: 3rem;
        }

        /* SECTION 04 */
        .app-container {
            border-radius: 2rem;
            padding: 2rem;
        }

        .app-container h2 {
            font-size: 3rem;
        }

        /* FOOTER PART STYLING */
        .footer-wrapper .media {
            margin-top: 2rem;
        }

        /* Navbar mobile adjustments */
        .navbar {
            padding: 0 1.5rem;
        }

        header .wrapper,
        header .navbar.wrapper {
            padding-inline: 1.5rem !important;
        }
    }

    /* Modal Styling */
    .modal {
        display: none;
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background: rgba(0, 0, 0, 0.638);
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        background: var(--bg-primary, #fff);
        margin: auto;
        padding: 1rem;
        border-radius: 12px;
        width: 90%;
        max-width: 380px;
        max-height: 85vh;
        text-align: center;
        position: relative;
        border: 2px solid #F2BD12;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-content img {
        width: 100%;
        max-width: 200px;
        height: 140px;
        object-fit: cover;
        display: block;
        margin: 0 auto 0.5rem;
        border-radius: 8px;
        flex-shrink: 0;
    }

    div#card-content-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 0;
        overflow-y: auto;
    }

    .modal-content h2 {
        margin: 0.5rem 0;
        font-size: 1.2rem;
        line-height: 1.3;
        color: var(--text-primary, #000);
    }

    p#modalPrice {
        color: #F2BD12;
        font-weight: bold;
        margin: 0.25rem 0;
        font-size: 1.1rem;
    }

    p#modalDescription {
        color: var(--text-secondary, #555);
        margin: 0.5rem 0;
        font-size: 0.9rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    div#card-btn-container {
        margin-top: 0.75rem;
        flex-shrink: 0;
    }

    .modal-content button {
        background-color: #F2BD12;
        color: white;
        border: none;
        padding: 0.6rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        margin: 0.25rem;
        font-size: 0.9rem;
        transition: 0.3s ease-in-out;
        flex: 1;
        min-width: 0;
    }

    .modal-content button:hover {
        background-color: #1A1A1A;
    }

    .modal-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.1);
        border: none;
        border-radius: 50%;
        color: var(--text-primary, #000);
        z-index: 101;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .modal-close:hover {
        background: rgba(242, 189, 18, 0.2);
        color: #F2BD12;
        transform: scale(1.1);
    }

    #card-btn-container {
        display: flex;
        gap: 0.5rem;
        margin-top: auto;
    }


    .filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    }

    .filter-bar input,
    .filter-bar .custom-select,
    .filter-bar button {
    height: 40px;
    padding: 0 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid var(--gold-finger);
    border-radius: 1rem;
    }

    .filter-bar input {
    flex: 1;
    min-width: 200px;
    }

    .filter-bar button {
    cursor: pointer;
    background-color: #ff7043;
    color: white;
    transition: background 0.2s;
    }

    .filter-bar button:hover {
    background-color: #ff5722;
    }


    #search,
    #price-filter {
        padding: 0.7rem 1rem;
        font-size: 1rem;
        border: 2px solid var(--gold-finger);
        border-radius: 1rem;
        outline: none;
    }

    #search:focus {
        box-shadow: 0 0 4px var(--gold-finger);
    }


    /* Favorites filter toggle */
    .fav-toggle {
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 2px solid var(--border-color);
        border-radius: 1rem;
        padding: 0.6rem 1rem;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

    .fav-toggle:hover {
        border-color: var(--gold-finger);
        color: var(--gold-finger);
    }

    .fav-toggle.active {
        background: var(--gold-finger);
        color: var(--lead);
        border-color: var(--gold-finger);
    }

    .no-items-message {
        text-align: center;
        opacity: 0.7;
        margin-top: 2rem;
        font-size: 2.1rem;
    }

    .card-list {
        justify-content: center;
    }

    /* ===== QUANTITY SELECTOR STYLES ===== */
    /* Add these styles to your existing style.css file */

    .card-btn-container {
        margin-top: 1rem;
    }

    .quantity-selector {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        background: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        border-radius: 1rem;
        padding: 0.5rem 1.2rem;
        transition: all 0.3s ease;
    }

    .qty-btn {
        background: var(--gold-finger);
        color: var(--lead);
        border: none;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .qty-btn:hover {
        background: var(--lead);
        color: var(--pure-while);
        transform: scale(1.15);
    }

    .qty-btn:active {
        transform: scale(0.95);
    }

    .qty-display {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--text-primary);
        min-width: 2rem;
        text-align: center;
    }

    /* Dark theme specific styles */
    [data-theme="dark"] .qty-btn {
        background: var(--gold-finger);
        color: var(--bg-primary);
    }

    [data-theme="dark"] .qty-btn:hover {
        background: var(--text-primary);
        color: var(--bg-primary);
    }

    [data-theme="dark"] .quantity-selector {
        border-color: var(--gold-finger);
        background: var(--bg-secondary);
    }

    /* ===== SKELETON LOADERS ===== */

    /* Shimmer animation */
    @keyframes shimmer {
        0% {
            background-position: -200px 0;
        }

        100% {
            background-position: calc(200px + 100%) 0;
        }
    }

    .skeleton {
        background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-accent) 50%, var(--bg-secondary) 75%);
        background-size: 200px 100%;
        animation: shimmer 1.5s infinite;
        border-radius: 0.5rem;
    }

    /* Skeleton Product Card */
    .skeleton-card {
        flex: 1;
        flex-basis: 300px;
        background: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        border-radius: 2rem;
        box-shadow:
            var(--shadow-strong) 8px 8px 8px,
            var(--shadow-strong) 8px 8px 8px inset;
        padding: 0 1rem 2rem 1rem;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .skeleton-card .skeleton-fav {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
    }

    .skeleton-card .skeleton-image {
        width: 15rem;
        height: 15rem;
        margin: 1rem 0;
        border-radius: 1rem;
    }

    .skeleton-card .skeleton-text {
        width: 80%;
        height: 1.8rem;
        margin: 0.5rem 0;
    }

    .skeleton-card .skeleton-price {
        width: 60%;
        height: 1.7rem;
        margin: 1.3rem 0 2rem 0;
    }

    .skeleton-card .skeleton-btn {
        width: 100%;
        height: 3rem;
        border-radius: 1rem;
    }

    /* Skeleton Cart Item */
    .skeleton-cart-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.7rem 1rem;
        background: var(--bg-primary);
    }

    .skeleton-cart-item:nth-child(2n) {
        background: var(--bg-secondary);
    }

    .skeleton-cart-item .skeleton-cart-image {
        width: 5rem;
        height: 5rem;
        border-radius: 0.5rem;
    }

    .skeleton-cart-item .skeleton-cart-detail {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .skeleton-cart-item .skeleton-cart-text {
        width: 100%;
        height: 1.1rem;
    }

    .skeleton-cart-item .skeleton-cart-total {
        width: 60%;
        height: 1rem;
    }

    .skeleton-cart-item .skeleton-cart-quantity {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .skeleton-cart-item .skeleton-cart-btn {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 50%;
    }

    .skeleton-cart-item .skeleton-cart-value {
        width: 2rem;
        height: 1.2rem;
    }

    /* Mobile responsive */
    @media screen and (max-width: 800px) {
        .quantity-selector {
            gap: 0.6rem;
            padding: 0.4rem 1rem;
        }

        .qty-btn {
            width: 1.8rem;
            height: 1.8rem;
            font-size: 0.8rem;
        }

        .qty-display {
            font-size: 1.2rem;
            min-width: 1.5rem;
        }
    }

    /* Service Card Hover Effect */
    .srevice-card {
        flex: 1;
        flex-basis: 300px;
        border: 2px solid transparent;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .srevice-card h3 {
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .srevice-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
        border-color: var(--gold-finger);
    }

    .srevice-card:hover h3 {
        color: var(--gold-finger);
        transform: translateY(-3px);
    }

    a,
    button,
    .btn,
    .srevice-card,
    .footer-link {
        transition: all 0.3s ease;
    }

    .srevice-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }


    /* ===== Rating Badge ===== */
    .order-card {
        position: relative;
    }

    .order-card .rating {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #ffd700;
        color: #000;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    .order-card .rating i {
        color: #417aaf;
    }

    /* === Nearby Restaurants Section === */
    .restaurant-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .restaurant-card {
        background: var(--bg-secondary, #fff);
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        width: 280px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .restaurant-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .restaurant-info {
        padding: 1rem;
        text-align: center;
    }

    .restaurant-info h3 {
        margin-bottom: 0.3rem;
    }

    .restaurant-info p {
        margin: 0.2rem 0;
        font-size: 0.95rem;
        color: var(--text-secondary, #666);
    }

    .restaurant-info i {
        color: #F2BD12;
    }

    /* ===== Search Button Styling ===== */
    #search-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
        border: 2px solid var(--gold-finger);
        border-radius: 1rem;
        background-color: var(--gold-finger);
        color: var(--lead);
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 0.5rem;
        /* space between input and button */
    }

    #search-btn:hover {
        background-color: var(--lead);
        color: var(--pure-while);
        transform: scale(1.05);
    }


    /* Navbar search (enhanced to match app UI) */
    .navbar-search {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--bg-secondary);
        border: 2px solid var(--gold-finger);
        padding: 0.2rem;
        border-radius: 1rem;
        box-shadow: var(--shadow) 0 4px 8px;
        transition: box-shadow 0.2s ease, transform 0.12s ease;
        height: 2.8rem;
    }

    .navbar-search:focus-within {
        box-shadow: 0 6px 18px rgba(242, 189, 18, 0.18);
        transform: translateY(-1px);
    }

    .navbar-search input[type="text"] {
        border: none;
        background: transparent;
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
        color: var(--text-primary);
        width: 12rem;
        outline: none;
    }

    /* keep input compact on small screens */
    @media (max-width: 1100px) {
        .navbar-search input[type="text"] {
            width: 9rem;
        }
    }

    #navbar-search-btn {
        padding: 0.45rem 0.7rem;
        font-size: 1rem;
        border-radius: 0.75rem;
        border: none;
        background-color: var(--gold-finger);
        color: var(--lead);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.18s ease, transform 0.12s ease, box-shadow 0.12s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    /* icon size and contrast */
    #navbar-search-btn i {
        font-size: 1rem;
        line-height: 1;
    }

    /* hover / active states */
    #navbar-search-btn:hover {
        background-color: var(--lead);
        color: var(--pure-while);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

    #navbar-search-btn:active {
        transform: translateY(0) scale(0.99);
    }

    /* dark theme tweak */
    [data-theme="dark"] #navbar-search-btn {
        background-color: var(--gold-finger);
        color: var(--bg-primary);
    }

    [data-theme="dark"] .navbar-search {
        background: var(--bg-secondary);
        border-color: rgba(242, 189, 18, 0.9);
    }

.qr-download-section {
    margin-top: 2rem;
}

.qr-code-container {
    background: var(--bg-secondary);
    border: 2px solid var(--gold-finger);
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 
        var(--shadow-strong) 8px 8px 8px,
        var(--shadow-strong) 4px 4px 8px inset;
    transition: all 0.3s ease;
}

.qr-code-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(242, 189, 18, 0.3);
}

.qr-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qr-header i {
    font-size: 2.5rem;
    color: var(--gold-finger);
    background: var(--hint-yellow);
    padding: 1rem;
    border-radius: 1rem;
}

.qr-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.qr-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.3rem 0 0 0;
}

.qr-code-box {
    background: var(--pure-while);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px var(--shadow);
}

.qr-code-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 1rem;
}

.qr-logo-badge {
    position: absolute;
    background: var(--gold-finger);
    padding: 0.8rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px var(--shadow-strong);
}

.qr-logo-badge i {
    font-size: 2rem;
    color: var(--lead);
}

.qr-instruction {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* App Store Buttons */
.app-store-buttons {
    margin-bottom: 2rem;
}

.download-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.app-store-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.app-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 189, 18, 0.1), transparent);
    transition: left 0.5s ease;
}

.app-store-btn:hover::before {
    left: 100%;
}

.app-store-btn:hover {
    border-color: var(--gold-finger);
    background: var(--hint-yellow);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(242, 189, 18, 0.2);
}

.store-btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-store-btn i.fa-brands {
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.app-store-btn:hover i.fa-brands {
    color: var(--gold-finger);
    transform: scale(1.1);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.small-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1;
}

.large-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.arrow-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.app-store-btn:hover .arrow-icon {
    color: var(--gold-finger);
    transform: translateX(5px);
}

/* App Stats */
.app-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 150px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--gold-finger);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(242, 189, 18, 0.15);
}

.stat-card i {
    font-size: 2rem;
    color: var(--gold-finger);
    margin-bottom: 0.5rem;
}

.stat-info h4 {
    font-size: 1.8rem;
    margin: 0.3rem 0;
    color: var(--text-primary);
}

.stat-info p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-secondary);
}

/* Dark Theme Adjustments */
[data-theme="dark"] .qr-code-box {
    background: var(--bg-secondary);
}

[data-theme="dark"] .qr-code-container {
    background: var(--hint-yellow);
    border-color: rgba(242, 189, 18, 0.5);
}

[data-theme="dark"] .app-store-btn {
    background: var(--hint-yellow);
    border-color: var(--border-color);
}

[data-theme="dark"] .app-store-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--gold-finger);
}

[data-theme="dark"] .stat-card {
    background: var(--hint-yellow);
    border-color: var(--border-color);
}

/* Responsive Design */
@media screen and (max-width: 800px) {
    .app-container {
        flex-direction: column;
    }
    
    .qr-code-container {
        padding: 1.5rem;
    }
    
    .qr-header {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-header i {
        margin: 0 auto;
    }
    
    .qr-code-image {
        max-width: 200px;
    }
    
    .app-stats {
        flex-direction: column;
    }
    
    .stat-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }
    
    .stat-card i {
        margin-bottom: 0;
    }
    
    .app-store-btn {
        padding: 1rem;
    }
    
    .store-btn-content i.fa-brands {
        font-size: 2rem;
    }
    
    .large-text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .qr-code-image {
        max-width: 180px;
    }
    
    .app-stats {
        gap: 0.8rem;
    }
}

/* Animation for QR Code */
@keyframes qrPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(242, 189, 18, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(242, 189, 18, 0);
    }
}

.qr-code-box:hover {
    animation: qrPulse 2s infinite;
}

/* Smooth entrance animation */
.app-download-content {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}