/* =========================================
   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: linear-gradient(180deg, #fff5fa 0%, #ffffff 100%);
  font-family: "Love Diary";
    overflow-x: hidden;
}

/* =========================================
   MAIN CONTAINER
========================================= */
.OH-MY-detail {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: transparent;
    min-height: 100vh;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* =========================================
   FLOATING DECORATIONS (Background magic)
========================================= */
.floating-decor {
    position: absolute;
    font-size: 24px;
    color: #ffd2e7;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.decor-1 { top: 10%; left: 5%; animation: floatA 6s ease-in-out infinite; }
.decor-2 { top: 30%; right: 5%; animation: floatB 8s ease-in-out infinite; }
.decor-3 { bottom: 20%; left: 10%; animation: floatA 7s ease-in-out infinite; }
.decor-4 { bottom: 40%; right: 10%; animation: floatB 9s 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); }
}

/* =========================================
   BACK BUTTON
========================================= */
.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;
}
.back-btn-detail:hover { transform: translateX(-5px); }

/* =========================================
   PRODUCT HERO IMAGE
========================================= */
.detail-hero {
    position: relative;
    padding: 0 20px;
    z-index: 2;
}

.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);
}

/* Cute sticker on the image */
.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); }
}

.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;
}

/* =========================================
   PRODUCT INFO
========================================= */
.detail-info {
    padding: 30px 20px 10px;
    position: relative;
    z-index: 2;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 30px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.detail-price {
    font-size: 24px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.7px #000000;
}

.detail-stock {
    font-size: 11px;
    color: #727272;
    background-color: #ffd2e7;
    padding: 4px 12px;
    border-radius: 20px;
    border: 0.5px solid #ffb9d9;
}

.detail-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.stars { color: #ffd2e7; font-size: 14px; }
.review-count { font-size: 10px; color: #999999; }

/* =========================================
   DESCRIPTION (Scalloped borders!)
========================================= */
.detail-description {
    padding: 25px 0;
    margin-bottom: 20px;
    background-color: #fffbfd;
    border-radius: 20px;
    padding: 25px 15px;
}

.desc-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.desc-header h3 {
    font-size: 16px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.4px #000000;
}
.tiny-heart { font-size: 12px; color: #ffd2e7; }

.detail-description p {
    font-size: 11px;
    color: #444444;
    line-height: 1.9;
    margin-bottom: 12px;
    text-align: justify;
}

.detail-details-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #ffeef6;
    padding: 15px;
    border-radius: 20px;
}
.detail-details-list span { font-size: 11px; color: #555555; }

.cute-note-box {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #ffd2e7;
    border-radius: 20px;
    padding: 10px 15px;
}
.cute-note-box span { font-size: 20px; }
.cute-note-box p { font-size: 11px; color: #888888; margin: 0; }

/* =========================================
   COLOR OPTIONS
========================================= */
.detail-options { margin-bottom: 25px; }
.option-group label {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}
.color-options { display: flex; gap: 15px; }
.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;
}
.color-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 210, 231, 0.5);
}
.color-circle::after {
    content: "♡";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 10px;
    color: #ffd2e7;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.color-circle:hover::after { opacity: 1; }

/* =========================================
   ACTION BUTTONS (Glow effect!)
========================================= */
.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-cart, .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;
}

.btn-cart {
    background-color: #ffffff;
    border: 1.43px solid #000000;
    color: #ffd2e7;
    -webkit-text-stroke: 0.4px #000000;
}
.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);
}

.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;
}
.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%; }
}

/* =========================================
   SHIPPING INFO
========================================= */
.detail-shipping {
    background: linear-gradient(135deg, #ffeef6, #fff5fa);
    border-radius: 29px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ffd2e7;
}
.ship-row {
    font-size: 11px;
    color: #555555;
    line-height: 2;
    text-align: center;
}

/* =========================================
   YOU MAY ALSO LIKE
========================================= */
.also-like-section {
    padding: 20px 20px 40px;
    position: relative;
    z-index: 2;
    top: -22px;
}

.also-like-header {
    text-align: center;
    margin-bottom: 20px;
}
.header-deco { font-size: 12px; color: #ffd2e7; letter-spacing: 4px; margin: 5px 0; }
.also-like-header h2 {
    font-size: 24px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
}
.also-like-header p { font-size: 10px; color: #999999; margin-top: 4px; }

.also-like-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.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);
}
.also-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 210, 231, 0.35);
    border-color: #ffd2e7;
}
.also-img {
    width: 100%;
    height: 100px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid #f0f0f0;
    margin-bottom: 8px;
}
.also-card h4 { font-size: 10px; color: #000000; -webkit-text-stroke: 0.2px #000000; margin-bottom: 4px; }
.also-price { font-size: 12px; color: #ffd2e7; -webkit-text-stroke: 0.3px #000000; }

/* =========================================
   EXACT ORIGINAL FOOTER
========================================= */
.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;
}
.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
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

