/* WooCommerce Archive & Seiten auf denen Produktkacheln ausgegeben werden */

.archive ul.products .wc-product-lower,
body.page ul.products .wc-product-lower,
body.single-product section.related.products .wc-product-lower,
.wc-product-lower{
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
}

.wc-product-lower-col.first{
	position: relative;
}

.product-badges{
	position: absolute;
	top: 0;
	right: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.single-product .product-badges{
	top: 10%;
	right: 30%;
}

.single-product.product_cat_grossflaschen .flex-viewport .product-badges{
	top: 70px;
	right: unset;
	left: 15%;
}

.single-product .related .product-badges{
	top: 0%;
	right: 20px;
} 


@media all and (max-width: 979px){
	.single-product.product_cat_grossflaschen .flex-viewport .product-badges{
		left: 0;
		top: 70px;
	}
	.single-product .product-badges{
		right: unset;
	}
}
.product-badges .badge,
.product-badges .badge p{
	font-family: 'Traffic01';
}

.product-badges .badge{
	margin-bottom: 15px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
	justify-content: center;
}

.product-badges .badge p{
	margin-bottom: 0;
}

.product-badges .badge.bewertung{
	background-color: var(--farbe-gold);
}

.product-badges .badge.bewertung .weinmedium{
	font-size: 16px;
	text-transform: uppercase;
}

.product-badges .badge.bewertung .punkte{
	font-size: 12px;
	text-transform: uppercase;
}

.product-badges .badge.bewertung p.bewertung-punkte{
	font-size: 40px;
}

.archive ul.products .wc-product-lower img.attachment-woocommerce_thumbnail,
body.page ul.products .wc-product-lower img.attachment-woocommerce_thumbnail,
body.single-product section.related.products .wc-product-lower img.attachment-woocommerce_thumbnail{
	 width: auto;           /* Bildbreite automatisch */
    height: 100%;          /* volle Höhe vom Parent */
    max-height: 100%;      /* nicht größer als Parent */
    object-fit: contain;   /* kein Verzerren */
    display: block;
    margin: 0 auto;
}

.archive ul.products .wc-product-lower-col,
body.page ul.products .wc-product-lower-col,
body.single-product section.related.products .wc-product-lower-col{
    width: 50%;
}

.archive ul.products .wc-product-lower-col.second,
body.page ul.products .wc-product-lower-col.second,
body.single-product section.related.products .wc-product-lower-col.second{
    padding-left: 10px;
	margin: auto 0;
}

.archive ul.products.oceanwp-row li.product,
body.page ul.products.oceanwp-row li.product,
body.single-product section.related.products li.product{
    width: 32%;
    background-color: #fff;
    padding: 15px 25px 10px 25px;
    height: 570px;
}

.archive ul.products li.product form.cart,
body.page ul.products li.product form.cart,
.insyde-product-section form.cart{
    display: flex;
	align-items: center;
}

.archive ul.products li.product form.cart div.quantity,
body.page ul.products li.product form.cart div.quantity{   
	width: 31%;
}

.archive ul.products li.product form.cart a.ajax_add_to_cart,
body.page ul.products li.product form.cart a.ajax_add_to_cart,
body.single-product section.related.products li.product form.cart a.ajax_add_to_cart{
    display: flex;
    align-items: center;
    text-transform: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
    margin: 0 1% 1% 0;
}

span.jahrgang {
    font-size: 20px;
    font-weight: 500;
}

div.archive-logo-div img{
    padding-right: 10px;
}

body.single-product div.singleproduct-logo-div{
	text-align: center;
}

body:not(.single-product) div.alkoholgehalt-output {
    margin-top: 8%;
    margin-bottom: 8%;
    font-size: 20px;
}

div.mengenangabe{
    font-size: 20px;
    font-weight: 300;
    padding-bottom: 4px;
}

div.preisproliter {
    font-size: 15px;
    line-height: 1;
    font-weight: 300;
}

div.lebensmittelangaben a,
div.allergene-sulfite{
    font-size: 15px;
    font-weight: 200;
    text-transform: uppercase;
    text-decoration: underline;
	line-height: 1.4;
}

div.allergene-sulfite{
	text-decoration: none;
	margin-top: 5px;
}

div.lebensmittelangaben a{
	text-decoration: underline !important;
}

body.archive #main h2.woocommerce-loop-product__title,
.page #main ul.products h2.woocommerce-loop-product__title{
    font-family: 'Traffic01';
    font-size: 34px;
    letter-spacing: 2px;
    margin-bottom: 0px;
	line-height: 1.2;
}

div.grossflaschen_info{
	font-size: 18px;
	padding: 10px;
	background-color: #fff;
	margin-bottom: 20px;
	margin-top: 20px;
	line-height: 1.4;
}

div.grossflaschen-table-wrapper table{
	background-color: #fff;
	font-size: 18px;
	width: auto;
}

div.grossflaschen-table-wrapper th{
	font-weight: 700;
	text-align: center;
}


div.insyde-product-meta {
    font-size: 20px;
    color: var(--farbe-schwarz);
    line-height: 1.2;
    margin-bottom: 5px;
}

.page #main ul.products a{
	text-decoration: none;
}

#main span.woocommerce-Price-amount.amount{
    font-family: 'Traffic01';
}

body:not(.single-product) #main div.quantity{
    margin-top: 5%;
    background-color: var(--farbe-bg);
}

.single-product .single_add_to_cart_button.button.alt{
	padding: 0;
}

.single_add_to_cart_button.svgbtn{
	border: 0;
}

.woocommerce #main .button:focus{
	background-color: transparent;	
}

#main div.quantity a,
#main div.quantity input{
    border: 0px;
    font-size: 30px;
    font-weight: 500;
	line-height: 1;
}

.insyde-product-section div.quantity a.minus,
.insyde-product-section div.quantity a.plus{
	text-decoration: none !important;
}

body.archive div.wc-product-lower div.wc-product-lower-col.second a.add_to_cart_button,
body.single-product section.related.products div.wc-product-lower-col.second a.add_to_cart_button,
.insyde-product-section a.add_to_cart_button,
.page #main ul.products a.add_to_cart_button{
    background-color: var(--farbe-weiss);
    border: 0px;
}

body.single-product section.related.products div.wc-product-lower{
	text-align: left;
}


/* SINGLE-PRODUCT */

body.single-product #main h1 {
    font-size: 40px;
    line-height: 1;
    letter-spacing: 1px;
    font-family: "Traffic01";
    font-weight: 400;
    padding-bottom: 0px;
}


body.single-product #main a.woocommerce-product-gallery__trigger {
    display: none;
}

body.single-product div.woocommerce-product-gallery {
    text-align: center;
}

body.single-product div.woocommerce-product-gallery img {
    height: 100%;
	max-height: 700px;
    width: auto;
}

body.single-product div.woocommerce-product-gallery ol.flex-control-nav li img{
	height: auto;
}

body.single-product div.summary {
    padding-top: 120px;
}

body.single-product div.alkoholgehalt-output {
    font-size: 20px;
    margin-top: 20px;
}

body.single-product div.quantity {
    background-color: var(--farbe-weiss);
    /*margin-top: 5%;*/
	margin-top: 1%;
}

body.single-product div.product form.cart {
    border-top: 0px;
    border-bottom: 0px;
    padding-top: 0px;
    margin-top: 0px;
}

body.single-product #main ul.tabs.wc-tabs,
body.single-product div#tab-description>h2 {
    display: none;
}

body.single-product div.text-im-zwischenbild p {
    font-size: 100px;
    
    color: var(--farbe-weiss);
    line-height: 1;
    font-family: 'Traffic01';
    letter-spacing: 10px;
}

body.single-product div.text-im-zwischenbild {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
}

body.single-product div.zeile-im-bild p {
    font-size: 30px;
    line-height: 1.3;
	color: var(--farbe-schwarz);
}

body.single-product div.zeile-im-bild {
    background-color: #fff;
    margin-top: -120px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
}

body.single-product div.spalte-unter-bild>.vc_column-inner{
	padding-left: 0px;
	padding-right: 0px;
}

body.single-product div.info-unter-bild p{
	font-size: 25px;
	padding-left: 15px;
	padding-right: 15px;
}

body.single-product div.info-unter-bild p strong{
	font-size: 30px;
}

body.single-product div.info-unter-bild ul{
	padding: 0 30px;
}


body.single-product section.related.products{
	text-align: center;	
}
body.single-product #main section.related.products>h2{
	font-size: 40px;	
	padding-top: 15px;
	padding-bottom: 15px;
}
/*
body.single-product div.quantity a{
	margin-top: 5px;
}
*/

@media all and (max-width: 979px){
	
	.archive ul.products.oceanwp-row li.product,
	body.page ul.products.oceanwp-row li.product,
	body.single-product section.related.products li.product{
		height: auto;
		margin-bottom: 30px;
	}
	
	div.lebensmittelangaben a,
	div.allergene-sulfite{
		font-size: 11px;
	}
	
	body.archive #main h2.woocommerce-loop-product__title,
	.page #main ul.products h2.woocommerce-loop-product__title{
		font-size: 32px;
		hyphens: auto;
	}
	
}