/* Online-Shop: WooCommerce im Nekrep-Look. Papier, Haarlinien, Bordeaux nur für Preise und Aktionen. Lädt nach den WooCommerce-Stilen. */

/* Kopf: Warenkorb */
.kopf-rechts{order:3}
.warenkorb{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;color:var(--tinte);text-decoration:none}
.warenkorb svg{width:24px;height:24px}
.warenkorb .zahl{position:absolute;top:3px;right:1px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--bordeaux);color:#FAF4EE;font-size:.65rem;font-weight:500;line-height:18px;text-align:center;letter-spacing:0;font-variant-numeric:tabular-nums}
.warenkorb .zahl[hidden]{display:none}
.warenkorb:hover{color:var(--bordeaux)}
@media (max-width:900px){.kopf-rechts{order:0}}

/* Rahmen */
.shop-seite{padding-block:clamp(2.5rem,6vw,5rem) clamp(4rem,8vw,7rem)}
.woocommerce-cart .eintrag,.woocommerce-checkout .eintrag,.woocommerce-account .eintrag{max-width:none}
.woocommerce-breadcrumb{font-size:.72rem!important;letter-spacing:.14em;text-transform:uppercase;color:var(--leise)!important;margin-bottom:2rem!important}
.woocommerce-breadcrumb a{color:var(--leise)!important;text-decoration:none}
.woocommerce-breadcrumb a:hover{color:var(--bordeaux)!important}

/* Shop-Kopf und Kategorien */
.shop-kopf{display:grid;gap:1rem;max-width:42rem;margin-bottom:clamp(2rem,4vw,3rem)}
.kategorien{display:flex;flex-wrap:wrap;gap:.5rem;padding-bottom:1.6rem;margin-bottom:1.6rem;border-bottom:1px solid var(--linie)}
.kategorien a{font-size:.7rem;font-weight:450;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;padding:.6rem .95rem;border:1px solid var(--linie);color:var(--tinte);transition:border-color .2s,color .2s,background .2s}
.kategorien a:hover{border-color:var(--bordeaux);color:var(--bordeaux)}
.kategorien a[aria-current="page"]{background:var(--bordeaux);border-color:var(--bordeaux);color:#FAF4EE}
@media (max-width:760px){
  .kategorien{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * max(20px,env(safe-area-inset-left,0px)));padding-inline:max(20px,env(safe-area-inset-left,0px));scrollbar-width:none}
  .kategorien::-webkit-scrollbar{display:none}
  .kategorien a{flex:none}
}
.woocommerce .woocommerce-result-count{font-size:.8rem;letter-spacing:.06em;color:var(--leise);margin:0 0 1.6rem}
.woocommerce .woocommerce-ordering{margin:0 0 1.6rem}
.woocommerce .woocommerce-ordering select{font:inherit;font-size:.85rem;color:var(--tinte);background:transparent;border:1px solid var(--linie);padding:.5rem 2rem .5rem .8rem;border-radius:0}

/* Produktraster */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(2.2rem,4vw,3.5rem) clamp(1.2rem,2.5vw,2.2rem);margin:0 0 3rem;padding:0;clear:both}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0;display:flex;flex-direction:column;gap:.9rem;min-width:0;position:relative}
@media (max-width:960px){.woocommerce ul.products,.woocommerce ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:380px){.woocommerce ul.products,.woocommerce ul.products[class*="columns-"]{grid-template-columns:1fr}}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;gap:.9rem;text-decoration:none;color:inherit;flex:1}
.woocommerce ul.products li.product a img{aspect-ratio:4/5;width:100%;height:auto;object-fit:contain;background:var(--papier-2);margin:0!important;padding:8% 10%;transition:transform .5s ease}
.woocommerce ul.products li.product a img[src*="platzhalter"]{padding:0;object-fit:cover}
/* Freigestellte Flaschenfotos mit weißem Grund verschmelzen mit dem Papierton */
.woocommerce ul.products li.product a img:not([src*="platzhalter"]),.woocommerce div.product div.images img:not([src*="platzhalter"]){mix-blend-mode:multiply}
.woocommerce ul.products li.product:hover a img{transform:scale(1.015)}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h2,.woocommerce ul.products li.product h3{font-family:var(--serif);font-weight:400;font-size:1.35rem!important;line-height:1.2;color:var(--tinte);padding:0!important;margin:0;text-wrap:balance}
.woocommerce ul.products li.product .price{display:block;margin:0!important;color:var(--bordeaux)!important;font-size:.95rem!important;font-weight:450;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product .price del{color:var(--leise);opacity:1;margin-right:.4rem}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin-top:auto!important;align-self:flex-start}
.woocommerce ul.products li.product .star-rating{display:none}
@media (max-width:760px){
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.12rem!important}
  .woocommerce ul.products li.product .button{align-self:stretch;text-align:center;padding:.85rem .6rem!important;letter-spacing:.16em!important}
}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button:not(.is-link),.wp-element-button.wc-block-components-button{font-family:var(--sans)!important;font-size:.68rem!important;font-weight:450!important;letter-spacing:.24em!important;text-transform:uppercase;text-decoration:none!important;line-height:1.3!important;padding:.95rem 1.4rem!important;border-radius:0!important;border:1px solid var(--bordeaux)!important;background:var(--bordeaux)!important;color:#FAF4EE!important;transition:background .25s,color .25s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wc-block-components-button:not(.is-link):hover{background:#561725!important;border-color:#561725!important}
.woocommerce ul.products li.product .button{background:transparent!important;color:var(--bordeaux)!important}
.woocommerce ul.products li.product .button:hover{background:var(--bordeaux)!important;color:#FAF4EE!important}
.woocommerce a.button.loading::after,.woocommerce button.button.loading::after{top:.95rem!important}
.woocommerce a.added_to_cart{display:inline-block;margin-top:.4rem;font-size:.75rem;letter-spacing:.1em;color:var(--bordeaux)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.5!important}

/* Aktion */
.woocommerce span.onsale{min-width:0!important;min-height:0!important;padding:.35rem .6rem!important;border-radius:0!important;background:var(--tinte)!important;color:#FAF4EE!important;font-size:.62rem!important;font-weight:450!important;letter-spacing:.22em;text-transform:uppercase;line-height:1.2!important;top:.8rem!important;left:.8rem!important;right:auto!important;margin:0!important}

/* Produktseite */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start}
.woocommerce div.product>*{grid-column:1/-1;min-width:0}
.woocommerce div.product div.images{grid-column:1;width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.summary{grid-column:2;width:auto!important;float:none!important;margin:0!important;display:flex;flex-direction:column;gap:1.2rem}
@media (max-width:860px){
  .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:2rem}
  .woocommerce div.product div.images,.woocommerce div.product div.summary{grid-column:1;position:static}
}
.woocommerce div.product div.images img{background:var(--papier-2)}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{aspect-ratio:4/5;object-fit:contain;padding:6% 10%}
.woocommerce div.product div.images .woocommerce-product-gallery__image img[src*="platzhalter"]{padding:0;object-fit:cover}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:.6rem;margin-top:.6rem!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:72px!important;float:none!important}
.woocommerce div.product .product_title{font-size:clamp(2.1rem,3.6vw,3.2rem);line-height:1.06}
.woocommerce div.product .summary .price{color:var(--bordeaux)!important;font-family:var(--serif);font-size:1.9rem!important;font-weight:400;margin:0!important;font-variant-numeric:lining-nums tabular-nums}
.preis-hinweis{margin-top:-.8rem!important;font-size:.75rem;letter-spacing:.06em;color:var(--leise)}
.preis-hinweis a{color:inherit}
.woocommerce div.product .woocommerce-product-details__short-description{font-family:var(--serif);font-size:1.3rem;line-height:1.5;color:var(--tinte)}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:.8rem;align-items:stretch;margin:.4rem 0 0!important;padding-top:1.4rem;border-top:1px solid var(--linie)}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart div.quantity{float:none!important;margin:0!important}
.woocommerce .quantity .qty{width:4.5rem!important;height:100%;min-height:3rem;font:inherit;font-size:1rem;text-align:center;border:1px solid var(--linie);background:transparent;color:var(--tinte);border-radius:0}
.woocommerce div.product form.cart .button{float:none!important;flex:1 1 12rem}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .variations{margin-bottom:1rem!important;border:0}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0 0 .4rem!important;text-align:left;line-height:1.4}
.woocommerce div.product form.cart .variations label{font-size:.7rem;font-weight:450;letter-spacing:.22em;text-transform:uppercase;color:var(--tinte)}
.woocommerce div.product form.cart .variations select{width:100%;font:inherit;padding:.75rem .9rem;border:1px solid var(--linie);background:transparent;color:var(--tinte);border-radius:0;margin:0!important}
.woocommerce div.product form.cart .reset_variations{font-size:.75rem;color:var(--leise)}
.woocommerce div.product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1rem}
.woocommerce div.product .woocommerce-variation-price{margin-top:.6rem}
.woocommerce div.product .product_meta{font-size:.78rem;letter-spacing:.06em;color:var(--leise);display:grid;gap:.3rem;padding-top:1.2rem;border-top:1px solid var(--linie)}
.woocommerce div.product .product_meta a{color:var(--text)}
.woocommerce div.product .product_meta .tagged_as{display:none}
.woocommerce div.product .stock{font-size:.8rem;letter-spacing:.06em;color:var(--leise)!important}
.woocommerce div.product .stock.out-of-stock{color:var(--bordeaux)!important}

/* Reiter unter dem Produkt */
.woocommerce div.product .woocommerce-tabs{margin-top:clamp(1rem,3vw,2rem)}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:2rem;padding:0!important;margin:0 0 1.8rem!important;border-bottom:1px solid var(--linie);overflow-x:auto}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;flex:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:.9rem 0!important;font-size:.7rem;font-weight:450!important;letter-spacing:.22em;text-transform:uppercase;color:var(--leise)!important;border-bottom:1px solid transparent;margin-bottom:-1px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--tinte)!important;border-bottom-color:var(--bordeaux)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:44rem;display:grid;gap:1em}
.woocommerce div.product .woocommerce-tabs .panel>h2:first-child{display:none}
.woocommerce table.shop_attributes{border:0!important}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border:0!important;border-bottom:1px solid var(--linie)!important;background:none!important;padding:.7rem 0!important;font-style:normal!important;text-align:left}
.woocommerce table.shop_attributes th{width:40%;font-weight:450;color:var(--tinte)}

/* Passend dazu */
.woocommerce .related.products,.woocommerce .upsells.products{margin-top:clamp(3rem,7vw,5.5rem);padding-top:clamp(2rem,4vw,3rem);border-top:1px solid var(--linie)}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-size:clamp(1.8rem,3vw,2.4rem);margin-bottom:2rem}

/* Hinweise */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{border:0!important;border-left:2px solid var(--bordeaux)!important;background:var(--papier-2)!important;color:var(--tinte)!important;border-radius:0!important;padding:1rem 1.2rem 1rem 3rem!important;font-size:.95rem}
.woocommerce-message::before,.woocommerce-info::before{color:var(--bordeaux)!important;top:1rem!important}
.woocommerce-error{border-left-color:#A3242E!important}
.woocommerce-message .button,.woocommerce-info .button{padding:.6rem 1rem!important}
@media (max-width:760px){.woocommerce-message .button{float:none!important;display:block;margin:.8rem 0 0!important;text-align:center}}

/* Seitenzahlen */
.woocommerce nav.woocommerce-pagination ul{list-style:none;padding:0;margin:0;border:0!important;display:flex;gap:.4rem;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:inline-block;text-align:center;text-decoration:none;min-width:2.6rem;padding:.7rem!important;border:1px solid var(--linie);font-size:.85rem}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--bordeaux)!important;border-color:var(--bordeaux);color:#FAF4EE!important}

/* Warenkorb und Kasse (Blöcke und klassisch) */
.wc-block-cart,.wc-block-checkout{font-family:var(--sans);color:var(--text)}
.wc-block-components-product-name{font-family:var(--serif);font-size:1.2rem!important;color:var(--tinte)!important;text-decoration:none}
.wc-block-components-product-price,.wc-block-components-totals-item__value,.wc-block-formatted-money-amount{font-variant-numeric:tabular-nums}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:var(--serif);font-size:1.5rem!important;font-weight:400!important;color:var(--tinte)}
.wc-block-cart__totals-title,.wc-block-components-checkout-step__title,.wc-block-components-title{font-family:var(--sans)!important;font-size:.72rem!important;font-weight:450!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:var(--bordeaux)!important}
.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input,.wc-block-components-select select,.wc-blocks-components-select__select,.wc-block-components-textarea{border-radius:0!important;border-color:var(--linie)!important;background:transparent!important;color:var(--tinte)!important}
.wc-block-components-text-input.is-active input,.wc-block-components-text-input input:focus{border-color:var(--bordeaux)!important;box-shadow:none!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{border-radius:0!important;border-color:var(--tinte)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--bordeaux)!important;border-color:var(--bordeaux)!important}
.wc-block-components-radio-control__input:checked{border-color:var(--bordeaux)!important}
.wc-block-components-radio-control__input:checked::before{background:var(--bordeaux)!important}
.wc-block-components-quantity-selector{border-radius:0!important}
.wc-block-components-quantity-selector::after{border-radius:0!important;border-color:var(--linie)!important}
.wc-block-components-sidebar-layout .wc-block-components-main{min-width:0}
.wc-block-cart-items__header{font-size:.68rem!important;letter-spacing:.2em;color:var(--leise)}
.woocommerce table.shop_table{border:0!important;border-radius:0!important;border-collapse:collapse!important}
.woocommerce table.shop_table th{font-size:.7rem;font-weight:450;letter-spacing:.2em;text-transform:uppercase;color:var(--tinte)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-top:1px solid var(--linie)!important;padding:1rem .6rem!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection--single{font:inherit;border:1px solid var(--linie)!important;border-radius:0!important;background:transparent!important;padding:.75rem .9rem!important;color:var(--tinte)}
.woocommerce form .form-row label{font-size:.78rem;letter-spacing:.06em;color:var(--tinte)}
.woocommerce-checkout #payment{background:var(--papier-2)!important;border-radius:0!important}
.nekrep-alter{margin-bottom:1rem!important}

/* Mein Konto */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--linie)}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:.85rem 0;border-bottom:1px solid var(--linie);text-decoration:none;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:var(--bordeaux)}

/* Startseite: Produktauswahl im Shop-Band und Links in den Shop */
.zuhause .wrap.start-produkte{display:block;padding-top:0;padding-bottom:clamp(3rem,6vw,5rem)}
.zuhause .start-produkte .woocommerce ul.products{margin:0}
.zuhause .start-produkte ul.products li.product a img{background:var(--papier)}
.linie h3 a,.sorten dt a{text-decoration:none;background-image:linear-gradient(var(--bordeaux),var(--bordeaux));background-size:0 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .3s,color .3s}
.linie h3 a:hover,.sorten dt a:hover{color:var(--bordeaux);background-size:100% 1px}

/* Shop-Vorpremiere */
.vorschau-band{display:grid;grid-template-columns:auto 1fr;gap:.6rem 2rem;align-items:baseline;margin:0 0 2.6rem;padding:1.4rem 1.6rem;border-top:1px solid var(--bordeaux);border-bottom:1px solid var(--linie);background:var(--papier-2)}
.vorschau-band p{margin:0;font-family:var(--serif);font-size:1.2rem;line-height:1.5;color:var(--text)}
.vorschau-band strong{font-weight:500;color:var(--tinte)}
.vorschau-marke{position:absolute;top:.8rem;left:.8rem;z-index:2;font-family:var(--sans);font-size:.6rem;font-weight:450;letter-spacing:.24em;text-transform:uppercase;color:var(--bordeaux);background:rgba(247,243,236,.92);border:1px solid var(--bordeaux);padding:.35rem .6rem}
.woocommerce ul.products li.product{position:relative}
.vorschau-hinweis{margin:0 0 1.6rem;padding:1.2rem 1.3rem;border-left:2px solid var(--bordeaux);background:var(--papier-2)}
.vorschau-hinweis .rubrik{display:block;margin-bottom:.5rem}
.vorschau-hinweis p{margin:0 0 .5rem;font-size:.9rem;line-height:1.6;color:var(--text)}
.vorschau-hinweis p:last-child{margin-bottom:0}
.vorschau-hinweis a{color:var(--bordeaux)}
@media (max-width:700px){.vorschau-band{grid-template-columns:1fr;padding:1.1rem 1.1rem}.vorschau-band p{font-size:1.08rem}}
/* Eckdaten in der Produktbeschreibung */
.eckdaten{list-style:none;padding:1rem 0 0!important;margin:1.2rem 0 0!important;border-top:1px solid var(--linie);font-size:.9rem}
.eckdaten li{padding:.2rem 0;margin:0}

/* 6er-Karton und Geschenkideen */
.karton{margin:0 0 1.6rem;padding:1rem 1.2rem;background:var(--papier-2);border-left:2px solid var(--bordeaux)}
.karton p{margin:.5rem 0 0;font-size:.92rem}.karton b{font-weight:500;color:var(--tinte)}.karton-tipp a{color:var(--bordeaux)}
.karton-balken{height:6px;background:#fff;border:1px solid var(--linie)}.karton-balken span{display:block;height:100%;background:var(--bordeaux)}
.karton.voll{border-left-color:#3F6B3A}.karton.voll .karton-balken span{background:#3F6B3A}
.versand-zeile{margin:-1.4rem 0 2rem;font-size:.85rem;letter-spacing:.02em;color:var(--leise)}.versand-zeile a{color:var(--bordeaux)}
.kategorien a.geschenk-link:not([aria-current]){border-color:var(--bordeaux);color:var(--bordeaux)}
/* ganze Flaschen auch im Warenkorb */
.woocommerce td.product-thumbnail img,.woocommerce-mini-cart img,.wc-block-cart-item__image img{height:auto!important;object-fit:contain}

.shop-bild{margin:0 0 clamp(2rem,4vw,3rem);aspect-ratio:12/5;overflow:hidden;background:var(--papier-2)}
.shop-bild img{width:100%;height:100%;object-fit:cover;object-position:65% 50%;display:block}
@media (max-width:760px){.shop-bild{aspect-ratio:4/3}}

/* E-Label: Zutaten und Nährwerte */
.elabel{display:flex;align-items:center;gap:1rem;margin:1.6rem 0;padding:1rem 1.2rem;border:1px solid var(--linie);background:var(--papier-2)}
.elabel-qr img{display:block;width:84px;height:84px;background:#fff;padding:4px}
.elabel-text{display:grid;gap:.35rem}
.elabel-link{color:var(--bordeaux);text-decoration:underline;text-underline-offset:3px}
