/* ==================== WARENKORB BLOCK STYLING ==================== */

/* Titel */
.woocommerce-cart h1.page-title,
.woocommerce-cart .entry-title,
.wp-block-post-title {
    font-family: "Airstrike", sans-serif !important;
    font-size: clamp(40px, 6vw, 80px) !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 5px !important;
    font-weight: 900 !important;
    text-shadow:
        0 0 25px rgba(255, 255, 255, 0.7),
        0 0 50px rgba(255, 255, 255, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    margin-top: 20px !important;
    display: block !important;
}

/* Wrapper für den Block - RAHMEN ENTFERNT */
.wp-block-woocommerce-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Seitlicher Abstand für Warenkorb-Seite */
.woocommerce-cart .page-body {
    padding: 0 40px !important;
    max-width: 1400px;
    margin: 0 auto;
}

.wp-block-woocommerce-cart:hover {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* ==================== LEERER WARENKORB FIXES (CSS ONLY) ==================== */

/* 1. Die ERSTE Überschrift ("Dein Warenkorb ist leer") stylen */
.wp-block-woocommerce-empty-cart-block h2:first-of-type,
.wc-block-cart__empty-cart-block h2:first-of-type,
.wp-block-woocommerce-empty-cart-block .wp-block-heading:first-of-type,
.wc-block-cart__empty-cart-block .wp-block-heading:first-of-type {
    display: block !important;
    font-family: "Airstrike", sans-serif !important;
    font-size: 32px !important;
    color: #fff !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    /* GLOW ENTFERNT */
    margin-bottom: 40px !important;
    text-align: center !important;
    width: 100% !important;
}

/* 2. ALLE WEITEREN Überschriften ("Neu im Shop") AUSBLENDEN */
.wp-block-woocommerce-empty-cart-block h2:nth-of-type(n+2),
.wc-block-cart__empty-cart-block h2:nth-of-type(n+2),
.wp-block-woocommerce-empty-cart-block .wp-block-heading:nth-of-type(n+2),
.wc-block-cart__empty-cart-block .wp-block-heading:nth-of-type(n+2) {
    display: none !important;
}

/* 3. Verstecke die Separatoren (hr) */
.wp-block-woocommerce-empty-cart-block hr,
.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wc-block-cart__empty-cart-block hr,
.wc-block-cart__empty-cart-block .wp-block-separator {
    display: none !important;
}

/* 4. Verstecke das Produkt-Grid (Neu im Shop Produkte) */
.wp-block-woocommerce-empty-cart-block .wc-block-grid,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
.wc-block-cart__empty-cart-block .wc-block-grid,
.wc-block-cart__empty-cart-block .wp-block-woocommerce-product-new {
    display: none !important;
}

/* 5. Button "Weiter shoppen" stylen */
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wc-block-cart__empty-cart-block .wp-block-button__link {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    font-family: "Airstrike", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    display: inline-block !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
.wc-block-cart__empty-cart-block .wp-block-button__link:hover {
    background: #e0e0e0 !important;
    transform: translateY(-2px) !important;
}

/* Container für den Button zentrieren */
.wp-block-woocommerce-empty-cart-block .wp-block-buttons,
.wc-block-cart__empty-cart-block .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}


/* ==================== GEFÜLLTER WARENKORB STYLING ==================== */

.wc-block-cart-items__header {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: "Airstrike", sans-serif !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wc-block-cart-items__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wc-block-components-product-name {
    font-family: "Airstrike", sans-serif !important;
    font-size: 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.wc-block-components-product-price {
    font-weight: bold !important;
    color: #ffffff !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.wc-block-components-quantity-selector button {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.wc-block-cart__sidebar {
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wc-block-cart__totals-title {
    font-family: "Airstrike", sans-serif !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* Checkout Button Container - Centered */
.wc-block-cart__submit-container {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container a.wc-block-cart__submit-button,
.wc-block-cart__submit-container a.wc-block-components-button {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    font-family: "Airstrike", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin: 0 auto !important;
    text-decoration: none !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container a.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container a.wc-block-components-button:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

/* Cross-Sells unter dem Block */
.cart-cross-sells {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
}

}
/* Unter der Zwischensumme wieder "zzgl. Versandkosten" anzeigen */
.wp-block-woocommerce-cart-order-summary-subtotal-block
.wc-block-components-totals-item__description{
  display: block !important;
  margin-top: 6px;
  font-size: 12px;
  opacity: .8;
}

.wp-block-woocommerce-cart-order-summary-subtotal-block
.wc-block-components-totals-item__description::before{
  content: "zzgl. 6,99€ Versandkostenpauschale";
}
/* Cart: die nervige Textliste "Zwischensumme Versand Rabatte Steuern" ausblenden */
.wp-block-woocommerce-cart-order-summary-totals-block {
  font-size: 0 !important; /* killt nur den Text */
  line-height: 0 !important;
}
/* Cart: §19 Hinweis an gleicher Stelle anzeigen */
.wp-block-woocommerce-cart-order-summary-totals-block::before{
  content: "Kein Mehrwertsteuerausweis gemäß §19 UStG.\A Lieferzeit bis zu 30 Werktage";
  display: block;
  white-space: pre-line;
  font-size: 12px;
  line-height: 1.4;
  opacity: .85;
  margin: 8px 0 0;
}

