
/* ======================================================================================================================================================
# CZESC GLOBALNA — ladowana na KAZDEJ podstronie
====================================================================================================================================================== */

    @media only screen and (min-width: 990px) and (max-width: 1180px) {

		/* Product window */
		.responsive #top .products li a.add_to_cart_button, .responsive #top .products li a.product_type_simple,
		#top .products li .single_button a.button {padding: 8px; min-width: 42px !important; width: 42px; height: 42px; text-indent: -9999px; overflow: hidden;}
		
	}


	@media only screen and (max-width: 989px) {
		
		/* Image Caption */
		.responsive #top .full_width_image .av-image-caption-overlay {display: none !important;}
		
	}


	@media only screen and (min-width: 768px) and (max-width: 989px) {
		
		/* Sidebar & Shop */
		#top #main .sidebar {display: none;}
		
		/* Product window */
		.responsive #top .products li a.add_to_cart_button, .responsive #top .products li a.product_type_simple,
		#top .products li .single_button a.button {padding: 8px !important; min-width: 42px !important; width: 42px; height: 42px; text-indent: -9999px; overflow: hidden;}
		
	}


	@media only screen and (max-width: 767px) {
		
		/* Product window */
		.responsive #top .products li.product {margin-bottom: 7% !important;}

	}


    @media only screen and (max-width: 590px) {
		
		/* Info & Error */
		.responsive #top div.woocommerce-message, #top ul.woocommerce-error {padding: 35px  !important;}
		.responsive #top div.woocommerce-message a.button {display: block; position: relative; float: none; right: 0; margin-top: 25px; width: 100%;}
		
		/* Product buttons */
		.responsive #top .products li {
			.woocommerce-loop-product__title {height: 36px !important;}
			a.add_to_cart_button, a.product_type_simple,
			.single_button a.button {padding: 8px !important; min-width: 42px !important; width: 42px !important; height: 42px !important; text-indent: -9999px; overflow: hidden;}
		}

	}

	@media only screen and (min-width: 480px) {
		
		/* Netto */
		#top .products li .price > ins {display: inline-block;}
		#top .products li .price small.woocommerce-price-suffix {margin-left: 10px; display: inline-block;}
		
	}


	@media only screen and (max-width: 479px) {
		
		/* Netto */
		#top .products li .price small.woocommerce-price-suffix {display: block;}

		/* Product windows 2 column */
		.responsive #top #main ul.products {
			.product {margin: 1.4% 2.8% 1.4% 0; width: 48.6% !important;}
			.product:nth-child(even) {margin-right: 0;}
		}
		
	}


	ul.products .product .avia-arrow, #top .actions .button[name="update_cart"] {display: none !important;}


/* ======================================================================================================================================================
# Header
====================================================================================================================================================== */

	/* Cart */
	#menu-item-shop {
		
		right: 0 !important; border: none;
		
		li.cart_dropdown_first > a {display: flex; padding: 0 0 0 1.575rem; align-items: center;}
		li.cart_dropdown_first > a .av-cart-counter {left: auto; right: 0; margin-top: -24px; min-width: 16px; background: #ff0507;}
		li.cart_dropdown_first > a .av-cart-container {display: flex; position: relative; margin: 0; width: 48px; height: 48px; align-items: center; justify-content: center;}
		li.cart_dropdown_first > a .av-cart-container svg {display: none;}
		
		li.cart_dropdown_first > a .av-cart-container:before, li.cart_dropdown_first > a .av-cart-container:after {content:''; position: absolute; top: 50%;}
		
		li.cart_dropdown_first > a .av-cart-container:before {
			left: 0; transform: translateY(-50%); width: 48px; height: 48px; background: #f3f3f3; border-radius: 50%; z-index: -1;
		}
		li.cart_dropdown_first > a .av-cart-container:after {
			left: 50%; transform: translate(-50%,-50%); width: 20px; height: 20px; background: url(../images/add-to-cart.svg) no-repeat center;
		}
		
		.dropdown_widget .widget_shopping_cart_content {
			
			border: none; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.25);
			ul.product_list_widget li a {font-weight: 500; color: #3a3a3a !important;}
			
		}
		
		.dropdown_widget .woocommerce-mini-cart__buttons.buttons {
			
			display: flex; gap: 0.675rem; justify-content: space-between; background: #fff !important;
			a.button {display: flex; padding: 7px 5px; width: 100%; height: 32px; justify-content: center; align-items: center; background: #1a1a1a; font-weight: 500; color: #fff; border-radius: 25px;}
			a.button:hover {opacity: 0.65;}
	
		}

		
	}

	
	/* Onsale banner */
	.badge-small, .badge {position: absolute; background-color: #203e92; color:#fff; text-align: center; font-weight: 600; z-index:100;}

/* ======================================================================================================================================================
# Shop Design
====================================================================================================================================================== */

    /* Product sorting */
	div .product-sorting {margin-bottom: 1rem; padding-bottom: 1rem; float: none; min-height: 56px; clear:both;}
	
	/* Osunięcie okna wyboru opcji produktu od ceny */
	#top .variations_form {margin-top: 20px;}
	
    /* Products window */
	#top .products li.product {
		
		margin-bottom: 5% !important;
		
		.inner_product {
			position: relative; padding: clamp(0.675rem, 1.5vw, 1rem) clamp(0.675rem, 1.5vw, 1rem) 25px clamp(0.675rem, 1.5vw, 1rem); 
			border: solid 1px #efefef; border-radius: 0; overflow: visible; transition: all 0.4s;
		}

		
		.thumbnail_container {
			overflow: hidden;
			img {border-radius: 0; transition: all 0.5s;}
			img:hover {scale: 1.1;}
		}
		
		.inner_product_header {margin-top: 1rem; padding: 0 !important; border: none;}
		
		/* Onsale banner */
		.badge-small {position: absolute; top: 1.275rem; right: 1.275rem; width: 44px; height: 44px; line-height: 43px; font-size: 13px; border-radius: 50px; overflow: hidden; z-index: 2;}
		span.badge {display: none;}
		
		/* Title */
		.woocommerce-loop-product__title {
			display: -webkit-box; margin-bottom: 10px; padding-top: 0; height: 38px; font-size: 14px; font-weight: 600;
			-webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: ellipsis; overflow: hidden;
		}
		
		/* Price */
		.price {
			display: block; width: 100%; min-height: 45px;
			span.juz-od {display: none !important;}
			
			del {
				display: block; margin-bottom: -8px;
				span.amount {font-size: 12px; font-weight: 500; color:#7a7a7a;}
			}

			ins {display: inline; position: relative; z-index: 1;}
			ins::before {display: none !important;}
			ins span.amount, >span.amount {font-size: 17px; font-weight:600; color:#1a1a1a;}
			
			.woocommerce-Price-currencySymbol {margin-left: 0px; font-size: 12px;}
			
			/* Netto */
			small.woocommerce-price-suffix, small.woocommerce-price-suffix span {font-size: 12px; font-weight: 300; color: #0b73ce;}
		
		}

		ins .woocommerce-Price-amount, .price > .woocommerce-Price-amount {position: relative; z-index: 1;}
		ins .woocommerce-Price-amount:after, .price > .woocommerce-Price-amount:after {content:''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: #fff4cb; z-index: -1;}
		
		
		/* Button */
		.avia_cart_buttons {display: flex; position: absolute; left: 0; padding: 5px 1rem; background: transparent; border: none; opacity: 1; overflow: visible;}
		.single_button a.button {margin-right: 0 !important; width: auto !important;}
		
		
		a.button {
			position: relative; padding: 15px 55px 15px 25px; width: auto; line-height: 1; background: #ffc701; font-size: 12px; color: #1a1a1a !important; text-align: left; border-radius: 50px;
			
			>span {display: flex; position: absolute; top: 50% !important; right: 6px; transform: translateY(-50%); width: 30px; height: 30px; line-height: 30px; background: #fff; justify-content: center; align-items: center; border-radius: 50%;}
			span svg:first-child {display: none;}
			
			&.add_to_cart_button, &.product_type_simple {margin-left: auto; order: 2; -webkit-order: 2;}
			
			&.add_to_cart_button > span:before, &.product_type_simple > span:before  {
				content: ''; width: 14px; height: 14px; background: url(../images/add-to-cart.svg) no-repeat center;
			}
			
		}
		a.button:hover {background: #1a1a1a; color: #ffffff !important;}	
		
		
		a.show_details_button {
			order: 1; -webkit-order: 1; padding: 15px 20px; min-width: 42px; width: 42px; background: #efefef; text-indent: -9999px; overflow: hidden;
			> span {font-family: 'entypo-fontello'; color: #1a1a1a !important; text-indent: initial;}
			> span:before {content:'\e816'; font-size: 18px;}
		}
		a.show_details_button:hover {background: #ffc701;}


		/* More Tooltip */
		.tooltip {
			position: absolute; top: -30px !important; left: 50%; transform: translateX(-20%); padding: 0.175rem 0.5rem; background: rgba(0,0,0,0.85); font-size: 10px; font-weight: 500; color: #ffffff; border-radius: 5px; z-index: 9999;
		}
		.tooltip:after {
				content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid rgba(0,0,0,0.85);
		}
	

	}
	
	
	#top .products li.product:hover {
		
		.inner_product {border-color: #aaa;}
		a.show_details_button {background: #dadada;}
		
	}



	/* Products button */
	
	/* Add to card */
	#top .summary form.cart {
		.single_add_to_cart_button {position: relative; padding: 16px 55px 16px 25px; background: #ffc701; color: #1a1a1a;}
		.single_add_to_cart_button:hover {background: #1a1a1a; color: #ffffff;}
		.single_add_to_cart_button:before {
			content: ''; position: absolute; top: 50%; right: 6px; transform: translateY(-50%);  width: 30px; height: 30px; background: url(../images/add-to-cart.svg) no-repeat center, #ffffff;
			background-size: 14px 14px; border-radius: 50%;
		}
	}
	


	