:root {
	--main-color: #0b9247;
	--text-color: #171427;
	--bg-color: #fff;
}
.product-collection {
    overflow: visible;
}
h1{
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}
h2.detail-category{
    font-size:16px;
    text-transform: uppercase;
}

.wrap-detail{
    margin-right: 50px;
    margin-left: 50px;

    position: relative;
    height:100%;
}

ol.breadcrumb{
    font-size:12px;
}
ol.breadcrumb li:first-child:after{
    content:"-";
    margin:0 5px;
}
ol.breadcrumb li a{
    
}

.detail-product{
    font-size:12px;
    margin:20px 0;
    color: grey;
}
.box-container {
    margin-top:-150px;
    margin-right:100px;
}

.select-size{
	background-color: #fff;
	width: 100%;
    margin: 20% 0 0 0;

    position: relative;
}
.select-size h6{
    font-size:12px;
    padding-left: 8px;
}
.select-size a.size-guide{
    font-size:11px;
    color:#aeaeae;
}
.size__group{
	width: 100%;
	padding: 10px 0 0;
    border:0;
}
.size__button {
	position: relative;
	display: inline-block;
    width: 20px;
    height: 18px;
    margin: 0 5px;
}
.size__button label {
	cursor: pointer;
    color: #292929;

    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    height: 20px;
    width: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    transition: all 120ms ease-in-out;
}
.size__button label p {
	font-size: 12px;
	margin: 0;    
	color: transparent;
}
.size__button label span {
	position: absolute;
    font-size: 11px;
    color: #BDBDBD;
    right: 15px;
    top: 11px;
}
.size__button label:before {

	content: attr(data-icon);
	display: block;
    line-height: 1.5;
    font-size: 0.75rem;
}
.size__button input[type=radio] {
	display: none;
}
.size__button input[type=radio]:checked + label {
	border-bottom: 1px solid #000000;
}
.size__button input[type=radio]:disabled + label {
	cursor: not-allowed;
	color: #a8a8a8;
    background-color: #f4f4f4;
}

.btn-add{
    background: #0b9247;
    color: #ffffff;
    border: 1px solid #0b9247;
    width: 100%;
    padding: 15px 15px;
    border-radius: 1px;
    font-size: 12px;
    margin: 20px 0;
}
.size-chart a{
    font-size:12px;
}
.size-chart i{
    font-size: 20px;
    vertical-align: bottom;
}


.optional{
    margin:30px 0 20%;
}
.optional h6{
    font-size: 12px;
    text-transform: capitalize;
}
.optional ul{
    display: flex;
    margin: 50px 0 0;
    position: relative;
}
.optional ul li{
    display:inline-flex;   
}
.optional ul li a{
    display:inline-flex;   
    margin: 0 5px;
    border-bottom: 1px solid transparent;
}
.optional ul li a:hover{
    border-bottom: 1px solid transparent;
}
.optional ul li a.active{
    border-bottom: 1px solid #000;
    
    font-size: 12px;
}

.result-color li a:before {
    content:"";
}
.optional ul li a.active:before {
    content: attr(data-color);
    display: block;
    font-size: 12px;
    width: 100%;
    position: absolute;
    top: -24px;
    left: 0;
    font-size: 12px;
    text-transform: capitalize;
    z-index:1;
    background:#fff;
}
.result-color li a:hover:before {
    content: attr(data-color);
    display: block;
    font-size: 12px;
    width: 100%;
    position: absolute;
    top: -24px;
    left: 0;
    font-size: 12px;
    text-transform: capitalize;
    z-index:2;
    background:#fff;
}
.optional i{
    width: 16px;
    height: 16px;
    border-radius: 30px;
    margin-right: 0;
    margin-bottom: 3px;
    display: inline-block;
}


.tab-detail-product{
    display:flex;    
    margin-left: 0;
    margin-right: 0;
    margin-top:100px;

    /* position: absolute;
    width: 100%;
    bottom: 5%;
    z-index: 9991; */
}
.tab-detail-product li{
   
}
.tab-detail-product li a{
    font-size:12px;
    position: relative;
    display: inline-block;
}

.tab-detail-product li a:after{
    content:"";
    display:block;
    background:#000;
    width:0;
    height:1px;
    transition: all 0.2s;
}
.tab-detail-product li a:hover:after{
    width:100%;
    height:1px;
}

.modal-dialog-slideout .modal-footer{
    border-top:0;
}
.modal-dialog-slideout .tab-detail-product{
    width:100%;
}


.wrap-recommend{
    display: block;
    text-align: left;
    margin: 50px 0 0;
}
.wrap-recommend h3{
	font-size: 14px;
    margin: 0 0 60px 0;
}
.wrap-recommend .btn-add{
	padding: 8px 0;
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
    background-color: var(--main-color);
    color: var(--bg-color);
    margin: 0;
}

.cart-box {
	display: grid;
	grid-template-columns: 20% 75%;
	gap: 1rem;
	align-items: center;
	margin-top: 1rem;
	position:relative;
}
.cart-box img.cart-img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	padding: 0;

    border-radius: 0;
    margin: 0 10px 0 0;

	display:inline-block;
}
.cart-product-title {
	/* font-size: 13px;
    text-transform: capitalize;
    text-align: left;
    margin: 0 0 5px 0;
    line-height: 19px; */
}
.cart-price {
	/* font-weight: 500;
    text-align: left;
	font-size:13px;
    margin-bottom: 10px; */
}


.modal-dialog {
    max-width: 40%;
    margin-right: 0;
    height: 100%;
    min-height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

 .modal-dialog-slideout {min-height: 100%; margin: 0 0 0 auto;background: #fff;}
.modal.fade .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(100%,0)scale(1);transform: translate(100%,0)scale(1);}
.modal.fade.show .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(0,0);transform: translate(0,0);display: flex;align-items: stretch;-webkit-box-align: stretch;height: 100%;}
.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body{overflow-y: auto;overflow-x: hidden;}

.modal-content{
    border-radius: 1px;
    height:100%;
    border: 0;
    box-shadow: 0 0 2px rgb(0 0 0 / 15%);
    padding: 50px 80px;
}
.modal-backdrop {
    --bs-backdrop-bg: #ffffff;
    --bs-backdrop-opacity: 0.6;
}
.modal-body{
    padding: 80px 0 0;
}
.modal-header{
    position: relative;
    border-bottom: 0 solid;
}
.modal-title{
    margin-left: 0;
}
.modal-header .close{
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    /* background: url(../images/icon/close.png) no-repeat;
    background-size: 20px;
    background-position: 50% 50%; */
    background: #fff;
    border-radius: 0;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    transition: var(--transition);
    font-size: calc(16.2px + 0.15vw);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 10px;
   
}

.modal-header .close img{
    transition: transform .3s cubic-bezier(.25,.1,.25,1) 0s;
}
.modal-header .close:hover img{
    transform: rotate(90deg);
}
.new-size .modal-body{
    font-size: 14px;
    line-height: 28px;
}


.swiper-button-prev, .swiper-button-next{
    display:flex;
}
.swiper-pagination {
    text-align: left;
    margin: 0 0 5% 5%;
}
.swiper-pagination-bullet {
    width: 3px;
    height: 3px;
    margin: 0 15px;
}
.swiper-pagination-bullet-active{
    background: #000;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 15px;
}

.button , .woocommerce .cart .button{
    display: inline-block;
    position: relative;
    border: 1px solid #191919 !important;
    color: #191919 !important;
    overflow: hidden;
    text-decoration: none;
    outline: none;
    background: transparent !important;
    width: 100%;
    padding: 15px 15px;
    border-radius: 1px;
    font-size: 12px;
    margin: 20px 0;
    font-weight:300;
    line-height: 22px;
}


.button i {
    font-size: 18px;
    vertical-align: text-bottom;
    margin-right: 2px;
}


.button span {
    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;

    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.button:before,
.button:after {
    content: '';
    position: absolute;
    top: 0.67em;
    left: 0;
    width: 100%;
    text-align: center;
    
    opacity: 0;
    -webkit-transition: .1s,opacity .1s;
    -moz-transition: .1s,opacity .1s;
    -o-transition: .1s,opacity .1s;
    transition: .1s,opacity .1s;
    

}

/* :before */

.button:before {
    content: attr(data-hover);
    -webkit-transform: translate(-150%,0);
    -moz-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    -o-transform: translate(-150%,0);
    transform: translate(-150%,0);
    
    top: 30%;
    transform: translateY(-50%);
    transition: all 0.05s cubic-bezier(0.35, 0.1, 0.25, 1);
}

/* :after */

.button:after {
    content: attr(data-active);
    -webkit-transform: translate(150%,0);
    -moz-transform: translate(150%,0);
    -ms-transform: translate(150%,0);
    -o-transform: translate(150%,0);
    transform: translate(150%,0);
    color:#000;
}

/* Span on :hover and :active */

.button:hover span,
.button:active span {
    opacity: 0;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    -ms-transform: scale(0.3);
    -o-transform: scale(0.3);
    transform: scale(0.3);


    bottom: 30%;
    transform: translateY(50%);
    transition: all 0.1s cubic-bezier(0.35, 0.1, 0.25, 1);
}

/*  
    We show :before pseudo-element on :hover 
    and :after pseudo-element on :active 
*/

.button:hover:before,
.button:active:after {
    opacity: 1;
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-transition-delay: .4s;
    -moz-transition-delay: .4s;
    -o-transition-delay: .4s;
    transition-delay: .4s;
}

/* 
  We hide :before pseudo-element on :active
*/

.button:active:before {
    -webkit-transform: translate(-150%,0);
    -moz-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    -o-transform: translate(-150%,0);
    transform: translate(-150%,0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}


.table-size{
    font-size: 12px;
    border: 1px solid #000;
    margin:0;
}
.table-size th{
    font-weight: bold;
}
.table-size td:first-child{
    font-weight: bold;
}


.woocommerce .cart .button, .woocommerce .cart input.button{
    overflow: hidden;
}



@media  (max-width: 768px) {
    .box-container {
        margin-right:0;
    }
    .wrap-detail{
        margin: 30px 15px 0;
    }
    .cart-box {
        grid-template-columns: 25% 70%;
    }
    .cart-box img.cart-img{
        width:90px;
        height: 90px;
    }
    .box img {
        max-width: calc(100% + 50px);
        transform: none;
        width: 100%;
    }
    .optional {
		margin: 30px 0 10%;
	}
	.select-size {
		margin: 10% 0 0 0;
	}
	.modal-dialog {
		max-width: 100%;
	}
	.modal-content {
		padding: 50px;
	}
	.tab-detail-product {
		margin-top: 20px;
	}
	.add-cart{
		bottom:105px;
	}
	.product-color{
		bottom: 140px;
	}
}