/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #fffbfb;
    font-family: "Poiret One", sans-serif;
    color: #272727;
}

/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: "ImperialScript-Regular";
    src: url("./ImperialScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: "Azonix";
  src: url("./Azonix.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* ============================================================
   LAYOUT
   ============================================================ */
.product-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ===== TOP NAV ===== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 15px;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-title {
    font-family: "Azonix";
    font-size: 28px;
    color: #000;
}
.logo-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 14px;
    color: #ffb0d6;
}
.back-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 16px;
    color: #020202;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #ffb0d6;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}
.back-btn:hover {
    background: #ffd5e9;
    color: #fff;
    transform: translateX(-3px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: #fff1f8;
    border-radius: 30px;
    padding: 40px 30px;
}
.hero-content {
    flex: 1;
    min-width: 280px;
    text-align: center;
}
.hero-title {
    font-family: "ImperialScript-Regular";
    font-size: 65px;
    color:#ffb0d6;
    margin: 0;
    line-height: 1;
        font-weight: 150;

}
.hero-subtitle {
    font-size: 24px;
    color: #444;
    margin: 5px 0 15px 0;
}
.hero-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 20px auto;
}
.hero-price {
    font-size: 38px;
    color:#ffb0d6;
    -webkit-text-stroke: 1px #ffb0d6;
        font-weight: 150;

}
.price-num { font-weight: bold; }
.price-cur { font-size: 30px; color: #ffb0d6; -webkit-text-stroke: 0; }

.hero-image-wrapper {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    animation: floatDreamy 4s ease-in-out infinite;
}
@keyframes floatDreamy {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ===== DETAILS SECTION ===== */
.details-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 20px 0;
}
.gallery-block {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.main-image-box {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff1f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffcbe4;
}
.main-image-box img {
    width: 80%;
    height: auto;
    object-fit: contain;
}
.thumbnails-row {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}
.thumb-box {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff1f8;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-box img { width: 70%; height: auto; object-fit: contain; }
.thumb-box.active { border-color: #ffd5ea; box-shadow: 0 4px 12px #ffdaec; }
.thumb-box:hover { transform: scale(1.05); }

.info-block {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-title {
    font-family: "ImperialScript-Regular";
    font-size: 40px;
    font-weight: 150;
    color: #ffb0d6;
    margin: 0;
}
.info-text {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}
.info-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff1f8;
    padding: 20px;
    border-radius: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}
.feature-item div {
    display: flex;
    flex-direction: column;
}
.feature-item strong { font-size: 16px; color: #000; }
.feature-item span { font-size: 14px; color: #666; }

/* ===== WHY CHOOSE US ===== */
.why-section {
    padding: 20px 0;
}
.why-title {
    font-family: "ImperialScript-Regular";
    font-size: 40px;
    color: #ffb0d6;
    text-align: center;
    margin-bottom: 30px;
        font-weight: 150;

}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.why-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(222,34,113,0.06);
    border: 1px solid #ffb0d6;
    transition: all 0.3s ease;
}
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(222,34,113,0.12);
}
.why-icon { font-size: 40px; display: block; margin-bottom: 10px; }
.why-card h4 { font-size: 18px; margin: 0 0 8px 0; color: #000; }
.why-card p { font-size: 15px; color: #666; margin: 0; }

/* ===== BOTTOM ACTIONS (On-page, Not Sticky) ===== */
.bottom-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-top: 10px;
}
.bottom-price {
    font-family: "Poiret One", sans-serif;
    font-size: 30px;
    color:#ffb0d6;
    font-weight: bold;
}
.bottom-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.add-cart-btn, .order-now-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.add-cart-btn {
    background: #ffb0d6;
    color: #fff;
}
.add-cart-btn:hover {
    transform: scale(1.03);
    background: #ffb0d6;
    box-shadow: 0 6px 20px rgba(222,34,113,0.3);
}
.order-now-btn {
    background: #fff;
    color: #ffb0d6;
    border: 1px solid #ffb0d6;
}
.order-now-btn:hover {
    transform: scale(1.03);
    background: #ffecf5;
}

/* ===== FOOTER ===== */
.footer-section {
    text-align: center;
    padding: 30px 0 10px 0;
}
.footer-title {
    font-family: "Azonix";
    font-size: 45px;
    color: #000;
    display: block;
    letter-spacing: 2px;
}
.footer-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 22px;
    color: #000;
    display: block;
    margin-top: -5px;
    letter-spacing: 1px;
}

/* ============================================================
   🎀 ANIMATIONS
   ============================================================ */
.animate-fade-up, .animate-fade-left, .animate-fade-right {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-fade-up { transform: translateY(40px); }
.animate-fade-left { transform: translateX(-50px); }
.animate-fade-right { transform: translateX(50px); }
.animate-fade-up.visible, .animate-fade-left.visible, .animate-fade-right.visible {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

/* ===== MOBILE RESPONSIVE (390px compatible) ===== */
@media (max-width: 700px) {
    .product-page { padding: 15px 15px 30px 15px; gap: 30px; }
    .top-nav { flex-direction: column; align-items: flex-start; }
    .hero-section { padding: 30px 20px; }
    .hero-title { font-size: 50px; }
    .hero-img { max-width: 250px; }
    .main-image-box { height: 260px; }
    
    .bottom-actions { flex-direction: column; gap: 15px; padding: 20px; }
    .bottom-buttons { width: 100%; flex-direction: column; }
    .add-cart-btn, .order-now-btn { width: 100%; text-align: center; }
    
    .why-grid { grid-template-columns: 1fr; }
    .footer-title { font-size: 35px; }
    .footer-sub { font-size: 18px; }
}