.section-website-types .website-types--tabs {
    gap: 24px;
}

.section-website-types .website-types__pagination {
    display: none;
}

.section-website-types .website-types__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-website-types .website-types__tab.btn {
    min-height: 48px;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-background);
    color: var(--color-foreground);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease 0.1s, box-shadow 0.3s ease, transform 0.3s ease;
}

.section-website-types .website-types__tab.btn:hover,
.section-website-types .website-types__tab.btn:focus-visible {
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.section-website-types .website-types__tab.btn.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(195, 27, 38, 0.2);
}

.section-website-types .website-types__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.section-website-types .website-types__tab-icon svg,
.section-website-types .website-types__tab-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.section-website-types .website-types__tab-icon img {
    object-fit: contain;
}

.section-website-types .website-types__panels {
    min-width: 0;
}

.section-website-types .website-types__tabpanel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    min-height: 470px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-background);
}

.section-website-types .website-types__tabpanel.is-active {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.section-website-types .website-types__tabpanel[hidden] {
    display: none;
}

.section-website-types .website-types__tabpanel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    min-height: 100%;
    padding: clamp(28px, 4vw, 52px);
    text-align: left;
}

.section-website-types .website-types__tabpanel-title {
    margin: 0;
    color: var(--color-foreground);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 600;
}

.section-website-types .website-types__tabpanel-text {
    max-width: 590px;
    margin: 18px 0 0;
    color: var(--color-muted-foreground);
    font-size: 20px;
    line-height: 1.6;
}

.section-website-types .website-types__tabpanel-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.section-website-types .website-types__tabpanel-list li {
    position: relative;
    min-width: 0;
    padding-left: 34px;
    color: var(--color-foreground);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.section-website-types .website-types__tabpanel-list li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
}

.section-website-types .website-types__tabpanel-list li::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 7px;
    width: 7px;
    height: 11px;
    border: solid var(--color-background);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.section-website-types .website-types__tabpanel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 30px;
}

.section-website-types .website-types__tabpanel-actions .btn {
    min-height: 48px;
}

.section-website-types .website-types__tabpanel-media {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    background: #F9F9F9;
}

.section-website-types .website-types__tabpanel-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

.website-types__tab.btn svg * {
    stroke-width: 2;
}

@media (max-width: 1710px) {
    .section-website-types .website-types__tabpanel-media {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        box-sizing: border-box;
    }

    .section-website-types .website-types__tabpanel-media img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
    }
}

@media (max-width: 1090px) {
    .section-website-types .website-types--tabs {
        gap: 16px;
    }

    .section-website-types .website-types__pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 2px;
    }

    .section-website-types .website-types__pagination-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(195, 27, 38, 0.28);
        transition: width 0.3s ease, background-color 0.3s ease;
    }

    .section-website-types .website-types__pagination-dot.is-active {
        width: 22px;
        border-radius: 999px;
        background: var(--color-primary);
    }

    .section-website-types .website-types__tabs {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        padding-bottom: 4px;
    }

    .section-website-types .website-types__tabs::-webkit-scrollbar {
        display: none;
    }

    .section-website-types .website-types__tab.btn {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .section-website-types .website-types__tab.btn.is-active {
        box-shadow: none;
    }

    .section-website-types .website-types__tabpanel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .section-website-types .website-types__tabpanel-media {
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
        min-height: 280px;
        padding: 24px;
        box-sizing: border-box;
    }

    .section-website-types .website-types__tabpanel-media img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .section-website-types .website-types__tab.btn {
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        padding-inline: 18px;
    }

    .section-website-types .website-types__tabpanel-content {
        padding: 24px;
    }

    .section-website-types .website-types__tabpanel-title {
        font-size: 28px;
    }

    .section-website-types .website-types__tabpanel-actions {
        width: 100%;
    }

    .section-website-types .website-types__tabpanel-actions .btn {
        width: 100%;
    }
}
