/* ========================================== */
/* 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;
    text-align: center;
    padding-top: 20px;
    overflow-x: hidden;
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR ORIGINAL DESIGN) 📱 ===== */
/* ============================================================ */
.mobile-only.collection-page.detail-page {
    width: 100%;
    max-width: 450px;
    padding: 20px 20px 80px;
    position: relative;
    overflow-x: hidden;
    background-color: #fff5fa;
    display: block;
}

.mobile-only .bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    background-color: #ffffff;
}
.mobile-only .blob-1 { top: -20px; left: -80px; width: 300px; height: 300px; }
.mobile-only .blob-3 { top: 400px; left: -60px; width: 350px; height: 350px; }

.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 .detail-container {
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 35px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(255, 173, 214, 0.15);
    text-align: center;
}

.mobile-only .detail-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.mobile-only .detail-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #ffe8f3;
    overflow: hidden;
    background: #ffe8f3;
    box-shadow: 0 8px 20px rgba(255, 173, 214, 0.2);
}

.mobile-only .detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-only .thumbnail-gallery {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mobile-only .thumb-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffe8f3;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffe8f3;
    opacity: 0.6;
}

.mobile-only .thumb-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-only .thumb-circle:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.mobile-only .thumb-circle.active {
    border: 2.5px solid #ffadd6;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(255, 173, 214, 0.4);
    transform: scale(1.05);
}

.mobile-only .detail-title {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 22px;
    color: #5b1133;
    margin-bottom: 5px;
    line-height: 1.2;
}

.mobile-only .detail-price {
    font-size: 20px;
    font-weight: 500;
    color: #5b1133;
    opacity: 0.9;
}

.mobile-only .divider {
    width: 40px;
    height: 2px;
    background: #ffadd6;
    margin: 15px auto;
    border-radius: 5px;
}

.mobile-only .script-heading {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 14px;
    color: #5b1133;
    margin-bottom: 10px;
    margin-top: 20px;
}

.mobile-only .detail-description {
    text-align: left;
    margin: 10px 0 20px;
}

.mobile-only .detail-description p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
}

.mobile-only .highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.mobile-only .highlight-box {
    background: #fff5fa;
    border: 1px solid #ffadd6;
    border-radius: 15px;
    padding: 12px 5px;
    text-align: center;
}

.mobile-only .highlight-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.mobile-only .highlight-box p {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
}

.mobile-only .detail-ingredients, .mobile-only .detail-routine, .mobile-only .detail-reviews {
    text-align: left;
    margin: 20px 0;
}

.mobile-only .ingredient-list, .mobile-only .routine-list {
    padding-left: 18px;
    margin-top: 10px;
}

.mobile-only .ingredient-list li, .mobile-only .routine-list li {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 4px;
}

.mobile-only .review-card-small {
    background: #fff5fa;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    text-align: left;
}

.mobile-only .review-card-small .stars {
    font-size: 12px;
    margin-bottom: 4px;
    color: #ffadd6;
    letter-spacing: 2px;
}

.mobile-only .review-card-small p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 4px;
}

.mobile-only .reviewer-name {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.6;
}

.mobile-only .order-section {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-only .order-btn {
    background: #ffadd6;
    border: none;
    border-radius: 30px;
    padding: 14px 50px;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.4);
    letter-spacing: 1px;
    width: 100%;
    max-width: 250px;
}

.mobile-only .order-btn:hover {
    transform: scale(1.05);
    background: #ffdcee;
    box-shadow: 0 6px 25px rgba(91, 17, 51, 0.3);
}

.mobile-only .shipping-info {
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.6;
    text-align: center;
}

.mobile-only .footer-section {
    text-align: center;
    padding-top: 40px;
}

.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;
    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;
}

/* ============================================================ */
/* ===== 🖥️ 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: flex-start;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffadd6;
        margin-bottom: 40px;
    }
    .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;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    .d-back-btn:hover { background: #ffe8f3; transform: scale(1.05); }

    /* ===== PRODUCT SHOWCASE ===== */
    .d-showcase {
        display: flex;
        gap: 50px;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    /* ===== LEFT: IMAGE ===== */
    .d-image-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .d-main-image {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        border: 3px solid #ffe8f3;
        overflow: hidden;
        background: #ffe8f3;
        box-shadow: 0 8px 20px rgba(255, 173, 214, 0.2);
    }
    .d-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .d-thumbnails {
        display: flex;
        gap: 15px;
    }
    .d-thumb {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px solid #ffe8f3;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #ffe8f3;
        opacity: 0.6;
    }
    .d-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .d-thumb:hover { transform: scale(1.1); opacity: 0.8; }
    .d-thumb.active {
        border: 2.5px solid #ffadd6;
        opacity: 1;
        box-shadow: 0 4px 12px rgba(255, 173, 214, 0.4);
        transform: scale(1.05);
    }

    /* ===== RIGHT: INFO ===== */
    .d-info-col {
        flex: 1;
        text-align: left;
    }
    .d-title {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 32px;
        color: #5b1133;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    .d-price {
        font-size: 22px;
        font-weight: 500;
        color: #5b1133;
        opacity: 0.9;
        margin-bottom: 10px;
    }
    .d-divider {
        width: 40px;
        height: 2px;
        background: #ffadd6;
        margin-bottom: 20px;
        border-radius: 5px;
    }

    /* ===== SECTIONS ===== */
    .d-section-block { margin-bottom: 20px; }
    .d-script {
        font-family: "Dreamy Notes Script", cursive;
        font-size: 18px;
        color: #5b1133;
        margin-bottom: 8px;
    }
    .d-desc {
        font-size: 15px;
        line-height: 1.8;
        opacity: 0.85;
    }

    /* ===== HIGHLIGHTS ===== */
    .d-highlight-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .d-highlight-box {
        background: #fff5fa;
        border: 1px solid #ffadd6;
        border-radius: 15px;
        padding: 15px 5px;
        text-align: center;
    }
    .d-icon { font-size: 24px; display: block; margin-bottom: 4px; }
    .d-highlight-box p { font-size: 13px; margin: 0; opacity: 0.8; }

    /* ===== LISTS ===== */
    .d-list {
        padding-left: 20px;
        margin-top: 5px;
    }
    .d-list li {
        font-size: 14px;
        line-height: 1.8;
        opacity: 0.85;
        margin-bottom: 4px;
    }

    /* ===== REVIEWS ===== */
    .d-review-card {
        background: #fff5fa;
        border-radius: 15px;
        padding: 15px;
        margin-bottom: 12px;
        text-align: left;
    }
    .d-stars {
        font-size: 14px;
        margin-bottom: 4px;
        color: #ffadd6;
        letter-spacing: 2px;
    }
    .d-review-card p {
        font-size: 14px;
        line-height: 1.6;
        opacity: 0.85;
        margin-bottom: 4px;
    }
    .d-reviewer {
        font-size: 12px;
        font-weight: 500;
        opacity: 0.6;
    }

    /* ===== ORDER ===== */
    .d-order-section {
        margin-top: 25px;
    }
    .d-order-btn {
        background: #ffadd6;
        border: none;
        border-radius: 30px;
        padding: 14px 50px;
        font-family: "Dreamy Notes Script", cursive;
        font-size: 16px;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 173, 214, 0.4);
        letter-spacing: 1px;
        width: 100%;
        max-width: 300px;
    }
    .d-order-btn:hover {
        transform: scale(1.05);
        background: #ffdcee;
        box-shadow: 0 6px 25px rgba(91, 17, 51, 0.3);
    }
    .d-shipping-info {
        margin-top: 15px;
        font-size: 13px;
        opacity: 0.7;
        line-height: 1.6;
        text-align: left;
    }

    /* ===== 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;
        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;
    }
}