/* =========================================
   RESET & FONTS
========================================= */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

@font-face {
    font-family: "Love Diary Regular";
    src: local("Love Diary-Regular");
}
@font-face {
    font-family: "Love Diary";   
    src: url("Love\ Diary.otf") format("truetype"); 
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: linear-gradient(180deg, #fff5fa 0%, #ffffff 100%);
    font-family: "Love Diary";
    overflow-x: hidden;
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR ORIGINAL DESIGN) 📱 ===== */
/* ============================================================ */
.OH-MY-detail.mobile-only {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: transparent;
    min-height: 100vh;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: block;
}

.mobile-only .floating-decor {
    position: absolute;
    font-size: 24px;
    color: #ffd2e7;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.mobile-only .decor-1 { top: 10%; left: 5%; animation: floatA 6s ease-in-out infinite; }
.mobile-only .decor-2 { top: 30%; right: 5%; animation: floatB 8s ease-in-out infinite; }
.mobile-only .decor-3 { bottom: 20%; left: 10%; animation: floatA 7s ease-in-out infinite; }

@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-15deg); }
}

.mobile-only .back-btn-detail {
    display: inline-block;
    top: 25px;
    padding: 15px 0 10px 20px;
    font-size: 17px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2333;
}
.mobile-only .back-btn-detail:hover { transform: translateX(-5px); }

.mobile-only .detail-hero {
    position: relative;
    padding: 0 20px;
    z-index: 2;
}

.mobile-only .main-image {
    width: 100%;
    height: 350px;
    top: 39px;
    border-radius: 39.29px;
    border: 1.43px solid #000000;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(255, 210, 231, 0.2);
}

.mobile-only .image-sticker {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #ffffff;
    border: 1.43px solid #ffd2e7;
    border-radius: 47.14px;
    padding: 6px 18px;
    font-size: 12px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.3px #000000;
    transform: rotate(-5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.mobile-only .image-badge {
    position: absolute;
    top: 55px;
    right: 35px;
    background-color: #ffffff;
    border: 1.43px solid #000000;
    border-radius: 47.14px;
    padding: 6px 15px;
    font-size: 11px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.3px #000000;
}

.mobile-only .detail-info {
    padding: 30px 20px 10px;
    position: relative;
    z-index: 2;
}

.mobile-only .title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mobile-only .detail-title {
    font-size: 30px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
}

.mobile-only .detail-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.mobile-only .detail-price {
    font-size: 24px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.7px #000000;
}

.mobile-only .detail-stock {
    font-size: 11px;
    color: #727272;
    background-color: #ffd2e7;
    padding: 4px 12px;
    border-radius: 20px;
    border: 0.5px solid #ffb9d9;
}

.mobile-only .detail-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-only .stars { color: #ffd2e7; font-size: 14px; }
.mobile-only .review-count { font-size: 10px; color: #999999; }

.mobile-only .detail-description {
    padding: 25px 0;
    margin-bottom: 20px;
    background-color: #fffbfd;
    border-radius: 20px;
    padding: 25px 15px;
}

.mobile-only .desc-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.mobile-only .desc-header h3 {
    font-size: 16px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.4px #000000;
}
.mobile-only .tiny-heart { font-size: 12px; color: #ffd2e7; }

.mobile-only .detail-description p {
    font-size: 11px;
    color: #444444;
    line-height: 1.9;
    margin-bottom: 12px;
    text-align: justify;
}

.mobile-only .detail-details-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #ffeef6;
    padding: 15px;
    border-radius: 20px;
}
.mobile-only .detail-details-list span { font-size: 11px; color: #555555; }

.mobile-only .detail-options { margin-bottom: 25px; }
.mobile-only .option-group label {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}
.mobile-only .color-options { display: flex; gap: 15px; }
.mobile-only .color-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1.43px solid #000000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.mobile-only .color-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 210, 231, 0.5);
}
.mobile-only .color-circle::after {
    content: "♡";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 10px;
    color: #ffd2e7;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-only .color-circle:hover::after { opacity: 1; }

.mobile-only .detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.mobile-only .btn-cart, .mobile-only .btn-order {
    width: 100%;
    padding: 16px;
    border-radius: 47.14px;
    font-family: "Love Diary";
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.mobile-only .btn-cart {
    background-color: #ffffff;
    border: 1.43px solid #000000;
    color: #ffd2e7;
    -webkit-text-stroke: 0.4px #000000;
}
.mobile-only .btn-cart:hover {
    background-color: #ffd2e7;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 210, 231, 0.5);
}

.mobile-only .btn-order {
    background: linear-gradient(135deg, #ffd2e7, #ffb3d9);
    border: 1.43px solid #000000;
    color: #ffffff;
    -webkit-text-stroke: 0.4px #000000;
    animation: shimmer 3s ease-in-out infinite;
}
.mobile-only .btn-order:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 210, 231, 0.6);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mobile-only .detail-shipping {
    background: linear-gradient(135deg, #ffeef6, #fff5fa);
    border-radius: 29px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ffd2e7;
}
.mobile-only .ship-row {
    font-size: 11px;
    color: #555555;
    line-height: 2;
    text-align: center;
}

.mobile-only .also-like-section {
    padding: 20px 20px 40px;
    position: relative;
    z-index: 2;
    top: -22px;
}

.mobile-only .also-like-header {
    text-align: center;
    margin-bottom: 20px;
}
.mobile-only .header-deco { font-size: 12px; color: #ffd2e7; letter-spacing: 4px; margin: 5px 0; }
.mobile-only .also-like-header h2 {
    font-size: 24px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
}
.mobile-only .also-like-header p { font-size: 10px; color: #999999; margin-top: 4px; }

.mobile-only .also-like-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.mobile-only .also-card {
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 29px;
    border: 1.43px solid #000000;
    padding: 10px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.mobile-only .also-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}
.mobile-only .also-img {
    width: 100%;
    height: 100px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid #f0f0f0;
    margin-bottom: 8px;
}
.mobile-only .also-card h4 { font-size: 10px; color: #000000; -webkit-text-stroke: 0.2px #000000; margin-bottom: 4px; }
.mobile-only .also-price { font-size: 12px; color: #ffd2e7; -webkit-text-stroke: 0.3px #000000; }

.mobile-only .footer-wrapper {
    text-align: center;
    padding: 40px 15px 30px;
    background-color: #ffffff;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 -10px 30px rgba(255, 210, 231, 0.1);
    position: relative;
    z-index: 2;
}
.mobile-only .footer-title {
    font-size: 30px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 20px;
}
.mobile-only .footer-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.mobile-only .footer-icons img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.mobile-only .footer-icons img:hover { transform: scale(1.2) rotate(5deg); }
.mobile-only .footer-text {
    font-size: 9.3px;
    color: #ffffff;
    -webkit-text-stroke: 0.71px #000000;
    line-height: 1.8;
    max-width: 242px;
    margin: 0 auto;
}

.mobile-only .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-only .fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
.mobile-only .delay-1 { transition-delay: 0.1s; }
.mobile-only .delay-2 { transition-delay: 0.2s; }
.mobile-only .delay-3 { transition-delay: 0.3s; }
.mobile-only .delay-4 { transition-delay: 0.4s; }

/* ============================================================ */
/* ===== 🖥️ BRAND NEW LAPTOP/TABLET DESIGN 🖥️ ===== */
/* ============================================================ */

/* Force hide laptop version ONLY on phones */
@media (max-width: 767px) {
    .desktop-wrapper { display: none !important; }
}


@media (min-width: 768px) {
    body {
        background: #fff0f6;
        display: flex
;
        justify-content: center;
        padding: 40px;
    }

/* Show laptop version on tablets and laptops */
@media (min-width: 768px) {
    /* 🔥 FIXED: Hides the mobile div correctly */
    .OH-MY-detail.mobile-only { display: none !important; }
    
    .desktop-wrapper {
        display: block !important;
        max-width: 1300px;
        width: 100%;
        margin: 0 auto;
        background: #fffbfd;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 210, 231, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "Love Diary", "Single Day", sans-serif;
        color: #5b1133;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffd2e7;
        margin-bottom: 40px;
    }
    .d-back-btn {
        font-family: "Love Diary";
        font-size: 16px;
        color: #5b1133;
        border: 1.5px solid #000000;
        padding: 8px 20px;
        border-radius: 30px;
        background: #ffffff;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    .d-back-btn:hover { background: #ffd2e7; color: #ffffff; transform: scale(1.05); }
    .d-logo {
        font-family: "Love Diary";
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
    }

    /* ===== PRODUCT SHOWCASE ===== */
    .d-showcase {
        display: flex;
        gap: 50px;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    /* LEFT: IMAGE */
    .d-image-col {
        flex: 1;
        position: relative;
    }
    .d-main-image {
        width: 100%;
        height: 450px;
        border-radius: 39px;
        border: 1.5px solid #000000;
        background-size: cover !important;
        background-position: center !important;
        position: relative;
        box-shadow: 0 15px 35px rgba(255, 210, 231, 0.2);
    }
    .d-sticker {
        position: absolute;
        bottom: -15px;
        right: -15px;
        background-color: #ffffff;
        border: 1.5px solid #ffd2e7;
        border-radius: 47px;
        padding: 8px 22px;
        font-size: 14px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.3px #000000;
        transform: rotate(-5deg);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        animation: wiggle 3s ease-in-out infinite;
    }
    .d-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: #ffffff;
        border: 1.5px solid #000000;
        border-radius: 47px;
        padding: 8px 18px;
        font-size: 13px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.3px #000000;
    }

    /* RIGHT: INFO */
    .d-info-col {
        flex: 1;
    }
    .d-title {
        font-size: 36px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.8px #000000;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    .d-price-row {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 8px;
    }
    .d-price {
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.7px #000000;
    }
    .d-stock {
        font-size: 12px;
        color: #727272;
        background-color: #ffd2e7;
        padding: 4px 14px;
        border-radius: 20px;
        border: 0.5px solid #ffb9d9;
    }
    .d-rating {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .d-stars { color: #ffd2e7; font-size: 16px; }
    .d-review-count { font-size: 12px; color: #999999; }

    /* DESCRIPTION */
    .d-description {
        background-color: #fffbfd;
        border-radius: 20px;
        padding: 25px;
        margin-bottom: 25px;
    }
    .d-desc-header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    .d-desc-header h3 {
        font-size: 18px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.4px #000000;
    }
    .d-heart { font-size: 14px; color: #ffd2e7; }
    .d-description p {
        font-size: 14px;
        color: #444444;
        line-height: 1.9;
        margin-bottom: 12px;
        text-align: justify;
    }
    .d-details-list {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        background-color: #ffeef6;
        padding: 15px;
        border-radius: 20px;
    }
    .d-details-list span { font-size: 13px; color: #555555; }

    /* OPTIONS */
    .d-options { margin-bottom: 25px; }
    .d-options label {
        display: block;
        font-size: 14px;
        color: #888888;
        margin-bottom: 10px;
    }
    .d-colors { display: flex; gap: 15px; }
    .d-color {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid #000000;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }
    .d-color:hover {
        transform: scale(1.2);
        box-shadow: 0 4px 15px rgba(255, 210, 231, 0.5);
    }
    .d-color::after {
        content: "♡";
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 12px;
        color: #ffd2e7;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .d-color:hover::after { opacity: 1; }

    /* ACTIONS */
    .d-actions {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
    }
    .d-cart-btn, .d-order-btn {
        flex: 1;
        padding: 16px;
        border-radius: 47px;
        font-family: "Love Diary";
        font-size: 18px;
        cursor: pointer;
        transition: all 0.4s ease;
        position: relative;
    }
    .d-cart-btn {
        background-color: #ffffff;
        border: 1.5px solid #000000;
        color: #ffd2e7;
        -webkit-text-stroke: 0.4px #000000;
    }
    .d-cart-btn:hover {
        background-color: #ffd2e7;
        color: #ffffff;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 30px rgba(255, 210, 231, 0.5);
    }
    .d-order-btn {
        background: linear-gradient(135deg, #ffd2e7, #ffb3d9);
        border: 1.5px solid #000000;
        color: #ffffff;
        -webkit-text-stroke: 0.4px #000000;
        animation: shimmer 3s ease-in-out infinite;
    }
    .d-order-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 30px rgba(255, 210, 231, 0.6);
    }

    /* SHIPPING */
    .d-shipping {
        background: linear-gradient(135deg, #ffeef6, #fff5fa);
        border-radius: 29px;
        padding: 20px;
        border: 1px solid #ffd2e7;
    }
    .d-ship-row {
        font-size: 13px;
        color: #555555;
        line-height: 2;
        text-align: center;
    }

    /* ===== ALSO LIKE ===== */
    .d-section { margin-bottom: 50px; }
    .d-section-header { text-align: center; margin-bottom: 25px; }
    .d-section-header h2 {
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        margin: 0 0 5px 0;
    }
    .d-section-header p { font-size: 14px; color: #999999; }
    .d-header-deco { font-size: 14px; color: #ffd2e7; letter-spacing: 4px; margin: 5px 0; }

    .d-grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    .d-card {
        text-decoration: none;
        background-color: #ffffff;
        border-radius: 29px;
        border: 1.5px solid #000000;
        padding: 15px;
        text-align: center;
        transition: all 0.4s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    }
    .d-card:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
        border-color: #ffd2e7;
    }
    .d-card-img {
        width: 100%;
        height: 140px;
        border-radius: 20px;
        background-size: cover !important;
        background-position: center !important;
        border: 1px solid #f0f0f0;
        margin-bottom: 10px;
    }
    .d-card h4 {
        font-size: 14px;
        color: #000000;
        -webkit-text-stroke: 0.2px #000000;
        margin-bottom: 4px;
    }
    .d-card-price { font-size: 16px; color: #ffd2e7; -webkit-text-stroke: 0.3px #000000; }

    /* ===== FOOTER ===== */
    .d-footer {
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #ffd2e7;
    }
    .d-footer-title {
        font-size: 32px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        margin-bottom: 20px;
    }
    .d-footer-icons {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }
    .d-icon {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    .d-icon:hover { transform: scale(1.2) rotate(5deg); }
    .d-footer-text {
        font-size: 14px;
        color: #5b1133;
        line-height: 1.8;
        max-width: 500px;
        margin: 0 auto;
    }
}}