/* --- 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.purchase-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 .cart-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 .cart-hero h1 {
    font-family: "overdozesans";
    font-size: 30px;
    color: #5a1132;
    margin-top: 10px;
}
.mobile-only .cart-hero p {
    font-family: "overdozesans";
    color: #ffb7d9;
    font-size: 14px;
    margin-top: 5px;
}
.mobile-only .cart-icon-wrapper {
    position: relative;
    display: inline-block;
}
.mobile-only .cart-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.mobile-only .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffb7d9;
    color: #5a1132;
    font-family: "overdozesans";
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ffffff;
}

.mobile-only .cart-list {
    margin-top: 25px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-only .cart-item {
    background: #ffffff;
    border-radius: 30px;
    padding: 12px 15px;
    border: 2px solid #ffb7d9;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.mobile-only .item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff2f8;
    border-radius: 20px;
    padding: 5px;
}
.mobile-only .item-details {
    flex: 1;
}
.mobile-only .item-details h3 {
    font-family: "overdozesans";
    font-size: 18px;
    color: #5a1132;
}
.mobile-only .item-details p {
    font-family: "overdozesans";
    font-size: 13px;
    color: #ffb7d9;
}
.mobile-only .item-details .item-price {
    font-family: "overdozesans";
    font-size: 16px;
    color: #5a1132;
    display: block;
    margin-top: 2px;
}
.mobile-only .remove-btn {
    background: none;
    border: none;
    color: #ffb7d9;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: 0.2s;
}
.mobile-only .remove-btn:hover {
    color: #5a1132;
}

.mobile-only .order-summary {
    margin-top: 25px;
    width: 340px;
    background: #ffffff;
    border-radius: 40px;
    padding: 20px 25px;
    border: 3px solid #ffb7d9;
}
.mobile-only .order-summary h3 {
    font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
    margin-bottom: 15px;
}
.mobile-only .summary-row {
    display: flex;
    justify-content: space-between;
    font-family: "overdozesans";
    font-size: 15px;
    color: #5a1132;
    padding: 5px 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 .payment-form {
    margin-top: 25px;
    width: 340px;
    background: #ffffff;
    border-radius: 40px;
    padding: 25px;
    border: 3px solid #ffb7d9;
}
.mobile-only .payment-form h3 {
    font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
    margin-bottom: 15px;
}
.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: "Vividly-Regular", sans-serif;
    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-icon {
    position: absolute;
    right: 15px;
    top: 65%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.5;
}
.mobile-only .input-row {
    display: flex;
    gap: 15px;
}
.mobile-only .input-row .half {
    flex: 1;
}
.mobile-only .toggle-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.mobile-only .toggle-text {
    font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
}
.mobile-only .toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}
.mobile-only .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.mobile-only .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ffb7d9;
    transition: .4s;
    border-radius: 34px;
}
.mobile-only .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.mobile-only input:checked + .slider {
    background-color: #ffd0e5;
}
.mobile-only input:checked + .slider:before {
    transform: translateX(16px);
}
.mobile-only .slider.round {
    border-radius: 34px;
}
.mobile-only .slider.round:before {
    border-radius: 50%;
}

.mobile-only .place-order-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 .place-order-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 .cart-hero { transition-delay: 0.0s !important; }
.mobile-only .cart-item:nth-child(1) { transition-delay: 0.1s !important; }
.mobile-only .cart-item:nth-child(2) { transition-delay: 0.2s !important; }
.mobile-only .cart-item:nth-child(3) { transition-delay: 0.3s !important; }
.mobile-only .order-summary { transition-delay: 0.3s !important; }
.mobile-only .payment-form { transition-delay: 0.5s !important; }
.mobile-only .place-order-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: 1200px;
        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;
    }

    /* ===== CHECKOUT LAYOUT ===== */
    .d-checkout-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    /* ===== LEFT COLUMN ===== */
    .d-left-col {
        flex: 1;
    }
    .d-cart-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-cart-hero h1 {
        font-family: "overdozesans";
        font-size: 32px;
        color: #5a1132;
        margin-top: 10px;
    }
    .d-cart-hero p {
        font-family: "overdozesans";
        color: #ffb7d9;
        font-size: 15px;
        margin-top: 5px;
    }
    .d-cart-icon-wrapper {
        position: relative;
        display: inline-block;
    }
    .d-cart-icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }
    .d-cart-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ffb7d9;
        color: #5a1132;
        font-family: "overdozesans";
        font-size: 14px;
        font-weight: bold;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #ffffff;
    }

    .d-cart-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }
    .d-cart-item {
        background: #ffffff;
        border-radius: 30px;
        padding: 12px 18px;
        border: 2px solid #ffb7d9;
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
    }
    .d-item-img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        background: #fff2f8;
        border-radius: 20px;
        padding: 5px;
    }
    .d-item-details {
        flex: 1;
    }
    .d-item-details h3 {
        font-family: "overdozesans";
        font-size: 20px;
        color: #5a1132;
    }
    .d-item-details p {
        font-family: "overdozesans";
        font-size: 14px;
        color: #ffb7d9;
    }
    .d-item-details .d-item-price {
        font-family: "overdozesans";
        font-size: 18px;
        color: #5a1132;
        display: block;
        margin-top: 2px;
    }
    .d-remove-btn {
        background: none;
        border: none;
        color: #ffb7d9;
        font-size: 22px;
        cursor: pointer;
        padding: 5px;
        transition: 0.2s;
    }
    .d-remove-btn:hover { color: #5a1132; }

    .d-order-summary {
        background: #ffffff;
        border-radius: 40px;
        padding: 25px 30px;
        border: 3px solid #ffb7d9;
    }
    .d-order-summary h3 {
        font-family: "overdozesans";
        font-size: 22px;
        color: #5a1132;
        margin-bottom: 15px;
    }
    .d-summary-row {
        display: flex;
        justify-content: space-between;
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
        padding: 5px 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;
    }

    /* ===== RIGHT COLUMN ===== */
    .d-right-col {
        flex: 1;
    }
    .d-payment-form {
        background: #ffffff;
        border-radius: 40px;
        padding: 30px;
        border: 3px solid #ffb7d9;
    }
    .d-payment-form h3 {
        font-family: "overdozesans";
        font-size: 22px;
        color: #5a1132;
        margin-bottom: 15px;
    }
    .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: 14px 18px;
        border-radius: 30px;
        border: 2px solid #ffb7d9;
        background: #fff2f8;
        font-family: "Vividly-Regular", sans-serif;
        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-icon {
        position: absolute;
        right: 15px;
        top: 65%;
        transform: translateY(-50%);
        width: 20px;
        opacity: 0.5;
    }
    .d-input-row {
        display: flex;
        gap: 15px;
    }
    .d-input-row .half {
        flex: 1;
    }
    .d-toggle-group {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 15px;
    }
    .d-toggle-text {
        font-family: "overdozesans";
        font-size: 14px;
        color: #5a1132;
    }
    .d-toggle-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
    }
    .d-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    .d-slider {
        position: absolute;
        cursor: pointer;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: #ffb7d9;
        transition: .4s;
        border-radius: 34px;
    }
    .d-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    .d-input:checked + .d-slider {
        background-color: #ffd0e5;
    }
    .d-input:checked + .d-slider:before {
        transform: translateX(16px);
    }
    .d-slider.round { border-radius: 34px; }
    .d-slider.round:before { border-radius: 50%; }

    .d-place-order-btn {
        width: 100%;
        margin-top: 20px;
        background: #ffd0e5;
        color: #ffffff;
        font-family: "overdozesans";
        font-size: 20px;
        padding: 18px;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        transition: all 0.1s ease;
    }
    .d-place-order-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; }
}