/*
Theme Name: amigobg

WooCommerce styles override
*/
/**
 * Shop tables
 */
.wl .woocommerce-breadcrumb{
    display: block
}
.wl .woocommerce-breadcrumb{
    display: inline-flex
}
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;
    }
    /*	.wl-hide-sidebar{
			display: none
		}*/
}

/**
 * Products
 */
.wl-box{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
	/*    -ms-flex: 1 1 auto;*/
    /*flex: 1 1 auto;*/
	justify-content: space-between;
	flex-wrap: wrap;
}
.wl-box>div{
	-ms-flex: 0 0 auto;
    -ms-flex-negative: 0;
    flex-shrink: 0;
	/*max-width: 19%;*/
	/*width: 19%;*/
	margin-bottom: 10px
}
.wl-box.products {
    margin: 0;
    padding: 0;
    /*	display: flex;
		-webkit-box-flex: 1;
	 -ms-flex: 1 1 auto; 
	 flex: 1 1 auto; 
	justify-content: space-between;
	flex-wrap: wrap;*/
}
.wl-box .content-product{
	text-align: center;
	padding-bottom: 10px;
	/*min-height: 300px;*/
	position: relative
}
.wl-box.products .content-product {
    list-style: none;
    position: relative;
    /*margin-bottom: 4em;*/
    text-align: center;
	display: flex;
	flex-direction: column;
}

.wl-box .product-img{
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 10px
}
.archive .wl-box .product-img{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 245px
}
.wl-box.products .product img {
    display: block;
    width: 100%;
	/*    width: auto;*/
    /*height: auto;*/
	max-height: 245px;
	/*max-width: 245px*/
}
.home .wl-box.products .product img {
	max-height: 150px;
	height: 150px
}
.wl-box .product-title{
	display: inline-block;
	font-size: 14px;
	color: #333;
	max-height: 65px;
	overflow: hidden;
	line-height: 20px
}
.wl-box .product-title:hover{
	text-decoration: none
}
.wl-box.products .content-product .button,
.wl-box.products .content-product .price{
    display: block;
}
.wl-box.products .content-product .price>.amount{
    /*font-size: 1.45em;*/
    font-weight: 600;
	color: var(--primary)
}
.wl-box.products .content-product .woocommerce-price-suffix{
    color: #777
}
.wl-box .brand{
	margin-bottom: 10px
}
.wl-box .price{
	font-size: 0.75em;
	margin-bottom: 10px;
	margin-top: auto
}

/*.wl-box a.product_type_simple{*/
.wl-box a.product_type_simple{
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	padding: 5px;
	font-size: 13px;
	font-weight: bold;
	background: var(--primary);
	color: var(--primary-inverse);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	transition: transform .3s ease, opacity .3s ease;
	opacity: 0.8;
	transform: translateY(103%) translateZ(0);
	text-transform: uppercase;
}
.wl-box .content-product:hover  a.product_type_simple{
	display: block;
	transform: translateY(0) translateZ(0)
}
.wl-box.columns-5 .content-product{
	lex-basis: 20%;
    max-width: 20%;
	padding: 10px
}
.wl-box.columns-6 .content-product{
	lex-basis: 16.666666667%;
    max-width: 16.666666667%;
	padding: 10px
}

.wl-product-badges{
	position: absolute;
    top: 7px; 
	inset-inline-start: 7px;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 50%;
    transition: opacity .3s ease;
}
.wl-product-badges span{
	border-radius: 12px;
	padding: 5px 10px;
    min-width: 50px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
}
.wl-product-badges span:not(:last-child){
	argin-bottom: 10px;
}
.wl-product-badges .onsale{
	background-color: var(--primary);
    direction: ltr;
}
.wl-product-badges .out-of-stock{
	background-color: #fff;;
    color: #242424;
}
.wl-product-badges .featured{
	 background-color: #E22D2D
}

.related.products .wl-box .content-product{
	webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
	/*justify-content: center;*/
	align-items: center
}

.added_to_cart.wc-forward{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 5px;
	background-color: #F1F7EB;
    color: #85B951;
	padding: 8px 12px;
}
.col-lg-2 .added_to_cart.wc-forward{
	font-size: 0.7em
}

.pswp button{
	border: 0;
	width: auto
}

@media screen and (min-width: 48em) {
    ul.products li.product {
		width: 30.79667%;
		/*float: left;*/
		/*margin-right: 3.8%;*/
		height: 100%
    }
    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%;
    }
	.wl .wl-show-sidebar,
	.wl .wl-hide-sidebar{
		display: none
	}
}
@media screen and (min-width: 36em) {
    ul.products li.product {
		width: 46.15%;
		/*float: left;*/
		margin-right: 3.8%;
    }
}

/**
 * Single product
 */
.single-product div.product {
    position: relative;
}
.single-product div.product .woocommerce-product-gallery {
    position: relative;
    /*float: left;*/
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
/*    top: 1em;
    right: 1em;*/
    display: block;
    z-index: 1;
/*	background: #fff;
	width: 35px;
	height: 35px;*/
	text-indent: -9999px;
	/*border-radius: 100%;*/
	
	/*new behaviour*/
	top: 0;
	/*left: 0;*/
	right: 0;
	bottom: 125px

}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before{
	content: "";
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0.35em;
    right: 0.35em;
	background: #fff;
	border-radius: 100%
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:after{
	content: "";
	-webkit-mask:var(--icon-magnifying-glass);
	mask:var(--icon-magnifying-glass);
	-webkit-mask-size: cover;
	mask-size: cover;

	width: 20px;
	height: 20px;
	position: absolute;
	top: 0.85em;
    right: 0.85em;
	background: #000;

}
.single-product .woocommerce-product-gallery__image{
	/*text-align: center*/
	/*display: flex !important;*/
	justify-content: center;
	align-items: center
}
.single-product .woocommerce-product-gallery__image img{
	width: 100%;
	height:auto
}
.single-product .woocommerce-product-gallery__image.flex-active-slide{
	cursor: pointer
}
.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;
}

/**
 * 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;
}

/**
 * Star rating
 */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1.618em;
    line-height: 1.618;
    width: 5.3em;
    font-family: star;
    font-weight: 400;
}
.star-rating::before {
    content: "\53\53\53\53\53";
    opacity: 0.25;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #4169e1;
}

p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 1px;
    font-weight: 400;
}
p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: star;
    content: "\53";
    color: #404040;
    text-indent: 0;
    opacity: 0.25;
}
p.stars a:hover ~ a::before {
    content: "\53";
    color: #404040;
    opacity: 0.25;
}

p.stars:hover a::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active ~ a::before {
    content: "\53";
    color: #404040;
    opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
    content: "\53";
    color: #4169e1;
    opacity: 1;
}

/**
 * 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;
}

.wl-file:not(:last-of-type){
	margin-right: 20px
}
@media (max-width:48em){
	.wl-imgs{
		text-align: center;
	}
	.wl-imgs img{
		margin-bottom: 20px
	}
}


/**
 * 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-color: #0f834d;
    clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    color: var(--primary-inverse);
    background-color: #3d9cd2;
}

.wl .woocommerce-error {
    color: var(--primary-inverse);
    background-color: #e2401c;
}
.wl .woocommerce-error li{
    list-style-type: none
}
.demo_store {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    background-color: #3d9cd2;
    z-index: 9999;
}

@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
 */
.wl .wc-block-components-price-slider__range-input-progress{
    --range-color: var(--primary)
}
.wc-block-price-slider [type="range"] {
    -webkit-appearance: none;
    width: 100%;
    /*height: 25px;*/
    height: 0;
    background: transparent;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border: 0;
    border-bottom-color:blue;
    color: green
}
.wc-block-price-slider [type="range"]:hover {
    opacity: 1;
}

.wc-block-price-slider [type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 5px;
    height: 25px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 0;

}
.wc-block-price-slider  input[type="range"]::-webkit-slider-runnable-track{
    background: transparent;
}

.wc-block-price-slider [type="range"]::-moz-range-thumb {
    width: 25px;
    height: 5px;
    background: var(--primary);
    cursor: pointer;
    border: 0;
}
/***** Chrome, Safari, Opera, and Edge Chromium *****/
.wc-block-price-slider input[type="range"]:focus::-webkit-slider-thumb,
/******** Firefox ********/
.wc-block-price-slider input[type="range"]:focus::-moz-range-thumb{
    background: var(--primary-hover);
}

/* Filter widget*/

.widget_product_brands ul li a,
.widget_rating_filter ul li a,
.woocommerce-widget-layered-nav ul li a {
    position: relative;
    /*padding-left: 33px;*/
    padding-left: 20px;
}
.widget_product_brands ul li a:before,
.widget_rating_filter ul li a:before,
.woocommerce-widget-layered-nav ul li a:before {
    content: "";
    height: 16px;
    width: 16px;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    border: 1px solid #e6e6e6;
}
.widget_product_brands ul li.chosen a,
.widget_product_brands ul li.current-cat a,
.widget_product_brands ul li a:hover,
.widget_rating_filter ul li.chosen a,
.widget_rating_filter ul li.current-cat a,
.widget_rating_filter ul li a:hover,
.woocommerce-widget-layered-nav ul li.chosen a,
.woocommerce-widget-layered-nav ul li.current-cat a,
.woocommerce-widget-layered-nav ul li a:hover {
    color: #000;
}
.widget_product_brands ul li.chosen a:after,
.widget_rating_filter ul li.chosen a:after,
.woocommerce-widget-layered-nav ul li.chosen a:after {
    content: "";
    position: absolute;
    top: 40%;
    left: 10px;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 10px;
    height: 5px;
    border-style: solid;
    border-color: #000;
    border-width: 0 0 1px 1px;
    display: block;
}
@media (min-width: 576px) {
    .osf-active-filters .clear-all {
		border-left: 1px solid #e6e6e6;
		padding-left: 10px;
    }
}
.woocommerce-widget-layered-nav ul li a {
    font-size: 14px;
    font-size: 0.875rem;
    color: #7d879c;
}
.woocommerce-widget-layered-nav ul.two_columns {
    display: flex;
    flex-wrap: wrap;
}
#secondary .woocommerce-widget-layered-nav ul.two_columns {
    margin: 0 -15px;
}
.woocommerce-widget-layered-nav ul.one_column li,
.woocommerce-widget-layered-nav ul.two_columns li{
    padding: 0 15px;
}
.woocommerce-widget-layered-nav ul.two_columns li {
    flex: 0 0 50%;
}

.woocommerce-widget-layered-nav ul.inline {
    display: flex;
    flex-wrap: wrap;
}
.woocommerce-widget-layered-nav ul.inline li {
    padding: 0;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Category filter*/

.wl_widget_categories ul li,
.wl_widget_categories ul li a{
    padding: 0;
    margin: 0
}
.wl_widget_categories ul li a{
    color: var(--secondary)
}

/*
 *	Filter bar
*/
#wl-show-sidebar{
    display:none
}
.wl-sidebar-layer{
    visibility: hidden;
    /*display: none;*/
    opacity: 0;
}
@media (max-width:48em){

    .wl main #primary,
    #secondary{
		flex-basis: 100%;
		max-width: 100%;
		margin: 0 0 1em 0;
		padding: var(--spacing)
    }
    #secondary{
		height: 0;
		width: 0;
		padding: 0
    }
    .wl-sidebar-wrapper{
		position: fixed;
		top: 0;
		bottom: 0;
		overflow: hidden;
		overflow-y: auto;
		width: 300px;
		/*z-index: 99999;*/
		z-index: 5;
		right: auto;
		left: 0;
		transform: translate3d(-100%, 0, 0);
		background: #fff
    }
    .wl-sidebar-layer{
		/*transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),visibility 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s,z-index 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s,top 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;*/
    }
    .wl-sidebar-wrapper{
		transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1)
    }
    #secondary #wl-show-sidebar:checked ~ .wl-sidebar-layer{
		position: fixed;
		/*z-index: 400;*/
		z-index: 4;
		/*display: block;*/
		background-color: rgba(0,0,0,0.7);
		opacity: 1;
		visibility: visible;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
    }
    #secondary #wl-show-sidebar:checked ~ .wl-sidebar-wrapper{
		transform: none;
    }
    .products .wl-show-sidebar{
		font-weight: bold
    }
    .products .wl-show-sidebar .icon-menu{
		margin-top: -5px
    }
    #primary>.woocommerce-ordering{
		border-bottom: 1px solid #ccc
    }
    #secondary .wl-sidebar-wrapper>*{
		padding: var(--block-spacing-horizontal) var(--block-spacing-vertical);
		border-bottom: 1px solid #ccc;
		margin-bottom: 0
    }


    .wl-hide-sidebar{
		text-align: right
    }
}