/* --- 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");
}
/* --- SCROLLABLE PAGE CONTAINER --- */
.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;
}

/* --- HEADER & BREADCRUMB --- */
.header-wrapper {
    width: 100%;
    padding: 30px 20px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.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;
}
.breadcrumb {
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    color: #5a1132;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
}
.breadcrumb span { color: #ffb7d9; }

/* --- DELIVERY HERO --- */
.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);
}
.delivery-hero h1 {
            font-family: "overdozesans";
    font-size: 30px;
    color: #5a1132;
    margin-top: 10px;
}
.delivery-hero p {
            font-family: "overdozesans";
    color: #ffb7d9;
    font-size: 14px;
    margin-top: 5px;
}
.delivery-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* --- SECTION CARDS --- */
.section-card {
    margin-top: 20px;
    width: 340px;
    background: #ffffff;
    border-radius: 40px;
    padding: 20px 25px;
    border: 3px solid #ffb7d9;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.section-header h3 {
            font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}
.section-badge {
    background: #ffb7d9;
    color: #5a1132;
            font-family: "overdozesans";
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- INPUT STYLES --- */
.input-group {
    margin-bottom: 15px;
    position: relative;
}
.input-group label {
            font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
    display: block;
    margin-bottom: 5px;
}
.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;
}
.cute-input:focus {
    border-color: #5a1132;
    background: #ffffff;
}
.cute-input::placeholder {
    color: #ffb7d9;
}
.input-row {
    display: flex;
    gap: 15px;
}
.input-row .half {
    flex: 1;
}
.input-with-icon {
    position: relative;
}
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.5;
}

/* --- TIME OPTIONS --- */
.time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.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;
}
.time-btn.active {
    background: #ffdaeb;
    color: #ffffff;
    border-color: #ffbddb;
}

/* --- DELIVERY OPTIONS GRID --- */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.delivery-option {
    background: #fff2f8;
    border: 2px solid #ffb7d9;
    border-radius: 30px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.delivery-option.active {
    background: #ffffff;
    border-color: #ffd0e5;
    box-shadow: 0 4px 10px rgba(90, 17, 50, 0.1);
}
.option-icon {
    font-size: 24px;
    margin-bottom: 5px;
}
.delivery-option h4 {
            font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
}
.delivery-option p {
            font-family: "overdozesans";
    font-size: 12px;
    color: #ffb7d9;
    margin: 3px 0;
}
.option-price {
            font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
    display: block;
    margin-top: 3px;
}

/* --- SUMMARY --- */
.summary-row {
    display: flex;
    justify-content: space-between;
            font-family: "overdozesans";
    font-size: 15px;
    color: #5a1132;
    padding: 6px 0;
}
.free-delivery {
    color: #ff7fb3;
            font-family: "overdozesans";
}
.summary-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ffb7d9;
            font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}

/* --- CONFIRM BUTTON --- */
.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;
}
.confirm-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #3a0a20;
}

/* --- DECORATIVE FLOATING ELEMENTS --- */
.floating-icon {
    position: absolute;
    opacity: 0.5;
}
.floating-1 { top: 120px; left: 5px; width: 30px; }
.floating-2 { top: 400px; right: 10px; width: 25px; }
.floating-3 { bottom: 250px; left: 10px; width: 30px; }
.floating-4 { top: 180px; right: 20px; width: 35px; }

/* --- YOUR EXACT BOTTOM NAV (UNCHANGED) --- */
.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;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}
.nav-item span {
            font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
    text-align: center;
}
.nav-item.active span { color: #5a1132; }
.nav-item.active img { opacity: 0.7; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */

/* 1. Initial hidden state */
.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;
}

/* 2. Active state when scrolled into view */
.scroll-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 3. 🎀 DELAYS FOR A WAVE EFFECT */
.delivery-hero { transition-delay: 0.0s !important; }
.section-card:nth-child(1) { transition-delay: 0.1s !important; }
.section-card:nth-child(2) { transition-delay: 0.2s !important; }
.section-card:nth-child(3) { transition-delay: 0.3s !important; }
.section-card:nth-child(4) { transition-delay: 0.4s !important; }
.section-card:nth-child(5) { transition-delay: 0.5s !important; }
.confirm-btn { transition-delay: 0.7s !important; }