/*
 Theme Name:   Watts and Grams
 Description:  Child-Theme für Twenty Twenty-Five
 Template:     twentytwentyfive
 Text Domain:  wattsandgrams
*/
.current-menu-item {
  font-weight: 700; /*Active state*/
}
.wp-block-navigation__responsive-dialog {
  padding-left: 24px; /*Mobile Menü*/
}
.wp-block-navigation__responsive-container-close {
  margin: 12px; /*Close-Icon im mobile Menü*/
}
/* Normale ungeordnete Listen anpassen */
ul.ul1 {
  padding: 8px;
}
ul li.li1 {
  list-style-type: none;      /* Standardpunkte entfernen */
  position: relative;
  padding-left: 16px;        /* Platz für den Strich schaffen */
}
ul li.li1::before {
  content: "–";               /* Hier den Strich einfügen */
  position: absolute;
  left: 0;  
}
.wp-block-video video {
  border-radius: 12px; /*Border-Radius für Videos*/
}
:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill) {
  border-radius: 9999px; /* Pill für Variables Produkt */
}
.wc-block-components-product-metadata__description {
  display: none; /* Entfernt die Description im Warenkorb */
}
.wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax {
  font-weight: 400; /* Schriftschnitt für Steuern */
}
.wp-element-button.wc-block-components-button {
  border-radius: 9999px; /* Button-Radius */
}
.wp-block-button .wp-block-button__link:hover {
  background-color: #404040; /* Hover-State-Farbe Buttons */
}
.wc-block-cart-item__image img, .woocommerce div.product div.images img {
  border-radius: 6px; /* Border-Radius für Bilder im Warenkorb + Produktseite */
}
.woocommerce-cart .wp-block-post-title {
  max-width: var(--wp--style--global--wide-size); /* Warenkorb-Titel links ausgerichtet */
}
.wc-block-mini-cart__footer-actions .wc-gzd-block-mini-cart-notices .wc-gzd-block-mini-cart-notices__notice-wrap {
  font-size: 12px; /*Font-size inkl. MwSt. zzgl. Versandkosten* in seitlichem Warenkorb*/
  color:#404040;
}
.wc-block-cart__main .wc-block-components-product-details__name{
  font-weight: 400; /*Warenkorb font-weight Anpassung*/
}
.wc-block-components-product-details__name, .wc-block-components-product-details__value {
  color: #404040; /*Warenkorb Farb-Anpassung*/
}
.wc-block-components-product-details *[class*=wc-block-components-product-details__gzd-] .wc-block-components-product-details__value {
  font-size: 12px; /*Kasse Schrifgröße Summary*/
  color: #404040; 
}
.wc-block-components-product-details.wc-block-components-product-details {
  margin: 0; /*Radmodell-Ausgabe in Warenkorb/Checkout*/
}
.wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata {
  font-size: 12px; /*Font-Size Order-Summary Lieferzeit etc.*/
}
.price_base {
  align-items: baseline; /*inkl. MwSt. baseline mit Preis*/
}
.woocommerce table.shop_attributes td {
  font-style: normal;
}
.footer-links a {
  text-decoration: none; /* Individuelle Links im Footer */
}
.footer-links a:hover {
  text-decoration: underline;
}
/* Jede Produktkarte als Flexbox */
.wc-block-product {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Produkt-Titel: auf max. 2 Zeilen begrenzen */
.wc-block-product .wp-block-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;          /* max. 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.5em;              /* Platz für 2 Zeilen reservieren */
  margin-bottom: 0.5rem;
}
/* Preis direkt unter dem Titel, immer gleiche Höhe */
.wc-block-product .wp-block-woocommerce-product-price {
  margin-bottom: 1rem;
}
/* Button bleibt unten */
.wc-block-product .wp-block-woocommerce-product-button {
  margin-top: auto;
}
.wp-block-button__link.wp-element-button {
  display: flex;
  gap: 6px;
  align-items: self-start;
}
/*1-col mobile Layout Shop-Seite*/
@media (max-width: 640px) {
  .wc-block-product-template__responsive.columns-3 {
  grid-template-columns: 1fr;
  } 
}