/* Global Site Styles - Consultation Popup, Floating Buttons, etc. */

/* Footer & Map */
.footer-logo-container {
    margin-top: 15px;
    display: inline-block;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Consultation Popup Container */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(3px);
}

#consultPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    display: none;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    width: 95%;
    max-width: 440px;
    background: #fff;
    animation: popupBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupBounceIn {
    0% { opacity: 0; transform: translate(-50%, -45%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Popup Header */
.consult-popup-header {
    background: url('/images/floral_header.png') no-repeat center center;
    background-size: cover;
    padding: 25px 20px;
    position: relative;
    border: none;
    text-align: center;
}
.consult-popup-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(8, 20, 41, 0.7) 0%, rgba(13, 110, 253, 0.6) 100%);
    z-index: 1;
}
.consult-popup-header h6 {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
}
.consult-popup-header .close-popup {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 20px;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* Popup Body */
.consult-popup-body {
    padding: 20px 25px;
    position: relative;
}

.consult-popup-body .form-control {
    background: #fff;
    border: 1.5px solid #eef2f6;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 15px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.consult-popup-body .form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.btn-consult-submit {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    box-shadow: 0 10px 20px rgba(21, 128, 61, 0.2) !important;
    border: none;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100% !important;
    padding: 12px 0;
    border-radius: 12px;
    display: block !important;
    position: relative;
    z-index: 5;
    transition: all 0.3s;
}
.btn-consult-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Success View */
.consult-success {
    text-align: center;
    display: none;
    padding: 60px 40px;
}
.consult-success i {
    font-size: 5rem;
    color: #198754;
    margin-bottom: 25px;
    display: block;
}
.consult-success h6 {
    font-size: 2rem;
    font-weight: 700;
}
.consult-success p {
    font-size: 1.2rem;
}

/* Decorations & Mascots */
.leaf, .heart {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.leaf {
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0 100% 0 100%;
    animation: floatLeaf 8s infinite linear;
}
.heart {
    color: rgba(244, 63, 94, 0.15);
    font-size: 14px;
    animation: floatHeart 6s infinite ease-in-out;
}
@keyframes floatLeaf {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translate(100px, 100px) rotate(360deg); opacity: 0; }
}
@keyframes floatHeart {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 0.8; transform: translateY(-50px) scale(1.2); }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.cute-mascot {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: multiply;
    border-radius: 50%;
}
.mascot-right {
    bottom: -15px;
    right: -15px;
    animation: mascotWobble 4s infinite ease-in-out;
}
.mascot-left {
    bottom: -15px;
    left: -15px;
    animation: mascotFloat 5s infinite ease-in-out;
}
@keyframes mascotWobble {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
@keyframes mascotFloat {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
    #consultPopup { width: 95%; max-width: none; }
    .consult-popup-header h6 { font-size: 1.3rem; }
    .consult-popup-body { padding: 20px; }
}

/* Common Flash Sale Styles */
.flash-sale-section {
    border: none;
}
.flash-sale-header {
    background-color: #ffc107 !important;
}
.flash-sale-body {
    background-color: #ffdf7e !important;
}
.h-12 {
    height: 12px !important;
}
.mini-badge {
    font-size: 0.65rem;
    border-radius: 0 4px 4px 0;
}
.grad-black-transparent {
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.shadow-text {
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Common Utilities */
.small-plus { font-size: 0.85rem !important; }
.micro-text { font-size: 0.75rem !important; }
.super-mini-badge { font-size: 0.7rem !important; }
.h-60 { height: 60px !important; }
.h-180 { height: 180px !important; }
.h-300 { height: 300px !important; }
.w-80 { width: 80px !important; }
.max-h-300 { max-height: 300px !important; overflow-y: auto; overflow-x: hidden; }
.max-h-400 { max-height: 400px !important; overflow-y: auto; overflow-x: hidden; }
.mt-18 { margin-top: 18px !important; }
.object-fit-cover { object-fit: cover !important; }
.letter-spacing-1 { letter-spacing: 1px !important; }
.transition-all { transition: all 0.3s ease !important; }

.bg-whatsapp { background-color: #25D366 !important; }
.bg-gmail { background-color: #ea4335 !important; }

.product-price-badge { width: 120px; display: none; }
.img-square-container { aspect-ratio: 1/1; }

/* Contact Page Helpers */
.leaf-pos-1 { top: 8%; left: 4%; animation-delay: 0s; }
.leaf-pos-2 { bottom: 18%; right: 7%; animation-delay: 2s; transform: rotate(45deg); }
.leaf-pos-3 { top: 50%; right: 4%; animation-delay: 5s; }
.heart-pos-1 { top: 18%; right: 18%; animation-delay: 1s; }
.heart-pos-2 { bottom: 10%; left: 10%; animation-delay: 3s; }
.heart-pos-3 { top: 60%; left: 4%; animation-delay: 4.5s; }

.contact-title { color: var(--contact-secondary); }


