/* Best Products Page - Premium Redesign */

/* Variables */
:root {
    --bp-font: 'Outfit', sans-serif;
    --bp-bg-page: #f8fafc;
    --bp-bg-card: #ffffff;
    --bp-col-primary: #2563eb;
    /* Standard Blue for links/accents */
    --bp-col-dark: #0f172a;
    /* Dark Slate for Text */
    --bp-col-gray: #64748b;
    /* Slate 500 */
    --bp-col-light: #f1f5f9;
    /* Slate 100 */
    --bp-col-border: #e2e8f0;
    /* Slate 200 */
    --bp-radius-lg: 16px;
    --bp-radius-md: 8px;
    --bp-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
    --bp-shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bp-bg-page) !important;
    /* Force light gray bg for contrast */
}

/* Container */
.bp-best-products-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: var(--bp-font);
    color: var(--bp-col-dark);
}

.attractive-breadcrumbs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Page Header */
.bp-page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.bp-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--bp-col-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bp-page-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--bp-col-gray);
    font-weight: 400;
}

.bp-updated-date {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
    background: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--bp-col-border);
}

/* Posts List */
.bp-posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Product Card */
.bp-post-card {
    background: var(--bp-bg-card);
    border-radius: var(--bp-radius-lg);
    box-shadow: var(--bp-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle border */
    overflow: visible;
    /* Forced visible for dropdowns */
}

.bp-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bp-shadow-hover);
}

/* Card Header */
.bp-post-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--bp-col-light);
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
}

.bp-rank {
    font-family: var(--bp-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    /* very subtle rank number */
    letter-spacing: -0.05em;
    min-width: 50px;
}

.bp-title-group {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bp-post-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.bp-post-title a {
    text-decoration: none;
    color: var(--bp-col-dark);
    transition: color 0.2s;
}

.bp-post-title a:hover {
    color: var(--bp-col-primary);
}

/* Score Badge */
.bp-score-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    /* green tint */
    border: 1px solid #d1fae5;
    padding: 4px 12px;
    border-radius: 99px;
}

.score-val {
    font-weight: 800;
    color: #059669;
    font-size: 1.1rem;
}

.score-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #059669;
    letter-spacing: 0.05em;
}

/* Card Body */
.bp-post-body {
    display: flex;
    /* Row Layout */
    padding: 30px;
    gap: 40px;
}

/* Visual Column */
.bp-visual-col {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.bp-post-thumb {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.bp-post-thumb img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bp-post-card:hover .bp-post-thumb img {
    transform: scale(1.05);
}

.bp-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.bp-pill {
    background: var(--bp-col-light);
    color: var(--bp-col-gray);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bp-pill.highlight {
    background: #eff6ff;
    color: var(--bp-col-primary);
}

/* Content Column */
.bp-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bp-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    background: #fcfcfc;
    /* slightly off-white */
    border: 1px solid var(--bp-col-light);
    border-radius: var(--bp-radius-md);
    padding: 24px;
}

.bp-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-icon {
    color: var(--bp-col-primary);
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.spec-val {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bp-col-dark);
    line-height: 1.4;
}

/* Actions Row */
.bp-actions-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--bp-col-light);
}

.bp-price-block {
    display: flex;
    flex-direction: column;
}

.bp-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bp-col-dark);
    line-height: 1;
}

.bp-launch {
    font-size: 0.85rem;
    color: var(--bp-col-gray);
    margin-top: 4px;
}

/* =====================================================
   CARD BUTTONS (Restored from User Request)
   Specs = Primary Gradient
   Buy = Secondary/Outline
   ===================================================== */
.bp-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Full Specs Button (NOW PRIMARY / PREMIUM) */
.bp-btn-specs {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    /* Premium Dark Gradient */
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
    /* Premium Shadow */
}

.bp-btn-specs:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #fff !important;
}

/* Buy Button (NOW SECONDARY / SUBTLE) */
.bp-btn-buy {
    background: transparent;
    color: var(--bp-col-dark) !important;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    border: 2px solid #e2e8f0;
    /* Subtle Border */
    box-shadow: none;
    /* No shadow */
}

.bp-btn-buy:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #000 !important;
    transform: translateY(-1px);
}

/* =====================================================
   TABLE BUTTONS (Isolated Styles)
   Pill style for Comparison Table
   ===================================================== */
.bp-tbl-btn-specs {
    color: var(--bp-col-primary);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.05);
}

.bp-tbl-btn-specs:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.bp-tbl-btn-review {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
    background: rgba(5, 150, 105, 0.05);
}

.bp-tbl-btn-review:hover {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

/* New Extra Actions Row (Relocated) */
.bp-card-extra-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 15px;
    margin-bottom: 20px;
    padding-top: 0;
    border-top: none;
    font-size: 0.9rem;
    color: var(--bp-col-gray);
}

.bp-card-extra-actions .bp-sep {
    display: none;
}

.bp-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 99px;
    background: #eff6ff;
    color: var(--bp-col-primary);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.2s ease;
}

.bp-action-link:hover {
    background: var(--bp-col-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}



.bp-card-compare-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--bp-col-dark);
    user-select: none;
}




/* Responsive */
@media (max-width: 900px) {
    .bp-post-body {
        flex-direction: column;
        gap: 20px;
    }

    .bp-visual-col {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .bp-content-col {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .bp-page-title {
        font-size: 2rem;
    }

    .bp-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bp-title-group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .bp-specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bp-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
    }

    .bp-price-block {
        align-items: center;
    }

    .bp-buttons {
        flex-direction: column-reverse;
        width: 100%;
    }

    .bp-btn-buy {
        width: 100%;
        justify-content: center;
    }

    .bp-btn-specs {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* =====================================================
   SEO ENHANCEMENT SECTIONS
   ===================================================== */

.bp-seo-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--bp-col-border);
}

.bp-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.bp-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bp-col-dark);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.bp-section-title .highlight-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bp-section-desc {
    font-size: 1rem;
    color: var(--bp-col-gray);
    margin: 0;
}

/* Section-specific tweaks */
.bp-more-options .carousel-container-posts,
.bp-budget-alternatives .carousel-container-posts {
    margin-bottom: 24px;
}

/* Comparisons Grid */
.bp-comparisons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bp-compare-card {
    background: var(--bp-bg-card);
    border-radius: var(--bp-radius-md);
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--bp-col-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bp-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bp-shadow-hover);
    border-color: transparent;
}

.bp-compare-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.bp-compare-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.bp-compare-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bp-col-light);
    padding: 4px;
}

.bp-compare-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bp-col-dark);
    line-height: 1.2;
}

.bp-compare-vs {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.bp-compare-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bp-col-primary);
    transition: color 0.2s;
}

.bp-compare-card:hover .bp-compare-btn {
    color: #764ba2;
}

/* Popular Brands Section Overrides */
.bp-popular-brands .brands-carousel-container {
    margin-top: 0;
}

/* Responsive for SEO Sections */
@media (max-width: 900px) {
    .bp-comparisons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .bp-seo-section {
        margin-top: 40px;
        padding-top: 32px;
    }

    .bp-comparisons-grid {
        grid-template-columns: 1fr;
    }

    .bp-section-title {
        font-size: 1.25rem;
    }

    .bp-compare-item img {
        width: 50px;
        height: 50px;
    }

    .bp-compare-name {
        font-size: 0.75rem;
    }
}

/* =====================================================
   CAROUSEL OVERRIDES FOR BEST PRODUCTS PAGE (PREMIUM)
   ===================================================== */

/* Transform the generic carousel container into a Premium Section Card */
.bp-best-products-container .carousel-container-posts {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin: 40px auto 50px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Premium section shadow */
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Typography for the inner Carousel Header (e.g. "Mobile Phones Between...") */
.bp-best-products-container .carousel-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bp-col-light);
}

.bp-best-products-container .purpose-heading,
.bp-best-products-container .carousel-title {
    font-family: var(--bp-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bp-col-dark);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Ensure highlights inside titles also look premium */
.bp-best-products-container .highlight-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
    font-weight: 800;
}

/* Inner Product Card Overrides needed for White-on-White contrast */
.bp-best-products-container .card {
    background: #ffffff;
    border: 1px solid var(--bp-col-border);
    /* Clearly defined border */
    border-radius: 20px;
    box-shadow: none;
    /* Remove default shadow to clean up the look inside the card */
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.bp-best-products-container .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
    /* Darker border on hover */
}

/* Image Area */
.bp-best-products-container .carousel-card-image {
    height: 200px;
    padding: 10px;
    margin-bottom: 16px;
    background: radial-gradient(circle at center, #f8fafc 0%, transparent 70%);
    /* Subtle backdrop for image */
    border-radius: 12px;
}


/* Typography */
.bp-best-products-container .card h2 {
    font-family: var(--bp-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bp-col-dark);
    margin-bottom: 8px;
    line-height: 1.35;
    height: auto;
    /* Let it grow naturally if needed, or keep clamped */
    min-height: 3em;
}

/* Price */
.bp-best-products-container .card .price {
    font-size: 1.4rem;
    color: var(--bp-col-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: auto;
}

/* Score Badge Refinement */
.bp-best-products-container .score {
    top: 16px;
    right: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    background: rgba(255, 255, 255, 0.95);
}

.bp-best-products-container .score .score-text {
    font-size: 1.2rem;
    /* Larger score */
}

/* Navigation - Clean Floating Circles */
.bp-best-products-container .carousel-prev,
.bp-best-products-container .carousel-next {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid var(--bp-col-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: var(--bp-col-dark);
    opacity: 1;
    font-size: 1.1rem;
    top: 55%;
    /* Adjust for header height */
}

.bp-best-products-container .carousel-prev {
    left: -24px;
}

.bp-best-products-container .carousel-next {
    right: -24px;
}

.bp-best-products-container .carousel-prev:hover,
.bp-best-products-container .carousel-next:hover {
    background: var(--bp-col-dark);
    color: #ffffff;
    border-color: var(--bp-col-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Brand Carousel Specifics */
.bp-popular-brands .carousel-container-posts {
    margin: 20px auto 40px;
    padding: 0 10px 40px;
}

/* Hide redundant header in brand carousel */
.bp-popular-brands .carousel-header,
.bp-popular-brands .brands-carousel-container .carousel-header,
.bp-popular-brands .cb-brand-carousel-unique .carousel-header {
    display: none !important;
}


/* Specific overrides for Brand Cards vs Product Cards */
.bp-popular-brands .card {
    min-height: 200px;
    /* Reduced height for brands */
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.bp-popular-brands .carousel-card-image {
    height: 120px;
    /* Reduce image container height */
    width: 100%;
    margin-bottom: 0;
    /* Remove margin since no text below */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-popular-brands .carousel-card-image img {
    max-height: 80px;
    /* Limit logo size */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    /* Optional premium touch: grayscale logos until hover */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.bp-popular-brands .card:hover .carousel-card-image img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.bp-popular-brands .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
}


/* Responsive adjustments for overrides */
@media (max-width: 768px) {
    .bp-best-products-container .card {
        min-height: auto;
        padding: 16px;
    }

    .bp-best-products-container {
        margin: 30px auto;
        /* Reduced margin */
        padding: 0 16px;
    }

    .bp-page-title {
        font-size: 2rem;
        /* Consistent with other mobile titles */
    }

    .bp-best-products-container .carousel-container-posts {
        padding: 20px 16px;
        /* Less padding in container */
        border-radius: 16px;
        margin: 30px auto;
    }

    .bp-best-products-container .carousel-prev,
    .bp-best-products-container .carousel-next {
        display: none !important;
        /* Hide arrows on mobile, rely on swipe */
    }

    .bp-best-products-container .purpose-heading {
        font-size: 1.3rem;
    }

    .bp-best-products-container .card h2 {
        font-size: 1rem;
    }

    .bp-best-products-container .card .price {
        font-size: 1.2rem;
    }
}

.bp-best-products-container .carousel-next {
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   BUY DROPDOWN (Multi-Store) STYLES
   ===================================================== */

.bp-buy-dropdown {
    position: relative;
    display: inline-block;
}

/* Ensure button overrides for dropdown toggle */
button.bp-btn-buy {
    cursor: pointer;
    border: none;
    font-size: 1rem;
    /* Match existing */
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.bp-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1f5f9;
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-buy-dropdown:hover .bp-dropdown-menu,
.bp-buy-dropdown:focus-within .bp-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bp-dropdown-item {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    color: var(--bp-col-dark);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}

.bp-dropdown-item:hover {
    background: #f8fafc;
    color: var(--bp-col-dark);
    text-decoration: none;
}

.best-badge {
    font-size: 0.7rem;
    background: #dcfce7;
    color: #16a34a;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 8px;
}

/* =====================================================
   ENHANCED PRODUCT CARD SECTIONS (v1.2)
   ===================================================== */

/* Quick Summary */
.bp-quick-summary {
    padding: 16px 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #e0f2fe;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--bp-col-dark);
}

.bp-summary-label {
    font-weight: 700;
    color: #0369a1;
    margin-right: 8px;
}

/* Pros & Cons Section */
.bp-pros-cons-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 30px;
    background: #fcfcfc;
    border-top: 1px solid var(--bp-col-light);
}

.bp-pros-box,
.bp-cons-box {
    padding: 16px;
    border-radius: 12px;
}

.bp-pros-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.bp-cons-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.bp-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.bp-section-label svg {
    width: 16px;
    height: 16px;
}

.bp-pros-label {
    color: #16a34a;
}

.bp-cons-label {
    color: #dc2626;
}

.bp-pros-list,
.bp-cons-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-pros-list li,
.bp-cons-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--bp-col-dark);
}

.bp-pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.bp-cons-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* Best For Row */
.bp-best-for-row {
    padding: 12px 30px;
    background: #fffbeb;
    border-top: 1px solid #fef3c7;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-best-for-label {
    font-weight: 700;
    color: #b45309;
    font-size: 0.85rem;
}

.bp-best-for-text {
    color: var(--bp-col-dark);
    font-size: 0.9rem;
}

/* Ranking Reason Collapsible */
.bp-ranking-reason {
    border-top: 1px solid var(--bp-col-light);
}

.bp-ranking-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bp-col-primary);
    transition: background 0.2s;
}

.bp-ranking-toggle:hover {
    background: #f8fafc;
}

.bp-ranking-toggle svg {
    width: 16px;
    height: 16px;
}

.bp-ranking-content {
    padding: 0 30px 20px 54px;
}

.bp-ranking-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--bp-col-gray);
}

/* =====================================================
   PAGE-LEVEL CONTENT SECTIONS (v1.2)
   ===================================================== */

/* Methodology Section */
.bp-methodology-section .bp-methodology-content,
.bp-decision-guide-section .bp-decision-guide-content {
    background: var(--bp-bg-card);
    border-radius: var(--bp-radius-lg);
    padding: 32px;
    box-shadow: var(--bp-shadow);
    line-height: 1.7;
}

.bp-methodology-content h3,
.bp-decision-guide-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bp-col-dark);
    margin: 24px 0 12px;
}

.bp-methodology-content h3:first-child,
.bp-decision-guide-content h3:first-child {
    margin-top: 0;
}

.bp-methodology-content ul,
.bp-decision-guide-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.bp-methodology-content li,
.bp-decision-guide-content li {
    margin-bottom: 8px;
    color: var(--bp-col-dark);
}

/* FAQ Section */
.bp-faq-section {
    margin-bottom: 40px;
}

.bp-faq-accordion {
    background: var(--bp-bg-card);
    border-radius: var(--bp-radius-lg);
    box-shadow: var(--bp-shadow);
    overflow: hidden;
}

.bp-faq-item {
    border-bottom: 1px solid var(--bp-col-light);
}

.bp-faq-item:last-child {
    border-bottom: none;
}

.bp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--bp-col-dark);
    transition: background 0.2s;
}

.bp-faq-question:hover {
    background: #f8fafc;
}

.bp-faq-question-text {
    flex: 1;
    font-size: 1rem;
    padding-right: 16px;
}

.bp-faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--bp-col-gray);
    transition: transform 0.3s;
}

.bp-faq-icon svg {
    width: 20px;
    height: 20px;
}

.bp-faq-item[open] .bp-faq-icon {
    transform: rotate(180deg);
}

.bp-faq-answer {
    padding: 0 24px 20px;
    color: var(--bp-col-gray);
    line-height: 1.7;
}

.bp-faq-answer p {
    margin: 0 0 12px;
}

.bp-faq-answer p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   SEO ENHANCEMENT: QUICK COMPARISON TABLE
   ===================================================== */

.bp-comparison-section {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    border-top: 4px solid var(--bp-col-primary);
    padding: 32px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Premium Soft Shadow */
    overflow: hidden;
}

.bp-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}


.bp-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Force scroll on small screens */
}

.bp-comparison-table th {
    text-align: left;
    padding: 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bp-col-gray);
    font-weight: 700;
    border-bottom: 2px solid var(--bp-col-light);
}

.bp-comparison-table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--bp-col-light);
    color: var(--bp-col-dark);
}

.bp-comparison-table tr:last-child td {
    border-bottom: none;
}

/* Table Columns */
.bp-col-rank {
    width: 60px;
    text-align: center;
}

.bp-table-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bp-col-dark);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.bp-col-product {
    width: 35%;
}

.bp-table-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-table-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bp-col-light);
    padding: 4px;
}

.bp-table-link {
    font-weight: 600;
    color: var(--bp-col-dark);
    text-decoration: none;
    line-height: 1.3;
    font-size: 0.95rem;
}

.bp-table-link:hover {
    color: var(--bp-col-primary);
}

.bp-col-price {
    width: 20%;
}

.bp-table-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bp-col-dark);
}

.bp-col-action {
    width: 35%;
    text-align: right;
}

.bp-action-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 99px;
    /* Pill shape */
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
}

.bp-action-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.bp-btn-specs {
    color: var(--bp-col-primary);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.05);
}

.bp-btn-specs:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.bp-btn-review {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
    background: rgba(5, 150, 105, 0.05);
}

.bp-btn-review:hover {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.bp-btn-buy-sm {
    background: var(--bp-col-primary);
    color: #fff;
    padding: 6px 14px;
}

.bp-btn-buy-sm:hover {
    background: #1d4ed8;
    color: #fff;
}

.bp-compare-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--bp-col-gray);
    cursor: pointer;
    margin-left: 8px;
    user-select: none;
}

.bp-compare-checkbox {
    cursor: pointer;
    accent-color: var(--bp-col-primary);
    width: 16px;
    height: 16px;
}

/* Floating Compare Bar */
.bp-compare-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 24px;
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.bp-compare-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bp-compare-count {
    font-weight: 600;
    color: var(--bp-col-dark);
    font-size: 0.9rem;
}

.bp-compare-trigger-btn {
    background: var(--bp-col-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.bp-compare-trigger-btn:hover {
    background: #1d4ed8;
    color: #fff;
    /* Ensure text remains white */
    text-decoration: none;
}

.bp-compare-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
}

.bp-compare-clear-btn:hover {
    color: #ef4444;
}

/* =====================================================
   SEO ENHANCEMENT: TABLE OF CONTENTS (TOC)
   ===================================================== */

.bp-toc-container {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    border-top: 4px solid var(--bp-col-primary);
    padding: 32px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Match Comparison Table */
}

.bp-toc-title {
    display: block;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.bp-toc-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.bp-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-col-primary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 0;
    transition: color 0.15s;
}

.bp-toc-link:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.bp-toc-num {
    font-weight: 700;
    color: var(--bp-col-gray);
    font-size: 0.85rem;
    min-width: 20px;
}

/* Local Mobile Overrides for New Sections (Improved Comfort) */
@media (max-width: 768px) {

    .bp-comparison-section,
    .bp-toc-container {
        padding: 24px 20px;
        /* More breathing room */
        margin-bottom: 30px;
        border-radius: 20px;
        /* Consistent Premium Radius */
    }

    .bp-section-title,
    .bp-toc-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .bp-toc-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bp-toc-link {
        padding: 10px 0;
        /* Larger tap target */
        font-size: 1rem;
        border-bottom: 1px solid #f1f5f9;
        /* Subtle divider for stacking */
    }

    .bp-toc-link:last-child {
        border-bottom: none;
    }
}

/* Responsive for Enhanced Sections */
@media (max-width: 768px) {
    .bp-pros-cons-section {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .bp-quick-summary {
        padding: 14px 20px;
    }

    .bp-best-for-row {
        padding: 12px 20px;
    }

    .bp-ranking-toggle {
        padding: 12px 20px;
    }

    .bp-ranking-content {
        padding: 0 20px 16px 44px;
    }

    .bp-methodology-content,
    .bp-decision-guide-content {
        padding: 20px;
    }

    .bp-faq-question {
        padding: 16px 20px;
    }

    .bp-faq-question-text {
        font-size: 0.95rem;
    }

    .bp-faq-answer {
        padding: 0 20px 16px;
    }
}

/* =====================================================
   ENHANCED MOBILE RESPONSIVENESS (≤768px)
   Comfortable look and feel for mobile screens
   ===================================================== */

@media (max-width: 768px) {

    /* Page Container - Comfortable margins */
    .bp-best-products-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    /* Page Header - Mobile optimized */
    .bp-page-header {
        margin: 0 auto 30px;
        padding: 0 8px;
    }

    .bp-page-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .bp-page-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .bp-updated-date {
        font-size: 0.8rem;
        padding: 3px 10px;
        margin-top: 8px;
    }

    /* Posts List - Reduced gap */
    .bp-posts-list {
        gap: 24px;
    }

    /* Product Card - Mobile optimized */
    .bp-post-card {
        border-radius: 12px;
        overflow: hidden;
    }

    .bp-post-card:hover {
        transform: none;
        /* Disable hover lift on mobile */
    }

    /* Card Header - Compact */
    .bp-post-header {
        padding: 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .bp-rank {
        font-size: 1.2rem;
        min-width: 36px;
    }

    .bp-title-group {
        gap: 8px;
        flex-wrap: wrap;
    }

    .bp-post-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    /* Score Badge - Smaller */
    .bp-score-badge {
        padding: 3px 10px;
        gap: 6px;
    }

    .score-val {
        font-size: 0.95rem;
    }

    .score-lbl {
        font-size: 0.65rem;
    }

    /* Card Body - Stack layout */
    .bp-post-body {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }

    /* Visual Column - Full width */
    .bp-visual-col {
        flex: 1 1 auto;
        width: 100%;
    }

    .bp-post-thumb {
        margin-bottom: 12px;
        padding: 0;
    }

    .bp-post-thumb img {
        max-height: 180px;
        width: auto;
    }

    /* Best Buy Badge - Smaller */
    .bp-best-buy {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    /* Info Column */
    .bp-info-col {
        width: 100%;
    }

    /* Specs Grid - 2 columns on mobile */
    .bp-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bp-spec-item {
        padding: 10px;
    }

    .bp-spec-item svg {
        width: 16px;
        height: 16px;
    }

    .bp-spec-item span {
        font-size: 0.8rem;
    }

    /* Price Section - Mobile optimized */
    .bp-price-section {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .bp-price-info {
        align-items: center;
        text-align: center;
    }

    .bp-price {
        font-size: 1.5rem;
    }

    .bp-price-stores {
        font-size: 0.75rem;
        justify-content: center;
    }

    /* Buy Actions - Full width buttons */
    .bp-buy-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .bp-btn-buy,
    .bp-btn-details {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 10px;
    }

    /* Dropdown - Full width on mobile */
    .bp-buy-dropdown {
        width: 100%;
    }

    .bp-dropdown-menu {
        left: 0;
        right: 0;
        min-width: 100%;
    }

    /* Quick Summary - Mobile */
    .bp-quick-summary {
        padding: 12px 16px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .bp-summary-label {
        display: block;
        margin-bottom: 4px;
    }

    /* Pros/Cons - Stacked on mobile */
    .bp-pros-cons-section {
        padding: 16px;
        gap: 12px;
    }

    .bp-pros-box,
    .bp-cons-box {
        padding: 12px;
    }

    .bp-section-label {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .bp-pros-list li,
    .bp-cons-list li {
        font-size: 0.85rem;
        padding-left: 18px;
        margin-bottom: 6px;
    }

    /* Best For Row - Mobile */
    .bp-best-for-row {
        padding: 10px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bp-best-for-label {
        font-size: 0.8rem;
    }

    .bp-best-for-text {
        font-size: 0.85rem;
    }

    /* Ranking Reason - Mobile */
    .bp-ranking-toggle {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .bp-ranking-content {
        padding: 0 16px 14px 40px;
    }

    .bp-ranking-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* SEO Sections - Mobile */
    .bp-seo-section {
        margin-top: 30px;
        padding-top: 24px;
    }

    .bp-section-header {
        margin-bottom: 16px;
    }

    .bp-section-title {
        font-size: 1.2rem;
    }

    .bp-seo-section .bp-section-title .highlight-text {
        font-size: 1.1rem;
    }
}

/* =====================================================
   EXTRA SMALL SCREENS (≤480px) - Phone Portrait
   ===================================================== */

@media (max-width: 480px) {
    .bp-best-products-container {
        padding: 0 8px;
    }

    .bp-page-title {
        font-size: 1.5rem;
    }

    .bp-page-subtitle {
        font-size: 0.9rem;
    }

    /* Specs Grid - Single column */
    .bp-specs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bp-spec-item {
        padding: 8px 12px;
    }

    /* Card Header - Extra compact */
    .bp-post-header {
        padding: 12px;
    }

    .bp-rank {
        font-size: 1rem;
        min-width: 28px;
    }

    .bp-post-title {
        font-size: 1.05rem;
    }

    /* Card Body - Tighter */
    .bp-post-body {
        padding: 12px;
        gap: 16px;
    }

    .bp-post-thumb img {
        max-height: 150px;
    }

    /* Price */
    .bp-price {
        font-size: 1.35rem;
    }

    /* Buttons - Full touch friendly */
    .bp-btn-buy,
    .bp-btn-details {
        padding: 16px 20px;
        font-size: 1rem;
    }

    /* FAQ - More compact */
    .bp-faq-question {
        padding: 14px 16px;
    }

    .bp-faq-question-text {
        font-size: 0.9rem;
    }

    .bp-faq-answer {
        padding: 0 16px 14px;
        font-size: 0.9rem;
    }
}