/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.7.3
 Text Domain:  woodmart
*/


#product-variation-tabs .tabs {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
	display: flex;
	border-bottom: 1px solid #ddd;
	margin-top: 35px;
}

#product-variation-tabs .tabs li {
	margin-right: 5px;
}

#product-variation-tabs .tabs li a {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	background: #107CC0;
	border: 1px solid #107CC0;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	color: #fff
}

#product-variation-tabs .tabs li a:hover, #product-variation-tabs .tabs li a.ui-tabs-active {
	background: #107CC0;
	color: #fff;
}

.tab-content {
	border: 1px solid #ddd;
	padding: 15px;
    background: #fff;
}

/* Responsive table */
.table {
	width: 100%;
	border-collapse: collapse;
}

.table th, .table td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

.table th {
	background: #f9f9f9;
}

@media (max-width: 600px) {
	.table thead {
		display: none;
	}
    
	.table tr {
		display: block;
		margin-bottom: 10px;
	}
	
	.table td {
		display: block;
		text-align: right;
		position: relative;
        padding-left: 50%;
     }
	
     .table td::before {
         content: attr(data-title);
         position: absolute;
         left: 10px;
         width: 45%;
         padding-right: 10px;
         white-space: nowrap;
         text-align: left;
         font-weight: bold;
      }
}

.product-info {
	font-size: 16px
}

.product-price {
	font-size: 20px
}

.product-price-wrapper .product-price {
	margin-bottom: 0
}

.sku-tabs {
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
}

.product-name {
	font-size: 24px;
	margin-bottom: 20px;
}

.sku-tabs-control {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.sku-tabs-btn {
	padding: 10px 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	background-color: #f0f0f0;
	border: none;
	cursor: pointer;
	border-radius: 5px
}

.sku-tabs-btn.is-active {
	background-color: #4a90e2;
	color: white;
}

.sku-tabs-content {
	display: none;
}

.sku-tabs-content.is-active {
	display: block;
}

.products-list {
	list-style-type: none;
	padding: 0;
}

.product-item {
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
	padding: 10px 15px;
	border-radius: 5px;
}

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

.product-info, .product-price-wrapper, .product-action {
	flex: 1 1 100%;
	margin-bottom: 10px;
}

.product-price ins {
	text-decoration: none;
	font-weight: bold;
}

.product-price del {
	color: #999;
	margin-left: 10px;
}

.ui-number {
	display: flex;
	align-items: center;
}

.ui-number-minus, .ui-number-plus {
	width: 30px;
	height: 30px;
	background-color: #f0f0f0;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.ui-number-input {
	width: 50px;
	text-align: center;
	border: 1px solid #e0e0e0;
	margin: 0 5px;
}

.ui-btn {
	display: inline-block;
	width: 100%;
	padding: 10px 20px;
	background-color: #4a90e2;
	color: #fff;
	text-decoration: none;
	text-align: center;
	border-radius: 5px
}

.ui-btn:hover {
	color: #fff;
	opacity: 0.6
}

.comment-form .submit {
	border-radius: 5px!important
}

.insurance-checkbox {
	margin-top: 20px;
	margin-bottom: 20px;
}

.insurance-checkbox label {
	font-weight: bold;
}
            
@media (min-width: 768px) {
	.product-horizontal {
		flex-wrap: nowrap;
     }
	
	.product-info {
        flex: 0 1 20%;
    }
    
    .product-price-wrapper {
        flex: 0 1 30%;
    }
    
    .product-action {
        flex: 0 1 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
	
	
    .product-quantity {
		width: 40%;
        margin-right: 15px;
     }
	
	.product-add-to-cart {
		width: 60%;
	}
	
}

@media (max-width: 768px) {
	.sku-tabs {
		margin-top: 40px
	}
	
	.product-action {
		display: flex;
	}
	
	.product-quantity {
		width: 50%;
		margin-right: 30px;
	}
	
	.product-add-to-cart {
		width: 50%
	}
}



.payment-form {
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.card-tabs {
  display: flex;
  margin-bottom: 20px;
}

.card-tab {
   display: flex;
   position: relative;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  flex: 1;
  padding: 10px;
  border: none;
  text-align: center;
  font-weight: 700;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  border: 1px solid #ddd
}

.card-tab:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	background: #f4f4f4;
    opacity: 0.87;
}

.card-tab:last-child {
	margin-right: 0px;
}

.card-tab.active, .card-tab:hover {
  border: 1px solid #1e73be;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-tab.active:after, .card-tab:hover:after { 
	opacity: 0;
}

.card-form {
  display: flex;
  flex-direction: column;
}

.card-number, .card-expiry, .card-cvv {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.expiry-inputs {
  display: flex;
  align-items: center;
}

.expiry-inputs input {
  width: 50px;
  margin-right: 5px;
}

.expiry-inputs span {
  margin: 0 5px;
}

.submit-button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #0056b3;
}

#place_order {
	border-radius: 5px!important
}

.expiry-date {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.expiry-date label {
    width: 100%;
    margin-bottom: 5px;
}

.expiry-date select {
    flex: 1;
    margin-right: 10px;
}

#card-month {
    width: 30%;
    min-width: 80px;
}

#card-year {
    width: 40%;
    min-width: 100px;
}


.expiry-date select:last-child {
    margin-right: 0;
}

.box-space.text-center .inline-element {
	max-width: 285px;
	width: 100%;
}

.box-space .wd-info-box .info-box-content {
	flex: none;
}

.box-space .box-icon-align-left {
	justify-content: center
}

.wd-slide {
	border-radius: 5px
}

 .category-product-widget {
	position: relative;
}

.category-button {
	display: flex;
	align-items: center;
	border-radius: 5px;
	text-transform: none;
	background-color: rgb(30, 115, 190);
	color: #fff;
	cursor: pointer;
}

.category-button:hover {
	color: #fff;
	background-color: rgb(30 115 190 / 75%);
}

.category-button .category-name {
	margin-left: 30px
}

.burger-icon {
    width: 20px;
    height: 15px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger-icon span:nth-child(1) {
    top: 0px;
}

.burger-icon span:nth-child(2) {
    top: 6px;
}

.burger-icon span:nth-child(3) {
    top: 12px;
}

.burger-icon.active span:nth-child(1) {
    top: 6px;
    transform: rotate(135deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-icon.active span:nth-child(3) {
    top: 6px;
    transform: rotate(-135deg);
}

.dropdown-content {
 	display: none;
	position: absolute;
 	z-index: 1000;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	border-bottom: 1px solid #e4e4e4;
    border-radius: 5px;
}

.categories-list, .products-grid {
	max-height: 595px;
	overflow-y: auto;
}

.categories-list {
	width: 250px;
	float: left;
}

.category-item-widget {
	padding: 15px 15px;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: inherit;
}

.category-item-widget:hover, .category-item-widget.active {
	background-color: #f0f0f0;
}

.dropdown-content-inner {
	display: flex;
}

.products-container {
	width: 935px;
	float: left;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 10px;
}

.product-item-widget {
	text-align: center;
	border-radius: 5px;
}

.product-item-widget a {
	display: block
}

.product-item-widget:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-item-widget .prod-title {
	color: #000;
	font-weight: 700;
	padding-bottom: 15px;
}

.product-image-container {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.product-item-widget img {
	max-width: 100%;
	height: auto;
}

.product-grid-item .product-image-link {
    max-height: 190px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}


#shipping_method li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: flex-end;
    font-size: 16px;
}

#shipping_method input.shipping_method {
    position: relative;
    top: 2px;
    float: left;
    margin-inline-end: 0;
    margin-inline-start: 7px;
    vertical-align: middle;
    width: 15px;
	height: 15px
}

#shipping_method label {
    margin-bottom: 0;
    vertical-align: middle;
    width: 200px;
    float: right;
}

.woocommerce-input-wrapper .checkbox {
	display: flex;
    align-items: center;
	margin: 35px 0;
    margin-left: 5px;
	font-size: 16px;
}

.woocommerce-input-wrapper .checkbox input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin-right: 15px;
	
}

.woocommerce-input-wrapper .checkbox .optional, .woocommerce-terms-and-conditions-wrapper {
	display: none;
}

.product-title {
	margin-top: 20px
}



@media (max-width: 1239px) {

	.products-container {
    	width: 735px;
	}
	
	.categories-list {
		width: 190px;
	}
	
}

@media (max-width: 1100px) {
	
	.products-container {
        width: 625px;
    }
	
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.categories-list {
		width: 190px;
	}

}



@media (max-width: 900px) {
	
	.products-container {
        width: 500px;
    }
	

	

}


@media (max-width: 768px) {
	
	.woocommerce-checkout-review-order-table tr {
		flex-flow: column;
	}
	
	.payment_methods .payment_box {
		padding: 15px 10px;
	}
	
	.card-tab svg {
		width: 45px;
		height: 45px;
	}
	
	.payment-form {
		padding: 20px 15px;
	}
	
	#shipping_method input.shipping_method {
		top: 1px;
		margin-inline-start: 0px;
		margin-right: 5px;
	}
	
	.footer-sidebar {
		text-align: center
	}
	
	.category-button {
		padding: 5px 10px;
	}
	
	.burger-icon {
    	width: 16px;
		height: 14px;
	}
	
	.category-button .category-name {
    	margin-left: 7px;
	}
	
	.tablets-remove {
		display: none!important
	}
	
	.categories-list, .products-grid {
		max-height: 650px;
		overflow-y: auto;
	}
	
	.products-container {
        width: 250px;
    }
	
	.dropdown-content {
		left: -60%;
		max-width: 390px;
	}
	
	.categories-list {
    	width: 170px;
    	border-right: 1px solid #eee;
	}
	
	.products-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 600px) {
	
   .dropdown-content {
		left: -78%; 
	
}

}


@media (max-width: 480px) {
    .expiry-date {
        flex-direction: column;
        align-items: stretch;
    }

    .expiry-date select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 414px) {
    .dropdown-content {
        left: -90%;
        max-width: 400px;
    }
}

@media (max-width: 390px) {
    .dropdown-content {
        max-width: 380px;
    }
}

@media (max-width: 376px) {
    .dropdown-content {
        max-width: 365px;
    }
	
	.categories-list, .products-grid {
        max-height: 480px;
    }
}

@media (max-width: 361px) {
    .dropdown-content {
        max-width: 350px;
	}
}
