.sd65-slider {
    position: relative;
    width: 100%;
    height: var(--sd65-slider-height, 420px);
    overflow: hidden;
    border-radius: 6px;
    background: #e9ecef;
    box-shadow: 0 12px 32px rgba(22, 38, 52, 0.14);
}

.sd65-slider__track,
.sd65-slide {
    position: absolute;
    inset: 0;
}

.sd65-slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms ease, visibility 500ms ease;
}

.sd65-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.sd65-slide__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd65-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 29, 39, 0.72), rgba(13, 29, 39, 0.08) 70%);
}

.sd65-slide__content {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 5vw, 72px);
    top: 50%;
    max-width: 620px;
    color: #fff;
    transform: translateY(-50%);
}

.sd65-slide__content h2 {
    margin: 0 0 12px;
    color: inherit;
}

.sd65-slide__description {
    margin-bottom: 20px;
    font-size: clamp(18px, 2vw, 28px);
}

.sd65-slider__dots {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 16px;
    left: 18px;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.sd65-slider__dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.sd65-slider__dot.is-active {
    background: #fff;
}

.sd65-gallery {
    display: grid;
    grid-template-columns: repeat(var(--sd65-gallery-columns, 3), minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.sd65-gallery--masonry {
    display: block;
    columns: var(--sd65-gallery-columns, 3);
    column-gap: 14px;
}

.sd65-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f4f5;
}

.sd65-gallery--masonry .sd65-gallery__item {
    margin: 0 0 14px;
    break-inside: avoid;
}

.sd65-gallery__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease;
}

.sd65-gallery__item:hover .sd65-gallery__image,
.sd65-gallery__item:focus-visible .sd65-gallery__image {
    transform: scale(1.025);
}

.sd65-gallery--single .sd65-gallery__image {
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}

.sd65-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 42%);
    min-height: 180px;
    overflow: hidden;
    border: 1px solid #e3e8eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 38, 52, 0.1);
}

.sd65-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(20px, 3vw, 36px);
}

.sd65-cta__title,
.sd65-cta__description {
    margin: 0 0 18px;
    color: #1f313b;
}

.sd65-cta__description {
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.2;
}

.sd65-cta__media,
.sd65-cta__media a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.sd65-cta__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.sd65-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #e35319;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 180ms ease, transform 180ms ease;
}

.sd65-button:hover,
.sd65-button:focus-visible {
    background: #be3f0d;
    transform: translateY(-1px);
}

.sd65-map {
    width: 100%;
    min-height: 368px;
    overflow: hidden;
    border-radius: 8px;
}

.sd65-products .products {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .sd65-slider {
        height: var(--sd65-slider-mobile-height, 280px);
    }

    .sd65-slide__content {
        right: 20px;
        left: 20px;
    }

    .sd65-gallery,
    .sd65-gallery--masonry {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        columns: initial;
    }

    .sd65-gallery--single {
        grid-template-columns: 1fr;
    }

    .sd65-cta {
        grid-template-columns: 1fr;
    }

    .sd65-cta__media {
        grid-row: 1;
    }
}

@media (max-width: 480px) {
    .sd65-gallery,
    .sd65-gallery--masonry {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd65-slide,
    .sd65-gallery__image,
    .sd65-button {
        transition: none;
    }
}
