/* --- YOUR EXACT RESET & GLOBALS --- */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff2f8;
            font-family: "overdozesans";
    display: flex;
    justify-content: center;
    min-height: 100vh;
}
@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: "overdozesans";
  src: url("./overdozesans.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "overdozesans";
  src: url("./overdozesans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}
/* --- SCROLLABLE PRODUCT CONTAINER --- */
.product-screen {
    background-color: #fff2f8;
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px; /* Space for bottom nav */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HEADER & BREADCRUMB --- */
.header-wrapper {
    width: 100%;
    padding: 30px 20px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.back-btn {
            font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
    text-decoration: none;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
}
.breadcrumb {
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    color: #5a1132;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
}
.breadcrumb span { color: #ffb7d9; }

/* --- MAIN PRODUCT IMAGE (DETAILED) --- */
.product-image-container {
    margin-top: 25px;
    width: 320px;
    height: 300px;
    background: #ffffff;
    border-radius: 60px 60px 40px 40px;
    border: 3px solid #ffb7d9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(255, 183, 217, 0.25);
}
.product-image-container img {
    width: 75%;
    height: auto;
    object-fit: contain;
}
/* Cute badges */
.badge {
    position: absolute;
    background: #ffb7d9;
    color: #5a1132;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
            font-family: "overdozesans";
    box-shadow: 0 4px 10px rgba(255, 183, 217, 0.4);
}
.badge-top { top: -12px; right: 20px; }
.badge-bottom { bottom: -12px; left: 20px; }

/* --- DETAILED INFO CARD --- */
.info-card {
    margin-top: 40px;
    width: 340px;
    background: #ffffff;
    border-radius: 50px;
    padding: 35px 25px;
    border: 3px solid #ffb7d9;
    position: relative;
}
.info-card h2 {
            font-family: "overdozesans";
    font-size: 34px;
    color: #5a1132;
    text-align: center;
    margin-bottom: 5px;
}
.info-card .subtitle {
  font-family: "Vividly-Regular", Helvetica;
    color: #5a1132;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.info-card .desc {
            font-family: "overdozesans";
    color: #ffb7d9;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}
.info-card .desc strong {
    color: #5a1132;
}

/* --- EXTRA DETAILS SECTION (Cute Grid) --- */
.details-grid {
    margin-top: 30px;
    width: 340px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.detail-item {
    background: white;
    border-radius: 30px;
    padding: 20px 5px;
    text-align: center;
    border: 2px solid #ffb7d9;
}
.detail-item span {
    display: block;
            font-family: "overdozesans";
    font-size: 13px;
    color: #5a1132;
    margin-top: 8px;
}
.detail-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* --- "WHAT'S INSIDE" SECTION --- */
.inside-section {
    margin-top: 35px;
    width: 340px;
    background: #ffffff;
    border-radius: 50px;
    padding: 25px;
    border: 3px solid #ffb7d9;
}
.inside-section h3 {
            font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
    text-align: center;
    margin-bottom: 15px;
}
.inside-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.inside-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff2f8;
    padding: 10px 15px;
    border-radius: 30px;
}
.inside-item img {
    width: 24px;
    height: 24px;
}
.inside-item p {
            font-family: "overdozesans";
    font-size: 15px;
    color: #5a1132;
}
.inside-item span {
            font-family: "overdozesans";
    font-size: 14px;
    color: #ffb7d9;
    margin-left: auto;
}

/* --- BIG CUTE CTA BUTTON --- */
.cta-button {
    margin-top: 40px;
    width: 280px;
    background: #ffd0e5;
    color: #ffffff;
            font-family: "overdozesans";
    font-size: 22px;
    padding: 18px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cta-button:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #3a0a20;
}

/* --- DECORATIVE FLOATING ELEMENTS --- */
.floating-icon {
    position: absolute;
    opacity: 0.5;
}
.floating-1 { top: 120px; left: 5px; width: 35px; }
.floating-2 { top: 480px; right: 10px; width: 30px; }
.floating-3 { bottom: 180px; left: 10px; width: 40px; }

/* --- YOUR EXACT BOTTOM NAV (UNCHANGED) --- */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    height: 96px;
    background-color: #ffffff;
    border-radius: 43px 43px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 10px 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
    z-index: 100;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}
.nav-item span {
            font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
    text-align: center;
}
.nav-item.active span { color: #5a1132; }
.nav-item.active img { opacity: 0.7; }

/* ===== SCROLL REVEAL ANIMATIONS (FIXED) ===== */

/* 1. Initial hidden state */
.animate-on-scroll {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform, opacity;
}

/* 2. Active state when scrolled into view */
.scroll-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 3. 🎀 DELAYS FOR A WAVE EFFECT */
.product-image-container { transition-delay: 0.0s !important; }
.info-card { transition-delay: 0.1s !important; }
.detail-item:nth-child(1) { transition-delay: 0.2s !important; }
.detail-item:nth-child(2) { transition-delay: 0.3s !important; }
.detail-item:nth-child(3) { transition-delay: 0.4s !important; }
.inside-section { transition-delay: 0.3s !important; }
.inside-item:nth-child(1) { transition-delay: 0.4s !important; }
.inside-item:nth-child(2) { transition-delay: 0.5s !important; }
.inside-item:nth-child(3) { transition-delay: 0.6s !important; }
.cta-button { transition-delay: 0.7s !important; }

/* 4. 🐱 FIX: Make sure the cake keeps floating after scrolling into view */
.scroll-reveal-active.product-image-container {
    animation: floatCake 4s infinite ease-in-out !important;
}

/* 5. ✨ Button pop effect */
.cta-button:active {
    transform: scale(0.95) !important;
}