/* ===== Shipping Price Slider - Frontend Styles ===== */

.sps-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 20px 0;
}

.sps-section {
    margin-bottom: 40px;
}

.sps-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-left: 4px;
}

/* Slider outer wrapper with arrows */
.sps-slider-outer {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sps-slider-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: 12px;
}

.sps-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 8px 4px;
}

/* Arrow buttons */
.sps-arrow {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #334155;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

.sps-arrow:hover {
    background: #1a56db;
    border-color: #1a56db;
    color: #fff;
    transform: scale(1.05);
}

.sps-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Price Card */
.sps-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 20px 22px 22px;
    min-width: 210px;
    max-width: 210px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.sps-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.12);
    border-color: #c7d7fc;
}

/* Card header - type */
.sps-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.sps-ship-icon {
    font-size: 15px;
}

/* Route */
.sps-card-route {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-height: 44px;
}

.sps-destination.single {
    font-size: 16px;
}

.sps-arrow-route {
    color: #94a3b8;
    font-size: 14px;
}

/* Price */
.sps-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.sps-currency {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.sps-amount {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.sps-label {
    font-size: 12px;
    color: #94a3b8;
    width: 100%;
    margin-top: 2px;
}

/* Dots */
.sps-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.sps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.sps-dot.active {
    background: #1a56db;
    width: 22px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .sps-card {
        min-width: 175px;
        max-width: 175px;
        padding: 16px;
    }
    .sps-amount {
        font-size: 22px;
    }
    .sps-arrow {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .sps-card {
        min-width: 155px;
        max-width: 155px;
    }
    .sps-section-title {
        font-size: 18px;
    }
}
