/*
Theme Name: Hugenberg
Theme URI: 
Author: dmms.de
Description: Custom Theme für Hugenberg WooCommerce Shop
Version: 1.0.0
Text Domain: hugenberg
*/



*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* Suche im Header ausblenden */
.header-search {
    display: none !important;
}

.site-header {
    position: fixed;          /* statt relative */
    top: 20px;
    left: 0;
    width: 100%;
    border-bottom: none;         /* Linie entfernen */
    z-index: 100;
    
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* max-width: 1440px; */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);  /* halbtransparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0 auto;
    padding: 0 40px;
    padding-top: 0px;
    height: 40px;                /* etwas schlanker */
}

/* Linke Navigation */
.header-nav--left {
    flex: 1;
}

.header-nav--left .nav-menu {
    display: flex;
    gap: 32px;
}

.header-nav--left .nav-menu a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #111;
    transition: opacity 0.2s ease;
}

.header-nav--left .nav-menu a:hover {
    opacity: 0.6;
}

/* Logo */
.site-logo {
    flex: 0 0 auto;
    text-align: center;
}

.site-logo a {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: #111;
    padding-left: 0.55em; /* Ausgleich für letter-spacing */
}

/* Rechte Actions */
.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.header-actions a,
.header-actions button {
    font-size: 13px;
    font-weight: 400;
    color: #111;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header-actions a:hover,
.header-actions button:hover {
    opacity: 0.6;
}

.header-cart {
    position: relative;
}

.cart-count {
    font-size: 12px;
}

/* ==========================================================================
   Responsive (erste Basis)
   ========================================================================== */

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        height: 60px;
    }

    .header-nav--left {
        display: none; /* Später Mobile-Menü */
    }

    .site-logo a {
        font-size: 13px;
        letter-spacing: 0.4em;
    }

    .header-actions {
        gap: 18px;
    }
}

/* Icons */
.header-search svg,
.header-cart svg {
    display: block;
    width: 18px;
    height: 18px;
}

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 10px;
    font-weight: 500;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #111;
    color: #fff;
    border-radius: 50%;
}

/* ==========================================================================
   Burger & Mobile Menu
   ========================================================================== */

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background-color: #111;
    transition: all 0.25s ease;
}


/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: flex-start;          /* statt center */
    justify-content: center;
    padding-top: 12vh;                /* Abstand von oben – hier kannst du feinjustieren */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 150;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    width: 100%;
    text-align: center;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu a {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .header-nav--left {
        display: none;
    }

    .header-account {
        display: none; /* Optional: Sign in auf Mobile ausblenden */
    }

    .header-inner {
        padding: 0 20px;
    }
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;               /* wichtig */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0;
    font-size: 13px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact {
    color: #111;
}

.footer-revocation-btn {
    display: inline-block;
    background: #111;
    color: #fff !important;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    max-width: 170px;
}

.footer-revocation-btn:hover {
    opacity: 0.8;
}

.footer-center {
    flex: 1;
    text-align: center;
    padding-top: 4px;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-right a {
    color: #111;
    transition: opacity 0.2s ease;
}

.footer-right a:hover {
    opacity: 0.6;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #111;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        gap: 24px;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
    }
}


/* ==========================================================================
   Allgemeine Section & Container
   ========================================================================== */

.section {
    padding: 60px 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}


/* ==========================================================================
   Produkte Grid (4er Reihe) – full width
   ========================================================================== */
.products-grid--first {

    margin-bottom: 40px !important;
    padding-bottom: 0 !important;
}

.products-grid {
    padding: 20px 0;
}

.products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product-card a {
    display: block;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f7f7f7;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
    padding: 0 8px;
}

.product-price {
    font-size: 13px;
    color: #555;
    padding: 0 8px;
}

/* 2er Reihe (Schals) */
.products-row--two {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 768px) {
    .products-row--two {
        grid-template-columns: 1fr;
    }
}

/* Produktkarte – Swatches nur bei Hover */
.product-card {
    position: relative;
}

.product-card-swatches {
    display: flex;
    gap: 5px;
    padding: 8px 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-card:hover .product-card-swatches {
    opacity: 1;
    visibility: visible;
}

.product-card-swatch {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.15);
    background-color: #ccc;
    transition: transform 0.2s ease;
}

.product-card-swatch:hover {
    transform: scale(1.15);
}

/* Mehr Abstand nach der ersten Produktreihe */
.products-grid:not(.products-grid--two) {
    padding-bottom: 20px;
}

.products-grid--two {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* 2er Produktreihe – Bildhöhe begrenzen */
.products-row--two .product-image {
    aspect-ratio: auto;
    height: 55vh;               /* gleiche Höhe wie die Show-Bilder 1/2 */
    min-height: 400px;
    max-height: 550px;          /* Sicherheitsgrenze */
}

.products-row--two .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}


/* ==========================================================================
   Show Images
   ========================================================================== */

.show-images {
    padding: 0;
}

.show-grid {
    display: grid;
    gap: 8px;                  /* kleiner Spalt zwischen den Bildern */
}

.show-grid--2-1 {
    grid-template-columns: 2fr 1fr;
}

.show-grid--1-1 {
    grid-template-columns: 1fr 1fr;
}

.show-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.show-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Höhe der Show-Bilder steuern */
.show-grid--2-1 .show-item {
    height: 70vh;
    min-height: 480px;
}

.show-grid--1-1 .show-item {
    height: 55vh;
    min-height: 400px;
}

/* ==========================================================================
   Textbereich
   ========================================================================== */

.text-section {
    padding: 80px 0 100px;
}

.text-content {
    max-width: 680px;
    margin: 0;                    /* kein auto mehr → nicht zentriert */
    padding-left: 40px;           /* gleicher Abstand wie der Header-Innenabstand */
    text-align: left;
}

.text-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.4em;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .text-content {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    .text-content p {
        font-size: 15px;
    }
}
/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .products-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .show-grid--2-1 {
        grid-template-columns: 1fr;
    }

    .show-grid--2-1 .show-item {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 40px 0;
    }

    .products-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .product-title {
        font-size: 13px;
    }

    .product-price {
        font-size: 12px;
    }

    .show-grid--1-1 {
        grid-template-columns: 1fr;
    }

    .show-grid--1-1 .show-item {
        height: 45vh;
    }

    .text-section {
        padding: 60px 0;
    }

    .text-content p {
        font-size: 15px;
    }
}


/* ==========================================================================
   Normale Seiten (page.php)
   ========================================================================== */

.page-header {
    padding: 140px 0 40px;       /* Platz für den fixed Header */
    text-align: left;
}

.page-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

.page-content {
    padding-top: 20px;
    padding-bottom: 80px;
}

.content-inner {
    max-width: 720px;
}

.content-inner p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.4em;
    color: #333;
}

.content-inner h2 {
    font-size: 20px;
    font-weight: 400;
    margin: 2em 0 0.8em;
}

.content-inner ul,
.content-inner ol {
    margin-bottom: 1.4em;
    padding-left: 1.2em;
}

.content-inner li {
    margin-bottom: 0.4em;
}

/* Mobile */
@media (max-width: 768px) {
    .page-header {
        padding: 110px 0 30px;
    }

    .page-title {
        font-size: 24px;
    }

    .content-inner {
        max-width: 100%;
    }
}


/* ==========================================================================
   Produktdetailseite
   ========================================================================== */

.product-page {
    padding-top: 80px; /* Platz für fixed Header */
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

/* Galerie links */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Rechte Seite */
.product-summary {
    padding-top: 10px;
}

/* Accordion */
.product-accordion {
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111;
}

.accordion-header::after {
    content: "+";
    font-size: 18px;
    transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-header::after {
    content: "−";
}

.accordion-content {
    display: none;
    padding-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.accordion-item.is-open .accordion-content {
    display: block;
}

.accordion-item.is-open .accordion-content {
    display: block !important;
}

/* Responsive */
@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px 60px;
    }

    .product-gallery {
        position: static;
    }
}

/* Mehr Luft im Summary-Bereich */
.product-summary .product_title {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 12px;
}

.product-summary .price {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-summary .woocommerce-product-details__short-description,
.product-summary .product_meta,
.product-summary .variations,
.product-summary .quantity,
.product-summary .single_add_to_cart_button {
    margin-bottom: 18px;
}

/* Warenkorb-Button schwarz */
.single_add_to_cart_button,
.product-summary .button {
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 13px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.single_add_to_cart_button:hover,
.product-summary .button:hover {
    opacity: 0.8;
    background-color: #111 !important;
}

/* Menge nur im Warenkorb, nicht auf der Produktdetailseite */

.single-product .quantity,
.product-summary .quantity {
    display: none !important;
}


/* ==========================================================================
   Produktgalerie – gestapelt, scrollbar
   ========================================================================== */

/* Galerie links – Bilder untereinander, Seite scrollt */
.product-gallery {
    position: static;
    max-height: none;
    overflow: visible;
}

.product-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-gallery-item,
.product-main-image {
    width: 100%;
}

.product-gallery-item img,
.product-main-image img {
    width: 100%;
    height: auto;
    display: block;

}

.product-thumbnails {
    display: none !important;
}

/* Rechte Spalte bleibt beim Scrollen stehen */
.product-summary {
    position: sticky;
    top: 90px;
    align-self: start;
}


/* Ergänzung mobile Darstellung */

.gallery-nav {
    display: none;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr 1fr; /* bleibt zweispaltig */
        gap: 32px;
        padding: 30px 20px 60px;
    }

    .gallery-nav {
        display: none !important;
    }
}

@media (max-width: 500px) {
   
    .product-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .product-summary,
    .product-summary.woocommerce-summary {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }

    .product-gallery {
        width: 100% !important;
    }

    .gallery-nav {
        display: flex !important;
        justify-content: space-between;
        position: absolute;
        top: 40%;
        left: 10px;
        right: 10px;
        transform: translateY(-50%);
        z-index: 5;
        pointer-events: none;
    }

    .gallery-prev,
    .gallery-next {
        pointer-events: auto;
        width: 36px;
        height: 36px;
        border: none;
        background: rgba(255,255,255,0.8);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }
}


/* ==========================================================================
   Color Swatches
   ========================================================================== */

.variations {
    margin-top: 20px !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

/* „Farbe“-Label ausblenden */
.variations td.label,
.variations .label {
    display: none !important;
}

.variations tr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.variations td.value {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.variable-items-wrapper.color-variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.color-variable-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    line-height: 0;
}

.color-variable-item .variable-item-span-color {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.color-variable-item.selected .variable-item-span-color,
.color-variable-item[aria-checked="true"] .variable-item-span-color {
    outline: 1px solid #111;
    outline-offset: 2px;
}

/* Farbname rechts neben den Feldern */
.selected-color-name {
    font-size: 13px;
    color: #111;
    min-width: 70px;
}

.reset_variations {
    display: none !important;
}

.color-variable-item.selected .variable-item-span-color::before,
.color-variable-item.selected .variable-item-span-color::after,
.color-variable-item[aria-checked="true"] .variable-item-span-color::before,
.color-variable-item[aria-checked="true"] .variable-item-span-color::after,
.color-variable-item.selected .variable-item-contents::before,
.woo-variation-swatches .variable-item.selected .tick,
.woo-variation-swatches .variable-item.selected .tick-svg {
    display: none !important;
    content: none !important;
    background: none !important;
}


@media (max-width: 1024px) {
    .product-card-swatches {
        display: none !important;
    }
}


/* ==========================================================================
   Warenkorb
   ========================================================================== */

body.woocommerce-cart .content-inner,
body.woocommerce-cart .page-content,
body.woocommerce-cart .site-main {
    max-width: 880px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-cart .page-header {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

body.woocommerce-cart .coupon {
    display: none !important;
}

/* Jedes Bild im Warenkorb klein */
body.woocommerce-cart .woocommerce img,
body.woocommerce-cart table.cart img,
body.woocommerce-cart td.product-thumbnail img {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
    aspect-ratio: auto !important;
}

body.woocommerce-cart table.shop_table thead {
    display: none !important;
}

body.woocommerce-cart .cart_totals tr {
    display: flex !important;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 12px;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    display: block !important;
    padding: 0 !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart a.checkout-button {
    display: inline-block !important;
    background: #111 !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px !important;
}

body.woocommerce-cart .cart_totals .shop_table {
    padding: 20px;
}

/* ==========================================================================
   Kasse
   ========================================================================== */

body.woocommerce-checkout .content-inner,
body.woocommerce-checkout .page-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 960px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 12px;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
    white-space: nowrap;
}

body.woocommerce-checkout .wc-block-components-totals-item__description {
    flex: 1 1 100%;
    white-space: normal !important;
    overflow: visible !important;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.wc-block-components-sidebar {
    box-sizing: border-box;
    padding-left: 0px;
    width: 35%;
}

@media (max-width: 700px) {
    .wc-block-components-sidebar {
        width: 100%;
        padding-left: 0;
    }
}


/* Kategoriepages */
.category-page .page-header {
    padding-top: 120px;
    padding-bottom: 20px;
}

.category-page .page-header,
.category-page .products-grid {
    padding-left: 40px;
    padding-right: 40px;
}

.category-page .products-row {
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .category-page .page-header,
    .category-page .products-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Kategoriepages Ende */

body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-border {
    border-color: #ddd !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
    border-color: #bbb !important;
    outline: none;
    box-shadow: none !important;
}


/* ==========================================================================
   Mein Konto / Login
   ========================================================================== */

body.woocommerce-account .site-main,
body.woocommerce-account .page-content,
body.woocommerce-account .content-inner,
body.woocommerce-account .woocommerce {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce-account .page-header {
    padding-top: 120px;
}

body.woocommerce-account h1,
body.woocommerce-account h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 28px;
}

body.woocommerce-account form {
    max-width: 420px;
}

body.woocommerce-account input.input-text,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    margin-bottom: 14px;
}

body.woocommerce-account input:focus {
    border-color: #bbb;
    outline: none;
    box-shadow: none;
}

body.woocommerce-account .button,
body.woocommerce-account button[type="submit"] {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.woocommerce-account label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

body.woocommerce-account .woocommerce-form-login__rememberme,
body.woocommerce-account .lost_password {
    font-size: 13px;
    margin-top: 12px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 32px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    font-size: 13px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    font-weight: 500;
}


/* BurgerMmneu */

.mobile-close {
    display: none;
}

@media (max-width: 768px) {
    .mobile-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
        background: none;
        border: none;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        z-index: 201;
    }

    .mobile-nav-extra {
        margin-top: 36px;
        padding-top: 28px;
        border-top: 1px solid rgba(0,0,0,0.12);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-nav-extra a {
        font-size: 18px;
        color: #444;
    }

    /* Burger wird zum X wenn offen */
    .burger.is-open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .burger.is-open span:nth-child(2) {
        opacity: 0;
    }
    .burger.is-open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .mobile-menu {
        align-items: flex-start;
        padding-top: 72px;
        padding-bottom: 24px;
        overflow-y: auto;
    }

    .mobile-nav-menu,
    .mobile-nav-extra {
        gap: 18px;
    }

    .mobile-nav-menu a {
        font-size: 18px;
    }

    .mobile-nav-extra {
        margin-top: 24px;
        padding-top: 20px;
    }

    .mobile-nav-extra a {
        font-size: 18px;
    }

}


.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
    content: "Gesamtsumme";
    font-size: 16px;
    color: #111;
}

.wc-block-components-totals-footer-item-tax::after {
    content: " (19% MwSt)";
}

.wc-block-components-totals-footer-item-tax {
    font-size: 12px !important;
    color: #666;
}

.wc-block-components-totals-footer-item-tax::after {
    content: " (19% MwSt)";
    font-size: 12px;
}


/* Block-Cart: englische Labels ersetzen */
.wc-block-cart-items__header-image span,
.wc-block-cart-items__header-product span,
.wc-block-cart-items__header-total span {
    font-size: 0 !important;
}
.wc-block-cart-items__header-product span::after { content: "Produkt"; font-size: 11px; color: #888; }
.wc-block-cart-items__header-total span::after { content: "Summe"; font-size: 11px; color: #888; }

.wp-block-woocommerce-cart-order-summary-block h2,
.wc-block-cart-order-summary__title {
    font-size: 0 !important;
}
.wp-block-woocommerce-cart-order-summary-block h2::after,
.wc-block-cart-order-summary__title::after {
    content: "Warenkorb-Summe";
    font-size: 16px;
    color: #111;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 0 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
    content: "Gesamtsumme";
    font-size: 16px;
    color: #111;
}

.wc-block-components-totals-item__description {
    font-size: 0 !important;
}
.wc-block-components-totals-item__description::after {
    content: "Versand wird an der Kasse berechnet";
    font-size: 13px;
    color: #666;
}

.wc-block-cart__submit .wc-block-components-button__text {
    font-size: 0 !important;
}
.wc-block-cart__submit .wc-block-components-button__text::after {
    content: "Weiter zur Kasse";
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}


.wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item__label,
.wc-block-components-totals-item.wc-block-components-totals-subtotal .wc-block-components-totals-item__label {
    font-size: 0 !important;
}
.wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item__label::after,
.wc-block-components-totals-item.wc-block-components-totals-subtotal .wc-block-components-totals-item__label::after {
    content: "Zwischensumme";
    font-size: 14px;
    color: #111;
}

.wp-block-woocommerce-cart-order-summary-taxes-block .wc-block-components-totals-item__label,
.wc-block-components-totals-item.wc-block-components-totals-taxes .wc-block-components-totals-item__label {
    font-size: 0 !important;
}
.wp-block-woocommerce-cart-order-summary-taxes-block .wc-block-components-totals-item__label::after,
.wc-block-components-totals-item.wc-block-components-totals-taxes .wc-block-components-totals-item__label::after {
    content: "MwSt.";
    font-size: 14px;
    color: #111;
}

/* Kasse: englische Block-Texte */
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title {
    font-size: 0 !important;
}
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title::after,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title::after {
    content: "Kontaktinformationen";
    font-size: 18px;
    color: #111;
}

.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title::after {
    content: "Lieferadresse";
    font-size: 18px;
    color: #111;
}

.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title::after {
    content: "Versandoptionen";
    font-size: 18px;
    color: #111;
}

.wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title::after {
    content: "Zahlungsoptionen";
    font-size: 18px;
    color: #111;
}

.wc-block-checkout__add-note-button,
.wc-block-checkout__add-note span {
    font-size: 0 !important;
}
.wc-block-checkout__add-note-button::after,
.wc-block-checkout__add-note span::after {
    content: "Einen Hinweis zur Bestellung hinzufügen";
    font-size: 14px;
    color: #111;
}

.wp-block-woocommerce-checkout-order-summary-block h2 {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-block h2::after {
    content: "Bestellübersicht";
    font-size: 16px;
    color: #111;
}

.wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-item__label {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-item__label::after {
    content: "Zwischensumme";
    font-size: 14px;
    color: #111;
}

.wc-block-checkout__use-address-for-billing span,
.wc-block-components-checkbox__label {
    /* zu grob – nur wenn nötig */
}

.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title::after {
    content: "Rechnungsadresse";
    font-size: 18px;
    color: #111;
}

label[for*="use-same-address"],
.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label {
    font-size: 0 !important;
}
label[for*="use-same-address"]::after,
.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label::after {
    content: "Gleiche Adresse für die Rechnung verwenden";
    font-size: 14px;
    color: #111;
}


.wc-block-components-checkout-step__description,
.wc-block-checkout__guest-checkout-notice,
.wc-block-components-notice-banner__content {
    /* Gast-Hinweis gezielt: */
}

.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__description {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__description::after {
    content: "Du bestellst gerade als Gast.";
    font-size: 13px;
    color: #666;
}

.wc-block-components-checkbox[for*="create-account"] .wc-block-components-checkbox__label,
label[for*="create-account"] {
    font-size: 0 !important;
}
.wc-block-components-checkbox[for*="create-account"] .wc-block-components-checkbox__label::after,
label[for*="create-account"]::after {
    content: "Konto bei Hugenberg Shop erstellen";
    font-size: 14px;
    color: #111;
}

.wc-block-components-combobox .wc-blocks-components-select .components-input-control__label,
#shipping-country + label,
.wc-block-components-state-input label {
    /* Land-Feld */
}

.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__container p,
.wc-block-checkout__shipping-option .wc-block-components-notice-banner__content {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__container p::after,
.wc-block-checkout__shipping-option .wc-block-components-notice-banner__content::after {
    content: "Gib eine Lieferadresse ein, um Versandoptionen zu sehen.";
    font-size: 14px;
    color: #666;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
.wp-block-woocommerce-checkout-order-summary-block h2 {
    font-size: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title::after,
.wp-block-woocommerce-checkout-order-summary-block h2::after {
    content: "Bestellübersicht";
    font-size: 16px;
    color: #111;
}

.wc-block-components-totals-item__description {
    display: none !important;
}

.wc-block-components-totals-item__description::after {
    content: none !important;
}