.boat-slider-section {
    padding: 9.37rem 2rem;
    background-color: #FAF7F0;
    display: flex;
    justify-content: center;
    margin-bottom: 0 !important;
}

.boat-slider-header {
    margin-bottom: 7.5rem;
    position: relative;
}


.boat-slider-card__big-title {
    color: var(--lb-deep);
    /* Heading M */
    font-family: var(--lb-font-display);
    font-size: clamp(1.9rem, 4vw, 4.0625rem);
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.boat-slider-card__subtitle {
    color: #DBD5C0;
    font-family: "Fasthin", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.125rem);
    font-style: normal;
    margin-bottom: 25px;
    font-weight: 400;
    transform: rotate(-18.154deg);
    line-height: 110%;
    position: absolute;
    top: 41px;
    left: 26%;
}

@media (max-width: 992px) {
    .boat-slider-section {
        padding: 4rem 1.125rem;
    }

    .boat-slider-header {
        margin-bottom: 5rem;
        position: relative;
    }
}

.container {
    max-width: var(--lb-container);
    width: 100%;
}

.boat-card {
    background-color: #fff;
    border-radius: 0.4375rem;
    overflow: hidden;
    position: relative;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

/* Ny wrapper för bilden */
.boat-card__image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.boat-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

/* Bildslider (flera bilder) inne i wrapper */
.boat-card__image-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.boat-card__image-slider.keen-slider .boat-card__image-slide {
    min-width: 100%;
    height: 100%;
}

.boat-card__image-slider .boat-card__image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pilar för bildslider */
.boat-card__image-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--lb-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, opacity 0.2s;
}

.boat-card__image-arrow:hover {
    background: #fff;
    opacity: 1;
}

.boat-card__image-arrow--prev {
    left: 8px;
}

.boat-card__image-arrow--next {
    right: 8px;
}

.boat-card__image-arrow svg {
    width: 18px;
    height: 18px;
}

/* Zooma endast på enstaka bild (inte på slider-bilder vid hover) */
.boat-card:hover .boat-card__image-wrapper > img {
    transform: scale(1.1);
}

.boat-card:hover .boat-card__image-wrapper .boat-card__image-slider img {
    transform: scale(1.05);
}

.boat-card:hover {
    transition: 0.5s;
    transform: translateY(-5px); /* Lyft kortet lite */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* För mindre skärmar */
@media (max-width: 768px) {
    .boat-card__image-wrapper {
        height: 200px;
    }
}

body .keen-sliders:not([data-keen-slider-disabled]) {
    overflow: visible;
}

.boat-info {
    flex-grow: 1;
    padding: 1.69rem;
    width: 100%;
}

.boat-title {
    flex-grow: 1;
    color: var(--lb-deep);
    font-family: var(--lb-font-sans);
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.10938rem;
    text-transform: uppercase;
}

.boat-description {
    color: var(--lb-deep);
    /* Paragraph M */
    margin-top: 1.88rem;
    font-family: var(--lb-font-sans);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.boat-description a {
    color: var(--lb-slate);
    text-decoration: none;
}

.boat-specs {
    margin-top: 2.44rem;
    width: 100%;
    font-size: 0.9rem;
    border-radius: 0.4375rem;
    border: 1px solid #EEE;
    color: #A7A7A7;
    border-collapse: collapse;
}

.boat-specs td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.boat-specs td:first-child {
    width: 40%;
}


@media (max-width: 768px) {
    .boat-description {
        font-size: 1rem;
        margin-top: 0;
    }

    .boat-card img {
        height: 200px;
    }
}

.keen-sliders:not([data-keen-slider-disabled]) {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    align-content: flex-start;
    display: flex;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -khtml-user-select: none;
    width: 100%;
}

.read-more {
    background: none;
    color: #223c55;
    text-decoration: underline;
}

.boats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .boats {
        grid-template-columns: repeat(1, 1fr);
    }
}
