/* ============================================================
   free-delivery.css
   Styling for the "Free delivery within Harare" messaging that
   appears site-wide (announcement bar under the top nav), on the
   store page (hero note + banner + per-product tag) and on the
   home page (hero pill + Why Choose VROOM card).

   Uses the same dark surface + amber accent as nav-restyle.css so
   it reads as part of the site rather than a bolted-on promo.
   Loaded after nav-restyle.css from index.php.
   ============================================================ */

:root {
    --fd-bg: #1D2024;
    --fd-line: #33383E;
    --fd-amber: #F5A623;
    --fd-green: #2ECC71;
    --fd-text: #F2F1EC;
    --fd-text-dim: #9AA0A6;
}

/* ---------- 1. Site-wide announcement bar ----------
   Sits in normal document flow as the first thing inside
   .container, with margin-top clearing the 85px fixed top-nav.
   Kept in flow (not fixed) on purpose so it can never overlap a
   page's own content the way a second fixed bar would. */
.fd-bar {
    margin-top: 85px;
    background: var(--fd-bg);
    border-bottom: 1px solid var(--fd-line);
    color: var(--fd-text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fd-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fd-amber), transparent);
}
.fd-bar i {
    color: var(--fd-amber);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.fd-bar strong {
    color: var(--fd-amber);
    font-weight: 700;
}
.fd-bar .fd-bar-sub {
    color: var(--fd-text-dim);
    font-weight: 500;
}

@media (max-width: 768px) {
    .fd-bar {
        margin-top: 75px;
        font-size: 0.9rem;
        padding: 10px 14px;
        gap: 9px;
        line-height: 1.35;
    }
    .fd-bar .fd-bar-sub { display: block; }
}
@media (max-width: 480px) {
    .fd-bar { font-size: 0.82rem; }
    .fd-bar i { font-size: 1rem; }
}

/* ---------- 2. Hero pill (home + store heroes) ---------- */
.fd-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.12);
    border: 2px solid rgba(46, 204, 113, 0.45);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 10px 22px;
    border-radius: 30px;
    margin-top: 18px;
    backdrop-filter: blur(4px);
}
.fd-hero-pill i { color: var(--fd-green); font-size: 1.15rem; }
.fd-hero-pill strong { color: var(--fd-green); }

@media (max-width: 480px) {
    .fd-hero-pill { font-size: 0.9rem; padding: 9px 16px; gap: 8px; }
}

/* ---------- 3. Store page delivery banner ---------- */
.fd-banner {
    max-width: 1400px;
    margin: 0 auto 40px;
    background: var(--fd-bg);
    border: 1px solid var(--fd-line);
    border-left: 5px solid var(--fd-green);
    border-radius: 14px;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.fd-banner-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.14);
    border: 2px solid rgba(46, 204, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--fd-green);
}
.fd-banner-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fd-text);
    margin: 0 0 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.fd-banner-text h3 span { color: var(--fd-green); }
.fd-banner-text p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: var(--fd-text-dim);
    margin: 0;
    line-height: 1.55;
}
.fd-banner-text p strong { color: var(--fd-text); font-weight: 600; }

@media (max-width: 768px) {
    .fd-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 20px;
        margin-bottom: 30px;
    }
    .fd-banner-text h3 { font-size: 1.1rem; }
    .fd-banner-text p { font-size: 0.97rem; }
}

/* ---------- 4. Per-product "free Harare delivery" tag ---------- */
.fd-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #1e8449;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.fd-product-tag i { font-size: 0.9rem; }

/* ---------- 5. Why Choose VROOM feature card emphasis ---------- */
.feature-card.fd-feature-highlight {
    border: 2px solid rgba(46, 204, 113, 0.45);
    position: relative;
}
.feature-card.fd-feature-highlight::after {
    content: 'FREE IN HARARE';
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--fd-green);
    color: #0d2818;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 9px;
    border-radius: 12px;
}
.feature-card.fd-feature-highlight .feature-icon { color: var(--fd-green); }