/* =============================================================
   Arman_BestBought — best-bought.css
   Huisstijl: Banden-Kopen.nl (navy + oranje)
   ============================================================= */

.bk-best-bought {
    padding: 56px 0;
    font-family: 'Barlow', 'Segoe UI', sans-serif;
}

/* ---------- Header ---------- */
.bk-best-bought .bk-section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ---------- Slider outer (pijlen + track) ---------- */
.bk-bb-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .bk-bb-slider-outer { padding: 0 40px; }
}

/* ---------- Track ---------- */
.bk-bb-track-wrap {
    flex: 1;
    overflow: hidden;
}

.bk-bb-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ---------- Slide ---------- */
.bk-bb-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}

@media (max-width: 900px) {
    .bk-bb-slide { flex: 0 0 calc(33.333% - 11px); }
}

@media (max-width: 640px) {
    .bk-bb-slide { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 420px) {
    .bk-bb-slide { flex: 0 0 calc(100%); }
}

/* ---------- Card ---------- */
.bk-bb-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #1a2740;
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
    height: 100%;
}

.bk-bb-card:hover {
    border-color: #e8552a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26, 39, 64, 0.12);
    color: #1a2740;
    text-decoration: none;
}

/* --- Card image --- */
.bk-bb-card__img-wrap {
    background: #f4f6f8;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
    box-sizing: border-box;
}

.bk-bb-card__img {
    max-width: 100%;
    max-height: 128px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.bk-bb-card:hover .bk-bb-card__img {
    transform: scale(1.05);
}

.bk-bb-card__img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #9aa5b4;
}

/* --- Card body --- */
.bk-bb-card__body {
    padding: 16px 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bk-bb-card__name {
    font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2740;
    line-height: 1.2;
    margin: 0 0 12px;
}

.bk-bb-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    margin-top: auto;
}

.bk-bb-card__price-label {
    font-size: 1rem;
    color: #9aa5b4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
    line-height: 1;
}

.bk-bb-card__price-value {
    font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #1a2740;
    line-height: 1;
}

/* --- Card footer --- */
.bk-bb-card__footer {
    padding: 12px 16px 16px;
}

.bk-bb-card__cta {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.bk-bb-card:hover .bk-bb-card__cta {
    background: #e8552a !important;
    border-color: #e8552a !important;
}

/* ---------- Pijlen ---------- */
.bk-bb-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a2740;
    transition: all 0.2s;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.bk-bb-arrow--prev { left: 8px; }
.bk-bb-arrow--next { right: 8px; }

.bk-bb-arrow:hover {
    border-color: #e8552a;
    color: #e8552a;
    box-shadow: 0 4px 12px rgba(232, 85, 42, 0.2);
}

.bk-bb-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ---------- Dots ---------- */
.bk-bb-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.bk-bb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.bk-bb-dot--active {
    background: #e8552a;
    width: 24px;
    border-radius: 4px;
}
