:root {
    --cl-main: #dcaf24;
    --cl-sub: #cc0000;
}

.product_page{
    padding: 0 0 2rem;
}
.product_page .breadcrumb_box {
    padding: 10px 0;
    color: inherit;
    opacity: .75;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}
.product_page .breadcrumb_box a,
.product_page .breadcrumb_box span {
    display: inline-block;
    padding: 0 7px 0 0;
    margin-right: 7px;
    color: #333;
}

.product_page .breadcrumb_box a:hover {
    color: var(--cl-main);
}

/*----------------------- // ----------------------- */
.product_list h1 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.product_list.search_page h1{
    text-transform: none;
    font-size: 1rem;
    font-weight: 400;
}
.product_list.search_page h1 span{
    text-transform: none;
    font-size: 1.2rem;
    font-weight: 500;
}
.product_list .item {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 20px;
    background-color: #FFF;
    overflow: hidden;
    border: 1px solid #f5f5f5;
}

.product_list .item .sale {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
    background-image: url('../images/bg_sale.png');
    background-size: cover;
    background-position: center;
    line-height: 30px;
    text-align: center;
    color: #FFF;
}

.product_list .item .box_img {
    height: 232px;
    background-position: center;
    background-size: cover;
    border: 1px solid #f5f5f5;
    border-radius: 20px;
}

.product_list .item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 10px 10px;
}

.product_list .item .box_price {
    width: 100%;
    display: inline-flex;
    margin: 0px 10px 10px;
}

.product_list .item .box_price .price {
    color: var(--cl-sub);
    font-weight: 700;
    font-size: 1.1rem;
}

.product_list .item .box_price .price.price_sale {
    color: #9A9696;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 2rem;
    text-decoration: line-through;
    line-height: 25px;
}

.product_list .item a {
    color: #333;
}

.product_list .item a:hover {
    color: var(--cl-main);
}

/*----------------------- // ----------------------- */
.pagination {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.pagination .page a {
    padding: 8px;
    color: #333;
    display: inline-block;
    line-height: 1;
}

.pagination .page a:hover {
    color: var(--cl-main);
}

.pagination .page a.current {
    border-bottom: 2px solid #dddee0;
}

/*----------------------- // ----------------------- */
.product_detail_page {
    margin: 0;
    background-color: #FFF;
}
.product_detail .left .productPhoto{
    text-align: center;
    margin-bottom: 1.5rem;
}
.product_detail .left .productPhoto img {
    width: 92%;
    min-height: 360px;
}

.product_detail .left .listPhoto {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.product_detail .left .listPhoto .itemPhoto {
    border: 1px solid #dddee0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin: 0 15px;
}

.product_detail .left .listPhoto .itemPhoto img {
    width: 100%;
    height: 100%;
}
.product_list_photo .swiper-button-next,
.product_list_photo .swiper-button-prev {
    width: 30px;
}
.product_list_photo .swiper-button-next, .product_list_photo .swiper-rtl .swiper-button-prev {
    right: 3px;
    left: auto;
}
.product_list_photo .swiper-button-prev, .product_list_photo .swiper-rtl .swiper-button-next {
    left: 3px;
    right: auto;
}

.product_list_photo .swiper-button-next:after {
    content: '';
    width: 30px;
    height: 30px;
    background: #fff url('../../images/icons/right-arrow.png') no-repeat 50% 55%;
    content: '';
    display: block;
    box-shadow: 0 0 3px -1px #000;
    background-size: 20px;
}

.product_list_photo .swiper-button-prev:after {
    width: 30px;
    height: 30px;
    background: #fff url('../../images/icons/left-arrow.png') no-repeat 50% 55%;
    content: '';
    display: block;
    box-shadow: 0 0 3px -1px #000;
    background-size: 20px;
}

.product_detail .right h1 {
    color: #000;
    font-size: 28px;
    letter-spacing: 0;
    line-height: 44px;
    margin-bottom: 2rem;
    font-weight: 400;
}
.product_detail .right .info_orther{
    width: 100%;
    display: inline-flex;
}
.product_detail .right .info_orther .item_info_orther{
    margin: 0 15px 0 0;
}
.choose_color_box {
    border-top: 1px solid #e5e5e5;
    margin: 1rem 0 0;
    padding: 1rem 0 0;
}

.choose_color_box .info_color_choose .name {
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 10px 0 5px;
}

.choose_color_box .info_color_choose .des_color {
    color: inherit;
    opacity: .75;
}

.choose_color_box .swatch {
    margin: 1rem 0 0 0;
}

.choose_color_box .swatch .swatch-element {
    float: left;
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    padding: 0 10px 10px 0;
    position: relative;
}

.choose_color_box .swatch .swatch-element a {
    display: table;
    width: 35px;
    height: 35px;
    border-radius: 100%;
}

.choose_color_box .swatch .swatch-element.active a {
    box-shadow: 0 0 0 3px #4b4b4b;
    border: 3px solid white;
}

.order_detail_box {
    margin: 1rem 0 0 0;
}

.order_detail_box .box_price {
    width: 100%;
    display: inline-flex;
}

.order_detail_box .box_price span {
    line-height: 38px;
}

.order_detail_box .box_price .price_sale {
    color: #F00;
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.order_detail_box .box_price .price {
    color: #9A9696;
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 1rem;
    text-decoration: line-through;
    line-height: 38px;
}
.order_detail_box .add_cart_box{
    width: 100%;
    display: inline-flex;
    margin: 1rem 0;
}
.order_detail_box .box_order {
    width: 16%;
    display: inline-flex;
    height: 35px;
    align-items: center;
    margin: 1rem 0 0 0;
}

.order_detail_box .box_order .qty_label {
    font-weight: 500;
}

.order_detail_box .box_order .qty {
    border-bottom: 1px solid #292929;
    display: flex;
    justify-content: space-around;
    margin: 0 1em 0 5px;
    padding: 0px 10px;
    height: 45px;
    align-items: center;
}

.order_detail_box .box_order .qty a {
    cursor: pointer;
    color: #333;
    font-size: 20px;
}

.order_detail_box .box_order .qty input {
    width: 60px;
    outline: none;
    border: none;
    text-align: center;
}

.order_detail_box .add_cart {
    padding: 15px 35px;
    background-color: #8F8F8F;
    color: #FFF;
    text-align: center;
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 5px 0 0 0;
    border-radius: 30px;
    -webkit-border-radius: 30px;
}

.order_detail_box .add_cart:hover {
    background-color: #1e1e1f;
}

.product_detail .content {
    margin: 3rem 0 0;
}

.product_detail .content h2,
.product_relate_list h2 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ECECEC;
}

.product_detail .content .content_detail img {
    max-width: 100%;
    height: auto !important;
}

.product_relate_list {
    margin-top: 2rem;
}

.swiper-pagination-photos {
    text-align: center;
    margin-top: 1rem;
}
.swiper-pagination-photos .swiper-pagination-bullet {
    cursor: pointer;
    width: 15px;
    height: 15px;
    margin: 0px 3px;
}
.swiper-pagination-photos .swiper-pagination-bullet-active {
    background: var(--cl-main);
}

.product_detail .info_orther{
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    margin: 1rem 0 0;
}
.product_detail .info_orther .item_orther{
    margin: 0 0 0.5rem;
}
.product_detail .info_orther .item_orther a{
    color: #292929;
}
.product_detail .info_orther .item_orther a:hover{
    color: #EA222E;
}
/*----------------------- // ----------------------- */
.share_box .btn_share {
    color: #00A5DB;
    background-image: url(/assets/cosmos/images/icons/share.png);
    background-position: 0px 0px;
    background-size: 20px;
    background-repeat: no-repeat;
    padding-left: 28px;
    font-weight: 500;
    cursor: pointer;
}
.swiper-pagination-relate {
    text-align: center;
    margin-top: 2rem;
}
.swiper-pagination-relate .swiper-pagination-bullet {
    cursor: pointer;
    width: 15px;
    height: 15px;
    margin: 0px 3px;
}
.swiper-pagination-relate .swiper-pagination-bullet-active {
    background: #00A5DB;
}
/*----------------------- // ----------------------- */
.product_list .sidebar h2{
    margin-bottom: 30px;
    position: relative;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 20px;
}
.product_list .sidebar h2:after {
    content: "";
    width: 65px;
    height: 2px;
    background: #1e1e1f;
    position: absolute;
    left: 0;
    bottom: -1px;
}
.product_list .sidebar .cate_list ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.product_list .sidebar .cate_list ul li{
    margin-bottom: 12px;
    position: relative;
}
.product_list .sidebar .cate_list ul li a{
    color: #1e1e1f;
}
.product_list .sidebar .cate_list ul li a:hover{
    color: var(--cl-main);
}
.product_list .sidebar .cate_list ul li ul{
    margin: 12px 0 0 0;
    display: none;
}
.product_list .sidebar .cate_list ul li .icons {
    position: absolute;
    top: 0px;
    right: 0;
    color: #777;
    font-size: 1rem;
    text-align: right;
    font-size: 1rem;
    cursor: pointer;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
}
/*----------------------------- tabs content -----------------------------*/
.tabs_content{
    margin: 2rem 0 0;
}
.tabs_content .nav-tabs{
    justify-content: center;
}
.tabs_content .nav-tabs .nav-item{
    text-transform: uppercase;
    font-weight: 600;
}
.tabs_content .tab-content{
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

@media screen and (max-width: 1024px) {
    .product_page .banner {
        height: 200px;
    }

    .product_list h1 {
        font-size: 2rem;
    }

    .product_list .item .box_img {
        height: 180px;
    }

    .product_detail .right {
        margin: 2rem 0 0;
    }

    .product_detail .right h1 {
        font-size: 26px;
        font-weight: 400;
        line-height: 30px;
        margin-bottom: 0.5rem;
    }
    .order_detail_box .box_price .price_sale {
        font-weight: 500;
    }

    /*--------------------------------------*/
    .product_detail_slide .item {
        width: 100%;
    }

    .product_detail_slide .item .box_img {
        height: 690px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    /*--------------------------------------*/
    .cart_mobile_fix {
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;
        height: 60px;
        background-color: rgb(255, 255, 255);
        z-index: 9999;
        border-top: 1px solid #dddee0;
        display: flex;
    }

    .cart_mobile_fix .cart_price {
        width: 60%;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .cart_mobile_fix .cart_price .total_all {
        font-weight: 500;
        font-size: 18px;
        width: 50%;
    }
    .cart_mobile_fix .cart_price .current_color{
        width: 50%;
    }
    .cart_mobile_fix .cart_price .current_color a{
        display: table;
        width: 100%;
        height: 50px;
        display: inline-flex;
        justify-content: end;
        align-items: center;
        color: #000;
    }
    .cart_mobile_fix .cart_price .current_color a .current_color_show{
        display: table;
        width: 30px;
        height: 30px;
        border-radius: 100%;
        margin-right: 10px;
    }

    .cart_mobile_fix .add_cart_mobile {
        width: 40%;
        margin: 0px;
        padding: 0px;
        border-radius: 0px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        text-transform: none;
        text-align: center;
    }

    .cart_mobile_fix .add_cart_mobile .label {
        font-weight: 400;
        font-size: 0.8rem;
    }
    /*------------------*/
    .communitys .item {
        height: 310px;
    }
}

@media screen and (max-width: 992px) {
    .product_detail{
        padding: 5rem 0 0;
    }
    .product_page {
        padding: 5rem 0 2rem;
    }
}

@media screen and (max-width: 668px) {
    .product_page .banner {
        height: 100px;
    }

    .product_list h1 {
        font-size: 1.5rem;
    }
    .product_list .item .box_price .price {
        font-size: 1rem;
    }
    .product_list .item .box_price .price.price_sale {
        font-weight: 600;
        font-size: 0.8rem;
        margin-left: 5px;
    }

    .product_list .item .box_img {
        height: 160px;
    }
    .product_detail .right .info_orther{
        display: block;
    }
    .product_detail .right .info_orther .item_info_orther {
        float: left;
        width: 45%;
    }

    .product_list .item h3 {
        min-height: 40px;
    }

    .product_detail .right h1 {
        font-size: 18px;
    }

    .product_detail .content h2,
    .product_relate_list h2 {
        font-size: 1.2rem;
    }

    .order_detail_box .box_price .price {
        font-size: 1rem;
    }

    .product_detail .faq .box .item .content .product_details {
        padding: 20px 10px;
    }
    /*------------------*/
    .product_list .sidebar{
        margin: 3rem 0 0;
    }
    /*------------------*/
    .product_detail .right {
        margin: 1rem 0 0;
    }
    /*-----------------------*/
    .product_detail_slide .item .box_img {
        height: 360px;
        border-radius: 20px;
    }
    /*-----------------------*/
    iframe {
        width: 100% !important;
        height: 200px !important;
    }
}