/* --- YOUR EXACT RESET & GLOBALS --- */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff2f8;
    font-family: "overdozesans";
    display: flex;
    justify-content: center;
    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: "overdozesans";
  src: url("./overdozesans.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "overdozesans";
  src: url("./overdozesans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR EXACT ORIGINAL) 📱 ===== */
/* ============================================================ */
.mobile-only.delivery-screen {
    background-color: #fff2f8;
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-only .header-wrapper {
    width: 100%;
    padding: 30px 20px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-only .back-btn {
    font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
    text-decoration: none;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
}
.mobile-only .breadcrumb {
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    color: #5a1132;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
}
.mobile-only .breadcrumb span { color: #ffb7d9; }

.mobile-only .delivery-hero {
    margin-top: 20px;
    width: 320px;
    background: #ffffff;
    border-radius: 50px;
    padding: 30px 20px;
    border: 3px solid #ffb7d9;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(255, 183, 217, 0.2);
}
.mobile-only .delivery-hero h1 {
    font-family: "overdozesans";
    font-size: 30px;
    color: #5a1132;
    margin-top: 10px;
}
.mobile-only .delivery-hero p {
    font-family: "overdozesans";
    color: #ffb7d9;
    font-size: 14px;
    margin-top: 5px;
}
.mobile-only .delivery-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.mobile-only .section-card {
    margin-top: 20px;
    width: 340px;
    background: #ffffff;
    border-radius: 40px;
    padding: 20px 25px;
    border: 3px solid #ffb7d9;
}
.mobile-only .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.mobile-only .section-header h3 {
    font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}
.mobile-only .section-badge {
    background: #ffb7d9;
    color: #5a1132;
    font-family: "overdozesans";
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
}

.mobile-only .input-group {
    margin-bottom: 15px;
    position: relative;
}
.mobile-only .input-group label {
    font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
    display: block;
    margin-bottom: 5px;
}
.mobile-only .cute-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
    background: #fff2f8;
    font-family: "overdozesans";
    font-size: 15px;
    color: #5a1132;
    outline: none;
    transition: 0.2s;
}
.mobile-only .cute-input:focus {
    border-color: #5a1132;
    background: #ffffff;
}
.mobile-only .cute-input::placeholder {
    color: #ffb7d9;
}
.mobile-only .input-row {
    display: flex;
    gap: 15px;
}
.mobile-only .input-row .half {
    flex: 1;
}
.mobile-only .input-with-icon {
    position: relative;
}
.mobile-only .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.5;
}

.mobile-only .time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mobile-only .time-btn {
    font-family: "overdozesans";
    background: #fff2f8;
    border: 2px solid #ffb7d9;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 13px;
    color: #5a1132;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
    min-width: 100px;
}
.mobile-only .time-btn.active {
    background: #ffdaeb;
    color: #ffffff;
    border-color: #ffbddb;
}

.mobile-only .delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.mobile-only .delivery-option {
    background: #fff2f8;
    border: 2px solid #ffb7d9;
    border-radius: 30px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.mobile-only .delivery-option.active {
    background: #ffffff;
    border-color: #ffd0e5;
    box-shadow: 0 4px 10px rgba(90, 17, 50, 0.1);
}
.mobile-only .delivery-option h4 {
    font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
}
.mobile-only .delivery-option p {
    font-family: "overdozesans";
    font-size: 12px;
    color: #ffb7d9;
    margin: 3px 0;
}
.mobile-only .option-price {
    font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
    display: block;
    margin-top: 3px;
}

.mobile-only .summary-row {
    display: flex;
    justify-content: space-between;
    font-family: "overdozesans";
    font-size: 15px;
    color: #5a1132;
    padding: 6px 0;
}
.mobile-only .free-delivery {
    color: #ff7fb3;
    font-family: "overdozesans";
}
.mobile-only .summary-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ffb7d9;
    font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}

.mobile-only .confirm-btn {
    margin-top: 30px;
    width: 280px;
    background:#ffd0e5;
    color: #ffffff;
    font-family: "overdozesans";
    font-size: 20px;
    padding: 18px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.mobile-only .confirm-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #3a0a20;
}

.mobile-only .bottom-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    height: 96px;
    background-color: #ffffff;
    border-radius: 43px 43px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 10px 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
    z-index: 100;
}
.mobile-only .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.mobile-only .nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}
.mobile-only .nav-item span {
    font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
    text-align: center;
}
.mobile-only .nav-item.active span { color: #5a1132; }
.mobile-only .nav-item.active img { opacity: 0.7; }

/* ===== MOBILE SCROLL REVEAL ANIMATIONS ===== */
.mobile-only .animate-on-scroll {
    opacity: 0 !important;
    transform: translateY(35px) !important;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform, opacity;
}
.mobile-only .scroll-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.mobile-only .delivery-hero { transition-delay: 0.0s !important; }
.mobile-only .section-card:nth-child(1) { transition-delay: 0.1s !important; }
.mobile-only .section-card:nth-child(2) { transition-delay: 0.2s !important; }
.mobile-only .section-card:nth-child(3) { transition-delay: 0.3s !important; }
.mobile-only .section-card:nth-child(4) { transition-delay: 0.4s !important; }
.mobile-only .section-card:nth-child(5) { transition-delay: 0.5s !important; }
.mobile-only .confirm-btn { transition-delay: 0.7s !important; }

/* ============================================================ */
/* ===== 🖥️ 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: 1100px;
        width: 100%;
        background: #fff4f9;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 183, 217, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "overdozesans", "Vividly-Regular", sans-serif;
        color: #5a1132;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffb7d9;
        margin-bottom: 40px;
    }
    .d-back-btn {
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
        text-decoration: none;
        background: #ffffff;
        padding: 8px 20px;
        border-radius: 30px;
        border: 2px solid #ffb7d9;
        transition: all 0.3s ease;
    }
    .d-back-btn:hover { background: #ffd0e5; transform: scale(1.05); }
    .d-logo {
        font-family: "overdozesans";
        font-size: 24px;
        color: #5a1132;
    }

    /* ===== DELIVERY LAYOUT ===== */
    .d-delivery-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    /* ===== LEFT COLUMN ===== */
    .d-left-col {
        flex: 1;
    }
    .d-delivery-hero {
        background: #ffffff;
        border-radius: 50px;
        padding: 30px 25px;
        border: 3px solid #ffb7d9;
        text-align: center;
        box-shadow: 0 10px 20px rgba(255, 183, 217, 0.2);
        margin-bottom: 25px;
    }
    .d-delivery-hero h1 {
        font-family: "overdozesans";
        font-size: 32px;
        color: #5a1132;
        margin-top: 10px;
    }
    .d-delivery-hero p {
        font-family: "overdozesans";
        color: #ffb7d9;
        font-size: 15px;
        margin-top: 5px;
    }
    .d-delivery-icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .d-section-card {
        background: #ffffff;
        border-radius: 40px;
        padding: 20px 25px;
        border: 3px solid #ffb7d9;
        margin-bottom: 20px;
    }
    .d-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    .d-section-header h3 {
        font-family: "overdozesans";
        font-size: 22px;
        color: #5a1132;
    }
    .d-section-badge {
        background: #ffb7d9;
        color: #5a1132;
        font-family: "overdozesans";
        font-size: 12px;
        padding: 4px 14px;
        border-radius: 20px;
    }

    .d-input-group {
        margin-bottom: 15px;
        position: relative;
    }
    .d-input-group label {
        font-family: "overdozesans";
        font-size: 14px;
        color: #5a1132;
        display: block;
        margin-bottom: 5px;
    }
    .d-cute-input {
        width: 100%;
        padding: 12px 15px;
        border-radius: 30px;
        border: 2px solid #ffb7d9;
        background: #fff2f8;
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
        outline: none;
        transition: 0.2s;
    }
    .d-cute-input:focus {
        border-color: #5a1132;
        background: #ffffff;
    }
    .d-cute-input::placeholder {
        color: #ffb7d9;
    }
    .d-input-row {
        display: flex;
        gap: 15px;
    }
    .d-input-row .half {
        flex: 1;
    }
    .d-input-with-icon {
        position: relative;
    }
    .d-input-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        opacity: 0.5;
    }

    .d-time-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .d-time-btn {
        font-family: "overdozesans";
        background: #fff2f8;
        border: 2px solid #ffb7d9;
        border-radius: 30px;
        padding: 10px 20px;
        font-size: 14px;
        color: #5a1132;
        cursor: pointer;
        transition: 0.2s;
        flex: 1;
        min-width: 100px;
    }
    .d-time-btn.active {
        background: #ffdaeb;
        color: #ffffff;
        border-color: #ffbddb;
    }

    .d-delivery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .d-delivery-option {
        background: #fff2f8;
        border: 2px solid #ffb7d9;
        border-radius: 30px;
        padding: 15px 10px;
        text-align: center;
        cursor: pointer;
        transition: 0.2s;
    }
    .d-delivery-option.active {
        background: #ffffff;
        border-color: #ffd0e5;
        box-shadow: 0 4px 10px rgba(90, 17, 50, 0.1);
    }
    .d-delivery-option h4 {
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
    }
    .d-delivery-option p {
        font-family: "overdozesans";
        font-size: 13px;
        color: #ffb7d9;
        margin: 3px 0;
    }
    .d-option-price {
        font-family: "overdozesans";
        font-size: 14px;
        color: #5a1132;
        display: block;
        margin-top: 3px;
    }

    /* ===== RIGHT COLUMN ===== */
    .d-right-col {
        flex: 1;
    }
    .d-summary-card {
        margin-bottom: 30px;
    }
    .d-summary-row {
        display: flex;
        justify-content: space-between;
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
        padding: 6px 0;
    }
    .d-free-delivery {
        color: #ff7fb3;
        font-family: "overdozesans";
    }
    .d-summary-row.total {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 2px solid #ffb7d9;
        font-family: "overdozesans";
        font-size: 22px;
        color: #5a1132;
    }

    .d-confirm-btn {
        width: 100%;
        padding: 18px;
        background: #ffd0e5;
        color: #ffffff;
        font-family: "overdozesans";
        font-size: 20px;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        transition: all 0.1s ease;
    }
    .d-confirm-btn:active {
        transform: translateY(8px);
        box-shadow: 0 0 0 #3a0a20;
    }

    /* ===== FOOTER ===== */
    .d-footer {
        background: #ffffff;
        border-radius: 40px;
        padding: 20px 30px;
        margin-top: 30px;
    }
    .d-nav-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .d-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .d-nav-item:hover { transform: scale(1.1); }
    .d-nav-item img {
        width: 26px;
        height: 26px;
        margin-bottom: 5px;
    }
    .d-nav-item span {
        font-family: "overdozesans";
        font-size: 14px;
        color: #5a1132;
        text-align: center;
    }
    .d-nav-item.active span { color: #5a1132; }
    .d-nav-item.active img { opacity: 0.7; }
}