@charset "utf-8";

/******************************************
    마감재
******************************************/
.texture__tab > .tab__list {
    margin-bottom: 100px;
}

.texture__subtab > .tab__list {
    margin-bottom: 40px;
}

.texture__download_wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.texture .texture__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    color: var(--white);
    background: var(--fill-secondary);
    font-size: 16px;
    line-height: 1.2;
    transition: background-color var(--deafult-transition);
}

.texture .texture__download:hover,
.texture .texture__download:focus-visible {
    background: var(--primary-normal);
}

.texture .texture__download:focus-visible {
    outline: 2px solid var(--primary-normal);
    outline-offset: 4px;
}

@media screen and (max-width: 1024px) {
    .texture__tab > .tab__list {
        margin-bottom: calc(40 / var(--width) * var(--device-width));
    }


    /* 타입이 많은 페이지(texture_ot): 4개씩 2줄 */
    .texture__tab--grid > .tab__list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .texture__subtab > .tab__list {
        margin-bottom: calc(24 / var(--width) * var(--device-width));
    }

    .texture__download_wrap {
        margin-top: 0;
    }

    .texture .texture__download {
        min-width: calc(148 / var(--width) * var(--device-width));
        min-height: calc(42 / var(--width) * var(--device-width));
        padding: calc(10 / var(--width) * var(--device-width)) calc(18 / var(--width) * var(--device-width));
        font-size: calc(13 / var(--width) * var(--device-width));
    }

    .texture .texture__download:focus-visible {
        outline-offset: calc(4 / var(--width) * var(--device-width));
    }
}
