.detail{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.detail-h1{
    width: 100%;
    margin-left: 615px;
}
.detail-h1 h1 {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 700;
}

.short-description{
margin-bottom: 15px;
}
.short-description p{
    margin-bottom: 0;
}
.short-description p .more-details{
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.54;
    color: #0e0a6d;
    align-items: center;
    text-decoration: none !important;
    cursor: pointer;
}
.short-description p .more-details i{
    margin-left: 5px;
}

.detail-gallery {
    width: 600px;
    height: 400px;
    padding: 15px;
    margin-top: -15px;
    background-color: #fff;
    overflow: hidden;
}
.detail-gallery img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: all ease-in-out .1s;
}
.detail-gallery img:hover{
    transform: scale(1.03);
}

.detail-bottom{
    width: calc(100% - 615px);
    margin-bottom: 40px;
}
.cartForm{
    background-color: #f8f8f8;
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
}
#countSelect,
#productPrices{
    padding: 16px 16px 12px 16px;
    border-bottom: 1px solid #ccc;
}
#countProductMinus,
#countProductPlus{

}
#countProductInput{
    border-radius: 7px 0 0 7px;
}

#productPrices .price-row{
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: .8;
}
#productPrices .price-row .cost{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
#productPrices .price-row.big{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    opacity: 1;
}
#productPrices .price-row strong{
    margin-left: auto;
    white-space: nowrap;
    position: relative;
}
#productPrices .price-row.big strong{
    font-size: 20px;
    font-weight: 800;
}
#productPrices .price-row.red strong{
    color: #ec2834;
}
#productPrices .price-row.old strong::after {
    position: absolute;
    content: "";
    left: 2px;
    top: 50%;
    right: 0;
    border-top: 2px solid #333;
}
#productUnitDop{
    color: var(--orange);
}

#footerPrices{
    display: flex;
    padding: 16px 16px 12px 16px;
    background-color: #FFFFFF;
}
#footerPrices .order-time{
    display: flex;
    align-items: center;
    gap: 15px;
    color: #c1790b;
}
#footerPrices .order-time i{
    font-size: 24px;
}
#footerPrices .order-time .text{
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.3;
}
#addBasket{
    min-width: 208px;
    height: 48px;
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
}

#addFavorites {
    display: none;
    color: #0e0a6d;
    cursor: pointer;
}
#addFavorites:hover{
    text-decoration: underline;
}
#addFavorites i{
    margin-right: 5px;
}

.detail-bottom .dop{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 0 0 16px;
}
.detail-bottom .dop .info{
    display: flex;
    flex-direction: column;
    margin-left: auto;
    line-height: 1.2;
    text-align: right;
    font-size: 14px;
}
.detail-bottom .dop .info span{
    color: #888888;
}
.detail-bottom .dop .info span strong{
    color: #333333;
}

.tabs-wrap{
    margin-bottom: 41px;
    background-image: linear-gradient(179deg,rgba(255,255,255,0) 0,#f6f6f6 100%);
    position: relative;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tabs-control {
    display: flex;
    align-items: flex-end;
    flex-grow: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 15px 0 0 0;
    position: relative;
}
.tabs-control > .tab-head{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    color: #0e0a6d;
    padding: 0 10px 12px 10px;
    margin-bottom: -1px;
    width: 100%;
    height: 88px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
}
.tabs-control > .tab-head + .tab-head{
    border-left: none;
}
.tabs-control > .tab-head:hover{
    background-color: #f2f2f2;
}
.tabs-control > .tab-head.active{
    color: #333;
    background-color: #fff;
    padding: 0 20px 12px 20px;
    border-left: 1px solid #ccc;
    margin-left: -1px;
    height: 96px;
}
.tabs-control > .tab-head i {
    font-size: 17px;
    color: #ccc;
    margin: 22px 0 9px;
}
.tabs-control > .tab-head span{
    line-height: 1.2;
}
.tabs-container{
    padding-bottom: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: relative;
}
.tabs-container::before {
    content: "";
    display: block;
    height: 1px;
    left: 0;
    right: 0;
    top: 0;
    background-color: #ccc;
    position: absolute;
}
.tabs-container > .tab-body {
    display: none;
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 25px 0;
    z-index: 50;
    position: relative;
}
.tabs-container > .tab-body.active{
    display: block;
}

.tabs-wrap.small{
    margin-bottom: 0;
}

.tabs-wrap.small .tabs-control{
    padding: 0;
    margin-bottom: 15px;
}
.tabs-wrap.small .tabs-control > .tab-head {
    width: auto;
    padding: 15px 25px;
    height: 40px;
    flex-grow: 1;
}
.tabs-wrap.small .tabs-control > .tab-head.active{
    height: 45px;
    background-color: var(--blue-h);
    color: #FFFFFF;
}
.tabs-wrap.small .tabs-container{
    padding-bottom: 0;
    border: 0;
}
.tabs-wrap.small .tabs-container::before{
    content: none;
}
.tabs-wrap.small .tabs-container > .tab-body.active{
    padding: 0;
}

.tabs-wrap.small  .catalog-wrapper{
    margin-bottom: 0;
}
.consumables-info{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 25px;
    background-color: #e8f5ff;
    color: #333;
    line-height: 1.43;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #0e0a6d;
    border-radius: 5px;
}
.consumables-info > i{
    font-size: 24px;
    color: #150fa2;
}

.tabs-container .inner-photo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}
.tabs-container .inner-photo .grid-photo {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    object-fit: cover;
}

.video-container{
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}
.item-video{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
}
.item-video .img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.item-video .img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    transition: all .5s;
}
.item-video .img-wrapper::before {
    content: " ";
    background: center / contain no-repeat url("../../images/icons/video_icon.webp");
    height: 70px;
    width: 70px;
    position: absolute;
    opacity: .9;
    transition: all .3s ease-in-out;
    z-index: 1;
}
.item-video:hover .img-wrapper img {
    transform: scale(1.1);
}
.item-video .name{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin-bottom: 0;
    padding: 10px 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #140e93;
    border-radius: 0 0 5px 5px;
}

.document-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 900px;
    gap: 10px;
    padding: 10px;
    margin: 0 auto 10px;
    background-color: #fff;
    color: #333333;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none !important;
    transition: all .3s ease-in-out;
}
.document-item:hover{
    color: #333333;
    border: 1px solid var(--blue-h);
}
.document-item h4{
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.2;
}
.document-item p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 0;
}
.document-item > .icon-downland {
    min-width: 45px;
    min-height: 45px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #333333;
    transition: all .3s ease-in-out;
}
.document-item > .icon-downland > i {
    font-size: 1.5rem;
}
.document-item:hover > .icon-downland {
    background-color: var(--blue-h);
    color: #FFFFFF;
}

#addBasketModal .modal-dialog{
    max-width: 1000px;
}
#addBasketModal .modal-header{
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f5f4f9;
}
#addBasketModal .modal-header .product{
    display: flex;
    align-items: center;
    gap: 15px;
}
#addBasketModal .modal-header .product img{
    width: 100px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    background-color: #FFFFFF;
    border-radius: 6px;
    padding: 5px;
}
#addBasketModal .modal-header .product .text strong{
    color: #56b218;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.12px;
    display: block;
}
#addBasketModal .modal-header .product .text .name{
    color: #0e0a6d;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.11px;
}

#addBasketModal .modal-body{
    overflow: auto;
}

#btnBasketModal{
    display: flex;
    gap: 15px;
}
#btnBasketModal > .btn{
    font-weight: bold;
    white-space: nowrap;
}
#addBasketModal .swiper-products{
    margin-top: 0;
}
#addBasketModal  .swiper-products > h3 {
    text-align: left;
}
#addBasketModal .swiper-products .swiper-slide{
    height: auto;
}
#addBasketModal .swiper-products .item-stock > .item-stock__img img{
    height: 160px;
}
#addBasketModal .swiper-products .item-stock > .item-stock__name{
    height: inherit;
}


@media (max-width: 1240px) {
    .detail-h1{
        margin-left: 0;
    }
    .detail-gallery {
        width: calc(50% - 15px);
        margin-top: 0;
    }
    .detail-bottom {
        width: 50%;
    }
}
@media (max-width: 1100px){
    .tabs-container > .tab-body .inner-photo .grid-photo{
        height: 250px;
    }
}
@media (max-width: 994px) {
    .detail{
        flex-direction: column;
    }
    .detail-gallery,
    .detail-bottom {
        width: 100%;
    }

    .tabs-container > .tab-body .inner-photo {
        grid-template-columns: repeat(3, 1fr);
    }
    #addBasketModal .modal-dialog,
    #addBasketModal .modal-dialog .modal-content{
        height: 100%;
        margin: 0;
    }
    #addBasketModal .modal-body{
        padding-bottom: 70px;
    }
    #btnBasketModal {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 10px 13px;
        border-top: 1px solid #e6e6f0;
        z-index: 200;
    }
    #btnBasketModal > a{
        flex-grow: 1;
    }

    .video-container{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .tabs-container > .tab-body .inner-photo {
        grid-template-columns: repeat(2, 1fr);
    }
    .consumables-info{
        justify-content: center;
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .tabs-control{
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }
    .tabs-control > .tab-head,
    .tabs-control > .tab-head.active{
        flex-direction: row;
        gap: 15px;
        padding: 15px;
        height: inherit;
        width: inherit;
    }
    .tabs-control > .tab-head + .tab-head{
        border: 1px solid #ccc;
    }
    .tabs-control > .tab-head.active{
        background-color: #0e0a6d;
        color: #fff;
    }
    .tabs-control > .tab-head.active i{
        color: #ff6638;
    }
    .tabs-control > .tab-head i{
        font-size: 18px;
        margin: 0;
    }
    .tabs-wrap.small .tabs-control {
        flex-direction: row;
        align-items: center;
    }
    .video-container{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 500px) {
    #productPrices .price-row .cost{
        line-height: 1.2;
    }
    #footerPrices {
        flex-direction: column;
    }
    #footerPrices .order-time{
        margin-bottom: 15px;
        gap: 10px;
    }
    #footerPrices .order-time i {
        font-size: 18px;
    }
    #footerPrices .order-time .text{
        font-size: 14px;
    }
    #addBasket{
        margin-left: inherit;
        width: 100%;
    }
    .tabs-container > .tab-body {
        padding: 15px 15px 0;
    }
    .tabs-container > .tab-body .inner-photo .grid-photo{
        height: 200px;
    }
}


