/* ==========================================================
   Arman_Alerter - Vergelijkbare Banden Slider
   ========================================================== */

.alerter-wrapper {
    width: 100%;
    background: #f8f9fb;
    border-top: 1px solid #edf0f4;
    padding: 28px 0 30px;
    box-sizing: border-box;
    margin: 0 0 32px;
}

.alerter-header {
    text-align: center;
    margin-bottom: 18px;
    padding: 0 20px;
}
.alerter-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #21314b;
    margin: 0 0 6px;
    line-height: 1.2;
}
.alerter-header .alerter-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.alerter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
}
.alerter-tab-btn {
    cursor: pointer;
    border: 2px solid #21314b;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #21314b;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    white-space: nowrap;
}
.alerter-tab-btn[aria-selected="true"] {
    background: #21314b;
    border-color: #21314b;
    color: #fff;
    font-weight: 600;
}
.alerter-tab-btn:hover {
    background: #EF5B33;
    border-color: #EF5B33;
    color: #fff;
}

.alerter-slider-outer {
    position: relative;
    padding: 0 52px;
    box-sizing: border-box;
}
.alerter-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #21314b;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.alerter-arrow:hover {
    background: #EF5B33;
    border-color: #EF5B33;
    color: #fff;
}
.alerter-arrow--prev { left: 6px; }
.alerter-arrow--next { right: 6px; }
.alerter-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alerter-track-clip {
    overflow: hidden;
}
.alerter-track {
    display: flex;
    gap: 16px;
    padding: 6px 2px 12px;
    will-change: transform;
}
.alerter-panel {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
}
.alerter-panel--hidden {
    display: none;
}

.alerter-card {
    flex: 0 0 170px;
    width: 170px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.alerter-card:hover {
    box-shadow: 0 12px 36px rgba(33,49,75,0.18);
    border-color: #21314b;
    transform: translateY(-4px);
}

.alerter-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 2;
}
.alerter-badge--cheaper {
    background: #e6f5ed;
    color: #1a7a4a;
    border: 1px solid #b3dfc3;
}
.alerter-badge--expensive {
    background: #fff0ee;
    color: #EF5B33;
    border: 1px solid #f5c4b8;
}

.alerter-card__image {
    display: block;
    width: 170px;
    height: 140px;
    object-fit: contain;
    padding: 30px 16px 10px;
    box-sizing: border-box;
    background: #f8f9fb;
}

.alerter-card__body {
    padding: 0 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.alerter-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #21314b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    margin-bottom: 8px;
}
.alerter-card__price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 4px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    margin-top: auto;
}
.alerter-card__price-label {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.alerter-card__price {
    font-size: 20px;
    font-weight: 800;
    color: #21314b;
    line-height: 1.1;
}
.alerter-card__original-price {
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
}
.alerter-card__diff {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 6px;
    white-space: nowrap;
}
.alerter-card__diff--save { background: #e6f5ed; color: #1a7a4a; }
.alerter-card__diff--extra { background: #fff0ee; color: #EF5B33; }

.alerter-card__cta {
    display: block;
    text-align: center;
    box-sizing: border-box;
    margin: 0 12px 12px;
    width: calc(100% - 24px);
    padding: 8px 10px;
    background: #21314b;
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}
.alerter-card:hover .alerter-card__cta { background: #EF5B33; }

.alerter-empty {
    text-align: center;
    padding: 30px 20px;
    color: #aaa;
    font-size: 14px;
    width: 100%;
}

.alerter-dots { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
.alerter-dot { width: 7px; height: 7px; border-radius: 50%; background: #ccc; }
.alerter-dot--active { background: #21314b; transform: scale(1.3); }

@media (max-width: 640px) {
    .alerter-slider-outer { padding: 0 40px; }
    .alerter-dots { display: flex; }
}