/* === RESET & BASE === */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    font-family: "Vividly-Regular", "Single Day", Helvetica, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Kinan";
    src: url("./Kinan.ttf") format("woff2"),
         url("./Kinan.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Peperrito Ornaments Regular";
    src: url("./PeperritoOrnaments-Regular.otf") format("woff2"),
         url("./PeperritoOrnaments-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face { font-family: "Vividly-Regular"; src: local("Vividly-Regular"); }
@font-face { font-family: "Single Day-Regular"; src: local("Single Day-Regular"); }
@font-face { font-family: "Kinan Regular"; src: local("Kinan-Regular"); }

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR EXACT ORIGINAL) 📱 ===== */
/* ============================================================ */
.mobile-only.viewall-page {
    max-width: 420px;
    margin: 0 auto;
    background-color: #fff2f6;
    overflow: hidden;
    position: relative;
    display: block;
}

.mobile-only .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: #fff2f6;
}
.mobile-only .back-btn {
    font-family: "Vividly-Regular", Helvetica;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    border: 2.75px solid #ff9fba;
    border-radius: 22.66px;
    padding: 8px 20px;
    background: #ffe6ed;
    transition: 0.3s;
}
.mobile-only .back-btn:hover { background: #ff9fba; color: white; }
.mobile-only .cat-logo-small { width: 55px; height: 55px; }

.mobile-only .page-header {
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    margin: 0 20px 20px 20px;
    border-radius: 22.66px;
    border: 2.75px solid #ff9fba;
}
.mobile-only .page-header h1 {
    font-family: "Kinan";
    font-size: 37.1px;
    -webkit-text-stroke: 0.69px #000;
    margin-bottom: 10px;
}
.mobile-only .page-header p {
    font-family: "Vividly-Regular";
    font-size: 18px;
    color: #555;
}
.mobile-only .header-deco {
    font-family: "Vividly-Regular";
    color: #ff9fba;
    font-size: 20px;
    margin-top: 10px;
    letter-spacing: 5px;
}

.mobile-only .catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 20px 20px 20px;
}

.mobile-only .menu-card {
    background-color: #fff3f6;
    border: 2.75px solid #ff9fba;
    border-radius: 22.66px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.mobile-only .menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(255, 159, 186, 0.3);
}
.mobile-only .menu-img {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-bottom: 2.75px solid #ff9fba;
}
.mobile-only .menu-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.mobile-only .menu-info h3 {
    font-family: "Vividly-Regular";
    font-size: 20px;
    margin-bottom: 5px;
    color: #000;
}
.mobile-only .menu-info .menu-desc {
    font-family: "Vividly-Regular";
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.4;
}
.mobile-only .menu-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}
.mobile-only .menu-price {
    font-family: "Vividly-Regular";
    font-size: 20px;
    color: #000;
}
.mobile-only .order-btn {
    font-family: "Vividly-Regular";
    background: #ffe6ed;
    border: 2px solid #ff9fba;
    border-radius: 22.66px;
    padding: 8px 15px;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}
.mobile-only .order-btn:hover {
    background: #ff9fba;
    color: white;
}

.mobile-only .footer-details {
    margin-top: 20px;
    padding: 30px 20px 40px;
    text-align: center;
    background-color: #fff2f6;
    position: relative;
}
.mobile-only .footer-details .footer-cat {
    width: 100px;
    margin-bottom: 15px;
}
.mobile-only .footer-text {
    font-family: "Vividly-Regular", Helvetica;
    color: #000000;
    font-size: 15.1px;
    margin-top: 10px;
    position: relative;
    z-index: 3;
}

/* ===== MOBILE ANIMATIONS ===== */
.mobile-only .menu-card {
    animation: slideUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.mobile-only .menu-card:nth-child(1) { animation-delay: 0.05s; }
.mobile-only .menu-card:nth-child(2) { animation-delay: 0.1s; }
.mobile-only .menu-card:nth-child(3) { animation-delay: 0.15s; }
.mobile-only .menu-card:nth-child(4) { animation-delay: 0.2s; }
.mobile-only .menu-card:nth-child(5) { animation-delay: 0.25s; }
.mobile-only .menu-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mobile-only .back-btn {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mobile-only .back-btn:hover {
    transform: translateX(-5px) scale(1.05);
}

.mobile-only .menu-card {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mobile-only .menu-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 159, 186, 0.3);
    border-color: #ff6b8a;
}

.mobile-only .menu-img {
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden;
}
.mobile-only .menu-card:hover .menu-img {
    transform: scale(1.05);
}

.mobile-only .order-btn {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.mobile-only .order-btn:hover {
    background: #ff9fba;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 159, 186, 0.4);
}
.mobile-only .order-btn:active {
    transform: scale(0.95);
}

@keyframes pulseDeco {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
.mobile-only .header-deco {
    animation: pulseDeco 2s ease-in-out infinite;
}

.mobile-only .page-header {
    transition: all 0.6s ease;
}
.mobile-only .page-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 186, 0.15);
}

.mobile-only .menu-price {
    transition: all 0.3s ease;
}
.mobile-only .menu-card:hover .menu-price {
    color: #ff6b8a;
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.mobile-only .footer-cat {
    transition: all 0.6s ease;
    animation: float 3s ease-in-out infinite;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff2f6;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff9fba, #ff6b8a);
    border-radius: 10px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff6b8a, #ff9fba);
}

body {
    animation: fadeIn 1s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
html {
    scroll-behavior: smooth;
}

/* ============================================================ */
/* ===== 🖥️ BRAND NEW LAPTOP/TABLET DESIGN 🖥️ ===== */
/* ============================================================ */

/* Hide laptop version on phones */
@media (max-width: 767px) {
    .desktop-wrapper { display: none !important; }
}

/* Show laptop version on tablets and laptops */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    
    body {
        background: #ffffff;
        display: flex;
        justify-content: center;
        padding: 40px;
    }

    .desktop-wrapper {
        max-width: 1200px;
        width: 100%;
        border-radius: 40px;
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "Vividly-Regular", "Single Day", "Kinan", sans-serif;
        color: #000000;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ff9fba;
        margin-bottom: 40px;
    }
    .d-back-btn {
        font-family: "Vividly-Regular", Helvetica;
        color: #000;
        text-decoration: none;
        font-size: 18px;
        border: 2px solid #ff9fba;
        border-radius: 22.66px;
        padding: 8px 20px;
        background: #ffe6ed;
        transition: 0.3s;
    }
    .d-back-btn:hover { background:#ffdaeb; color: white; transform: scale(1.05); }
    .d-logo {
        font-family: "Kinan";
        font-size: 28px;
        color: #000000;
        -webkit-text-stroke: 0.5px #000000;
    }

    /* ===== PAGE HEADER ===== */
    .d-page-header {
        text-align: center;
        background: #ffffff;
        padding: 40px 30px;
        border-radius: 22.66px;
        border: 2px solid #ff9fba;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .d-page-header h1 {
        font-family: "Kinan";
        font-size: 42px;
        -webkit-text-stroke: 0.5px #000;
        margin-bottom: 10px;
    }
    .d-page-header p {
        font-family: "Vividly-Regular";
        font-size: 18px;
        color: #555;
    }
    .d-header-deco {
        font-family: "Vividly-Regular";
        color: #ff9fba;
        font-size: 20px;
        margin-top: 10px;
        letter-spacing: 5px;
        animation: pulseDeco 2s ease-in-out infinite;
    }

    /* ===== CATALOG GRID ===== */
    .d-catalog-section { margin-bottom: 40px; }
    .d-catalog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }
    .d-menu-card {
        background-color: #fff3f6;
        border: 2px solid #ff9fba;
        border-radius: 22.66px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        display: flex;
        flex-direction: column;
    }
    .d-menu-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 40px rgba(255, 159, 186, 0.3);
        border-color: #ffbbdb;
    }
    .d-menu-img {
        width: 100%;
        height: 180px;
        background-size: cover !important;
        background-position: center !important;
        border-bottom: 2px solid #ff9fba;
        transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
        overflow: hidden;
    }
    .d-menu-card:hover .d-menu-img {
        transform: scale(1.05);
    }
    .d-menu-info {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
    }
    .d-menu-info h3 {
        font-family: "Vividly-Regular";
        font-size: 22px;
        margin-bottom: 5px;
        color: #000;
    }
    .d-menu-info .d-menu-desc {
        font-family: "Vividly-Regular";
        font-size: 14px;
        color: #555;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .d-menu-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
    }
    .d-menu-price {
        font-family: "Vividly-Regular";
        font-size: 20px;
        color: #000;
        transition: all 0.3s ease;
    }
    .d-menu-card:hover .d-menu-price {
        color: #ffdaeb;
        transform: scale(1.05);
    }
    .d-order-btn {
        font-family: "Vividly-Regular";
        background: #ffe6ed;
        border: 2px solid #ffdaeb;
        border-radius: 22.66px;
        padding: 8px 15px;
        font-size: 14px;
        color: #000;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        position: relative;
        overflow: hidden;
    }
    .d-order-btn:hover {
        background: #ffdaeb;
        color: white;
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 159, 186, 0.4);
    }
    .d-order-btn:active { transform: scale(0.95); }

    /* ===== FOOTER ===== */
    .d-footer {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #ffdaeb;
        margin-top: 20px;
    }
    .d-footer-cat {
        width: 120px;
        animation: float 3s ease-in-out infinite;
        margin-bottom: 10px;
    }
    .d-footer-text {
        font-family: "Vividly-Regular", Helvetica;
        color: #000000;
        font-size: 15px;
    }
}