@font-face {
    font-family: Montserrat-Reqular;
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: Montserrat-Medium-bold;
    src: url(fonts/Montserrat-Bold.ttf);
}

html{
    height: 100%;
}


main{
    flex: 1 0 auto;
}

.main-categories-list a{
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    align-items: center;
    text-align: center;
    padding: 15px;
    color: #A279AA;
    background: #A279AA25;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.main-categories-list a:hover{
    background: #A279AA;
    color: #fff;
}

.main-categories-list {
    background: #393A5A50;
    margin: 50px 0;
    padding: 30px;
    border-radius: 15px;
}

.main-categories-list .list-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -53px;
    margin-bottom: 12px;
}

/*.products .product-preview {*/
/*    height: 175px;*/
/*    width: 100%;*/
/*}*/

.product-action {
    display: flex;
    align-items: center;
}

.product-action .price {
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 100px;
}

.product-action p {
    background: #26282e;
    padding: 0.5em;
    border-radius: 10px;
}


.product-action .amounts {
    background: #26282e;
    border-radius: 10px;
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 100px;
    padding: 0.5em;
    margin: 0 12px;
}

.products .product-action a {
    background: #26282e;
    border-radius: 10px;
    display: block;
    color: rgba(217, 87, 70, 0.75);
    text-align: center;
    text-decoration: none;
    width: 100px;
    padding: 0.5em;
    margin: 0 12px;
}

.products .product-action a:hover {
    background: #363841;
    color: #ff5266;
}

.products .product-detail {
    padding: 5px 15px;
    display: flex;
    align-items: center;
    background: rgba(38, 40, 46, 0.5);
    border-radius: 10px;
    margin-bottom: 15px;
    /*height: 270px;*/
}

/*.products .product-action {*/
/*    padding: 0.8em;*/
/*}*/

.product-detail-info {
    margin-left: 15px;
    width: 790px;
}

.product-detail-info .name {
    width: inherit;
    white-space: nowrap;
    overflow: hidden;
}

.products .product-detail-info .price {
    float: right;
    color: #122330;
}

.product-detail-info p {
    color: #848a9a;
    font-size: 12px;
    height: 40px;
    overflow-x: overlay;
}

.products .product-detail-info .name {
    color: #ff5266;
}

.products .product-detail-info .category-name a {
    color: #546E7A !important;
    font-size: 10px;
    text-decoration: none;
}

.product-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /*padding: 0 15px;*/
}

.carousel-info {
    background: rgb(18 35 48 / 35%);
    backdrop-filter: blur(10px);
    height: 70px;
    display: block;
    padding: 18px;
}

.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: 500;
    font-size: 30px;
    line-height: 100%;
}

.carousel-info .carousel-name {
    display: inline-block;
}

.carousel-info .carousel-price {
    display: inline-block;
}

.carousel-info .carousel-action {
    float: right;
    font-size: 20px;
    bottom: 0;
    position: relative;
}


.carousel-read {
    background: #546E7A;
    border-radius: 10px;
    color: #fff;
    padding: 0.7em;
    text-decoration: none;
    font-size: 14px;
    font-family: Montserrat-Reqular, sans-serif;
}

.carousel-read:hover {
    opacity: 0.8;
    color: #fff;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    border: 1px solid rgba(230, 238, 248, 0.75);
    backdrop-filter: blur(4px);
    font-size: 20px;
    border-radius: 50px;
    background-color: rgba(18, 35, 48, 0.5);
}

.carousel-control-prev, .carousel-control-next {
    top: 47%;
    width: 7% !important;
    height: 3%;
}

.carousel img {
    background: #546E7A;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.05);
    height: 420px;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer h4 {
    font-size: 15px;
    color: #122330;
}

footer a {
    height: 100%;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 19px;
    /*color: #dadada !important;*/
    align-items: center;
    transition-duration: .25s;
}


footer .fa{
    width: 10px;
}



.product-detail .right-info .hr{
    height: 1px;
    background-color: rgba(18, 35, 48, 0.5);
}

.product-detail .right-info .name{
    text-align: center;
    font-size: 15px;
    padding: 0.8em;
}

.product-detail .right-info ul span{
    float: right;
}

.product-detail .right-info ul li {
    padding: 0.4em 1em;
    font-size: 12px;
    color: #546E7A;
}



.product-detail .right-info .buy-now{
    background: rgba(84, 110, 122, 0.5);
    border-radius: 10px !important;
    color: #fff;
    border: none;
    padding: 0.6em;
}


.product-detail .right-info .count-input{
    /*padding: 0.4em 1em;*/
    display: flex;
}

.product-detail .right-info .count-input input{
    padding: 8px;
    /*width: 15%;*/
    height: 32px;
    text-align: center;
    float: left;
}


.product-detail .right-info .count-input .button-left{
    border-radius: 10px 0 0 10px;
    border-left: 1px solid #122330;
    border-right: 0;
    float: left;
    height: 32px;
}


.product-detail .right-info .count-input .button-right{
    border-radius: 0 10px 10px 0;
    border-right: 1px solid #122330;
    border-left: 0;
    float: left;
    height: 32px;
}



.navbar-brand{
    margin-right: 2rem;
}

.cart-header{
    display: block;
}

header .cart .icon{
    position: relative;
    margin-right: 10px;
}

header .cart-header{
    text-decoration: none !important;
}

header .count-products{
    background: #E02742;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    position: absolute;
    right: -8px;
    top: 0;
    padding: 3px;
    font-size: 13px;
    line-height: 1;
    height: 20px;
    color: #fff;
    width: 20px;
    text-align: center;
}




.products-list .info{
    padding-left: 15px;
}



.products-list .count-input{
    padding: 0 !important;
    padding-top: 15px;
    position: relative;
    top: 8px;
}

.contacts .item {
    background: #546E7A;
    border-radius: 10px;
    margin: 0.5em;
    color: #fff;
    text-align: center;
    padding: 1em 0.5em;
    font-size: 1.1em;
    height: 45px;
}

.pagination .disabled span {
    display: block;
    color: #0d6efd;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.product-detail .nav li {
    flex: auto;
    text-align: center;
}




.select-pay-method a img {
    width: 100px;
    height: 23px;
}

.product-preview {
    border-right: 1px solid #26282e;
}

.category-id a img {
    margin: 0 8px;
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px;
    object-fit: cover;
}

.product-detail .img-additional {
    margin: 0.5em 0em;

}

.product-detail .img-additional img {
    width: 150px;
    height: 84px;
    border: 1px solid #122330;
    border-radius: 7px;
}

.product-detail .right-info .select-type .option-button {
    font-family: Montserrat-Reqular;
    font-style: normal;
    padding: 0.5em 0.9em;
    background: #FFFFFF;
    font-weight: 600;
    font-size: 12px;
    border: 2px solid rgba(18, 35, 48, 0.5);
    border-radius: 10px;
    margin-top: 10px;
}

.product-detail .right-info .select-type .option-button.active {
    border: 2px solid #29B765;
    color: #29B765;
}

.product-detail .right-info .select-type .form-check-inline {
    margin-right: 0.3em;
}

.product-detail .right-info .select-type .form-check input {
    margin: 3px 0 0 0;
}

.product-detail .right-info .select-type .form-check label{
    padding-left: 4px;
}

.help-block{
    color: #c52828;
}


.contacts a{
    text-decoration: none;
}





.swiper {
    width: 100%;
    height: 100px;
    margin: 20px auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

:root {
    --swiper-navigation-size: 29px !important;
}

.swiper-button-next:after, .swiper-button-prev:after{
    color: white;
}




@media (max-width: 956px) {
    .carousel img {
        height: auto !important;
    }

    .carousel-info{
        height: 100%;
        padding: 10px;
        font-size: 15px;
    }
}

@media (max-width: 770px) {
    .home-category {
        flex-direction: column;
        align-items: center;
    }
}