body,
h1,
h2,
h3,
h4,
h5,
h6,
hgroup,
p,
a,
figure,
picture,
form,
ul,
ol,
li,
dl,
dt,
dd,
label,
fieldset,
input,
button,
table,
thead,
tbody,
tr,
td {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

nav,
footer,
header,
aside {display: block}

img {
    display: block;
    border-style: none;
    max-width: 100%;
}

h1 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 24px;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    margin-top: 80px;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
}

h4 {
    font-size: 16px;
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    max-width: 740px;
}

hr {
    border-width: 0.8px;
    border-color: #eeeeee;
    border-style: solid;
    margin: 16px 0 0 0;
}

p {
    max-width: 640px;
}

button {
    -webkit-appearance: none;
    padding: 16px 30px;
    margin-top: 40px;
    border-width: 2px;
    border-color: #f53013;
    border-style: solid;
    background-color: transparent;
    text-align: center;
    color: #f53013;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
}

button:hover {
    background-color: #f53013;
    color: #ffffff;
}

.adaptive-img-wrapper-for-object-first {
    padding-top: 75%;
    position: relative;
    background-color: #f4f4f4;
}



.adaptive-img-wrapper-for-product-card-compact-first {
    padding-top: 100%;
    position: relative;
    background-color: #f4f4f4;
}

.adaptive-img-wrapper-for-all-second {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

/* стиль отзывов */

.rating-container {
    display: flex;
    align-items: center;
    padding: 25px;
    margin: 50px auto; /* пространство между заголовком и отзывами */
    text-align: center;
    max-width: 1200px;
    color: gold;
    font-size: 32px;
    flex-wrap: wrap; /* Добавлено для переноса строк */
}

.rating {
    display: block;
    margin-right: 40px;
    align-items: center;
    display: block;
    font-size: 32px; /* шрифт */
    margin-top: 15px;
    text-align: center;
}

/* Медиазапрос для экранов шириной меньше 768 пикселей */
@media screen and (max-width: 768px) {
    .rating-container {
        flex-direction: column; /* Колонки друг под другом */
    }
    .rating {
        margin-right: 0; /* Убираем отступ справа */
        margin-bottom: 20px; /* Добавляем отступ снизу для разделения элементов */
    }
}

/* конец стиля отзывов */

/*Видео стиль*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.top iframe {
	max-width: 560px;
    min-height: 315px;
    border: none;
    border-radius: 0;
    width: 100%;
    height: auto;
}

.video-container {
    width: 100vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    text-align: center;
}

/*Конец видео стиль */
.button-download {
    padding: 16px 30px;
    border-width: 2px;
    border-color: #f53013;
    border-style: solid;
    background-color: transparent;

    text-align: center;
    color: #f53013;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
}

.button-download:hover {
    background-color: #f53013;
    color: #ffffff;
}

.button-link {
    -webkit-appearance: none;
    padding: 16px 30px;
    margin-top: 40px;
    border-width: 2px;
    border-color: #f53013;
    border-style: solid;
    background-color: transparent;
    text-align: center;
    color: #f53013;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

.button-link:hover {
    background-color: #f53013;
    color: #ffffff;
}

.add-to-cart-button {
    padding: 0;
    margin-top: 0;
    border-style: none;
    border-width: 0;
    font-size: 16px;
    font-weight: 400;
    color: #313131;
    cursor: pointer;
}

.add-to-cart-button:hover {
    background-color: transparent;
    color: #f53013;
}

.add-to-cart-button:before {
    content: '+ В корзину';
}

.remove-from-cart-button {
    padding: 0;
    margin-top: 0;
    border-style: none;
    border-width: 0;
    font-size: 16px;
    font-weight: 400;
    color: #313131;
    cursor: pointer;
}

.remove-from-cart-button:hover {
    background-color: transparent;
    color: #f53013;
}

.remove-from-cart-button:before {
    content: '× Убрать';
}

.in-reserve-text:before {
    content: 'В резерве';
}

.group-buttons-wrapper {
    display: flex;
    max-width: 640px;
    flex-wrap: wrap;
}

.group-buttons-wrapper button:first-child {
    margin-right: 40px;
}

.remove-from-cart-button-in-cart {
    position: absolute;
    right: 0;
    top: 40%;
    padding: 8px 0 8px 8px;
    margin-top: 0;
    border-style: none;
    border-width: 0;
    font-weight: 300;
    color: #313131;
    cursor: pointer;
}

.remove-from-cart-button-in-cart:hover {
    background-color: transparent;
    color: #f53013;
}

.remove-from-cart-button-in-cart:before {
    content: '×';
    font-size: 32px;
    line-height: 0.6;
}

body {

    display: flex;
    flex-direction: column;

    min-height: 100%;

    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    color: #313131;
}

a {
    text-decoration: none;
    color: #313131;
}

a:hover {
    color: #f53013
}

.underline-link {
    text-decoration-line: underline;
    color: inherit;
}

.base-ol {
    margin-left: 24px;
    margin-top: 16px;
    max-width: 640px;
}

.base-ol li {
    margin-top: 16px;
}


/* CONTAINERS TEMPLATES ======================================================== */

.container-base {
    max-width: 1200px;
    padding: 0 24px 0 24px;
    margin: 0 auto;
}

.container-base.top {
    margin-top: 40px;
}

.container-base.bottom {
    margin-bottom: 80px;

}

.container-base.relative {
    position: relative;
    max-width: 1200px;
    padding: 0 24px 0 24px;
    margin: 0 auto;
}


/* PADDING TEMPLATES ======================================================== */

.padding-t40-b40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.padding-left-24 {
    padding-left: 24px;
}

/* MARGIN TEMPLATES ======================================================== */

.margin-t0 {
    margin-top: 0;
}

.margin-t16 {
    margin-top: 16px;
}

.margin-t24 {
    margin-top: 24px;
}

.margin-t40 {
    margin-top: 40px;
}

.margin-t80 {
    margin-top: 80px;
}

.margin-80-0-16-0 {
    margin: 80px 0 16px 0;
}

.margin-b0 {
    margin-bottom: 0;
}

.margin-b16 {
    margin-bottom: 16px;
}

.margin-b40 {
    margin-bottom: 40px;
}

.margin-b80 {
    margin-bottom: 80px;
}


/* FONTS PARAMETER TEMPLATES ======================================================== */

.fs-12 {
    font-size: 12px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-24 {
    font-size: 24px;
}

.fw-regular {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700;
}

.h3-information {
    margin: 40px 0 16px 0;
}

.btn-caption {
    margin-top: 24px;
    color: #a8a8a8;
}

.white {
    color: #ffffff;
}

.gray {
    color: #bababa;
}
.calc-promo-color-background{
    background-color: #f0f0f0;
}

.unique-product-promo {
    background-color: #f0f0f0;
    /*background-color: #ffffff;*/
}

.caption-base {
    display: block;
    color: #a8a8a8;
}

.caption-info-difference-stone-color {
    margin-top: 24px;
    max-width: fit-content;
    color: #a8a8a8;
}

/* SERVICE ======================================================== */

.object-img-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}

.types-of-work {
    margin-top: 40px;
}

.service-img {
    width: 640px;
    margin-top: 24px;
}

.service-table {
    table-layout: fixed;
    max-width: 640px;
    margin-top: 16px;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.service-table thead th {
    font-size: 12px;
    color: #d4d4d4;
    font-weight: normal;
}

.service-table thead th:nth-child(1) {
    width: 28px;
}

.service-table thead th:nth-child(2) {
    width: 100%;

}

.service-table thead th:nth-child(3) {
    width: 120px;
}

.service-table th, td {
    vertical-align: top;
}

.service-table td {
    padding: 32px 0 0 0;
}

.service-table td:nth-child(2) {
    padding-right: 8px;
}

.tr-first td {
    padding-top: 16px;
}


/* PRODUCT CARD COMPACT ======================================================== */

.products-container-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-auto-columns: 1fr;*/
    grid-column-gap: 16px;
    grid-row-gap: 80px;
}

.img-border-for-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
}

.product-card-compact:hover .img-border-for-hover{
    border-color: #f53013;
}


.product-card-compact {
    display: block;
}

.product-card-compact:hover .product-card-compact-img {
    border-color: #f53013;
}


.product-card-compact:hover .product-card-compact-name {
    color: #f53013;
}

.product-card-compact:hover .product-card-compact-description {
    color: #f53013;
}

.product-card-compact:hover .product-card-compact-price {
    color: #f53013;
}

.product-card-compact-name {
    margin: 16px 2px 0 2px;
    color: #313131;
}

.product-card-compact-description {
    margin: 4px 2px 0 2px;
    font-size: 14px;
    color: #828282;
}

.product-card-compact-status {
    margin: 4px 2px 0 2px;
    font-size: 14px;
    color: #85d801;
}

.product-card-compact-price {
    margin: 4px 2px 0 2px;
    font-size: 24px;
    color: #313131;
}

.test-promo-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}


/* MEDIA ======================================================== */

@media screen and (max-width: 992px) {

    .service-img {
        width: auto;
        height: 360px;
        overflow: hidden;
        margin-left: -24px;
        margin-right: -24px;
    }

    .container-base.breadcrumb {
        display: none;
    }

    .product-card-promo-img-container {
        max-width: 1200px;
        padding: 0;
        margin: 0 auto;
    }

    .product-card-promo-img {
        height: auto;
    }

    .margin-minus {
        margin-left: -24px;
        margin-right: -24px;
    }

}


@media screen and (max-width: 768px) {

    .products-container-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container-base {
        padding: 0 16px 0 16px;
    }

    .container-base.padding-t40-b40 {
        padding: 40px 16px 40px 16px;
    }

    .service-img {
        width: auto;
        height: 290px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .add-to-cart-button:before {
        content: '+';
        font-size: 24px;
        line-height: 0.6;

    }

    .remove-from-cart-button:before {
        content: '×';
        font-size: 24px;
        line-height: 0.6;
    }

    .in-reserve-text:before {
        content: '\2690';
        font-size: 24px;
        line-height: 0.6;
    }

    .hover-img-eye-icon {
        width: calc(100vw - 32px);
    }

    .works-img-wrapper-type1,
    .works-img-wrapper-type2 {
        flex-direction: column;
    }

    .work-img-shorter {
        width: 100%;
    }

    .work-img-longer {
        width: 100%;
    }

    .margin-minus {
        margin-left: -16px;
        margin-right: -16px;
    }

    .clients-logo-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-in-cart-art-wrapper {
        margin-right: 16px;
    }

    .product-in-cart-order-quantity-wrapper {
        margin-right: 32px;
    }

    .clients-logo-wrapper-general {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 640px) {

    .table-column-code {
        display: none;
    }

    .product-in-cart-description {
        max-width: 100%;
        margin-right: 0;
        margin-top: 16px;
    }

    .products-in-cart-items-block-1 {
        display: block;
    }

    .remove-from-cart-button-in-cart {
        top: 0;
    }

    .products-in-cart-items-block-2,
    .products-in-cart-items-block-3 {
        width: 100%;
        max-width: 312px;
    }

    .product-in-cart-art-wrapper,
    .product-in-cart-order-quantity-wrapper {
        margin-right: auto;
    }

    .product-in-cart-price-wrapper {
        margin-right: 0;
    }

    .small-photo {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 24px;
        grid-row-gap: 24px;
    }
}


@media screen and (max-width: 536px) {

    .table-column-available {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .products-container-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-img {
        height: auto;
    }

    .stone-filter-links-block-2,
    .stone-filter-links-block-3 {
        display: none;
    }

    .product-options-table td:nth-child(n) {
        padding-right: 10px;
    }
    .product-options-table td:nth-child(6) {
        padding-right: 7px;
    }

    .product-options-table-single-position td:nth-child(n) {
        padding-right: 10px;
    }

    .product-options-table-single-position td:nth-child(5) {
        padding-right: 7px;
    }

    .examples-carousel-modal-media {
        display: grid;
        grid-template-columns: 1fr;
    }

    .arrow-left,
    .arrow-right {
        display: none;
    }

    .object-img-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 16px;
        grid-row-gap: 16px;

        margin-left: -16px;
        margin-right: -16px;
    }


    /*Grid для фото*/

  /*
    .object-img-1 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 1;
        grid-row-end: 1;
    }

    .object-img-2 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 2;
        grid-row-end: 2;
    }
    .object-img-3 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 3;
        grid-row-end: 3;
    }

    .object-img-4 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 4;
        grid-row-end: 4;
    }

    .object-img-5 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 5;
        grid-row-end: 5;
    }

    .object-img-6 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 6;
        grid-row-end: 6;
    }

    .object-img-7 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 7;
        grid-row-end: 7;
    }

    .object-img-8 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 8;
        grid-row-end: 8;
    }

    .object-img-9 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 9;
        grid-row-end: 9;
    }
*/

}

/*@media screen and (max-height: 450px) and (orientation: landscape) {*/

/*    .examples-carousel-modal-media {*/
/*        display: block;*/
/*        max-width: 1000px;*/
/*        padding: 102px;*/
/*    }*/

/*}*/
