
/* ===== breadcrumb css start ===== */
.main__product_template .breadcrumb__wrapper {
    display: flex;
    gap: 12px;
    padding: 25px 0;
}
.main__product_template .breadcrumb__nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% - 76px);
}
.main__product_template .breadcrumb__nav li {
    display: flex;
    align-items: center;
}
.main__product_template .breadcrumb__nav li a {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #121212;
    text-decoration: none;
}

.main__product_template .product__carousel{
    display: flex;
    align-items: center;
    width: 68px;
}
.main__product_template .contoller__btn,
.main__product_template .grid__btn{
    display: flex;
}


/* ========== main product css start =========== */
.shop__btn_wrapper{
    position: relative;
}

/* product images */

.main__product_template .main__product img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main__product_template .main__product{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 24px;
}
.popup__product_drawer .main__product{
    gap: 16px;
  }

.main__product_template .main__product .product__images{
    display: flex;
    flex-direction: column;
    gap: 10PX;
}
.main__product_template .main__product .lg__img{
    position: relative;
}

.main__product_template .main__product .lg__img img{
    /* width: 320px;
    height: auto; */
}
.main__product_template.popup__product_drawer .main__product .lg__img img{
    width: 100%;
    height: auto;
}


.main__product_template .main__product .gallery__images {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: scroll;
}

.main__product_template .main__product .gallery__images .sm__img img{
    /* pointer-events: none; */
}
.main__product_template .main__product .gallery__images img{
    width: 72px;
    height: 92px;
}
.main__product_template .main__product .gallery__images .sm__img{
    position: relative;
}

.main__product_template .main__product .gallery__images .sm__img::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255);
    opacity: .7;
}

.main__product_template .main__product .gallery__images .sm__img.active:before{
    opacity: 0;
}

.main__product_template .image__viewer_btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

/* controller btn */

.main__product_template .controller__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
}

.main__product_template .controller__btn.prev__btn{
    left: 0;
}
.main__product_template .controller__btn.next__btn{
    right: 0;
}
.main__product_template .main__product .lg__img .controller__btn img{
    width: 24px;
    height: 24px;
}

.popup__product_drawer .main__product .lg__img .controller__btn{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* product info */
.main__product_template .product__info .product__title_wrapper{
    margin-bottom: 8px;
}
.popup__product_drawer  .product__info .product__title_wrapper,
.popup__product_drawer .product__price{
    margin-bottom: 6px;
}
.main__product_template .product__info .product__title{
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #121212;
}
  .popup__product_drawer .product__info .product__title{
    font-size: 14px;
    line-height: 22px;
  }

/* price css start */

.main__product_template .product__price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    justify-content: start;
}

.main__product_template .product__price .price {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #121212;
    position: relative;
}
.main__product_template .product__price .old__price {
    color: #868686;
}
.main__product_template .product__price .old__price::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background-color: #868686;
}

/* price css end */


/* ratings css start */
.main__product_template .product__rating_nav {
    padding-bottom: 16px;
    box-shadow: 0 1px 0 0 #EBEBEB;
}
.main__product_template .product__rating_nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.main__product_template .product__rating_nav ul li span {
    display: flex;
}
/* ratings css end */


/* description css start  */
.main__product_template .product__desc_wrapper,
.main__product_template .product__info .size__guide {
    margin-top: 16px;
    margin-bottom: 16px;
}
.main__product_template .product__desc_text {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #868686;
}
/* description css end */


/* size guide css start */

.main__product_template .product__info .size__guide p {
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #121212;
    display: flex;
    align-items: center;
    gap: 8px;
}
.main__product_template .product__info .size__guide span {
    display: flex;
}
/* size guide css end */



/* ecommerce btn css start */
.main__product_template .ecommerce__btn_groups {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.main__product_template .quantity__box {
    width: 150px;
    height: 42px;
    display: flex;
    border: 1px solid #ebebeb;
}
.main__product_template .quantity__controll {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    outline: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.main__product_template .ecommerce__btn_groups .quantity__count {
    border: none;
    text-align: center;
    background-color: transparent;
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
    width: calc(100% - 80px);
    outline: none;
}

.quantity__box input[type="number"]::-webkit-inner-spin-button,
.quantity__box input[type="number"]::-webkit-outer-spin-button{
    appearance: none;
}
  

.main__product_template .btn__button {
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: transparent;
    border: none;
    display: flex;
    text-decoration: none;
}
.main__product_template .outline__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0px 25px;
    background: var(--primary_color);
}
.main__product_template .add__to_cart__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #121212;
}

.main__product_template .add__to_cart__btn,
.main__product_template .shop__btn {
    width: 100%;
    height: 42px;
    text-transform: uppercase;
}
/* ecommerce btn css end */



/* extra link css start */
.main__product_template .extra__link_wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
}
.main__product_template .extra__link_wrapper .extra_link {
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #121212;
    text-transform: capitalize;
}
/* extra link css end */



/* product extra info css start */
.main__product_template .product__extra_info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.main__product_template .product__extra_info p {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #121212;
}
.main__product_template .product__extra_info p span {
    color: #868686;
}
/* product extra info css end */


/* share socials css start */
.main__product_template .share__socials_media {
    display: flex;
    align-items: center;
    margin-top: 16px;
    gap: 12px;
}
.main__product_template .share__socials_media .title {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #868686;
}
.main__product_template .share__socials_media .media__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
}
.main__product_template .share__socials_media .media__list li a {
    display: flex;
}
/* share socials css end */


/* variants css start  */

.popup__product_drawer .product__info .variants{
    margin-top: 16px;
}

.main__product_template .product__info .filter__type_text{
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    color: #121212;
    margin-bottom: 10px;
}


/* =============== CUSTOM RADIO BUTTON CSS START ============== */

.main__product_template .product__info .filter .options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.main__product_template .product__info .filter input[type="radio"] {
    display: none;
}

.main__product_template .product__info .filter .custom__radio_button {
    /* width: 28px; */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 12px;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: #868686;
    background-color: #FFF;
    border-radius: 21px;
    border: 1px solid #868686;
}

.main__product_template .product__info .filter input[type="radio"]:checked+.custom__radio_button {
    border: 1px solid #121212;
    background-color:  #121212;
    color: #fff;
}
.main__product_template .product__info .filter .filter__color .custom__radio_button {
    width: max-content;
}

/* =============== CUSTOM RADIO BUTTON CSS END ============== */

.main__product_template .product__full_details{
    margin-top: 16px;
    padding-top: 16px;
    box-shadow: 0 -1px 0 0 #ebebeb;
}
.main__product_template .product__full_details__btn{
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #121212;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.main__product_template .main__product .lg__img .controller__btn.prev__btn{
    left: 10px;
}
.main__product_template .main__product .lg__img .controller__btn.next__btn{
    right: 10px;
}

/* ecomerce button disabled */
.main__product_template .button_disabled{
    color: #cfcfcf !important;
    background-color: #7b7676;
    border-color: transparent;
    cursor: not-allowed;
}
.shop__btn_wrapper.product_action_shop_button {
    position: relative !important;
}



@media(min-width:494px){


.main__product_template .main__product .lg__img .controller__btn img{
    width: 24px !important;
    height: 24px !important;
}
.popup__product_drawer .main__product .lg__img img{
    width: 100% !important;
}



}

@media(min-width:724px){

.main__product_template .breadcrumb__nav li a,
.main__product_template .product__desc_text,
.main__product_template .product__info .size__guide p,
.main__product_template .extra__link_wrapper .extra_link,
.main__product_template .product__extra_info p,
.main__product_template .product__info .filter__type_text,
.main__product_template .product__full_details__btn{
    font-size: 14px;
    line-height: 22px;
}
.product__full_details__btn{
    cursor: pointer;
}

.main__product_template .main__product{
    padding-bottom: 50px;
}


}


@media(min-width:940px){
.popup__product_drawer .main__product{
    flex-direction: row !important;
    padding-bottom: 0px;
    gap: 0px;
  }

.popup__product_drawer .ecommerce__btn_groups{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.popup__product_drawer .ecommerce__btn_groups .add__to_cart__btn_wrapper{
    width: calc(100% - 83px - 12px);
}
.popup__product_drawer .ecommerce__btn_groups .shop__btn_wrapper{
    width: 100%;
}
.popup__product_drawer .main__product .lg__img img{
    width: 460px !important;
    height: 586px !important;
}
.popup__product_drawer .product__info{
    padding: 24px !important;
}
.popup__product_drawer .product__info .product__title{
    font-size: 16px;
    line-height: 24px;
    margin-right: 40px;
}

.main__product_template .main__product .lg__img .controller__btn.prev__btn{
    left: 20px;
}
.main__product_template .main__product .lg__img .controller__btn.next__btn{
    right: 20px;
}


}



@media(min-width:972px){

.main__product_template .main__product{
    flex-direction: row;
}
.main__product_template .main__product .product__images,
.main__product_template .main__product .product__info{
    width:50%; 
}

.main__product_template .product__info .product__title_wrapper{
    margin-bottom: 10px;
}
.main__product_template .product__info .product__title{
    font-size: 26px;
    line-height: 34px;
}

/* price css start */
.main__product_template .product__price .price {
    font-size: 20px;
    line-height: 28px;
}


/* ecommerce btn */
.main__product_template .ecommerce__btn_groups {
    margin-top: 30px;
}

/* .main__product_template .quantity__box,
.main__product_template .add__to_cart__btn,
.main__product_template .shop__btn {
    height: 40px;
    transition: 0.3s;
} */



}


@media(min-width:1024px){
  .main__product_template .product__info .size__guide p,
  .main__product_template .contoller__btn ,
  .main__product_template .image__viewer_btn ,
  .main__product_template .product__info .filter .option .custom__radio_button,
  .controller__btn{
    cursor: pointer;
  }
}


@media(min-width:1440px){

.main__product_template .main__product_container{
    width: 1410px;
}

.main__product_template .main__product{
    gap: 60px;
}

.main__product_template .main__product .product__images{
    flex-direction: row;
    gap: 14px;
}
.main__product_template .main__product .lg__img{
    order: 2;
    width: 100%;
}
.main__product_template .main__product .gallery__images{
    order: 1;
    flex-direction: column;
    width: max-content;
    min-width: 80px;
    gap: 14px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.main__product_template .main__product .gallery__images::-webkit-scrollbar{
    display: none;
}
.main__product_template .main__product .gallery__images img{
    width: 80px;
    height: 102px;
}

}