@import url("style.css");

/* ===== GLOBAL LAYOUT ===== */
.order-screen {
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0 !important;
}
@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;
}

/* ===== BACK BUTTON ===== */
.back-button {
    position: absolute;
    top: 80px;
    left: 30px;
    font-family: "overdozesans";
    font-size: 16px;
    color: #000;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    background: #ffe5f0;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #000;
}
.back-button:hover {
    transform: translateX(-3px);
    background: #ffe4f0;
}
.back-arrow { margin-right: 6px; }

/* ===== MAIN WRAPPER ===== */
.main-content-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 100px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ===== PRODUCT WRAPPER ===== */
.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px;
    border-radius: 24px;
    justify-content: center;
    z-index: 0;
}

/* --- LEFT: GALLERY --- */
.product-gallery {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffa4cc;
}

.order-main-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* --- THUMBNAILS --- */
.thumbnails {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid transparent;
    background-size: cover !important;
    background-position: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffa4cc;
}

.thumb:hover { transform: scale(1.05); }
.thumb.active { border-color: #ffa4cc; box-shadow: 0 4px 12px rgba(255, 180, 180, 0.3); }

/* --- RIGHT: INFO CARD --- */
.product-info-card {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.info-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-title {
    font-family: "overdozesans";
    font-size: 38px;
    color: #000;
    margin: 0;
    letter-spacing: 0;
}

.product-rating {
    font-family: "overdozesans";
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stars { color: #ffa4cc; letter-spacing: 2px; }
.review-count { color: #ffa4cc; font-size: 14px; }

/* --- PRICE BLOCK --- */
.product-price-block {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
}

.product-price {
    font-family: "overdozesans";
    font-size: 32px;
    color: #000;
    background: #fff1f7;
    padding: 4px 20px;
    border-radius: 30px;
}

.price-note {
    font-family: "overdozesans";
    font-size: 14px;
    color: #666;
}

/* --- DESCRIPTION & DETAILS --- */
.product-desc {
    font-family: "overdozesans";
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "overdozesans";
    font-size: 15px;
    color: #363636;
    background: #fff8fb;
    padding: 16px 20px;
    border-radius: 14px;
}

/* --- ACTION BUTTONS --- */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "overdozesans";
    font-size: 18px;
    color: #fff;
    background-color: #ffc2dd;
    border-radius: 30px;
    padding: 16px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
}
.whatsapp-btn:hover {
    transform: scale(1.02);
    background-color: #bd1e95;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn i { font-size: 24px; }

.order-btn {
    font-family: "overdozesans";
    font-size: 18px;
    color: #000;
    background-color: #fff1f7;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.order-btn:hover {
    transform: scale(1.02);
    background-color: #ffe3ee;
    box-shadow: 0 6px 20px rgba(255, 180, 200, 0.2);
}

/* ===== FOOTER ===== */
.footer-section {
    width: 100%;
    text-align: center;
    padding: 30px 0 20px 0;
    background: transparent;
}

.footer-section .text-wrapper-15 {
    font-size: 40px !important;
    font-family: "overdozesans" !important;
    color: #000 !important;
    display: block;
    margin-bottom: 5px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}
.footer-section .text-wrapper-16 {
    font-family: "overdozesans" !important;
    color: #000 !important;
    display: block;
    margin-bottom: 10px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}
.footer-section .text-wrapper-17,
.footer-section .text-wrapper-18,
.footer-section .hello-liviaflowers {
    font-family: "overdozesans" !important;
    color: #000 !important;
    display: block;
    margin-bottom: 5px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 700px) {
    .main-content-wrapper { padding: 80px 15px 30px 15px; gap: 40px; }
    .product-wrapper { flex-direction: column; padding: 20px; }
    .product-gallery, .product-info-card { max-width: 100%; min-width: 0; }
    .main-image-container { height: 280px; }
    .back-button { top: 40px; left: 19px; font-size: 14px; padding: 6px 14px; }
    .product-title { font-size: 30px; }
    .product-price { font-size: 28px; }
}

/* ============================================================ */
/* ===== 🆕 ORDER PAGE INDEPENDENT IMAGE CLASSES 🆕 ===== */
/* ============================================================ */

.order-main-img, 
.order-thumb-img {
    background-color: #ffb4b4;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.order-img-1 { background-image: url('rose7.jpg'); }
.order-img-2 { background-image: url('rose2.jpg'); }
.order-img-3 { background-image: url('rose4.jpg'); }
.order-img-4 { background-image: url('rose1.jpg'); }

/* ============================================================ */
/* ===== 🎀 SCROLL ANIMATIONS (Like your homepage!) 🎀 ===== */
/* ============================================================ */

/* --- BASE HIDDEN STATES --- */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- VISIBLE STATE --- */
.scroll-fade-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- STAGGER DELAYS (So they pop one by one on scroll) --- */
.product-gallery.scroll-fade-up { transition-delay: 0.1s; }
.product-info-card.scroll-fade-up { transition-delay: 0.2s; }
.footer-section.scroll-fade-up { transition-delay: 0.3s; }