/* Przycisk pokaż kategorie - potrzebny tylko dla widoku mobile */
a#show_categories
{
	display: none;
	padding: 6px 15px;
	margin-top: 10px;
	border: 1px solid #aaa;
	color: #666;
	background: #eee;
}

a#show_categories:hover
{
	color: #333;
	background: #fff;
}


/* Drzewo kategorii */
ul.categories
{
	list-style: none;
	padding-left: 15px;
}

li.dot
{
	background-image: url('../img/dot.gif');
	background-repeat: no-repeat;
	background-position: left 8px;
	padding-left: 10px;
	margin-top: 5px;
}

li.dash
{
	background-image: url('../img/dash.gif');
	background-repeat: no-repeat;
	background-position: left 10px;
	padding-left: 10px;
	margin-left: 15px;
}

li.dash a
{
	font-weight: normal;
	color: #333;
}

li.dash a:hover
{
	color: #d36b16;
}

li.indent
{
	margin-left: 40px;
}
/* wybrana kategoria */
ul.categories a.selected
{
	text-decoration: underline;
}



/* kategorie w bocznej kolumnie */
div#left_column ul.categories
{
	margin: 0;
	padding: 0;
	margin-top: 8px;
	border-bottom: 1px solid #bbb;
}

div#left_column li.dot
{
	background: none;
	margin: 0;
	padding: 0;
}

div#left_column li.dot a
{
	display: block;
	padding: 7px 10px;
	background: #fff;
	border-top: 1px solid #bbb;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: normal;
	font-size: 18px;
	color: #222;
}

div#left_column li.dot a:hover
{
	color: #d36b16;
	background: #f4f4f4;
}

div#left_column li.dash
{
	padding-bottom: 6px;
}

/* wybrana kategoria */
div#left_column ul.categories a.selected
{
	color: #fff;
	background: #888;
	margin-bottom: 5px;
	border-top: none;
}

div#left_column ul.categories li.dash a.selected
{
	background: none;
	color: #000;
}



/* lista kategorii ze zdjęciami */
div.categories
{
	width: 102%;
	clear: both;
}

a.category_image
{
	display: block;
	float: left;
	box-sizing: border-box;
	width: 235px;
	height: 300px;
	padding: 12px;
	margin-right: 10px;
	margin-bottom: 10px;
	text-align: center;
	border: 1px solid #aaa;
}

a.category_image:hover
{
	border: 1px solid #777;
	background: #f8f8f8;
}

div.category_name
{
	height: 80px;
	overflow: hidden;
}

img.category_image
{
	width: 160px;
	height: auto;
}


/* marki */
img.brand_logo, img.series
{
	max-width: 200px;
	height: auto;
	margin-right: 15px;
	margin-top: 15px;
	vertical-align: middle;
}

/* serie */
img.brand_logo, img.series
{
	width: 150px;
	height: auto;
}

/* opis kategorii nad listą produktów */
div.category_description
{
	margin-bottom: 30px;
	clear: both;
}

/* pole select do wyboru sposobu sortowania lub ilości produktów na stronie */
form#products_options
{
	float: right;
	margin: 0;
	margin-bottom: 10px;
}

form#products_options span.form_element
{
	padding-right: 0;
	padding-left: 10px;
}

form#products_options select
{
	margin-right: 0;
}


/* -------- lista produktów ---------- */
div.products_list
{
	width: 102%;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* poszczególny produkt na liście */
/* wysokości ustawiane są na sztywno żeby zachować jednolity układ. Inaczej elementy będą zachodzić na siebie lub pod siebie */
div.small_product
{
	float: left;
	box-sizing: border-box;
	width: 265px;
	height: 465px;
	padding: 12px;
	margin-right: 20px;
	margin-bottom: 20px;
	text-align: center;
	line-height: 1.2;
	border: 1px solid #bbb;
	transition: all 0.3s;
}

div.small_product:hover
{
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
}

/* error przy dodawaniu do koszyka */
div.small_product .error_small
{
	display: block;
	position: absolute;
	width: 210px;
}

a.product_name
{
	display: block;
	height: 38px;
	overflow: hidden;
}

a.product_name:hover
{
	color: #555;
}

div.product_image
{
	width: 100%;
	height: 70%;
	margin-top: 8px;
	margin-bottom: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
}

div.product_image img
{
	display: block;
	max-width: 210px;
	max-height: 285px; 
	height: auto;
}

/* -------- ceny -------- */
/* standardowe ceny */
div.product_price
{
	font-weight: bold;
}

span.gross_price
{
	color: #bb0000;
	font-size: 17px;
}

/* wersja: cena netto wyróżniona, cena brutto zwykła */
/*
div.primary_price
{
	font-weight:bold;
}
span.net_price
{
	font-weight:bold;
	color:#bb0000;
}
*/

/* innym kolorem nowa cena (gdy jest podana stara)
span.new_price
{
	color:#14941e;
}
*/

div.previous_price
{
	font-weight: normal;
}

div.previous_price span
{
	font-weight: bold;
}

/* do koszyka */
div.to_basket
{
	margin: auto;
	margin-top: 10px;
}

div.to_basket_amount
{
	display: inline-block;
}

input.to_basket_amount, div.to_basket_amount
{
	width: 30px !important;
	padding: 2px 2px 3px 2px;
	font-size: 13px;
	text-align: center;
}

button.to_basket
{
	padding: 5px 10px 6px 10px;
	border: 0;
	background: #f5860d;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	text-transform: lowercase;
}

button.to_basket i
{
	margin-right: 5px;
}

button.to_basket:hover
{
	background: #666;
}

span.change_amount
{
	margin-right: 8px;
	font-size: 20px;
	color: #777;
	cursor: pointer;
}

div.basket_total
{
	text-align: right;
	font-size: 20px;
}

/* pokazywany po dodaniu produktu do koszyke */
div.to_basket_info
{
	display: none;
	font-size: 13px;
	margin-top: 5px;
}

/* znacznik "promocja", "nowość", "wyprzedaż", "polecany" */
/* wersja - kolorowe kółko */
/*
div.product_label
{
	position:absolute;
	border-radius:50%;
	width:48px;
	height:48px;
	line-height:48px;
	margin-top:180px;
	text-align:center;
	z-index: 5;
	background:#D6284B;
	font-size:11px;
	color:#FFF;
}
*/

/* znacznik "promocja", "nowość", "wyprzedaż", "polecany" */
/* wersja - pasek z boku */
div.product_label
{
	position: absolute;
	width: 82px;
	height: 24px;
	box-sizing: border-box;
	line-height: 24px;
	margin-top: 180px;
	margin-left: -12px;
	padding-left: 5px;
	z-index: 5;
	text-align: left;
	font-size: 12px;
	color: #FFF;
}

div.new
{
	background-image: url('../img/label_orange.png');
}

div.special
{
	background-image: url('../img/label_blue.png');
}

div.sale
{
	background-image: url('../img/label_red.png');
}

div.recommended
{
	background-image: url('../img/label_green.png');
}

div.bestseller
{
	background-image: url('../img/label_purple.png');
}


/* ------------ szczegóły produktu ------------- */
div#product_details
{
	border: 1px solid #ccc;
	padding: 12px;
	margin-bottom: 12px;
}

div.product_images
{
	width: 350px;
	box-sizing: border-box;
	vertical-align: top;
	text-align: center;
	padding-right: 15px;
	border-right: 1px solid #ccc;
}

img.main_image
{
	display: block;
	width: 340px;
	height: auto;
	margin-bottom: 12px;
}

div.small_images
{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

img.small_image
{
	display: block !important;
	float: none;
	width: 105px;
	height: auto;
}

div.product_info
{
	vertical-align: top;
	padding-left: 15px;
	padding-bottom: 20px;
}

h4.product_name
{
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 16px;
}

div.product_description
{
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid #ccc;
}

div.availability
{
	margin-top: 15px;
}
/* tekst "niedostępny", "dostępny" */
span.availability
{
	font-weight: bold;
}

div.product_info div.product_price
{
	margin-top: 20px;
}

/* okienko "basket_info" */
span#basket_num, span#basket_gross_value, span#basket_net_value
{
	font-weight: bold;
	margin-left: 2px;
}

/* opróżnij koszyk */
a.empty
{
	background: #999;
}

/* cennik dostawy */
tr.delivery_header
{
	text-align: center;
	font-weight: bold;
}

tr.delivery_header td
{
	padding-top: 22px;
}

div.products_group
{
	margin-top: 35px;
}

/* podsumowanie zakupów */
div#order_summary
{
	margin-top: 10px;
}


/* Oceny i recenzje */

/* gwiazdki obok link do ocen i recenzji */
.rating_stars
{
	margin-top: 10px;
}

.rating_stars a
{
	margin-left: 10px;
}

.rating_stars a i
{
	color: #555;
	margin-left: 6px;
}

i.gold, i.grey
{
	margin-right: 2px;
	font-size: 16px;
}

i.gold
{
	color: #ffd75f;
}

i.grey
{
	color: #ccc;
}

/* lista recenzji */
div#reviews
{
	border-top: 1px solid #ccc;
	margin-top: 35px;
}

div#reviews h4
{
	margin-bottom: 5px;
}

/* liczba wszystkich recenzji */
.reviews_count
{
	margin-bottom: 12px;
}

.review_container
{
	border-top: 1px solid #ccc;
	padding-top: 22px;
	padding-bottom: 22px;
}

.review_title
{
	margin-bottom: 8px;
}

.review_title span
{
	margin-right: 8px;
}

.review_author
{
	font-weight: bold;
}

/* oceny przedstawione graficznie: kółko i paski */
.rating_graph
{
	display: inline-block;
	border: 1px solid #ddd;
	margin-top: 15px;
	margin-bottom: 25px;
	padding: 15px;
}

.rating_circle
{
	float: left;
}

/* svg */
.rating_circle circle
{
	stroke-dashoffset: 0;
	stroke: #e2e2e2;
	stroke-width: 5px;
}

.rating_circle circle.gold
{
	stroke: #ffd75f;
	stroke-width: 5px;
}

/* średnia z ocen w środku kółka */
.rating_average
{
	position: absolute;
	display: flex;
	align-items: center;
	flex-direction: column;
	padding-top: 20px;
	padding-left: 20px;
	color: #999;
}

.rating_average span
{
	display: block;
	font-weight: bold;
	font-size: 28px;
	line-height: 1;
	color: #333;
}

.rating_sum
{
	margin-top: 8px;
	text-align: center;
	color: #666;
}

/* słupki graficzne */
.rating_bars
{
	float: left;
	padding-left: 40px;
}

.rating_data
{
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.rating_data span.bar, .rating_data span.bar_gold
{
	display: block;
	height: 13px;
	width: 200px;
	background: #e2e2e2;
}

.rating_data span.bar
{
	margin-left: 6px;
}

.rating_data span.bar_gold
{
	background: #ffd75f;
}

span.bar_count
{
	display: block;
	margin-left: 6px;
}

div.rating_data_stars
{
	width: 100px;
}

/* oceniany produkt */
div.product_rating img
{
	width: 180px;
	height: auto;
	max-height: 160px;
	margin-top: 8px;
}

/* okienko pojawiajace sie po kliknieciu sprawdz kod propocyjny */
div#discount_code_message
{
	display: none;
}

/* nie wyświetlaj kategorii w submenu dla przycisku SKLEP (dot. wersji desktop */
/*
li.external
{
	display:none;
}
*/

/* koniec zamówienia */
#sp_inpost_point_code
{
	display: none;
}

input#inpost_point_code
{
	padding-left: 0;
	padding-right: 0;
	font-weight: bold;
}

#select_inpost_button
{
	 margin-bottom: 10px;
}

#checkout
{
	margin-top: 12px;
}

#checkout h4
{
	margin-top: 32px;
	margin-bottom: 14px;
	font-size: 17px;
}

#checkout_consent span.form_element, .checkout_radio span.form_element span
{
	margin-bottom: 10px;
	padding: 0;
	display: flex;
}

#checkout_consent span.form_element span, #checkout_consent span.form_element label, .checkout_radio span.form_element span span, .checkout_radio span.form_element span label
{
	display: block;
}

#checkout_consent span.form_element label, .checkout_radio span.form_element span label
{
	padding-left: 14px;
}

.checkout_radio span.form_element span span
{
	margin: 0;
}

.checkout_radio span.form_element
{
	padding: 0;
}

/* kwota zniżki w podsumowaniu koszyka */
.minus
{
	margin-left: -5px;
}


/* --- produkty w koszyku --- */
div.basket_items
{
	display: table;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border-top: 1px solid #bbb;
}

div.basket_items div.td
{
	border-bottom: 1px solid #bbb;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 10px;
}

div.basket_items div.td img
{
	max-width: 180px;
	max-height: 150px;
	width: auto;
	height: auto;
}

/* komórka zawierająca parę elementów: zmień/usuń, cena/wartość */
div.basket_cell
{
	display: flex;
}

div.basket_cell div div
{
	padding-bottom: 3px;
}

/* cena, wartość */
div.basket_cell .value
{
	width: 85px;
}

div.values
{
	justify-content: flex-end;
}

div.basket_cell_amount
{
	width: 100%;
	padding-right: 20px;
}

div.basket_amount_form
{
	display: flex;
	justify-content: space-between;
}

/* przycisk "usuń" */
a.basket_delete_item
{
	display: inline-block;
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 2px 8px 3px 8px;
	color: #999;
	white-space: nowrap;
}

a.basket_delete_item i
{
	font-size: 12px;
	margin-right: 3px;
}

a.basket_delete_item:hover
{
	color: #dd0000;
	border: 1px solid #dd0000;
}

/* uwagi do zamówienia */
form#checkout textarea#remarks
{
	width: 300px;
	height: 80px;
}

/* ikonki - skopiuj do schowka */
div#bank_transfer i
{
	margin-left: 6px;
}

/* Rekomendowane produkty */
div.recommended_products
{
	border-top: 1px solid #ccc;
	margin-top: 35px;
}

div.recommended_products H4
{
	margin-bottom: 5px;
}

/* Program lojalnościowy */
span.points
{
	font-size: 1.3em;
	font-weight: bold;
}

/* pasek z kategoriami pod głównym menu*/
div.categories_bar
{
	display: flex;
	justify-content: space-around;
	box-sizing: border-box;
	padding: 15px 2px;
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
	border-bottom: 5px solid #eee;
}

div.categories_bar a
{
	display: block;
	font-weight: normal;
	text-transform: uppercase;
	color: #222;
}

div.categories_bar a:hover
{
	color: #bb0000;
}

div.categories_bar img
{
	display: block;
	margin-bottom: 4px;
}


/* kategorie i podkategorie w menu rozwijanym */
ul.menu ul li.category2 a, ul.menu ul li.category3 a
{
	padding-top: 3px;
	padding-bottom: 6px;
	padding-left: 20px;
	margin-top: 0;
	border: none;
}

ul.menu ul li.category3 a
{
	padding-left: 35px;
}

ul.menu ul li.category2, ul.menu ul li.category3
{
	display: none;
}

/* ikony dostawców */
img.delivery_icon
{
	width: 40px;
	height: auto;
	vertical-align: middle;
	margin-right: 8px;
}


/* Ddodatkowe parametry towaru (100% naturalne, 100% wegan, ekspresowa wysyłka itd) */
div.product_attributes div
{
	margin-top: 8px;
	margin-bottom: 8px;
}

div.product_attributes img
{
	width: 28px;
	height: auto;
	vertical-align: middle;
	margin-right: 12px;
}

div.product_attributes div i
{
	font-size: 28px;
	margin-right: 12px;
	margin-top: -3px;
}


/* Rozwijane elementy opisu - nagłówek <h4> staje się rozwijaczem */
div.fold_heading
{
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	margin-bottom: 35px;
	padding-top: 15px;
	border-top: 1px solid #bbb;
}

div.fold_heading a
{
	display: block;
	font-size: 15px;
	font-weight: normal;
	color: #333;
}

div.fold_heading a i
{
	margin-left: 8px;
	font-size: 15px;
}

div.fold_heading div.head_name
{
	margin: 0;
	font-weight: normal;
	font-size: 1em;
	text-transform: uppercase;
}

div.fold_heading span
{
	text-transform: uppercase;
}
