/* =========================================
   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";   /* You can name this whatever you want! */
    src: url("Love\ Diary.otf") format("truetype"); /* Make sure the filename matches exactly */
    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;
}

/* =========================================
   MAIN CONTAINER
========================================= */
.OH-MY-products {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* =========================================
   HERO HEADER (Cuter with sparkle!)
========================================= */
.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;
}

.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); }
}

.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;
}
.back-btn:hover { transform: scale(1.1); }

.hero-text { text-align: center; z-index: 2; }
.hero-text h1 {
    font-size: 34px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 10px;
    color: #ffffff;
    -webkit-text-stroke: 0.5px #000000;
    width: 60%;
    margin: 0 auto;
}
.hero-text {
    text-align: center;
    z-index: 2;
    margin-bottom: 40px; /* Adjust this number to raise/lower the whole text block */
}

/* =========================================
   SECTION STYLES (With dividers!)
========================================= */
.product-section {
    padding: 35px 15px 45px;
}

.bg-soft-pink {
    background-color: #ffeef6;
    border-radius: 39.29px;
    margin: 0 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 26px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
}

.section-sub {
    font-size: 10px;
    color: #000000;
    margin-top: 7px;
    
}

.section-divider {
    font-size: 18px;
    color: #ffd2e7;
    margin-top: 8px;
    letter-spacing: 5px;
}

/* =========================================
   PRODUCT CARDS (4 per row! 2x2 Grid)
========================================= */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.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;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}

/* Cute floating heart on hover */
.product-card::after {
    content: "♡";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    color: #ffd2e7;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover::after {
    opacity: 1;
}

.prod-img {
    width: 100%;
    height: 140px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid #f0f0f0;
}

.prod-info {
    padding-top: 10px;
}

.prod-info h3 {
    font-size: 13px;
    color: #000000;
    margin-bottom: 3px;
}

.prod-info p {
    font-size: 9px;
    color: #666666;
    line-height: 1.3;
    margin-bottom: 8px;
}

.prod-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 14px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
}

.tag {
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 20px;
    border: 0.5px solid #ffd2e7;
}
.tag.fire { color: #050505; background-color: #fff0f3; }
.tag.new { color: #050505; background-color: #fff0f3; }
.tag.viral { color: #050505; background-color: #fff0f3; }
.tag.classic { color: #050505; background-color: #fff0f3; }

/* =========================================
   SHOP ALL BUTTON (Extra cute!)
========================================= */
.shop-all-wrapper {
    text-align: center;
    padding: 20px 15px 40px;
}

.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;
}

.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); }
}

/* =========================================
   EXACT ORIGINAL FOOTER
========================================= */
.footer-wrapper {
    text-align: center;
    padding: 40px 15px 30px;
    background-color: #ffffff;
}

.footer-title {
    font-size: 30px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 20px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-icons img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.footer-icons img:hover {
    transform: scale(1.2) rotate(5deg);
}

.footer-text {
    font-size: 9.3px;
    color: #ffffff;
    -webkit-text-stroke: 0.71px #000000;
    line-height: 1.8;
    max-width: 242px;
    margin: 0 auto;
}

/* =========================================
   SCROLL ANIMATIONS
========================================= */
.scroll-hidden {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for 4 items */
.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.15s; }
.product-card:nth-child(3) { transition-delay: 0.25s; }
.product-card:nth-child(4) { transition-delay: 0.35s; }

/* =========================================
   FIX: NO UNDERLINES FOR PRODUCT LINKS
========================================= */

/* Remove default link underline & styling */
.OH-MY-products a {
    text-decoration: none !important;
    display: block; /* Makes the entire <a> tag fill the card */
}

/* Fix hover for the product card INSIDE the link */
.OH-MY-products a .product-card {
    transition: all 0.4s ease;
}

/* When you hover the link, the card lifts up (same as before!) */
.OH-MY-products a:hover .product-card {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}

/* Keep the floating heart on hover */
.OH-MY-products a:hover .product-card::after {
    opacity: 1;
}