.mt-50{
    margin-top: 50px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    padding: 34px 0;
}

.specs__item {
    min-height: 64px;
    padding: 0 28px;
    border-right: 2px solid rgba(38, 38, 38, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.specs__item:last-child {
    border-right: none;
}

.specs__title {
    margin: 0;
    color: var(--darckgray-coor);
    font-size: var(--fs-24);
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
}

.specs__value {
    margin: 0;
    color: #747474;
    font-size: var(--fs-20);
    line-height: 1.2;
    font-weight: 40;
    text-transform: uppercase;
}

.product-info__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.product-info__image {
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--whitegray-color);
}

.product-info__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-info__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.product-info__list {
    margin: 0;
}

.product-info__row {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.2fr);
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(38, 38, 38, 0.18);
    align-items: baseline;
}

.product-info__row:first-child {
    padding-top: 0;
}

.product-info__row dt,
.product-info__row dd {
    margin: 0;
    font-size: var(--fs-24);
    line-height: 1.25;
}

.product-info__row dt {
    color: #8a8a8a;
    font-weight: 400;
}

.product-info__row dd {
    color: var(--darckgray-coor);
    font-weight: 400;
    text-align: right;
}

.product-info__price {
    margin-top: auto;
    padding: 24px 18px 24px 28px;
    border-radius: 18px;
    background-color: var(--darckgreen-color);
    color: var(--white-color);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.product-info__price-title {
    margin: 0 0 8px;
    color: var(--white-color);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
    text-transform: uppercase;
}

.product-info__price-note {
    margin: 0;
    color: var(--whitegray-color);
    font-size: 13px;
    line-height: 1.35;
}

.product-info__button {
    min-height: 58px;
    padding: 0 30px;
    border: 0;
    border-radius: 100px;
    background-color: var(--white-color);
    color: var(--darckgreen-color);
    font-family: "PT Sans", sans-serif;
    font-size: var(--fs-18);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.product-info__button:hover {
    transform: translateY(-2px);
    background-color: var(--whitegray-color);
}

.finish-tabs__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
}

.finish-tabs__tab {
    min-height: 66px;
    padding: 0 34px;
    border: 0;
    border-radius: 100px;
    background-color: var(--white-color);
    color: var(--darckgray-coor);
    font-family: "PT Sans", sans-serif;
    font-size: var(--fs-18);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.finish-tabs__tab:hover {
    transform: translateY(-2px);
}

.finish-tabs__tab.is-active {
    background-color: var(--darckgreen-color);
    color: var(--white-color);
}

.finish-tabs__panel {
    display: none;
}

.finish-tabs__panel.is-active {
    display: block;
}

.finish-tabs__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 54px;
    align-items: center;
}

.finish-tabs__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.finish-tabs__item {
    position: relative;
    padding-left: 42px;
    color: var(--darckgray-coor);
    font-size: var(--fs-20);
    line-height: 1.35;
}

.finish-tabs__item::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url("../img/circum_circle-check.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.finish-tabs__image {
    height: 390px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--whitegray-color);
}

.finish-tabs__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


@media (max-width: 1190px) {
    .product-info__grid {
        grid-template-columns: 1fr;
    }

    .product-info__image {
        min-height: 430px;
    }
}


@media (max-width: 986px) {
    .specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 20px 0;
    }

    .specs__item {
        min-height: 110px;
        border-right: 1px solid rgba(38, 38, 38, 0.18);
        border-bottom: 1px solid rgba(38, 38, 38, 0.18);
    }

    .specs__item:nth-child(3n) {
        border-right: none;
    }

    .specs__item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
       .finish-tabs__nav {
        gap: 14px;
        margin-bottom: 34px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }

    .finish-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .finish-tabs__tab {
        flex: 0 0 auto;
        min-height: 56px;
        padding: 0 26px;
        scroll-snap-align: start;
    }

    .finish-tabs__content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .finish-tabs__image {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .product-info__image {
        min-height: 320px;
        border-radius: 16px;
    }

    .product-info__content {
        gap: 20px;
    }

    .product-info__row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .product-info__row dt,
    .product-info__row dd {
        font-size: 18px;
    }

    .product-info__row dd {
        text-align: left;
    }

    .product-info__price {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .product-info__button {
        width: 100%;
        min-height: 56px;
        padding: 0 18px;
        font-size: 16px;
    }
}

@media (max-width: 580px) {
    .specs {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .specs__item {
        min-height: auto;
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid rgba(38, 38, 38, 0.18);
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .specs__item:nth-child(3n) {
        border-right: none;
    }

    .specs__item:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(38, 38, 38, 0.18);
    }

    .specs__item:last-child {
        border-bottom: none;
    }

       .finish-tabs__nav {
        margin-bottom: 26px;
    }

    .finish-tabs__tab {
        min-height: 50px;
        padding: 0 22px;
        font-size: 15px;
    }

    .finish-tabs__list {
        gap: 14px;
    }

    .finish-tabs__item {
        padding-left: 34px;
        font-size: 15px;
    }

    .finish-tabs__item::before {
        top: 1px;
        width: 22px;
        height: 22px;
    }

    .finish-tabs__image {
        height: 240px;
        border-radius: 16px;
    }
}

@media (max-width: 420px) {
    .product-info__image {
        min-height: 250px;
    }

    .product-info__price-title {
        font-size: 22px;
    }
}