/**
 * Wholesale BD — Promotional 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 {
    --pb-pink:   #FA5053;
    --pb-dark:   #111111;
    --pb-text:   #d1d1d1;
    --pb-bg:     #ffffff;
    --pb-font-bn: 'Anek Bangla', sans-serif;
    --pb-font-en: 'Poppins', sans-serif;
}

.pb-wrapper {
    background-color: var(--pb-bg);
    padding: 0px 0 60px 0 !important;
    margin-top: 4px !important;
    position: relative;
    z-index: 10;
}

.pb-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.pb-inner {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
}

.pb-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.pb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.2) 100%);
    z-index: 2;
}

.pb-content {
    width: 100%;
    max-width: 700px;
    padding: 30px 40px;
    text-align: left;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(250, 80, 83, 0.2);
    border: 1px solid rgba(250, 80, 83, 0.4);
    color: var(--pb-pink);
    font-family: var(--pb-font-bn);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.pb-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.pb-title {
    font-family: var(--pb-font-bn);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0 !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.pb-title span {
    color: var(--pb-pink);
}

.pb-desc {
    font-family: var(--pb-font-bn);
    font-size: 14px;
    color: var(--pb-text);
    margin: 0 0 15px 0 !important;
    line-height: 1.5;
}

.pb-timer-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pb-time-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 65px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pb-time-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--pb-pink);
}

.pb-num {
    font-family: var(--pb-font-en);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 3px;
    text-shadow: 0 2px 8px rgba(250, 80, 83,0.4);
}

.pb-text {
    font-family: var(--pb-font-bn);
    font-size: 10px;
    font-weight: 600;
    color: #dfdfdf;
    text-transform: uppercase;
}

.pb-colon {
    font-family: var(--pb-font-en);
    font-size: 18px;
    font-weight: 700;
    color: var(--pb-pink);
    margin: 0 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.pb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pb-pink);
    color: #ffffff !important;
    font-family: var(--pb-font-bn);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 6px 15px rgba(250, 80, 83,0.3);
    transition: all 0.3s ease;
    border: none !important;
}

.pb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 80, 83,0.5);
    background: #ffffff;
    color: var(--pb-dark) !important;
}

.pb-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.pb-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .pb-wrapper { margin-top: -10px !important; }
    .pb-overlay { background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 60%, rgba(10,10,10,0.4) 100%); }
    .pb-content { padding: 30px; }
}

@media (max-width: 768px) {
    .pb-wrapper { padding: 0px 0 45px 0 !important; margin-top: -10px !important; }
    .pb-inner { border-radius: 12px; }
    .pb-overlay { background: linear-gradient(0deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.5) 100%); }
    .pb-content { padding: 25px 20px; text-align: center; align-items: center; }
    .pb-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 8px; }
    .pb-title { font-size: 26px; }
    .pb-desc { font-size: 13px; margin-bottom: 15px !important; }
    
    .pb-timer-wrapper { gap: 6px; margin-bottom: 20px; justify-content: center; }
    .pb-time-item { width: 55px; height: 60px; border-radius: 8px; }
    .pb-num { font-size: 20px; }
    .pb-text { font-size: 9px; }
    .pb-colon { font-size: 16px; margin: 0; }
    
    .pb-btn { font-size: 14px; padding: 10px 25px; width: 100%; justify-content: center; }
}
