/* Safari Vehicle Hire - Carousel Styles */

.svh-carousel-root {
    --svh-text: #111418;
    --svh-muted: #5b6271;
    --svh-accent: #d81b1b;
    --svh-card-bg: #f3f4f6;
    --svh-border: rgba(17, 20, 24, 0.12);
    --svh-radius: 0;
    --svh-shadow: 0;
    --svh-shadow-hover: 0;
    --svh-gap: 20px;
    --svh-font: "Plus Jakarta Sans", sans-serif;
    font-family: var(--svh-font);
    color: var(--svh-text);
    background: transparent;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 0 16px;
}

.svh-carousel-root *,
.svh-carousel-root *::before,
.svh-carousel-root *::after {
    box-sizing: border-box;
}


/* Themes only adjust accent/text — background stays transparent so the page shows through. */

.svh-theme-dark,
.svh-theme-light {
    background: transparent !important;
}


/* Header */

.svh-carousel-header {
    margin-bottom: 18px;
}

.svh-carousel-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}


/* Loading / Error */

.svh-loading,
.svh-error,
.svh-empty {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--svh-muted);
}

.svh-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(17, 20, 24, 0.12);
    border-top-color: var(--svh-accent);
    border-radius: 50%;
    animation: svh-spin 0.9s linear infinite;
}

@keyframes svh-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Carousel layout */

.svh-carousel {
    position: relative;
    outline: none;
}

.svh-viewport {
    overflow: hidden;
}

.svh-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.svh-slide {
    padding-right: var(--svh-gap);
    display: flex;
}

.svh-slide:last-child {
    padding-right: 0;
}

.svh-slide>.svh-card {
    width: 100%;
}


/* Card */

.svh-card {
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--svh-shadow);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.svh-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--svh-shadow-hover);
}

.svh-card-media {
    position: relative;
    aspect-ratio: 16 / 12;
    background: linear-gradient(135deg, #2c333f, #11151c);
    overflow: hidden;
}

.svh-card-media-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    font-size: 14px;
}

.svh-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 800ms ease, transform 9s ease;
    transform: scale(1.05);
}

.svh-card-img.is-active {
    opacity: 1;
    transform: scale(1.12);
}


/* Best Price Guaranteed circular badge */

.svh-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--svh-accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.05;
    box-shadow: 0 10px 22px rgba(216, 27, 27, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.85);
    animation: svh-badge-pulse 2.4s ease-in-out infinite;
    transform-origin: center;
}

.svh-card-badge-line {
    display: block;
}

.svh-card-badge-line-1 {
    font-size: 11px;
}

.svh-card-badge-line-2 {
    font-size: 10px;
    opacity: 0.95;
    margin-top: 2px;
}

@keyframes svh-badge-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.svh-card-price {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(15, 17, 22, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.svh-price-from {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
}

.svh-price-amount {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.svh-price-currency {
    font-size: 14px;
    font-weight: 600;
    margin-right: 2px;
    opacity: 0.85;
}

.svh-price-suffix {
    font-size: 11px;
    opacity: 0.7;
}

.svh-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.svh-card-eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--svh-muted);
}

.svh-card-title {
    margin: 0;
    padding: 0.5em 0 0;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.svh-card-desc {
    margin: 0;
    color: var(--svh-muted);
    font-size: 14px;
    line-height: 1.55;
}

.svh-spec-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px 10px;
}

.svh-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--svh-muted);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svh-spec svg {
    color: var(--svh-accent);
    flex: none;
}

.svh-feature-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px 10px;
}

.svh-feature-list li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--svh-muted);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svh-feature-check {
    color: #16a34a;
    flex: none;
}

.svh-card-actions {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.svh-btn-primary {
    background: var(--svh-text);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.svh-btn-primary:hover {
    background: var(--svh-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(216, 27, 27, 0.35);
}

.svh-btn-ghost {
    background: transparent;
    color: var(--svh-text);
    border-color: var(--svh-border);
}

.svh-btn-ghost:hover {
    border-color: var(--svh-text);
    transform: translateY(-2px);
}


/* Controls */

.svh-controls {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
}


/* Pagination — slim numbered bars (one per slide) */

.svh-pagination {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(28px, 44px);
    gap: 12px;
    align-items: end;
}

.svh-page-btn {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--svh-muted);
    font-family: inherit;
    transition: color 200ms ease;
    text-align: left;
}

.svh-page-num {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.svh-page-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--svh-border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: background 200ms ease, height 200ms ease;
}

.svh-page-btn.is-active {
    color: var(--svh-text);
}

.svh-page-btn.is-active .svh-page-bar {
    background: var(--svh-accent);
    height: 3px;
}

.svh-page-btn:hover:not(.is-disabled) {
    color: var(--svh-text);
}

.svh-page-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* Circular arrow buttons */

.svh-arrows {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.svh-arrow {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid var(--svh-border);
    background: #ffffff;
    color: var(--svh-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.svh-arrow:hover:not(:disabled) {
    background: var(--svh-text);
    color: #ffffff;
    border-color: var(--svh-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.svh-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.svh-arrow svg,
.svh-arrow .svh-svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    pointer-events: none;
    fill: currentColor;
}

.svh-arrow svg path {
    fill: currentColor;
}


/* Responsive tweaks */

@media (max-width: 1199px) {
    .svh-spec-list,
    .svh-feature-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .svh-spec-list,
    .svh-feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .svh-controls {
        grid-template-columns: 1fr;
    }
    .svh-arrows {
        justify-self: end;
    }
    .svh-pagination {
        grid-auto-columns: minmax(22px, 1fr);
        gap: 8px;
    }
    .svh-card-actions .svh-btn {
        flex: 1;
        justify-content: center;
    }
    .svh-card-badge {
        width: 66px;
        height: 66px;
    }
    .svh-card-badge-line-1 {
        font-size: 10px;
    }
    .svh-card-badge-line-2 {
        font-size: 9px;
    }
}