/*
Theme Name: winoland

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	display: block;
    
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.woocommerce-product-gallery__image {
	height: auto;
}
.woocommerce div.product div.images img {
	height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 3 !important;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
	margin: 10px;
    text-align: center;
	font-size: large !important;
    font-weight: 700 !important;
}



/**
 * Checkout
 */
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}
	

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
	text-align: center;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: black;
    border: 1px solid black;
    border-radius: 10px;
    color: white;
	clear: both;
	
}
.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
	margin: 2em;
	display: flex;
    justify-content: space-between;
    align-items: center;
}
.woocommerce-error::before, 
.woocommerce-info::before, 
.woocommerce-message::before {
	top: auto;
}
.woocommerce-message a {
	background: black;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
	padding: 5px;
}

.woocommerce-info .button {
	background: black;
    border: 1px solid white;
    border-radius: 5px;
    color: white !important;
}
.woocommerce-info .showlogin {
	color: white;
	text-decoration: underline;
	text-transform: lowercase;
}

.woocommerce a.button {
	width: fit-content;
	background-color: white;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: .3s ease;
    padding: 0.618em 1em;
	color: black !important;
}
.woocommerce a.button:hover {
	background-color: #aaa;
	border: 1px solid #aaa;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background: black;
	color: white;
}

.woocommerce-error {
	background-color: #e2401c;
	margin: 40px 0 !important;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

.woocommerce-info::before {
	color: white;
}

.woocommerce div.product .product_title {
	text-align: start;
	margin: 0;
}

@media screen and (max-width: 500) {
	.woocommerce div.product .product_title {
		font-size: 24px;
	}
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

/**
 * WooCommerce atributes section
 */

.woocommerce .products ul::after, 
.woocommerce .products ul::before, 
.woocommerce ul.products::after, 
.woocommerce ul.products::before {
    content: normal;
    display: table;
}

.woocommerce table.shop_attributes {
	border: 0;
	margin-bottom: 0;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	width: auto;
	border-bottom: 0;
}

.woocommerce table.shop_attributes th {
	padding: 8px 0 !important;
}

.woocommerce-product-attributes-item__label {
	float: left;
}
.woocommerce-product-attributes-item__value {
	float: right;
}  
.woocommerce-product-attributes-item__value a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: underline;
}  
tr.woocommerce-product-attributes-item {
	border-bottom: 1px dotted rgba(0,0,0,.1);
	
}
/* .woocommerce-product-attributes-item:nth-child(even) {	
	background: rgba(0,0,0,.025);
} */

.woocommerce table.shop_attributes tr:nth-child(even) td, 
.woocommerce table.shop_attributes tr:nth-child(even) th {
	background: none;
}

/**
 * WooCommerce related products section
 */

.related h2 {
	text-align: center;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: none;
}

.woocommerce div.product form.cart {
	margin: 20px 0;
}

.woocommerce div.product form.cart .button {
    float: none;
}

.woocommerce input.button {
	background-color: inherit;
}
.woocommerce input.button:hover {
	background-color: inherit;
}

@media only screen and (max-width: 365px) {
	.woocommerce div.product form.cart {
		display: block;
	}

	.woocommerce div.product form.cart div.quantity {
		margin-bottom: 15px;
	}
}

.plus.qib-button:hover {
	transition: 0.3s;
}
.minus.qib-button:hover {
	transition: 0.3s;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: white;
    color: black;
    border: none;
    align-items: center;
    margin: 0 5px;
    border-radius: 0;
	font-weight: 400;
	transition: all 0.3s;
}

.added_to_cart {
	text-decoration: none;
    color: black;
    padding: 0 15px;
}

.woocommerce button.button.alt:hover {
	/* background-color: black; */
	color: black;
	
}

.woocommerce a.remove {
	color: black !important;

	
}
.woocommerce a.remove:hover {
	background-color: white !important;
	color: red !important;
}

.showcoupon {
	color: white;
    text-decoration: underline;
}

.woocommerce table.shop_table {
	margin: 20px 0;
	
}

.woocommerce table.shop_table td {
	border-top: 1px solid white;
}

.woocommerce-checkout-review-order-table thead {
	border-bottom: 1px #d3ced2 solid !important;
}

#payment {
	border: 1px solid rgba(0,0,0,.1);
	background: inherit !important;
}

.woocommerce-checkout-payment button {
	background-color: black !important;
	color: white !important;
	transition: 0.3s !important;
}



.woocommerce-checkout-payment button:hover {
	background-color: white !important;
	color: black !important;
	
}

@media only screen and (max-width: 768px) {
    .woocommerce-checkout-payment button {
		margin-top: 15px !important;
	}
    
}
 
.coupon button {
	background-color: inherit !important;
	border: 1px #d3ced2 solid !important;
	border-radius: 3px;
	height: 36px;
	font-weight: 400;
	transition: all 0.2s;
}
.coupon button:hover {
	background-color: black !important;
	color: white !important;
}

#coupon_code {
	height: 36px !important;
}

.woocommerce a.button.alt {
	border-radius: 5px;
}

.woocommerce a.button.alt:hover {
	background-color: black;	
	color: white;
}
.woocommerce form .form-row textarea {
	height: 100px;
}
.woocommerce-form-login__rememberme {
	display: none !important;
}
.woocommerce-form-login__submit {
	width: 100% !important;
	margin: 10px 0 !important;
}

.woocommerce a.added_to_cart {
	text-align: center;
    border: 1px solid #999;
    padding: 5px;
    border-radius: 5px;
    width: 130px;
    margin: 5px auto 0;
	display: none;
}

.woocommerce .cart .button,
.woocommerce button.button {
	transition: all 0.3s !important;
	font-weight: 400;
	font-family: "Quicksand";
}

.woocommerce a.remove {
	font-weight: 400;
}


.woocommerce-product-gallery__image--placeholder {
	border: none !important;
}

.woocommerce-info {
	margin: 50px 0;
}

/* .widget-area {
	display: none;
} */

.up-sells, .cross-sell-on-product {
	text-align: center;
}

.woocommerce-products-header h1 {
	display: none;
}

.woocommerce div.product p.price {
	color: #6a2042;
	
	
}
.woocommerce div.product p.price ins {
	font-weight: 400;
	padding-left: 10px;
}
.woocommerce div.product p.price bdi {
	color: #6a2042;
}

.woocommerce span.onsale {
    top: -1.5em;
    left: 0.5em;
    margin: 0;
    background-color: inherit;
    color: #6a2042;
    font-size: 1.2em;
}

.woocommerce-info::before {
	content: "";
}

.woocommerce-MyAccount-navigation {
	border: 1px #efefef solid;
	margin: 20px 0;
  }
  
  .woocommerce-MyAccount-navigation-link {
	padding: 10px 15px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	color: black;
	border-bottom: 1px solid #999;
  }
  
  .woocommerce-MyAccount-navigation-link a {
	height: 100%;
	width: 100%;
  }
  
  .woocommerce-MyAccount-navigation-link:last-child {
	border-bottom: none;
  }
  
  .woocommerce-MyAccount-navigation {
	border: none;
  }
  
  /* .woocommerce-account .woocommerce-MyAccount-navigation {
	width: 20%;
  } */
  
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
  }
  
  .woocommerce-account .woocommerce-MyAccount-navigation li {
	list-style: none;
  }
  
  .woocommerce-MyAccount-content {
	border: none;
	margin: 20px 0;
	padding: 15px;
  }
  
  .woocommerce a.button.added::after {
	font-size: 10px;
	position: absolute;
	right: 2px;
	bottom: 1px;
  }
  
  .woocommerce-Addresses {
	margin: 10px 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
  }

  .woocommerce-Address {
	width: 100% !important;
  }

  .woocommerce-Address-title {
	display: flex;
	align-items: center;
  }

  .woocommerce-Address-title .edit {
	margin-left: 10px;
	border: 1px solid #999;
	border-radius: 5px;
	padding: 3px 5px;
  }
  
  .woocommerce-Addresses div {
	padding: 10px 0;
	border-bottom: 1px solid #999;
  }
  
  .woocommerce-Addresses div:last-child {
	border-bottom: none;
  }
  
  @media only screen and (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation {
	  width: 100% !important;
	  text-align: center;
	}
  }

  .woocommerce-terms-and-conditions-link {
	color: red !important;
  }