/* =========================================
   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-color: #ffffff;
  font-family: "Love Diary";
    overflow-x: hidden;
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR ORIGINAL DESIGN) 📱 ===== */
/* ============================================================ */
.mobile-only.OH-MY-products {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    display: block;
}

.mobile-only .products-hero {
    position: relative;
    height: 280px;
    background-image: url(pic1.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.mobile-only .sparkle {
    position: absolute;
    top: 80px;
    right: 30px;
    font-size: 30px;
    color: #ffd2e7;
    animation: floatSparkle 3s ease-in-out infinite;
}

@keyframes floatSparkle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(15deg); }
}

.mobile-only .back-btn {
    position: absolute;
    top: 25px;
    left: 20px;
    font-size: 17px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 10;
}
.mobile-only .back-btn:hover { transform: scale(1.1); }

.mobile-only .hero-text { text-align: center; z-index: 2; margin-bottom: 40px; }
.mobile-only .hero-text h1 {
    font-size: 34px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 10px;
}
.mobile-only .hero-text p {
    font-size: 10px;
    color: #ffffff;
    -webkit-text-stroke: 0.5px #000000;
    width: 60%;
    margin: 0 auto;
}

.mobile-only .product-section {
    padding: 35px 15px 45px;
}

.mobile-only .bg-soft-pink {
    background-color: #ffeef6;
    border-radius: 39.29px;
    margin: 0 10px;
}

.mobile-only .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-only .section-title {
    font-size: 26px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
}

.mobile-only .section-sub {
    font-size: 10px;
    color: #000000;
    margin-top: 7px;
}

.mobile-only .section-divider {
    font-size: 18px;
    color: #ffd2e7;
    margin-top: 8px;
    letter-spacing: 5px;
}

.mobile-only .product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mobile-only .product-card {
    background-color: #ffffff;
    border-radius: 29px;
    border: 1.43px solid #000000;
    padding: 12px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    position: relative;
}

.mobile-only .product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}

.mobile-only .product-card::after {
    content: "♡";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    color: #ffd2e7;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-only .product-card:hover::after { opacity: 1; }

.mobile-only .prod-img {
    width: 100%;
    height: 140px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid #f0f0f0;
}

.mobile-only .prod-info { padding-top: 10px; }
.mobile-only .prod-info h3 {
    font-size: 13px;
    color: #000000;
    margin-bottom: 3px;
}
.mobile-only .prod-info p {
    font-size: 9px;
    color: #666666;
    line-height: 1.3;
    margin-bottom: 8px;
}
.mobile-only .prod-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-only .price {
    font-size: 14px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
}
.mobile-only .tag {
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 20px;
    border: 0.5px solid #ffd2e7;
}
.mobile-only .tag.fire, .mobile-only .tag.new, .mobile-only .tag.viral, .mobile-only .tag.classic {
    color: #050505;
    background-color: #fff0f3;
}

.mobile-only .shop-all-wrapper {
    text-align: center;
    padding: 20px 15px 40px;
}
.mobile-only .shop-all-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 47.14px;
    border: 1.43px solid #000000;
    background-color: #ffffff;
    font-family: "Love Diary";
    font-size: 18px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: floatButton 4s ease-in-out infinite;
}
.mobile-only .shop-all-btn:hover {
    background-color: #ffd2e7;
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
}

@keyframes floatButton {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.mobile-only .footer-wrapper {
    text-align: center;
    padding: 40px 15px 30px;
    background-color: #ffffff;
}
.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 SCROLL ANIMATIONS
========================================= */
.mobile-only .scroll-hidden {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-only .scroll-visible {
    opacity: 1;
    transform: translateY(0);
}
.mobile-only .product-card:nth-child(1) { transition-delay: 0.05s; }
.mobile-only .product-card:nth-child(2) { transition-delay: 0.15s; }
.mobile-only .product-card:nth-child(3) { transition-delay: 0.25s; }
.mobile-only .product-card:nth-child(4) { transition-delay: 0.35s; }

.mobile-only a {
    text-decoration: none !important;
    display: block;
}
.mobile-only a .product-card { transition: all 0.4s ease; }
.mobile-only a:hover .product-card {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}
.mobile-only a:hover .product-card::after { opacity: 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: #ffffff;
        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-logo {
        font-family: "Love Diary";
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
    }
    .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); }

    /* ===== HERO ===== */
    .d-hero {
        text-align: center;
        margin-bottom: 40px;
    }
    .d-hero-content h1 {
        font-family: "Love Diary";
        font-size: 48px;
        color: #ffd2e7;
        -webkit-text-stroke: 1px #000000;
        margin: 0 0 10px 0;
        line-height: 1.2;
    }
    .d-hero-content p {
        font-family: "Love Diary";
        font-size: 18px;
        color: #5b1133;
        margin-bottom: 20px;
    }
    .d-sparkle {
        font-size: 40px;
        color: #ffd2e7;
        animation: floatSparkle 3s ease-in-out infinite;
        display: inline-block;
    }

    /* ===== SECTIONS ===== */
    .d-section { margin-bottom: 50px; }
    .d-alt {
        background: #ffeef6;
        border-radius: 30px;
        padding: 30px 20px;
        border: 1px solid #ffd2e7;
    }
    .d-section-header { text-align: center; margin-bottom: 25px; }
    .d-section-header h2 {
        font-family: "Love Diary";
        font-size: 32px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        margin: 0 0 5px 0;
    }
    .d-section-header p {
        font-family: "Love Diary";
        font-size: 14px;
        color: #5b1133;
    }

    /* ===== GRID ===== */
    .d-grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    .d-card-link { text-decoration: none; display: block; color: inherit; }
    .d-card {
        background: #ffffff;
        border: 1.5px solid #000000;
        border-radius: 29px;
        padding: 15px;
        transition: all 0.4s ease;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        position: relative;
    }
    .d-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
        border-color: #ffd2e7;
    }
    .d-card::after {
        content: "♡";
        position: absolute;
        top: -8px;
        right: -8px;
        font-size: 18px;
        color: #ffd2e7;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .d-card:hover::after { opacity: 1; }
    .d-card-img {
        width: 100%;
        height: 180px;
        border-radius: 20px;
        background-size: cover !important;
        background-position: center !important;
        border: 1px solid #f0f0f0;
    }
    .d-card-info { padding-top: 12px; }
    .d-card-info h3 {
        font-family: "Love Diary";
        font-size: 16px;
        color: #000000;
        margin-bottom: 4px;
    }
    .d-card-info p {
        font-size: 12px;
        color: #666666;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .d-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .d-price {
        font-size: 16px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
    }
    .d-tag {
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 20px;
        border: 0.5px solid #ffd2e7;
        background-color: #fff0f3;
        color: #050505;
    }

    /* ===== SHOP ALL ===== */
    .d-shop-all { text-align: center; padding: 20px 0 40px; }
    .d-shop-btn {
        display: inline-block;
        padding: 14px 40px;
        border-radius: 47px;
        border: 1.5px solid #000000;
        background-color: #ffffff;
        font-family: "Love Diary";
        font-size: 20px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        cursor: pointer;
        transition: all 0.4s ease;
        animation: floatButton 4s ease-in-out infinite;
    }
    .d-shop-btn:hover {
        background-color: #ffd2e7;
        color: #ffffff;
        transform: translateY(-3px) scale(1.03);
    }

    /* ===== FOOTER ===== */
    .d-footer { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #ffd2e7; }
    .d-footer-title {
        font-family: "Love Diary";
        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;
    }
}