/**
 * Responsive & Mobile Specific Styles
 *
 * @package ViralFlowers
 */

/* 1. SABİT WHATSAPP BUTONU (FAB) */
.vf-whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.vf-whatsapp-bubble {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform 0.25s ease;
}

.vf-whatsapp-bubble:hover {
    transform: scale(1.08);
}

.vf-wa-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: vf-pulse-anim 1.8s infinite;
}

@keyframes vf-pulse-anim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.vf-wa-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    background-color: var(--vf-dark);
    color: var(--vf-white);
    padding: 6px 14px;
    border-radius: var(--vf-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.vf-whatsapp-bubble:hover .vf-wa-tooltip {
    opacity: 1;
}

/* 2. YUKARI ÇIK BUTONU (BACK TO TOP) */
.vf-back-to-top {
    position: fixed;
    bottom: 95px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--vf-white);
    color: var(--vf-primary);
    border: 1px solid var(--vf-border);
    box-shadow: var(--vf-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vf-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.vf-back-to-top:hover {
    background-color: var(--vf-primary);
    color: var(--vf-white);
    transform: translateY(-3px);
}

/* 3. FOOTER STİLLERİ */
.vf-footer {
    background-color: #122117;
    color: var(--vf-white);
    border-top: 1px solid #1a3123;
}

.vf-newsletter-bar {
    background: linear-gradient(90deg, #182e21 0%, #224230 100%);
    padding: 45px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vf-newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.vf-newsletter-badge {
    color: var(--vf-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.vf-newsletter-text h3 {
    color: var(--vf-white);
    margin: 6px 0;
    font-size: 1.5rem;
}

.vf-newsletter-text p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.vf-newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 440px;
}

.vf-newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: var(--vf-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--vf-white);
    outline: none;
}

.vf-footer-main {
    padding: 60px 0 40px;
}

.vf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.vf-footer-heading {
    color: var(--vf-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.vf-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--vf-accent);
}

.vf-footer-links li {
    margin-bottom: 10px;
}

.vf-footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.vf-footer-links li a:hover {
    color: var(--vf-accent);
    padding-left: 4px;
}

.vf-about-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 16px 0 20px;
}

.vf-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.vf-contact-list li i {
    color: var(--vf-accent);
    margin-top: 4px;
}

.vf-hours-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--vf-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.vf-hours-box p {
    margin-bottom: 8px;
    color: inherit;
}

.vf-payment-title {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
}

.vf-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vf-payment-badges span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--vf-radius-sm);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.vf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.vf-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.vf-footer-socials {
    display: flex;
    gap: 12px;
}

.vf-footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--vf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.vf-footer-socials a:hover {
    background-color: var(--vf-accent);
    color: var(--vf-white);
    transform: translateY(-2px);
}

/* ====================================================
   MEDIA QUERIES (TABLET & MOBİL)
==================================================== */
@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }

    .vf-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vf-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .vf-single-product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .vf-mobile-toggle {
        display: block;
    }

    .vf-category-navbar,
    .vf-topbar-right,
    .vf-header-contact-box,
    .vf-btn-text,
    .vf-cart-total-text {
        display: none;
    }

    .vf-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .vf-product-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vf-product-gallery-col {
        position: static;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .vf-hero-title {
        font-size: 2rem;
    }

    .vf-trust-grid,
    .vf-reviews-grid,
    .vf-blog-grid {
        grid-template-columns: 1fr;
    }

    .vf-promo-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
    }

    .vf-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .vf-footer-grid {
        grid-template-columns: 1fr;
    }

    .vf-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .vf-day-pills {
        grid-template-columns: repeat(2, 1fr);
    }

    .vf-two-cols {
        grid-template-columns: 1fr;
    }

    .vf-delivery-types {
        grid-template-columns: 1fr;
    }
}
