/**
 * Wholesale BD — Hero Banner CSS
 *
 * Moved out of an inline <style> block that was echoed into the HTML on
 * every homepage load. Now external + cacheable, enqueued conditionally
 * (homepage only) via pluspoint_homepage_assets() in functions.php.
 */


:root {
    --ph-primary:      #FA5053;
    --ph-primary-dark: #E63A3D;
    --ph-gold:         #FFB800;
    --ph-dark:         #111111;
    --ph-white:        #FFFFFF;
    --ph-font-bn:      'Anek Bangla', sans-serif;
    --ph-font-en:      'Poppins', sans-serif;
}

.ph-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('https://www.pickpointsbd.com/wp-content/uploads/2026/08/BANNAR.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fcfbfb;
}

/* Soft gradient scrim so text stays legible over any photo, and adds a premium editorial finish */
.ph-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.4) 28%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 66%);
    z-index: 1;
    pointer-events: none;
}

.ph-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250,80,83,0.10) 0%, rgba(250,80,83,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.ph-mobile-img { display: none; }

.ph-float-stats {
    position: absolute;
    right: 48px;
    bottom: 40px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}
.ph-float-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(17,17,17,0.12);
}
.ph-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ph-primary-dark);
    color: #fff;
}
.ph-float-icon svg { width: 18px; height: 18px; }
.ph-float-text {
    font-family: var(--ph-font-en);
    line-height: 1.3;
}
.ph-float-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-dark);
}
.ph-float-text small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6b6b6b;
}
@media (max-width: 1100px) {
    .ph-float-stats { display: none; }
}

.ph-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px 15px;
    display: flex;
    align-items: center;
}

.ph-content {
    max-width: 780px;
    width: 100%;
    position: relative;
    margin-left: 0;
    text-align: left;
}

.ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ph-font-en);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--ph-primary-dark);
    background: linear-gradient(135deg, #FFF1F1 0%, #FFE3E3 100%);
    border: 1px solid rgba(250,80,83,0.18);
    padding: 7px 16px 7px 12px;
    border-radius: 40px;
    margin-bottom: 22px;
}

.ph-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ph-primary);
    box-shadow: 0 0 0 4px rgba(250,80,83,0.18);
    flex-shrink: 0;
}

.ph-review-badge {
    display: inline-flex;
    align-items: center;
    background: var(--ph-white);
    border-radius: 60px;
    padding: 6px 22px 6px 6px;
    margin-bottom: 26px;
    margin-left: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(17,17,17,0.07);
}

.ph-avatars { display: flex; margin-right: 12px; }
.ph-avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ph-avatars span:first-child { margin-left: 0; }

.av-1 { background: linear-gradient(135deg, #FFB4B5 0%, #FA5053 100%); }
.av-2 { background: linear-gradient(135deg, #2B2B2B 0%, #111111 100%); }
.av-3 { background: linear-gradient(135deg, #FFD6D7 0%, #FC7B7D 100%); }
.ph-avatars span svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.95); }

.ph-review-col { display: flex; flex-direction: column; gap: 2px; }

.ph-stars-wrap { display: flex; align-items: center; gap: 2px; }
.ph-stars-wrap svg { width: 12px; height: 12px; fill: var(--ph-gold); color: var(--ph-gold); }

.ph-review-text {
    font-family: var(--ph-font-bn);
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: flex; align-items: center; gap: 5px;
}
.ph-review-text strong { color: var(--ph-dark); font-weight: 800; }
.ph-verified-icon { width: 14px; height: 14px; color: #00A650; }

.ph-title {
    font-family: var(--ph-font-bn);
    font-size: 58px;
    font-weight: 800;
    color: var(--ph-dark);
    line-height: 1.16;
    letter-spacing: -0.8px;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 12px rgba(255,255,255,0.5);
}

.title-line-1 { white-space: nowrap; }

.ph-title em {
    font-style: normal;
    position: relative;
    background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-sub {
    font-family: var(--ph-font-bn);
    font-size: 18.5px;
    font-weight: 500;
    color: #454545;
    line-height: 1.7;
    margin: 0 0 36px 0;
    max-width: 580px;
}

.ph-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }

.ph-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(17,17,17,0.07);
    border-radius: 40px; padding: 9px 18px 9px 10px;
    font-family: var(--ph-font-bn); font-size: 14px; font-weight: 600; color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(17,17,17,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ph-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17,17,17,0.08); }

.ph-pill .ph-pill-icon {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    flex-shrink: 0;
}
.ph-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

.ph-pill.p-exc .ph-pill-icon { background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%); }
.ph-pill.p-exc .ph-pill-icon svg { color: #fff; }

.ph-pill.p-cod .ph-pill-icon { background: #111111; }
.ph-pill.p-cod .ph-pill-icon svg { color: #fff; }

.ph-pill.p-qual .ph-pill-icon { background: linear-gradient(135deg, #FFD25A 0%, var(--ph-gold) 100%); }
.ph-pill.p-qual .ph-pill-icon svg { color: #111111; }

.ph-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.ph-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%);
    color: var(--ph-white) !important;
    padding: 18px 40px; font-family: var(--ph-font-bn); font-size: 18px; font-weight: 700;
    text-decoration: none !important; border-radius: 60px;
    box-shadow: 0 14px 30px rgba(250,80,83,0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ph-btn:hover { transform: translateY(-3px); background: #111111; box-shadow: 0 16px 34px rgba(17,17,17,0.28); }
.ph-btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s ease; }
.ph-btn:hover svg { transform: translateX(4px); }

.ph-trust-mini {
    font-family: var(--ph-font-bn);
    font-size: 13.5px;
    font-weight: 600;
    color: #555;
    display: flex; align-items: center; gap: 8px;
}
.ph-trust-mini svg { width: 16px; height: 16px; color: #00A650; flex-shrink: 0; }

@media (max-width: 991px) {
    .ph-wrap { padding: 70px 20px; }
    .ph-title { font-size: 46px; }
    .title-line-1 { white-space: normal; }
}

@media (max-width: 768px) {
    .ph-mobile-img {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    .ph-hero {
        position: relative;
        background-image: none !important;
        min-height: 0;
        padding: 0;
        display: block;
        overflow: hidden;
    }

    /* The uploaded banner photo is full-bleed behind the text now (see
       .ph-mobile-img above), so re-enable a scrim here — this was
       display:none before because the old image was letterboxed
       (object-fit:contain) and mostly showed plain white padding
       around itself, which didn't need a scrim. A real full-bleed photo
       does, for guaranteed text contrast regardless of what image gets
       uploaded next. */
    .ph-hero::before {
        display: block;
        z-index: 1;
        background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.14) 45%, rgba(255,255,255,0.35) 100%);
    }
    .ph-hero::after { display: none; }

    .ph-wrap {
        position: relative;
        width: 100%;
        padding: 48px 20px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .ph-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ph-sub { display: none !important; }
    .ph-eyebrow { display: none !important; }
    .ph-trust-mini { display: none !important; }

    .ph-review-badge {
        margin-bottom: 10px;
        margin-left: 0;
        padding: 3px 12px 3px 4px;
        background: rgba(255, 255, 255, 0.98);
    }
    .ph-avatars span { width: 22px; height: 22px; margin-left: -6px; }
    .ph-avatars span svg { width: 10px; height: 10px; }
    .ph-review-text { font-size: 11.5px; }
    .ph-stars-wrap svg { width: 8px; height: 8px; }
    .ph-verified-icon { width: 11px; height: 11px; }

    .ph-title {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.25;
        color: #111111;
        text-shadow:
            0px 0px 4px rgba(255,255,255,1),
            0px 0px 10px rgba(255,255,255,1),
            0px 0px 15px rgba(255,255,255,0.9),
            1px 1px 1px rgba(255,255,255,1),
           -1px -1px 1px rgba(255,255,255,1);
    }
    .title-line-1 { white-space: normal; }

    .ph-title em {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: var(--ph-primary);
        text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }

    .ph-pills {
        justify-content: center;
        margin-bottom: 18px;
        gap: 6px;
    }
    .ph-pill {
        padding: 4px 12px 4px 4px;
        font-size: 11px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    }
    .ph-pill .ph-pill-icon { width: 20px; height: 20px; }
    .ph-pill svg { width: 11px; height: 11px; }

    .ph-cta-row { justify-content: center; }

    .ph-btn {
        width: auto;
        padding: 12px 30px;
        font-size: 14px;
        box-shadow: 0 8px 20px rgba(250,80,83,0.4);
    }
    .ph-btn svg { width: 14px; height: 14px; }
}

@media (max-width: 420px) {
    .ph-title { font-size: 24px; margin-bottom: 12px; }
    .ph-btn   { font-size: 13px; padding: 11px 26px; }
    .ph-pills { margin-bottom: 15px; }
    .ph-review-badge { margin-bottom: 8px; }
}
