/* ========================================== */
/* RESET & BASE STYLES                         */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "KNMaiyuan-Regular";
    src: url("./KNMaiyuan-Regular.ttf") format("woff2"),
         url("./KNMaiyuan-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@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: "Dreamy Notes Script";
    src: url("./Dreamy\ Notes\ Script.otf") format("woff2"),
         url("./Dreamy\ Notes\ Script.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #fff5fa;
    font-family: "Vividly-Regular", sans-serif;
    color: #5b1133;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-y: auto; 
    overflow-x: hidden; 
    width: 100%;
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR ORIGINAL DESIGN) 📱 ===== */
/* ============================================================ */
.mobile-only.collection-page {
    width: 100%;
    max-width: 100%; 
    padding: 40px 20px 80px;
    position: relative;
    background-color: #fff5fa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-only.collection-page > * {
    width: 100%;
    max-width: 450px;
}

.mobile-only .bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    background-color: #ffffff;
    pointer-events: none; 
}
.mobile-only .blob-1 { top: -20px; left: -80px; width: 300px; height: 300px; }
.mobile-only .blob-2 { top: 400px; right: -100px; width: 250px; height: 250px; background: #ffe8f3; }
.mobile-only .blob-3 { top: 1100px; left: -60px; width: 350px; height: 350px; }
.mobile-only .blob-4 { bottom: -50px; right: -80px; width: 280px; height: 280px; }

.mobile-only .hero-section {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 40px;
}

.mobile-only .back-btn {
    display: inline-block;
    margin-bottom: 25px;
    color: #5b1133;
    font-size: 13px;
    text-decoration: none;
    border: 1.5px solid #ffadd6;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
}
.mobile-only .back-btn:hover {
    background: #ffe8f3;
    transform: translateX(-5px);
}

.mobile-only .collection-title {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 27px;
    line-height: 1;
    color: #5b1133;
    margin-bottom: 10px;
    text-align: center;
}

.mobile-only .subtitle {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.mobile-only .hero-circle {
    display: inline-block;
    padding: 12px 24px;
    border: 1.5px solid #ffadd6;
    border-radius: 40px;
    background: #ffffff;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.2);
}

.mobile-only .intro-section {
    text-align: center;
    padding: 20px 0 30px;
}
.mobile-only .script-heading {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 27px;
    margin-bottom: 15px;
    line-height: 1.2;
}
.mobile-only .intro-text {
    font-size: 14px;
    line-height: 1.8;
    padding: 0 10px;
    opacity: 0.85;
    margin-bottom: 20px;
}
.mobile-only .divider {
    width: 40px;
    height: 2px;
    background: #ffadd6;
    margin: 0 auto;
    border-radius: 5px;
}

.mobile-only .section-title {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 27px;
    text-align: center;
    margin: 40px 0 25px;
}

.mobile-only .product-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-only .product-link {
    text-decoration: none;
    color: inherit; 
    display: block; 
    transition: all 0.4s ease;
}

.mobile-only .product-link:hover .product-card {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(255, 173, 214, 0.4);
    border-color: #ff8ec4;
}

.mobile-only .product-card {
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 25px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.1);
}

.mobile-only .product-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #ffe8f3;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffe8f3;
}
.mobile-only .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-only .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mobile-only .product-info h3 {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 14px;
    margin-bottom: 4px;
}
.mobile-only .product-info .desc {
    font-size: 11.5px;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 10px;
}
.mobile-only .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.mobile-only .price {
    font-size: 16px;
    font-weight: 500;
}
.mobile-only .add-btn {
    background: #ffe8f3;
    border: 1px solid #ffadd6;
    border-radius: 25px;
    padding: 6px 16px;
    font-family: "Vividly-Regular", sans-serif;
    font-size: 12px;
    color: #5b1133;
    pointer-events: none; 
    cursor: default;
}

.mobile-only .routine-section {
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid #ffadd6;
    border-radius: 30px;
    padding: 30px 20px;
    margin: 50px 0 40px;
    text-align: center;
}

.mobile-only .routine-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 15px;
    text-align: left;
}
.mobile-only .step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.mobile-only .step-num {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 22px;
    color: #ffadd6;
    width: 35px;
    flex-shrink: 0;
}
.mobile-only .step-text h4 {
    font-size: 15px;
    margin-bottom: 3px;
    font-weight: normal;
}
.mobile-only .step-text p {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.5;
}

.mobile-only .reviews-section {
    text-align: center;
    margin-bottom: 50px;
}
.mobile-only .review-card {
    background: #ffffff;
    border: 1.5px solid #ffe8f3;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
}
.mobile-only .review-text {
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 10px;
}
.mobile-only .reviewer {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}
.mobile-only .stars {
    color: #ffadd6;
    letter-spacing: 3px;
    font-size: 14px;
}

.mobile-only .footer-section {
    text-align: center;
    padding-top: 10px;
}
.mobile-only .footer-circle {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1.5px solid #ffadd6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.5s ease;
    cursor: pointer;
}
.mobile-only .footer-circle:hover {
    transform: rotate(-5deg) scale(1.05);
    background: #fff0f5;
}
.mobile-only .text-wrapper-56 {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 18px;
    color: #5b1133;
}
.mobile-only .footer-text {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
}

/* ============================================================ */
/* ===== SCROLL ANIMATIONS (MOBILE) ===== */
/* ============================================================ */
.mobile-only .anim-sky {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(2px);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-only .anim-sky.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.mobile-only .anim-ripple {
    opacity: 0;
    transform: translateX(-20px);
    letter-spacing: -1px;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-only .anim-ripple.revealed {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: normal;
}

.mobile-only .anim-pearl {
    opacity: 0;
    transform: scale(0.8);
    transition: all 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-only .anim-pearl.revealed {
    opacity: 1;
    transform: scale(1);
}

.mobile-only .anim-cloud {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: all 2.4s ease;
}
.mobile-only .anim-cloud.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.mobile-only .anim-rise {
    opacity: 0;
    transform: translateY(40px) rotate(-1deg);
    transition: all 2s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-only .anim-rise.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.mobile-only .anim-wind {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 2.6s ease-out;
}
.mobile-only .anim-wind.revealed {
    opacity: 1;
    transform: translateX(0);
}

.mobile-only .anim-blob {
    opacity: 0;
    transform: scale(0.9);
    transition: all 3s ease-out;
}
.mobile-only .anim-blob.revealed {
    opacity: 0.6;
    transform: scale(1);
}

/* ============================================================ */
/* ===== 🖥️ 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: #fff0f6;
        display: flex;
        justify-content: center;
        padding: 40px;
    }

    .desktop-wrapper {
        max-width: 1200px;
        width: 100%;
        background: #fff5fa;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 173, 214, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "Single Day", "Vividly-Regular", sans-serif;
        color: #5b1133;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffadd6;
        margin-bottom: 40px;
    }
    .d-logo {
        font-family: "Dreamy Notes Script";
        font-size: 32px;
        color: #5b1133;
    }
    .d-back-btn {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 14px;
        color: #5b1133;
        border: 1.5px solid #ffadd6;
        padding: 10px 25px;
        border-radius: 30px;
        background: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    
    .d-back-btn:hover { background: #ffe8f3; transform: scale(1.05); }

    /* ===== HERO ===== */
    .d-hero {
        text-align: center;
        margin-bottom: 40px;
    }
    .d-hero-content h1 {
        font-family: "Dreamy Notes Script";
        font-size: 48px;
        color: #5b1133;
        margin: 0 0 10px 0;
        line-height: 1.2;
    }
    .d-hero-content p {
        font-family: "Vividly-Regular", Helvetica;
        font-size: 18px;
        color: #5b1133;
        margin-bottom: 20px;
    }
    .d-hero-badge {
        display: inline-block;
        padding: 12px 30px;
        border: 1.5px solid #ffadd6;
        border-radius: 40px;
        background: #ffffff;
        font-family: "Dreamy Notes Script", cursive;
        font-size: 15px;
        box-shadow: 0 4px 15px rgba(255, 173, 214, 0.2);
    }

    /* ===== INTRO ===== */
    .d-intro {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 40px;
    }
    .d-script {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    .d-intro-text {
        font-size: 16px;
        line-height: 1.8;
        opacity: 0.85;
        margin-bottom: 20px;
    }
    .d-divider {
        width: 50px;
        height: 2px;
        background: #ffadd6;
        margin: 0 auto;
        border-radius: 5px;
    }

    /* ===== SECTIONS ===== */
    .d-section { margin-bottom: 50px; }
    .d-alt {
        background: #ffffff;
        border-radius: 30px;
        padding: 40px 30px;
        border: 1px solid #ffadd6;
    }
    .d-section-title {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 32px;
        text-align: center;
        margin-bottom: 30px;
    }

    /* ===== PRODUCT GRID ===== */
    .d-grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .d-card-link { text-decoration: none; color: inherit; display: block; }
    .d-product-card {
        background: #ffffff;
        border: 1.5px solid #ffadd6;
        border-radius: 25px;
        padding: 25px;
        display: flex;
        align-items: center;
        gap: 20px;
        transition: all 0.4s ease;
        height: 100%;
    }
    .d-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(255, 173, 214, 0.4);
        border-color: #ff8ec4;
    }
    .d-product-img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 2px solid #ffe8f3;
        overflow: hidden;
        flex-shrink: 0;
        background: #ffe8f3;
    }
    .d-product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .d-product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .d-product-info h3 {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 18px;
        margin-bottom: 5px;
    }
    .d-desc {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.8;
        margin-bottom: 12px;
    }
    .d-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
    }
    .d-price {
        font-size: 18px;
        font-weight: 500;
    }
    .d-add-btn {
        background: #ffe8f3;
        border: 1px solid #ffadd6;
        border-radius: 25px;
        padding: 8px 20px;
        font-family: "Vividly-Regular", sans-serif;
        font-size: 13px;
        color: #5b1133;
        pointer-events: none;
        cursor: default;
    }

    /* ===== ROUTINE ===== */
    .d-routine-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .d-step {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        background: #fff5fa;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid #ffadd6;
    }
    .d-num {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 28px;
        color: #ffadd6;
        width: 40px;
        flex-shrink: 0;
    }
    .d-step h4 {
        font-size: 17px;
        margin-bottom: 4px;
        font-weight: normal;
    }
    .d-step p {
        font-size: 13px;
        opacity: 0.8;
        line-height: 1.5;
    }

    /* ===== REVIEWS ===== */
    .d-reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .d-review-card {
        background: #ffffff;
        border: 1.5px solid #ffe8f3;
        border-radius: 20px;
        padding: 30px;
        text-align: center;
        transition: all 0.3s ease;
    }
    .d-review-card:hover { transform: translateY(-5px); }
    .d-stars {
        color: #ffadd6;
        letter-spacing: 4px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    .d-review-card p {
        font-size: 15px;
        line-height: 1.6;
        font-style: italic;
        margin-bottom: 10px;
    }
    .d-reviewer {
        font-size: 13px;
        font-weight: 500;
    }

    /* ===== FOOTER ===== */
    .d-footer {
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #ffadd6;
    }
    .d-footer-circle {
        width: 100px;
        height: 100px;
        background-color: #ffffff;
        border-radius: 50%;
        border: 1.5px solid #ffadd6;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        transition: all 0.5s ease;
        cursor: pointer;
    }
    .d-footer-circle:hover {
        transform: rotate(-5deg) scale(1.05);
        background: #fff0f5;
    }
    .d-footer-circle span {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 20px;
        color: #5b1133;
        line-height: 1.3;
        text-align: center;
    }
    .d-footer-text {
        font-size: 14px;
        opacity: 0.7;
        line-height: 1.5;
    }
}