/* ========== CART ==================== */

:root {
	--main-color: #0b9247;
	--text-color: #171427;
	--bg-color: #fff;
}

.cart {
	position: fixed;
	top: 0;
	right: -100%;
	width: 360px;
	min-height: 100vh;
	padding: 20px;
	background-color: var(--bg-color);
	box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
	transition: right 0.3s;
	/* padding-top:50px; */
}

.cart.active {
	right: 0;
    z-index:2;
}

.cart-inner{
	scrollbar-width: none;
    height: 850px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 180px;
}
.cart-title {
	font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    margin-top: 0;
	border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.cart-box {
	display: grid;
	grid-template-columns: 32% 50% 18%;
	gap: 1rem;
	align-items: center;
	margin-top: 1rem;
	position:relative;
}

.cart img.cart-img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	padding: 10px;

    border-radius: 0;
    margin: 0 10px 0 0;

	display:inline-block;
}
.wrap-warranty{
	display: block;
    width: 100%;
    text-align: left;
    margin: 20px 0 10px;
	position:relative;
}
.wrap-warranty p{
	font-size:13px;
}


.wrap-recommend{
    display: block;
    text-align: left;
    margin: 50px 0 0;
}
.wrap-recommend h3{
	font-size: 16px;
}
.wrap-recommend .btn-add{
	padding: 6px 15px;
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
    background-color: var(--main-color);
    color: var(--bg-color);
    margin: 5px 0 0;
}



.detail-box {
	display: grid;
	row-gap: 0.5rem;
	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;
}

.cart-quantity {
	width: 2.4rem;
	font-size: 1rem;
	text-align: center;
}
.cart-quantity button{

}

.cart-quantity {
	display: flex;
	border-radius: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
	text-align: center;
	font-size: 11px;
}

.cart-quantity * {
	border: none;
	width: 20px;
	flex: 1;
}

.cart-quantity button {
	cursor: pointer;
	background: transparent;
}
  




.cart-size{
	font-size:11px;
	text-align: left;
    color: #969696;
}
.cart-remove {
	cursor: pointer;
	position: absolute;
    right: 10px;
    bottom: 0;
    font-size: 16px;
    color: #969696;
}
.wrapper-total{
	position: absolute;
    bottom: 0;
    width: 90%;
	background-color: #ffffff;
}
.total {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
    display: block;
    width: 100%;
    padding: 15px 0 0 0;
}

.total-title {
	font-weight: 400;
    text-align: left;
    display: inline-block;
    width: 48%;
    margin: 0;
    font-size: 14px;
}

.total-price {
	margin-left: 0;
    display: inline-block;
    text-align: right;
    width: 50%;
}

.btn-buy {
	width:100%;
	display: block;
	margin: 1rem auto 0 auto;
	padding: 12px 20px;
	font-size: 1rem;
	font-weight: 500;
	border: none;
	background-color: var(--main-color);
	color: var(--bg-color);
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn-buy:hover {
	background-color: var(--text-color);
}
.warranty-detail {
	width: 100%;
    text-align: left;
    display: block;
}
.warranty-img{
	width: 15%;
    display: inline-block;
    text-align: center;
}
.warranty-text{
	width: 70%;
    display: inline-block;
}
.wrapper-total .warranty-detail img{
	border-radius: 0;
    width: 35px;
    height: auto;
    margin: 0;
    vertical-align: text-bottom;
}
.warranty-detail p{
	font-size: 11px;
    text-align: left;
    margin: 10px 0;
}
.warranty-detail span{
	background: #222;
    padding: 0;
    border-radius: 30px;
    display: inline-block;
    width: 16px;
    height: 16px;
    color: #ddd;
    text-align: center;
}
.warranty-switch{
	width: 10%;
    display: inline-block;
}
.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: 2.75rem;
    border-radius: 3rem;
	margin-top: -7px;
    margin-left: -3em;
}
.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

#close-cart {
	position: absolute;
	top: 1rem;
	right: 0.8rem;
	color: var(--text-color);
	font-size: 2rem;
	cursor: pointer;
}


.shop {
	margin-top: 2rem;
}

.section-title {
	font-size: 1.5rem;
	font-weight: 600;
	text-align: left;
	margin-bottom: 1.5rem;
}


/* ========== SHOP CONTENT ==================== */
.shop-content {
	/* display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, auto));
	gap: 1.5rem; */
}

.product-box {
	position: relative;
	margin-bottom: 50px;
}

.product-box:hover {
	/* padding: 10px;
	border: 1px solid var(--text-color);
	transition: padding 0.4s; */
}

.product-img {
	width: 100%;
	height: auto;
	margin-bottom: 0.5rem;
  	object-fit: cover;
}

.product-title {
	font-size: 1rem;
	font-size: 0.85rem;
    line-height: 26px;
    font-weight: 500;
    text-align: center;
    min-height: 52px;
    margin: 10px 0 3px;
}
.product-image{
	position: relative;
}
.price {    
	font-size: 0.85rem;
	font-weight: 300;
	display: block;
    text-align: center;
}

.add-cart {
	position: absolute;
	bottom: 15px;
	right: 15px;
	top: auto;
    color: var(--bg-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: #dbdbdb;
    padding: 0;
    border-radius: 30px;
    text-align: center;
	
	transition: all 0.3s;
	font-size: 20px;
    line-height: 30px !important;
    color: #000;
}
.add-cart:hover {
	transform: rotate(90deg);
	/* background-color: rgba(23, 20, 39, 0.8); */
}

#openSize{
	position: absolute;
	top: 270px;
    right: 50px;
	border: 0;
	font-size: 12px;
}
.select-size{
	position: absolute;
	top:0;
	background-color: #fff;
	width: 100%;
}
.size__group{
	border:1px solid #222;
	width: 100%;
	padding: 10px 0 0;
}
.size__button {
	position: relative;
	display: block;
}
.size__button label {
	cursor: pointer;
    color: #222;
	border:1px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    padding: 10px 5px;
    height: 40px;
    width: 94%;
    overflow: hidden;
    display: block;
    text-align: left;
    border-radius: 0;
    margin: 0 3%;
    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.45;
    font-size: 0.85rem;
}
.size__button input[type=radio] {
	display: none;
}
.size__button input[type=radio]:checked + label {
	color: #000000;
	border: 1px solid #000000;
	background: #ffffff;
}
.size__button input[type=radio]:disabled + label {
	cursor: not-allowed;
	color: #a8a8a8;
    background-color: #f4f4f4;
}
.size-close{
	font-size: 12px;
	margin: 10px 0 0 0;
	padding: 5px 15px;
    border-top: 1px solid #222;
}
.size-close p{
	display:inline-block;
	margin:0;
}
.size-close i{
	display:inline-block;
	font-size: 16px;
    line-height: 16px;
    vertical-align: text-bottom;
}



/* filter */
.wrap-filter{
	margin: 50px 0;
}
.dropdown-check-list {
	display: inline-block;
	position: relative;
  }
  
  .dropdown-check-list .anchor {
	position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px 5px 10px;
    font-size: 15px;
    margin-right: 40px;
    border: 1px solid transparent;
    /* min-width: 150px; */
  }
  
  .dropdown-check-list .anchor:after {
	position: absolute;
	content: "";
	border-left: 1px solid black;
	border-top: 1px solid black;
	padding: 3px;
	right: 10px;
	top: 35%;
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
  }
  
  .dropdown-check-list .anchor:active:after {
	right: 10px;
	top: 35%;

	-moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .dropdown-check-list ul.items {
	padding: 10px 10px;
	display: none;
	margin: 0;
	border: 1px solid #222;
	margin-top: -1px;
  }
  
  .dropdown-check-list ul.items li {
	list-style: none;
	margin: 5px 0 15px;
    font-size: 13px;
  }
  
  .dropdown-check-list.visible .anchor {
	color: #222222;
    border: 1px solid #222;
  }
  
  .dropdown-check-list.visible .items {
	display: block;

	display: block;
    position: absolute;
    width: 200px;
    z-index: 2;
    background: #fff;
  }

  /* checkbox css */
  .checkbox-filter .control {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 13px;
    line-height: 24px;
  }
  .checkbox-filter .control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
  }
  .checkbox-filter .control_check {
    position: absolute;
    top: 5px;
    left: 0;
    height: 16px;
    width: 16px;
    background: #ffffff;
    border: 1px solid #000;
  }
  .checkbox-filter .control:hover input ~ .control_check,
  .checkbox-filter .control input:focus ~ .control_check {
    /* background: #ccc; */
  }
  .checkbox-filter .control input:checked ~ .control_check {
    /* background: #2aa1c0; */
  }
  .checkbox-filter .control:hover input:not([disabled]):checked ~ .control_check,
  .checkbox-filter .control input:checked:focus ~ .control_check {
    /* background: #0e647d; */
  }
  .checkbox-filter .control input:disabled ~ .control_check {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
  }
  .checkbox-filter .control_check:after {
    content: '';
    position: absolute;
    display: none;
  }
  .checkbox-filter .control input:checked ~ .control_check:after {
    display: block;
  }
  .checkbox-filter .control-checkbox .control_check:after {
    left: 5px;
    top: -1px;
    width: 5px;
    height: 12px;
    border: solid #000;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);

  }
  .checkbox-filter .control-checkbox input:disabled ~ .control_check:after {
    border-color: #7b7b7b;
  }
  /* end checkbox */


.wrap{
	/* display: flex; */
	/* flex-wrap: wrap; */
  }
  
  .object{
	/* width:100px;
	height:100px; */
	/* margin:10px; */
	display:none;
  }
  
  .circle { border-radius: 50px;}
  .square { /* do nothing */}
  
  .show{
	display:block;
  }

  #no-results { display: none; }


/* ========== Breakpoints ==================== */
@media (max-width: 1080px) {
	.nav {
		padding: 15px;
	}

	section {
		padding: 3rem 0 2rem;
	}

	.container {
		margin: 0 auto;
		width: 90%;
	}

	.shop {
		margin-top: 2rem !important;
	}
}

@media (max-width: 400px) {
	.nav {
		padding: 11px;
	}

	.logo {
		font-size: 1rem;
	}

	.cart {
		width: 320px;
	}
}

@media (max-width: 360px) {
	.shop {
		margin-top: 1rem !important;
	}

	.cart {
		width: 280px;
	}
}