/* =========================================
   BANNER PAGES (Flex & Foam) STYLES
   ========================================= */

/* Top 50/50 Grid */
.banner-top-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Gallery */
.banner-gallery { display: flex; flex-direction: column; gap: 1rem; }
.banner-main-img-wrapper {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    overflow: hidden;
}
.banner-main-img {
    max-width: 100%;
    max-height: 430px;
    border-radius: 8px;
    transition: opacity 0.3s;
    object-fit: contain;
}
.banner-thumbs {
    display: flex;
    gap: 0.75rem;
}
.banner-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #f7f7f7;
    padding: 4px;
    flex-shrink: 0;
}
.banner-thumb:hover { border-color: var(--primary-blue); }
.banner-thumb.active { border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(0,86,179,0.2); }
.banner-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* Sticky Config Box */
.banner-customize-box {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.banner-customize-box h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.35rem;
    line-height: 1.25;
}
.banner-rating {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.banner-rating-count {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 400;
}
.banner-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.25rem;
}
.banner-features li {
    padding: 0.3rem 0;
    font-size: 0.92rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.banner-features li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Option Label */
.banner-option-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
    margin-top: 1rem;
}

/* Clickable Pills */
.banner-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.banner-pill {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    background: #fff;
    white-space: nowrap;
}
.banner-pill:hover { border-color: #999; }
.banner-pill.active {
    border-color: var(--primary-blue);
    background: #f0f7ff;
    color: var(--primary-blue);
}

/* Total Row */
.banner-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-black);
    border-top: 2px solid #eee;
    margin-top: 1.25rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

/* CTA */
.banner-cta-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-black);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}
.banner-cta-btn:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.banner-cta-sub {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-gray);
}
.banner-cta-sub a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* 50/50 Overview Split */
.banner-overview-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
    padding: 2.5rem 0;
    border-top: 1px solid #eee;
}
.banner-overview-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1rem;
}
.banner-overview-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.banner-overview-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.banner-overview-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.banner-overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

/* Related Products 4-col Grid */
.banner-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.banner-related-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background: var(--white);
}
.banner-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.banner-related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.banner-related-card-body { padding: 0.85rem; }
.banner-related-card-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.banner-related-card-price {
    font-size: 0.82rem;
    color: var(--text-gray);
}

/* ========== Quantity Slider Group ========== */
.foam-qty-slider-group,
.dng-qty-slider-group,
.wob-qty-slider-group,
.standee-qty-group,
.bags-qty-group,
.flyers-qty-group,
.balloon-qty-group,
.brochure-qty-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.qty-range-slider {
    flex: 1;
    min-width: 140px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

.qty-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary, #2563eb);
    cursor: pointer;
}

.qty-number-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    text-align: center;
}

.qty-note {
    width: 100%;
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.2rem;
}

/* ========== Tier Selector (Standee) ========== */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tier-card {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tier-card.active {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tier-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.tier-card-price {
    font-size: 0.85rem;
    color: var(--primary, #2563eb);
    font-weight: 600;
}
