@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


.wrapper-product{
    display: flex;
    gap: 20px;
    padding: 0;
}


.prod-img-info{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-images{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.product-image-main{

    justify-content: center;
    width: 500px;

}
.product-image-main img{
    width: 500px;
    /*height: 350px;*/
    border-radius: 7px;
    position: sticky;
    top: 75px;
}

/*.product-image-main img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    object-fit: cover;*/
/*    object-position: center;*/
/*}*/







.product-img-other{
    display: none;
    flex-direction: column;
    gap: 20px;
}

.product-img-other img{
    display: flex;
    width: 50px;
    height: 50px;
    background-color: #67a7e7;
}


.product-info{
    width: 650px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 7px;

}
.name-product{
    display: flex;
    padding: 10px 20px 0 20px;

}
.name-product h1{
    font-size: 22px;
}

.about-product{
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px 20px;
    gap: 15px;

}

.variations-wrapper {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: Arial, sans-serif;
}

.variation-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 20px 20px;
}

.variation-label {
    font-weight: bold;
    /*min-width: 120px;*/
    color: #333;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-thumb{
}

.variation-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #bbb;
    border-radius: 20px;
    background-color: #f9f9f9;
    color: #424242;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.variation-link:hover {
    background-color: #ffffff;
    border-color: #e04209;
}

.variation-link.active {
    background-color: #ffffff;
    border: 3px solid #e04209;
    color: #e04209;
    font-weight: bold;
}


/* Другие цвета этой серии */
.other-colors-in-series {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.otcis-title{
    display: flex;
}
.otcis-title span{
    font-size: 16px;
    font-weight: normal;
}

.otcis-colors-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.color-item {
    text-align: center;
    border: 1px solid #d5d5d5;
    border-radius: 7px;
}
.color-item a{
    text-decoration: none;
    color: var(--black);
}

.color-item img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 7px;
}

.color-name {
    display: block;
    margin: 5px;
    font-size: 14px;
}

/* END Другие цвета этой серии */






.characteristics-item{
    display: flex;


}
.characteristics-item span{
    padding: 5px;
    border-bottom: 1px solid #dadada;
}


.title-characteristics{
   font-size: 17px;
    font-weight: bold;
    padding-left: 20px;
}

.span-th{
    font-weight: normal;
}


.product-actions{
    min-width: 300px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-prod-item{
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prod-item{
    background-color: #ffffff;
    border-radius: 7px;

    padding: 20px;
}

.top-pad{
    top: 161px !important;
}

.product-price{

    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    font-weight: bold;

    font-size: 25px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(to right, #ed6e41, #ec0909);
    padding: 5px 20px;
    border-radius: 7px;
}

.product-availability{
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    font-size: 18px;
    padding: 10px;
}

.status-available{
    background: linear-gradient(to right, #17d53b, #29a10d);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
    text-align: center;
}

.status-order{
    background: linear-gradient(to right, #1477d5, #103bc5);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
    text-align: center;
}

.status-unknown{
    /*color: #eccb80;*/
    background: linear-gradient(to right, #ea683b, #bc570a);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
    text-align: center;
}
.add-to-cart{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#callback-btn {
    width: 100%;
    /*background-color: #007bff; !* Синий цвет *!*/
    color: #fff; /* Белый текст */
    padding: 10px 20px; /* Внутренние отступы */
    font-size: 16px; /* Размер текста */
    border: none; /* Убираем рамку */
    border-radius: 5px; /* Закругленные углы */
    cursor: pointer; /* Указатель мыши */
    transition: background-color 0.3s ease; /* Анимация */
    background: linear-gradient(to right, #ff8306, #e67403);
}

#callback-btn:hover {
    background-color: #ec750e; /* Темно-синий цвет при наведении */
}

#callback-btn img{
    width: 18px;
}

.btn-success{
    color: #fff; /* Белый текст */
    padding: 10px 20px; /* Внутренние отступы */
    font-size: 16px; /* Размер текста */
    border: none; /* Убираем рамку */
    background: linear-gradient(to right, #ff8306, #e67403);
    border-radius: 7px;
}

.form-group{
    display: flex;
    flex-direction: row;
}
.form-group label{
    font-size: 16px;
    width: 150px;
    display: flex;
    align-items: center;
}
.form-group input{
    border-radius: 7px;
    background-color: #ececec;
    border: none;
    width: 200px;
    height: 30px;
    padding: 5px 10px;
    font-size: 16px;
}

.callback-form-prod{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Контейнер для кнопки */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Текст подсказки */
.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 200px; /* Ширина подсказки */
    background-color: #505050; /* Цвет фона */
    color: #fff; /* Цвет текста */
    text-align: center;
    border-radius: 5px; /* Закругленные углы */
    padding: 5px 10px; /* Внутренние отступы */
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Расположение над кнопкой */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0; /* Прозрачность по умолчанию */
    transition: opacity 0.3s; /* Плавное появление */
}

.tooltip-text{
    display: flex;
    flex-direction: row;
}
.tt-center{
    display: flex;
    align-items: center;
}

/* Треугольник у подсказки */
.tooltip-container .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%; /* Подсказка над элементом */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Показать подсказку при наведении */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text img{
    width: 35px;
}




.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}
.modal-cb {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 350px;
}
.modal-cb h2{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.cb-close-btn {
    float: right;
    cursor: pointer;
    font-size: 30px;
}


.phone-input-wrapper {
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.phone-input-wrapper .flag-icon {
    font-size: 24px;
    margin-right: 10px;
}

.phone-input-wrapper input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
}


.cb-modal-successful{
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 350px;
}
.cb-modal-successful-title{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.cb-modal-successful-title span{
    font-size: 21px;
}
.cb-modal-img-successful{
    width: 30px;
}


.btn-add-basket{
    background-color: var(--white);
    border: 1px #0cae2b solid;
    color: var(--black);
    width: 100%;
    border-radius: 70px;
    padding: 7px 10px;
    font-size: 14px;
}

.btn-add-buy{
    background-color: #ffa41d;
    width: 100%;
    border-radius: 70px;
    border: none;
    padding: 7px 10px;
    font-size: 14px;
}


.product-objects-photo{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    border-radius: 7px;
    padding: 0 15px 30px 15px;
    margin-top: 20px;
}

.title-product-objects-photo{

    display: flex;
    border-radius: 7px;
    padding: 15px;
}


.title-product-objects-photo span{
    font-size: 17px;
    font-weight: bold;
}

.container-product-photo{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: white;

}

.product-photo-item{

}
.product-photo-item img{
    width: 300px;
    border-radius: 7px;
}





/* Модальное окно скрыто при загрузке */
.modal.hidden {
    visibility: hidden; /* Скрыть модальное окно */
    opacity: 0; /* Сделать окно невидимым */
    transition: visibility 0s, opacity 0.3s ease; /* Плавный переход */
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    margin: auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.rp-title{
    padding: 0 20px 20px 20px;
}

.related-products{
    display: flex;

    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 20px;
}

.pr-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    width: 350px;
}

.pr-item-card{
    /*box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);*/
    border-radius: 7px;
}

.pr-item-card a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    border: 1px solid #d5d5d5;
    border-radius: 7px;
    color: var(--black);
}

.pr-item-card-desc{
    display: flex;
    flex-direction: row;
    gap: 5px;
}
.pr-item-card-desc img{
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.product-differences{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-top: 7px;
    background-color: #f5f5f5;
    border: 1px solid #d5d5d5;
    width: 100%;
    /*height: 100px;*/
    border-radius: 7px;
    /*border-top-right-radius: 7px;*/
    /*border-bottom-right-radius: 7px;*/
}

.pd-title{
    text-align: center;
}
.product-differences-item{
    padding: 5px 10px;
    /*text-align: center;*/
}


.product-details{
    width: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 5px 10px;
}
.product-details span{
    text-align: center;

}

.product-price-l{
    font-size: 16px;
    padding: 5px;
}

.pr-item img{
    border-radius: 7px;
}
.pr-item a{

}

.other-items-series{
    background-color: var(--white);
    margin: 15px 0;
    border-radius: 7px;
}

.other-item-group{
    padding: 20px 20px 0 20px;
    font-size: 16px;

}

.product-colors{
    padding: 20px 20px 20px 20px;
}

.container-color-list{
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 10px;
}

.color-list {
    display: flex;
    margin: 5px 10px;

}

.link-product-color{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #1a202c;
    font-size: 15px;
    border: 1px solid #d5d5d5;
    padding: 5px;
    border-radius: 7px;
}

.color-thumbnail{
    border-radius: 7px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}




.table-attributes {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-attributes th, .table-attributes td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.table-attributes th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.table-attributes td {
    background-color: #fff;
}


.other-vid{
    display: flex;
    width: 100%;
    height: 100px;

}


.breadcrumb{
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 7px;
    line-height: 1.5;
}

.breadcrumb a {
    color: #5b5b5b;
    text-decoration: none;
    margin-right: 5px;

}

.breadcrumb-active {
    color: #6c757d;
    margin-right: 5px;
}

.breadcrumb span {
    color: #8e8e8e;
    margin-right: 5px;
}




/*--------- Вариации товара ---------*/

.product-variations {
    padding: 0 20px;
}
.variation-group {
    margin-bottom: 10px;
}
.variation-title {
    font-weight: bold;
    margin-bottom: 8px;
}
.variation-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.variation-option {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}
.variation-option:hover {
    background: #f2f2f2;
}
.variation-option.active {
    background: #f14924;
    color: white;
    border-color: #f14924;
}



/*--------- Вариации товара ---------*/




/*--------- ID товара ---------*/
.product-id-show{
    display: flex;
    padding: 10px;
    flex-direction: row;
    color: #8f8e8e;
}
/*--------- ID товара ---------*/



@media (max-width: 1600px) {
    nav{
        padding: 0 20px;
    }
}
@media (max-width: 1580px){
    .container-main-nav-header{
       left: 60px;
    }
}
@media (max-width: 1560px){
    .container-main-nav-header{
        left: 80px;
    }
}
@media (max-width: 1540px){
    .container-main-nav-header{
        left: 100px;
    }
}
@media (max-width: 1520px){
    .container-main-nav-header{
        left: 120px;
    }
}
@media (max-width: 1500px){
    .container-main-nav-header{
        left: 140px;
    }
}
@media (max-width: 1480px){
    .container-main-nav-header{
        left: 160px;
    }
}
@media (max-width: 1460px){
    .container-main-nav-header{
        left: 180px;
    }
}
@media (max-width: 1440px){
    .container-main-nav-header{
        left: 200px;
    }
}
@media (max-width: 1420px){
    .container-main-nav-header{
        left: 220px;
    }
}
@media (max-width: 1400px){
    .container-main-nav-header{
        left: 240px;
    }
}

@media (max-width: 1535px) {
    .product-info{
        width: 500px;
    }
}
@media (max-width: 1380px) {
    .wrapper-product{
        justify-content: center;
    }
    .prod-img-info{
        width: 500px;
    }
}
@media (max-width: 1070px) {

    .catalog{
        display: none;
    }
}

@media (max-width: 855px) {
    .wrapper-product{
        justify-content: center;
    }
    .prod-img-info{
        width: 400px;
    }
    .product-image-main img{
     width: 400px;
    }
    .name-product h1{
        text-align: center;
    }
}

@media (max-width: 855px) {
    .product-image-main{
        width: auto;
    }
}

@media (max-width: 750px) {
    .product-actions{
       display: none;
    }

    .custom-button{
        margin-left: 20px;
    }
}



@media (max-width: 450px) {
    .product-image-main img{
        width: 300px;
    }
    .prod-img-info{
        display: flex;
        justify-content: center;
    }
    nav{
        padding: 0;
    }

}
@media (max-width: 400px) {
    .product-info{
        width: 350px;
    }

}
@media (max-width: 370px) {
    .product-info{
        width: 300px;
    }
    .product-image-main img{
        width: 270px;
    }
}


.ppa-mobile-product-actions {

    display: none;
}

@media (max-width: 750px) {
    .ppa-mobile-product-actions {
        position: fixed;
        bottom: 50px;
        left: 0;
        width: 100%;
        background: #f4f4f4;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
        padding: 12px 16px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
    }

    .ppa-mobile-product-actions__info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .ppa-mobile-product-actions__price {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .ppa-mobile-product-actions__availability {
        font-size: 14px;
    }

    .ppa-status-available {
        color: green;
    }

    .ppa-status-order {
        color: orange;
    }

    .ppa-status-unknown {
        color: gray;
    }

    .ppa-mobile-product-actions__controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ppa-quantity-input {
        width: 50px;
        text-align: center;
        padding: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }

    .ppa-add-to-cart-btn {
        background-color: #ff6600;
        border: none;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ppa-add-to-cart-btn img {
        width: 24px;
        height: 24px;
    }

    .ppa-callback-btn {
        display: flex;
        align-items: center;
        background-color: #11a855;
        border: none;
        padding: 10px 12px;
        border-radius: 4px;
        cursor: pointer;
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

    .ppa-callback-btn img {
        width: 20px;
        height: 20px;
    }
}













