/* Bricks Success-Farbe global überschreiben (ONEGENT).
   --bricks-text-success ist ein Bricks-Core-Default (admin.min.css) und nicht in
   der Bricks-UI konfigurierbar → hier per :root-Override gesetzt.
   !important, damit es unabhängig von der CSS-Ladereihenfolge greift. */
:root {
    --bricks-text-success: #0D824D !important;
}

/* WooCommerce Allgemein */
.one-inkl-text {
    font-size: 0.65em;
    text-align: center;
    color: #757575;
    margin-top: 5px;
}

/* WooCommerce Single Product */
.payment-logos {
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

img.mollie-gateway-icon {
    height: 32px !important;
    width: auto !important;
    /* 4:3 bis das Symbol geladen ist, danach das echte Seitenverhältnis (sonst Layout-Verschiebung) */
    aspect-ratio: auto 4 / 3;
    display: inline-block;
    vertical-align: middle;
}

/* Bricks-Slider vor dem Start von Splide: nur den ersten Eintrag in voller Breite zeigen.
   Sonst stehen alle Einträge nebeneinander, brechen um und die Höhe springt, sobald das
   (verzögerte) Skript läuft – auf Alorelia mobil die obere Leiste um 25 px. */
.brxe-slider-nested.splide:not(.is-initialized) .splide__list > :not(:first-child) {
    display: none;
}

.brxe-slider-nested.splide:not(.is-initialized) .splide__list > :first-child {
    flex: 0 0 100%;
    width: 100%;
}

/* WooCommerce Checkout */
.woocommerce-checkout #payment {
    background: #fff;
    border-radius: var(--border-radius-container);
}

.subline-product-variations {
    font-size: 0.8em;
    font-weight: normal;
}

.screen-reader-text{
    color: #000;
}
.hover-zoom-background {
  position: relative;
  overflow: hidden; /* wichtig, damit nichts "überläuft" */
}

.hover-zoom-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit; /* übernimmt dein Hintergrundbild */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .6s ease;
  z-index: 0;
}

.hover-zoom-background:hover::before {
  transform: scale(1.2); /* Zoom-Effekt */
}

.hover-zoom-background > * {
  position: relative;
  z-index: 1; /* damit dein Inhalt über dem Pseudo-Element bleibt */
}

.home-big-icon p{
margin-bottom: 5px;
}

del {
    font-size: 0.8em;
    color: #c00;
}

ins {
    text-decoration: none;
}

.active-bar{
    width: 0;
    height: 8px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    background-color: #fbbd08;
    display: block;
}

form.frm-fluent-form label {
    font-size: 0.8em;
    font-weight: 500;
    margin-top: 1em;
    margin-bottom: 5px;
}

button.ff-btn-submit, p.form-submit input.button{
    border-radius: var(--border-radius-button) !important;
    color: #fff;
    background: var(--bricks-color-khxtul);
    font-weight: 600;
    padding: 15px 20px;
    line-height: 1em;
    border: 0;
}

button.ff-btn-submit:hover{
background: var(--bricks-color-hlkuvc);
}

.white-box {
    border: 1px solid #ddd;
    border-radius: var(--border-radius-container);
    padding: 25px;
    width: 100%;
}

.method-item {
    display: flex;
    flex-direction: row;
    place-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.white-box .method-item:last-of-type{
    border-bottom: 0;
}

table.clean-table{
    border: 0;
    border-collapse: collapse;  
}

table.clean-table thead tr th {
    text-align: left;
    padding: 15px;
}

table.clean-table tbody tr td {
    text-align: left;
    vertical-align: top;
    padding: 15px;
    border-top: 1px solid #ddd;
}

table.clean-table thead tr th.col-first,
table.clean-table tbody tr td.col-first{
  padding-left: 0;
}

table.clean-table thead tr th.col-last,
table.clean-table tbody tr td.col-last{
  padding-right: 0;
  text-align: right;
}

.woocommerce-NoticeGroup-checkout {
    text-align: center;
}

/* Checkout cart error box (unavailable items etc.) */
.woocommerce-checkout .woocommerce {
    min-height: 80vh;
}

/* Nur die eigene Fehlerbox auf der Kasse (templates/cart-errors.php). Bricks
   nutzt dieselbe Klasse im Warenkorb für den - meist leeren - Hinweisbereich;
   ohne die Einschränkung stand dort ein 80 px hoher Leerraum. */
.woocommerce-checkout .before-cart {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    text-align: center;
}

.before-cart .woocommerce-error {
    border-radius: 0 !important;
}

.before-cart .before-cart-back {
    text-align: center;
    margin: 15px 0 0;
}

.before-cart .before-cart-back a.wc-backward {
    display: inline-block;
    background: var(--bricks-color-khxtul, #333);
    color: #fff;
    padding: 10px 25px;
    border-radius: var(--border-radius-button, 5px);
    text-decoration: none;
    transition: opacity 0.2s;
}

.before-cart .before-cart-back a.wc-backward:hover {
    opacity: 0.85;
}

.woocommerce-message {
    outline: 0 !important;
}

.ff-default .ff-el-input--label label {
    color: initial;
}

.bricks-search-overlay .bricks-search-inner {
     padding: 20px;
}

#one-filter-button-wrapper {
    display: none;
}

.one-filter-mobile-button {
    background: var(--bricks-color-khxtul);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius-button);
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1em;
}

.one-filter-mobile-button:hover {
    opacity: 0.9;
}

.one-filter-title {
    font-size: 1em;
    margin-bottom: .5em;
    font-weight: 600;
}

.one-filter-search-container {
    margin-bottom: 1.5em;
}

.one-filter-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.one-filter-search-input, input.one-filter-price-input {
    width: 100%;
    padding: 12px 10px 12px 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1em;
}

.one-filter-price-input:focus, .one-filter-search-input:focus {
    outline: 2px solid var(--bricks-color-khxtul);
    outline-offset: 2px;
}

.one-filter-search-input{
    padding-right: 38px;
}

.one-filter-search-button {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s;
}

.one-filter-search-button:hover {
    color: #0073aa;
}

.one-filter-search-button:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.one-filter-options-box {
    max-height: 300px;
    overflow-y: auto;
}

.one-filter-brands .one-filter-options-box,
.one-filter-categories .one-filter-options-box {
    position: relative;
}

.category-filter-list {
    display: flex;
    flex-direction: column;
}

.category-filter-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #363636;
    margin: 0;
}

.one-filter-title label{
    color: #363636 !important;
}

.category-filter-checkbox {
    margin-right: .5em;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.one-filter-price-container, .one-filter-brands {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
}

label.one-filter-brand-label {
    color: inherit;
    margin-bottom: 0;
}

.one-filter-price-inputs {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.one-filter-price-input-wrapper {
    flex: 1;
}

.one-filter-price-label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 0.5em;
    color: #363636;
}

.one-filter-price-input {
    width: 100%;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.one-filter-price-separator {
    padding-bottom: 0.25em;
    color: #666;
}

button.one-filter-submit-button {
    background: var(--bricks-color-khxtul) !important;
    width: 100%;
    margin-top: 1em;
    text-align: center;
    padding: 12px 6px;
    border-radius: var(--border-radius-button);
    color: #fff;
    font-weight: 600;
}

button.one-filter-reset-button{
    color: #363636 !important;
    border: 1px solid #363636;
    background: transparent !important;
    width: 100%;
    margin-top: 1em;
    text-align: center;
    padding: 12px 6px;
    border-radius: var(--border-radius-button);
    font-weight: 600;
}

button.one-filter-reset-button:hover{
    background: #363636 !important;
    color: #fff !important;
    border-color: #363636 !important;
}

/* Offcanvas Styles */
.one-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.one-filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Loading Overlay Styles */
.one-filter-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.one-filter-loading-overlay.active {
    display: flex;
}

.one-filter-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.one-filter-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: one-filter-spin 1s linear infinite;
    display: block;
}

.one-filter-loader p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

a.one-archive-product-wrapper{
    display: block;
}

ul.one-filter-options-box {
    padding: 0;
    list-style: none;
    margin: 0;
}

span.one-filter-category-count {
    font-size: 0.8em;
    color: #707070;
    margin-left: 5px;
}

.one-filter-category-link.active {
    color: var(--bricks-color-khxtul);
    font-weight: bold;
}

ul.one-filter-options-box-children {
    padding: 0 20px;
    margin: 0;
    list-style: none;
}

.one-filter-breadcrumb {
    display: flex;
    flex-direction: column;
}

h3#order_payment_heading {
    margin-bottom: 10px;
}

.woocommerce-message a, .woocommerce-message button {
    border-radius: var(--border-radius-button) !important;
}

/* Scrolling Header Functions */
@keyframes collapseUp {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

header.scrolling .scroll-to-top-on-scrolling {
    animation: collapseUp 0.3s ease-in-out forwards;
    overflow: hidden;
    height: 0;
}





/* Custom Cart Button Wrapper */
.custom-cart-button-wrapper {
    margin-top: 10px;
    display: block;
    transition: .3s all;
}

a.one-archive-product-wrapper:hover .cat-add-to-cart-btn {
    display: block;
}

/* Add to Cart Button */
.cat-add-to-cart-btn {
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-container) !important;
    height: 40px;
    display: none;
    background: var(--bricks-color-khxtul) !important;
    border-color: var(--bricks-color-khxtul) !important;
    color: #fff !important;
}

.cat-add-to-cart-btn:active {
    transform: translateY(0);
}

.cat-add-to-cart-btn:hover {
    background: var(--bricks-color-hlkuvc) !important;
}

.cat-add-to-cart-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.cat-add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bricks-color-khxtul);
    border-radius: var(--border-radius-container);
}

.qty-btn {
    padding: 0;
    border: 0;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-container);
    height: 40px;
    width: 40px;
}

.qty-btn:hover {
    background-color: var(--bricks-color-hlkuvc) !important;
}

.qty-input {
    flex: 1;
    padding: 0 8px;
    border: 0;
    border-radius: var(--border-radius-container);
    text-align: center;
    font-weight: 600;
    background: transparent !important;
    color: #fff !important;
    height: 40px;
}

.qty-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Input Spinner Buttons verstecken (Chrome, Safari) */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Input Spinner Buttons verstecken (Firefox) */
.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Benachrichtigungen */
.woo-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.woocommerce-cart-form tbody td, .woocommerce-cart-form tbody th[scope=row]{
    padding: 15px 10px;
}

th.woocommerce-product-attributes-item__label {
    padding-right: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.woo-notification-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.woo-notification-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.woo-notification-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

body.woocommerce-order-pay ul.woocommerce-notices-wrapper, body.woocommerce-order-pay ul.woocommerce-error {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

body.woocommerce-order-pay article {
    background: #f7f7f7;
}

body.woocommerce-order-pay ul.woocommerce-error, body.woocommerce-order-pay ul.woocommerce-notices-wrapper {
    margin-top: 40px !important;
}

.eu-owb-form-fields p.woocommerce-info.notice {
    display: block;
}

p.woocommerce-info.notice a.mail-link {
    background: transparent;
    color: inherit;
    border: 0;
}

/* =========================================================
   Germanized Widerrufsformular (Order Withdrawal Request)
   Im Design des Kontaktformulars – greift auf die globalen
   Farben & Radien zu (Button/Border-Radius/Primärfarbe).
   ========================================================= */
.order-withdrawal-request {
    max-width: 800px;
    margin: 0 auto 1em;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius-container, 8px);
    padding: 40px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .order-withdrawal-request {
        padding: 24px;
    }
}

/* Feld-Layout: volle Breite, Vor-/Nachname nebeneinander */
.order-withdrawal-request .eu-owb-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.order-withdrawal-request .form-row {
    flex: 1 1 100%;
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
}

.order-withdrawal-request .eu-owb-order-item-select-wrapper {
    flex: 1 1 100%;
}

/* Leerer Platzhalter (nur befüllt, wenn eine Bestellung gewählt wurde)
   – ausblenden, damit kein doppelter Abstand entsteht */
.order-withdrawal-request .eu-owb-order-item-select-wrapper:empty {
    display: none;
}

.order-withdrawal-request .form-row-first,
.order-withdrawal-request .form-row-last {
    flex: 1 1 calc(50% - 11px);
}

@media (max-width: 600px) {
    .order-withdrawal-request .form-row-first,
    .order-withdrawal-request .form-row-last {
        flex: 1 1 100%;
    }
}

.order-withdrawal-request .clear {
    display: none;
}

/* Labels */
.order-withdrawal-request label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9em;
    font-weight: 400;
    color: #222;
    line-height: 1.3;
}

.order-withdrawal-request label .required {
    color: #e02b2b;
    text-decoration: none;
    border: 0;
}

.order-withdrawal-request label .optional {
    color: #999;
    font-weight: 400;
}

/* Eingabefelder */
.order-withdrawal-request .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.order-withdrawal-request input.input-text,
.order-withdrawal-request select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    font-size: 1em;
    line-height: 1.3;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-button, 6px);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.order-withdrawal-request input.input-text:focus,
.order-withdrawal-request select:focus {
    outline: none;
    border-color: var(--onegent-accent, #1a3d8b);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--onegent-accent, #1a3d8b) 20%, transparent);
}

/* Select2 (Bestellungsauswahl) an das Input-Design angleichen */
.order-withdrawal-request .select2-container .select2-selection--single {
    height: auto;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-button, 6px);
}

.order-withdrawal-request .select2-container--focus .select2-selection--single,
.order-withdrawal-request .select2-container--open .select2-selection--single {
    border-color: var(--onegent-accent, #1a3d8b);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--onegent-accent, #1a3d8b) 20%, transparent);
}

.order-withdrawal-request .select2-selection__rendered {
    line-height: 1.3;
    color: #333;
    padding-left: 6px;
}

.order-withdrawal-request .select2-selection__arrow {
    height: 100%;
}

/* Datenschutz-/Hinweistext */
.order-withdrawal-request .eu-owb-notice-wrapper:not(:empty) {
    margin-bottom: 22px;
}

/* Absenden-Button – im globalen Button-Design */
.order-withdrawal-request .form-row-submit {
    margin-top: 26px;
    padding: 0;
}

.order-withdrawal-request button.woocommerce-form-return_request__submit {
    display: inline-block;
    width: auto;
    margin-top: 1em;
    background: var(--onegent-accent, #1a3d8b);
    color: #fff !important;
    border: none;
    border-radius: var(--border-radius-button, 6px);
    padding: 14px 40px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.order-withdrawal-request button.woocommerce-form-return_request__submit:hover {
    background: color-mix(in srgb, var(--onegent-accent, #1a3d8b) 88%, #000);
    opacity: 0.96;
}

/* ---- Positionsauswahl (Artikel für den Widerruf) ---- */
.order-withdrawal-request .eu-owb-woocommerce-withdrawal-order-details {
    margin: 4px 0 16px;
    font-size: 0.95em;
    color: #555;
}

.order-withdrawal-request .eu-owb-woocommerce-withdrawal-order-details mark {
    background: #f1f1f3;
    color: inherit;
    padding: 1px 6px;
    border-radius: 4px;
}

.order-withdrawal-request .order-withdrawal-manually-select-items-checkbox {
    margin: 0 0 16px;
}

.order-withdrawal-request .order-withdrawal-request-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 4px;
}

.order-withdrawal-request .order-withdrawal-request-items-table th {
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    color: #222;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e5e5;
}

.order-withdrawal-request .order-withdrawal-request-items-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.order-withdrawal-request .order-withdrawal-request-items-table .product-select {
    width: 42px;
}

.order-withdrawal-request a {
    color: inherit;
    text-decoration: underline; /* A11Y (WCAG 1.4.1): Links auch ohne Farbe/Hover als Link erkennbar */
    font-weight: 500;
}

.order-withdrawal-request a:hover {
    text-decoration: none;
}

/* Klassenlose Links in der Germanized-Info-Notice (z. B. „kontaktieren") sind
   per Theme als blauer Button gestylt. Wie der .mail-link-Reset (Z. 697) auf
   einen Inline-Link zurücksetzen — Spezifität 32 überstimmt die Button-Regel. */
.order-withdrawal-request p.woocommerce-info.notice a {
    background: transparent;
    color: inherit;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: underline;
}
.order-withdrawal-request p.woocommerce-info.notice a:hover {
    background: transparent;
    text-decoration: none;
}

.order-withdrawal-request .order-withdrawal-request-items-table .product-name small {
    color: #888;
}

.order-withdrawal-request .order-withdrawal-request-items-table .product-quantity {
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

/* Mengen-Stepper:  [ - ] [ input ] [ + ]  (per flex order neu sortiert) */
.order-withdrawal-request .product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-button, 6px);
    overflow: hidden;
    background: #fff;
    vertical-align: middle;
}

.order-withdrawal-request .product-quantity .quantity input.qty {
    order: 2;
    width: 46px;
    height: 40px;
    padding: 0;
    border: 0;
    text-align: center;
    font-size: 1em;
    color: #333;
    background: transparent;
    -moz-appearance: textfield;
}

.order-withdrawal-request .product-quantity .quantity input.qty:focus {
    outline: none;
}

.order-withdrawal-request .product-quantity .quantity input.qty::-webkit-outer-spin-button,
.order-withdrawal-request .product-quantity .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-withdrawal-request .product-quantity .quantity .action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 40px;
    cursor: pointer;
    color: var(--onegent-accent, #1a3d8b);
    user-select: none;
    transition: background 0.15s ease;
}

.order-withdrawal-request .product-quantity .quantity .action:hover {
    background: color-mix(in srgb, var(--onegent-accent, #1a3d8b) 10%, #fff);
}

.order-withdrawal-request .product-quantity .quantity .action.minus {
    order: 1;
    border-right: 1px solid #eee;
}

.order-withdrawal-request .product-quantity .quantity .action.plus {
    order: 3;
    border-left: 1px solid #eee;
}

.order-withdrawal-request .product-quantity .quantity .action svg {
    width: 16px;
    height: 16px;
}

/* Positionen mit fixer Menge (max = min): Stepper ausblenden,
   nur die Zahl anzeigen – die +/- Buttons hätten keine Funktion. */
.order-withdrawal-request .product-quantity .quantity:has(input[type="hidden"]) {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .qty-input {
        height: 32px;
        font-size: 13px;
    }
}

.single-product-image-wrapper {
    position: relative;
}

/* Hover-Bild (zweites Galerie-Bild als Crossfade) */
.single-product-image-wrapper.has-hover-image .product-image-quadrat,
.single-product-image-wrapper.has-hover-image {
    overflow: hidden;
}

.single-product-image-wrapper.has-hover-image .product-image-quadrat {
    position: relative;
}

.archive-product-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.single-product-image-wrapper.has-hover-image .product-image-quadrat .archive-product-image-secondary {
    object-fit: contain;
}

.one-archive-product-wrapper:hover .archive-product-image-secondary,
.single-product-image-wrapper:hover .archive-product-image-secondary {
    opacity: 1;
}

@media (hover: none) {
    .archive-product-image-secondary {
        display: none;
    }
}

.custom-cart-button-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
    pointer-events: auto !important;
}

.quantity-control {
    pointer-events: auto !important;
}

.cat-add-to-cart-btn.out-of-stock {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: #ccc !important;
}

.qty-btn.qty-max-reached {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: auto !important;
}

.qty-btn.qty-max-reached:hover {
    background-color: transparent !important;
}

.woo-notification-warning {
    background-color: #fff3cd;  /* Gelbes Warning */
}


.product-image-quadrat {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-image-quadrat img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

img.zoomImg {
    background: #fff;
}

p.stock.out-of-stock {
    background: #aa0000;
    text-align: center;
    color: #fff !important;
    padding: 15px;
    font-weight: bold;
    border-radius: var(--border-radius-container);
}

.before-checkout {
    width: 100% !important;
    padding: 0 !important;
}

.before-checkout .woocommerce-info{
	border-radius: 0 !important;
}

.before-checkout .woocommerce-info a{
	border-radius: var(--border-radius-button) !important;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
}

.before-checkout form.login {
    padding: 20px;
}

.before-checkout form.login button{
    background: var(--bricks-color-khxtul);
    color: #fff !important;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

.product-tag {
    background: #cc0000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3em;
}

a.bricks-star-filled:before, .star-rating span:before {
    color: #fbbd08;
}

#reviews .description {
    border: 0;
    margin: 0;
    padding: 0;
}

.comment-text {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: var(--border-radius-container);
}

#reviews .comment-text .star-rating {
    top: 30px;
    right: 30px;
}

#reviews .commentlist li{
    margin-bottom: 15px;
}

.splide__track,
.splide__list {
    contain: layout style;
}

/* #review_form_wrapper sofort verstecken (vor JS, verhindert FOUC) */
#review_form_wrapper {
	display: none !important;
}

/* Sichtbar wenn per Button geöffnet */
#review_form_wrapper.onegent-review-open {
	display: block !important;
}

/* Toggle-Button – passt sich dem Bricks-Theme an */
#onegent-review-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	padding: 12px 20px;
	background: var(--onegent-accent, #007bc2);
	color: #fff;
	border: 0;
	border-radius: var(--border-radius-button, 4px);
	font-weight: 600;
	font-size: 1em;
	line-height: 1em;
	cursor: pointer;
	transition: opacity 0.2s;
}

#onegent-review-toggle-btn:hover {
	opacity: 0.9;
}

@keyframes one-filter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .custom-cart-button-wrapper,
    .quantity-control,
    .cat-add-to-cart-btn {
        display: none !important;
    }

    /* Icon-Stil bleibt auch auf Mobile sichtbar */
    .one-archive-icon-style .archive-icon-actions,
    .one-archive-icon-style .archive-icon-action,
    .one-archive-icon-style .custom-cart-button-wrapper.archive-icon-cart-wrapper,
    .one-archive-icon-style .cat-add-to-cart-btn--icon {
        display: flex !important;
    }
}

/* ===== Archiv: Icon-Stil (Plus + Lupe oben rechts) ===== */
.one-archive-icon-style {
    position: relative;
}

.one-archive-icon-style .archive-icon-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Icons bei Hover des Produkts einblenden */
.one-archive-product-wrapper:hover .one-archive-icon-style .archive-icon-actions,
.one-archive-icon-style:hover .archive-icon-actions,
.one-archive-icon-style:focus-within .archive-icon-actions,
.one-archive-icon-style.is-busy .archive-icon-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Touch-Geräte: kein Hover -> dauerhaft anzeigen */
@media (hover: none) {
    .one-archive-icon-style .archive-icon-actions {
        opacity: 1;
        transform: none;
    }
}

.one-archive-icon-style .archive-icon-cart-wrapper {
    position: static;
    width: auto;
    margin: 0;
    pointer-events: auto !important;
}

.one-archive-icon-style .archive-icon-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--onegent-accent, #000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.one-archive-icon-style .archive-icon-action:hover {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.one-archive-icon-style .archive-icon-action svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Tooltip an den Icon-Buttons */
.one-archive-icon-style .archive-icon-action[data-tooltip] {
    position: relative;
}

.one-archive-icon-style .archive-icon-action[data-tooltip]::before,
.one-archive-icon-style .archive-icon-action[data-tooltip]::after {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    will-change: opacity, transform;
}

.one-archive-icon-style .archive-icon-action[data-tooltip]::before {
    content: attr(data-tooltip);
    top: 50%;
    right: calc(100% + 10px);
    transform: translateY(-50%) translateX(4px);
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    padding: 7px 10px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 11;
}

.one-archive-icon-style .archive-icon-action[data-tooltip]::after {
    content: '';
    top: 50%;
    right: calc(100% + 4px);
    transform: translateY(-50%) translateX(4px);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
    z-index: 11;
}

.one-archive-icon-style .archive-icon-action[data-tooltip]:hover::before,
.one-archive-icon-style .archive-icon-action[data-tooltip]:focus-visible::before,
.one-archive-icon-style .archive-icon-action[data-tooltip]:hover::after,
.one-archive-icon-style .archive-icon-action[data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Während Loading keinen Tooltip anzeigen */
.one-archive-icon-style .cat-add-to-cart-btn--icon.loading::before,
.one-archive-icon-style .cat-add-to-cart-btn--icon.loading::after {
    opacity: 0 !important;
}

/* Touch-Geräte: Tooltips ausblenden */
@media (hover: none) {
    .one-archive-icon-style .archive-icon-action[data-tooltip]::before,
    .one-archive-icon-style .archive-icon-action[data-tooltip]::after {
        display: none;
    }
}

.one-archive-icon-style .cat-add-to-cart-btn--icon {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    background: var(--onegent-accent, #000) !important;
    border-color: var(--onegent-accent, #000) !important;
    color: #fff !important;
    border-radius: 50% !important;
    padding: 0 !important;
}

.one-archive-icon-style .cat-add-to-cart-btn--icon:hover {
    filter: brightness(0.9);
}

.one-archive-icon-style .cat-add-to-cart-btn--icon.out-of-stock {
    background: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.one-archive-icon-style .cat-add-to-cart-btn--icon.cat-add-to-cart-btn--just-added {
    animation: onegent-icon-pulse 0.6s ease;
    background: var(--onegent-accent, #2a8a3f) !important;
    border-color: var(--onegent-accent, #2a8a3f) !important;
}

@keyframes onegent-icon-pulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* Loading-State: Plus-Icon durch rotierendes Refresh-Icon ersetzen */
.one-archive-icon-style .cat-add-to-cart-btn--icon.loading {
    cursor: progress !important;
    opacity: 1 !important;
}

.one-archive-icon-style .cat-add-to-cart-btn--icon.loading .icon-plus {
    display: none;
}

.one-archive-icon-style .cat-add-to-cart-btn--icon .icon-spinner {
    display: none;
    animation: onegent-icon-spin 0.8s linear infinite;
}

.one-archive-icon-style .cat-add-to-cart-btn--icon.loading .icon-spinner {
    display: block;
}

@keyframes onegent-icon-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Desktop: Normal anzeigen */
@media (min-width: 768px) {
    .one-filter-overlay {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {

    #one-filter-button-wrapper {
        display: block;
    }
    .woocommerce-message {
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 1.5em;
        row-gap: 10px;
    }

    /* Mobile: Container als Offcanvas */
    #brxe-mdlnfn {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        box-sizing: border-box;
    }

    #brxe-mdlnfn.active {
        transform: translateX(0);
    }

    #brxe-mdlnfn .one-filter-reset-button {
        margin-bottom: 2em;
    }
    .before-checkout .woocommerce-info{
        flex-flow: column;
    }

    #reviews .comment-text .star-rating{
        position: relative;
        top: unset;
        right: unset;
        margin-bottom: 20px;
    }

    .woocommerce-orders-table span.woocommerce-Price-amount.amount {
        justify-content: right !important;
    }
}

/* Back-in-Stock Notification */
.onegent-bis-wrapper {
    margin-top: 1em;
}

.onegent-bis-form-container {
    background: #f7f7f7;
    border-radius: var(--border-radius-container, 8px);
    padding: 20px;
}

.onegent-bis-title {
    font-weight: 600;
    font-size: 1em;
    margin: 0 0 5px;
}

.onegent-bis-description {
    font-size: 0.85em;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
}

.onegent-bis-input-row {
    display: flex;
    gap: 8px;
}

input.onegent-bis-email {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-button, 4px);
    /* mind. 16px effektiv, damit iOS Safari beim Fokus nicht reinzoomt */
    font-size: 1em;
    line-height: 1.2;
    background: #fff;
}

input.onegent-bis-email:focus {
    outline: 2px solid var(--bricks-color-khxtul, #0073aa);
    outline-offset: 1px;
    border-color: transparent;
}

button.onegent-bis-submit {
    background: var(--bricks-color-khxtul, #0073aa);
    color: #fff;
    border: 0;
    padding: 14px 22px;
    border-radius: var(--border-radius-button, 4px);
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    transition: background 0.2s;
}

button.onegent-bis-submit:hover {
    background: var(--bricks-color-hlkuvc, #005a87);
}

button.onegent-bis-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.onegent-bis-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: var(--border-radius-button, 4px);
    font-size: 0.85em;
    line-height: 1.5;
}

.onegent-bis-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.onegent-bis-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Datenschutz-Checkbox */
.onegent-bis-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 12px;
    font-size: 0.8em;
    color: #555;
    line-height: 1.4;
    cursor: pointer;
}

label.onegent-bis-consent-label span.onegent-cb-visual {
    margin-top: 2px;
}

.onegent-bis-consent-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.onegent-bis-consent-label a {
    color: var(--bricks-color-khxtul, #0073aa);
    text-decoration: underline;
}

.onegent-bis-consent-label a:hover {
    color: var(--bricks-color-hlkuvc, #005a87);
}

/* Honeypot: unsichtbar für echte User */
.onegent-bis-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
    tab-size: 0;
}

.onegent-bis-privacy {
    font-size: 0.75em;
    color: #999;
    margin: 10px 0 0;
    line-height: 1.4;
}

/* Search */
.dgwt-wcas-has-img .dgwt-wcas-sp>*{
display:inline-block !important;
}

.dgwt-wcas-meta{
    text-align: right;
}

/* CLS-Fix: Platz für FiboSearch vorab reservieren */
.dgwt-wcas-search-wrapp {
    min-height: 48px;
    contain: layout;
}

.dgwt-wcas-search-wrapp form,
.dgwt-wcas-sf-wrapp {
    min-height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.dgwt-wcas-search-wrapp input[type="search"] {
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.dgwt-wcas-ico-magnifier, .dgwt-wcas-ico-magnifier-handler, html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon{
	align-content: center;
}

.woocommerce-product-gallery--without-images {
    width: 100% !important;
    display: block;
}


/* Sale badge base */
.onegent-sale-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 9 !important;
    min-width: 56px !important;
    min-height: 56px !important;
    width: 56px !important;
    height: 56px !important;
    padding: 4px !important;
    margin: 0 !important;
    background-color: #e10600 !important;
    color: #fff !important;
    border-radius: 50% !important;
    text-align: center !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.onegent-sale-badge__label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1px;
}
.onegent-sale-badge__percent {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

/* Single product: Bricks Product Gallery */
.brxe-product-gallery {
    position: relative !important;
}
.onegent-sale-badge--gallery {
    top: 12px !important;
    left: unset !important;
    right: 12px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    width: 64px !important;
    height: 64px !important;
    z-index: 100 !important;
    pointer-events: none;
}
.onegent-sale-badge--gallery .onegent-sale-badge__percent {
    font-size: 18px;
}

.woocommerce-billing-fields label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox, .woocommerce-account-fields label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    margin-top: 1.2em;
    letter-spacing: 0;
    font-weight: normal;
}

.woocommerce-checkout #payment .payment_methods img{
	max-width: unset;
}

@media (max-width: 480px) {
    .onegent-bis-input-row {
        flex-direction: column;
    }
	.payment-logos {
		gap: 5px !important;
	}
	.payment-logos img {
		height: 28px !important;
		width: auto !important;
	}
}

/* Checkout: Germanized Checkbox-Placeholder */
#order_review .wc-gzd-checkbox-placeholder p.form-row {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


/* Checkout: "An andere Adresse liefern"-Checkbox */
.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address input {
	position: relative;
	right: unset;
	top: unset;
	transform: unset;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label span.onegent-cb-visual {
	font-size: 0.8em;
}


/* Thank-You-Page: woocommerce_thankyou-Hook-Output im wp_footer.
   Der Hook muss feuern (Tracking-Pixel, Automations, Trusted Shops Trigger).
   Der sichtbare Default-Output (BACS-Bankdaten, Bestelldetails-Tabelle)
   soll nicht doppelt / nach dem Footer erscheinen. <script>-Tags laufen
   trotz display:none (werden beim HTML-Parsing ausgeführt, nicht beim Rendern). */
body.woocommerce-order-received .onegent-thankyou-hook-output {
	display: none;
}

/* Shop-Tabellen: letzte Spalte rechtsbündig (Preise/Beträge) */
table.shop_table tr td:last-of-type {
	text-align: right;
}

/* =========================================================
   Login-Formular auf Dankeseite / Mein-Konto-Seite
   Tritt auf, wenn ein User sich einloggen muss, um seine
   Bestellung zu sehen (Session abgelaufen o. Account-Order
   ohne Login). Standardm\u00e4\u00dfig geht das Formular \u00fcber die volle
   Breite \u2013 hier im Stil der normalen Loginseite als Karte.
   ========================================================= */
body.onegent-order-login-required article#brx-content,
body.onegent-account-login-required article#brx-content {
	padding: 0 20px;
}

body.onegent-order-login-required .woocommerce-info,
body.onegent-order-login-required .woocommerce-form-login,
body.onegent-account-login-required .woocommerce-form-login {
	max-width: 450px;
	margin-left: auto;
	margin-right: auto;
}

body.onegent-order-login-required .woocommerce-info,
body.onegent-account-login-required .woocommerce-info {
	margin-bottom: 1em;
}

body.onegent-order-login-required .woocommerce-form-login,
body.onegent-account-login-required .woocommerce-form-login {
	background-color: #f7f7f7;
	border: 0;
	border-radius: var(--border-radius-container);
	padding: 30px;
}

@media (max-width: 768px) {
	body.onegent-order-login-required .woocommerce-form-login,
	body.onegent-account-login-required .woocommerce-form-login {
		padding: 20px;
	}
}

body.onegent-order-login-required .woocommerce-form-login label,
body.onegent-account-login-required .woocommerce-form-login label {
	font-size: 0.8em;
	font-weight: 400;
	text-transform: none;
}

body.onegent-order-login-required .woocommerce-form-login .form-row,
body.onegent-account-login-required .woocommerce-form-login .form-row {
	width: 100%;
	float: none;
	margin-right: 0;
}

body.onegent-order-login-required .woocommerce-form-login input[type=text],
body.onegent-order-login-required .woocommerce-form-login input[type=email],
body.onegent-order-login-required .woocommerce-form-login input[type=password],
body.onegent-account-login-required .woocommerce-form-login input[type=text],
body.onegent-account-login-required .woocommerce-form-login input[type=email],
body.onegent-account-login-required .woocommerce-form-login input[type=password] {
	width: 100%;
	letter-spacing: 0;
}

body.onegent-order-login-required .woocommerce-form-login button[type=submit],
body.onegent-account-login-required .woocommerce-form-login button[type=submit] {
	width: 100%;
	background: var(--bricks-color-khxtul);
	color: #fff !important;
	border-radius: var(--border-radius-button);
}

body.onegent-order-login-required .woocommerce-form-login p.lost_password,
body.onegent-account-login-required .woocommerce-form-login p.lost_password {
	text-align: center;
	font-size: 0.8em;
}

body.onegent-order-login-required label.woocommerce-form-login__rememberme,
body.onegent-account-login-required label.woocommerce-form-login__rememberme {
	margin-bottom: 1em;
	margin-top: 1em;
}

body.onegent-order-login-required .woocommerce-form-login p.form-row,
body.onegent-account-login-required .woocommerce-form-login p.form-row {
	margin-bottom: 10px;
}

/* =========================================================
   My-Account: Info-Notices (z. B. "Hallo Name", "Keine Bestellungen")
   Links im Notice sollen nicht als Button gerendert werden.
   ========================================================= */
.woocommerce-MyAccount-content .woocommerce-info {
	display: -webkit-inline-box;
}

.woocommerce-MyAccount-content .woocommerce-info a {
	background: transparent !important;
	border: 0;
	color: inherit !important;
	padding: 0;
	margin-left: 5px;
}

/* =========================================================
   Post-Purchase Account-Opt-in (Dankeseite)
   Shortcode: [onegent_post_purchase_account]
   ========================================================= */
.onegent-post-purchase-account {
	--ppa-accent: var(--onegent-accent, #1a3d8b);
	--ppa-radius-container: var(--onegent-border-radius-container, 14px);
	--ppa-radius-button: var(--onegent-border-radius-buttons, 8px);
	position: relative;
	margin: 32px 0;
	padding: 32px;
	border-radius: var(--ppa-radius-container);
	border: 1px solid color-mix(in srgb, var(--ppa-accent) 14%, #e8eaf0);
	background:
		radial-gradient(140% 90% at 100% 0%, color-mix(in srgb, var(--ppa-accent) 14%, transparent) 0%, transparent 55%),
		linear-gradient(135deg, color-mix(in srgb, var(--ppa-accent) 5%, #fff) 0%, #fff 70%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 28px -16px color-mix(in srgb, var(--ppa-accent) 25%, transparent);
	overflow: hidden;
}

.onegent-post-purchase-account .onegent-ppa-content {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.onegent-post-purchase-account .onegent-ppa-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	color: #fff;
	background: var(--ppa-accent);
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--ppa-accent) 50%, transparent);
}

.onegent-post-purchase-account .onegent-ppa-body {
	flex: 1;
	min-width: 0;
}

.onegent-post-purchase-account .onegent-ppa-heading {
	margin: 0 0 6px;
	font-size: 1.35em;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.onegent-post-purchase-account .onegent-ppa-description {
	margin: 0 0 18px;
	color: #555;
	line-height: 1.55;
}

.onegent-post-purchase-account .onegent-ppa-benefits {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 9px;
}

.onegent-post-purchase-account .onegent-ppa-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.95em;
	line-height: 1.45;
}

.onegent-post-purchase-account .onegent-ppa-check {
	flex-shrink: 0;
	margin-top: 2px;
	padding: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: var(--ppa-accent);
	background: color-mix(in srgb, var(--ppa-accent) 14%, transparent);
}

.onegent-post-purchase-account .onegent-ppa-email {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid color-mix(in srgb, var(--ppa-accent) 12%, #e5e7ec);
	font-size: 0.9em;
	max-width: 100%;
}

.onegent-post-purchase-account .onegent-ppa-email-label {
	color: #777;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.onegent-post-purchase-account .onegent-ppa-email-value {
	color: #1a1a1a;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.onegent-post-purchase-account .onegent-ppa-form {
	margin: 0;
}

.onegent-post-purchase-account .onegent-ppa-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	border: 0;
	border-radius: var(--ppa-radius-button);
	background: var(--ppa-accent);
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--ppa-accent) 60%, transparent);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.onegent-post-purchase-account .onegent-ppa-button:hover,
.onegent-post-purchase-account .onegent-ppa-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--ppa-accent) 70%, transparent);
	background: color-mix(in srgb, var(--ppa-accent) 92%, #000);
	color: #fff;
}

.onegent-post-purchase-account .onegent-ppa-button svg {
	transition: transform 0.18s ease;
}

.onegent-post-purchase-account .onegent-ppa-button:hover .onegent-ppa-button-arrow,
.onegent-post-purchase-account .onegent-ppa-button:focus-visible .onegent-ppa-button-arrow {
	transform: translateX(3px);
}

.onegent-post-purchase-account .onegent-ppa-button-spinner {
	display: none;
	animation: onegent-ppa-spin 0.8s linear infinite;
}

.onegent-post-purchase-account .onegent-ppa-button.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.onegent-post-purchase-account .onegent-ppa-button[disabled],
.onegent-post-purchase-account .onegent-ppa-button:disabled {
	background: #c9cdd4;
	color: #fff;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

.onegent-post-purchase-account .onegent-ppa-button[disabled]:hover,
.onegent-post-purchase-account .onegent-ppa-button:disabled:hover {
	background: #c9cdd4;
	transform: none;
	box-shadow: none;
}

.onegent-post-purchase-account .onegent-ppa-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #f7f8fa;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	font-size: 0.9em;
	line-height: 1.5;
	color: #4b5563;
	cursor: pointer;
}

.onegent-post-purchase-account .onegent-ppa-consent-checkbox {
	flex-shrink: 0;
	margin: 2px 0 0;
	width: 18px;
	height: 18px;
	accent-color: var(--ppa-accent);
	cursor: pointer;
}

.onegent-post-purchase-account .onegent-ppa-consent-text a {
	color: var(--ppa-accent);
	text-decoration: underline;
}

.onegent-post-purchase-account .onegent-ppa-consent-text a:hover {
	text-decoration: none;
}

.onegent-post-purchase-account .onegent-ppa-button.is-loading .onegent-ppa-button-arrow {
	display: none;
}

.onegent-post-purchase-account .onegent-ppa-button.is-loading .onegent-ppa-button-spinner {
	display: inline-block;
}

@keyframes onegent-ppa-spin {
	to { transform: rotate(360deg); }
}

.onegent-post-purchase-account .onegent-ppa-hint {
	margin: 16px 0 0;
	font-size: 0.85em;
	color: #777;
	line-height: 1.5;
}

/* Erfolgs-Zustand „Letzter Schritt" -------------------- */
.onegent-post-purchase-account .onegent-ppa-icon--success {
	background: var(--ppa-accent);
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--ppa-accent) 50%, transparent);
}

.onegent-post-purchase-account .onegent-ppa-steps {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
	display: grid;
	gap: 10px;
	counter-reset: ppa-step;
}

.onegent-post-purchase-account .onegent-ppa-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid color-mix(in srgb, var(--ppa-accent) 10%, #e5e7ec);
	border-radius: var(--ppa-radius-button);
	font-size: 0.95em;
}

.onegent-post-purchase-account .onegent-ppa-step-num {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ppa-accent);
	color: #fff;
	font-size: 0.85em;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Inline-Error für AJAX-Fehler ------------------------ */
.onegent-post-purchase-account .onegent-ppa-inline-error {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: var(--ppa-radius-button);
	background: #fdecec;
	border: 1px solid #f1c5c5;
	color: #842029;
	font-size: 0.9em;
}

/* Box-Swap-Transition -------------------------------- */
.onegent-post-purchase-account {
	transition: opacity 0.18s ease;
}

.onegent-post-purchase-account.is-swapping {
	opacity: 0;
}

@keyframes onegent-ppa-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: none; }
}

.onegent-post-purchase-account.is-swapped .onegent-ppa-content,
.onegent-post-purchase-account.is-swapped .onegent-ppa-notice {
	animation: onegent-ppa-fade-in 0.32s ease both;
}

/* Notices (success / info / error) ------------------------- */
.onegent-post-purchase-account .onegent-ppa-notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 20px;
	border-radius: var(--ppa-radius-container);
	border: 1px solid transparent;
	line-height: 1.5;
}

.onegent-post-purchase-account .onegent-ppa-notice-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.onegent-post-purchase-account .onegent-ppa-notice-body { flex: 1; min-width: 0; }
.onegent-post-purchase-account .onegent-ppa-notice-body p { margin: 6px 0 0; }

.onegent-post-purchase-account .onegent-ppa-notice.is-success {
	background: #eef9f1;
	border-color: #c9e7d2;
	color: #1f5132;
}
.onegent-post-purchase-account .onegent-ppa-notice.is-success .onegent-ppa-notice-icon {
	background: #c9e7d2;
	color: #1f7a3e;
}

.onegent-post-purchase-account .onegent-ppa-notice.is-info {
	background: color-mix(in srgb, var(--ppa-accent) 7%, #fff);
	border-color: color-mix(in srgb, var(--ppa-accent) 18%, #fff);
	color: #1a1a1a;
}
.onegent-post-purchase-account .onegent-ppa-notice.is-info .onegent-ppa-notice-icon {
	background: color-mix(in srgb, var(--ppa-accent) 18%, #fff);
	color: var(--ppa-accent);
}

.onegent-post-purchase-account .onegent-ppa-notice.is-error {
	background: #fdecec;
	border-color: #f1c5c5;
	color: #842029;
}
.onegent-post-purchase-account .onegent-ppa-notice.is-error .onegent-ppa-notice-icon {
	background: #f1c5c5;
	color: #b02a37;
}

.onegent-post-purchase-account .onegent-ppa-login-hint {
	margin: 8px 0 0 !important;
	font-size: 0.95em;
}

.onegent-post-purchase-account .onegent-ppa-login-hint a {
	color: var(--ppa-accent);
	font-weight: 600;
	text-decoration: none;
}

.onegent-post-purchase-account .onegent-ppa-login-hint a:hover {
	text-decoration: underline;
}

.woocommerce-orders-table span.woocommerce-Price-amount.amount bdi {
    display: flex;
}

/* Mobile -------------------------------------------------- */
@media (max-width: 600px) {
	.onegent-post-purchase-account {
		padding: 24px 20px;
	}
	.onegent-post-purchase-account .onegent-ppa-content {
		flex-direction: column;
		gap: 14px;
	}
	.onegent-post-purchase-account .onegent-ppa-icon {
		width: 48px;
		height: 48px;
	}
	.onegent-post-purchase-account .onegent-ppa-icon svg {
		width: 24px;
		height: 24px;
	}
	.onegent-post-purchase-account .onegent-ppa-heading {
		font-size: 1.2em;
	}
	.onegent-post-purchase-account .onegent-ppa-button {
		width: 100%;
		justify-content: center;
	}
}

/* Shop-Archiv: Sortier-Select („Sortierung") fett & grau, ohne nativen
   Form-Control-Look — soll wie inline-Text wirken. JS in
   `assets/js/fix-orderby-width.js` setzt die Breite passend zur aktuell
   ausgewählten Option.

   Das gesamte Form-Element wird initial mit `position: absolute` aus dem
   Layout-Fluss genommen UND unsichtbar gemacht. Damit reserviert das Form
   keine Breite im Flex-Parent — sonst würde der Browser zunächst die
   intrinsische Breite (≈ 200 px) reservieren, JS schrumpft danach auf
   ≈ 65 px → Flex-Parent reflowt → sichtbarer Sprung.

   Nach dem JS-Messen wird `.orderby-ready` auf das Form gesetzt → Form geht
   in den normalen Fluss zurück und wird sichtbar — in einem einzigen Schritt
   an der finalen Position.

   Fallback-Animation zeigt das Form nach 800 ms zwangsweise, falls das JS aus
   irgendeinem Grund nicht greift. */
.woocommerce-ordering {
	visibility: hidden;
	position: absolute;
	pointer-events: none;
	animation: onegent-orderby-fallback-show 0s linear 3s forwards;
}

.woocommerce-ordering.orderby-ready {
	visibility: visible;
	position: static;
	pointer-events: auto;
	animation: none;
}

@keyframes onegent-orderby-fallback-show {
	to {
		visibility: visible;
		position: static;
		pointer-events: auto;
	}
}

.woocommerce-ordering select.orderby {
	color: #616161; /* A11Y: ~6,2:1 auf Weiß (WCAG AA ≥ 4,5:1); entspricht --bricks-text-medium */
	font-weight: 600;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.woocommerce-ordering select.orderby:focus {
	outline: none;
	box-shadow: none;
}

/* Im aufgeklappten Dropdown im Browser-Native-UI dürfen die Options ruhig
   normal aussehen — viele Browser ignorieren Styling auf <option> ohnehin. */
.woocommerce-ordering select.orderby option {
	color: #333;
	font-weight: 400;
	background: #fff;
}

/* -------------------------------------------------------------------------
   Header-Menü + separater "SALE %"-Block: stabile Flex-Breite (Anti-Flacker)
   -------------------------------------------------------------------------
   "SALE %" wird auf Desktop über einen eigenen, rechtsbündigen Bricks-Block
   rechts neben dem Menü gelöst (der Menüpunkt .menu-item-sale ist dort per
   Bricks-CSS ausgeblendet, ≤767px erscheint er im Mobile-Menü). Menü-Block
   und SALE-Block liegen als Flex-Geschwister im selben .brxe-container.

   Problem: Ohne feste Breite schrumpft der Menü-Block auf seinen Inhalt.
   priority-nav.js schiebt Punkte ins "Mehr"-Dropdown → Block schrumpft →
   Platz wird frei → Punkte wandern zurück → Block wächst → Überlauf → …
   Der ResizeObserver in priority-nav.js feuert bei jeder Breitenänderung →
   das Menü flackert endlos hin und her und überlappt den SALE-Block.

   Fix: Der Menü-Block füllt die Zeile mit STABILER Breite (flex:1, min-width:0),
   der SALE-Block bleibt nur so breit wie sein Inhalt (flex:0 0 auto). Damit ist
   die Menübreite unabhängig vom Inhalt → kein Feedback-Loop, kein Flackern. Als
   Nebeneffekt wird der schmale SALE-Block ganz nach rechts an die Inhalts- bzw.
   Bildkante gedrückt.

   Nur Desktop (≥768px = Bricks-"mobile_landscape"- bzw. priority-nav-Breakpoint);
   darunter greift das Mobile-Menü, dort ist der SALE-Block nicht aktiv.

   Eng gescoped: nur im <header> UND nur der Block, der die von priority-nav.js
   markierte Leiste (.onegent-prio-nav) enthält. Auf der Seite existieren
   mehrere .brxe-nav-menu (z. B. Footer) — die bleiben unangetastet. Setzt
   voraus, dass der SALE-Block als direktes Flex-Geschwister des Nav-Menü-Blocks
   im selben .brxe-container liegt. */
@media (min-width: 768px) {
	/* Bricks-Block, der die Priority-Nav-Leiste enthält: füllt die Zeile
	   mit stabiler Breite. */
	header .brxe-block:has(> .brxe-nav-menu .onegent-prio-nav) {
		flex: 1 1 0 !important;
		min-width: 0 !important;
	}

	/* Geschwister-Block daneben (der "SALE %"-Block): nur inhaltsbreit,
	   dadurch rechtsbündig an der Inhaltskante. */
	header .brxe-container:has(> .brxe-block > .brxe-nav-menu .onegent-prio-nav) > .brxe-block:not(:has(.brxe-nav-menu)) {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: max-content !important;
	}
}

/* -------------------------------------------------------------------------
   Header-Dropdowns: 3. Ebene immer ausgeklappt (Mega-Menü)
   -------------------------------------------------------------------------
   Die tiefer verschachtelten Untermenüs (3. Ebene, z. B. "Diabetes" →
   Insulinspritzen/Messgeräte/…) werden per Custom-CSS standardmäßig
   eingeklappt (max-height:0; opacity:0; visibility:hidden) und nur beim
   Hovern des jeweiligen 2.-Ebene-Punktes aufgeklappt. Gewünscht ist aber,
   dass beim Öffnen eines Top-Menüs SOFORT alle Unterpunkte sichtbar sind
   (wie im "Mehr"-Dropdown der Priority-Nav).

   Fix: Die 3.-Ebene-Untermenüs (.sub-menu innerhalb .sub-menu) dauerhaft
   sichtbar und in voller Höhe zeigen. Sie stehen per position:static im
   Fluss, klappen also inline auf. Solange das übergeordnete Top-Dropdown
   geschlossen ist (opacity:0), bleiben auch sie unsichtbar — es „leakt"
   also nichts.

   Nur Desktop (≥768px); darunter greift das separate Bricks-Mobile-Menü. */
@media (min-width: 768px) {
	#menu-main-menu > li > .sub-menu .sub-menu {
		visibility: visible !important;
		opacity: 1 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	/* Unterpunkte (3. Ebene) etwas kleiner als die Kategorie-Überschriften —
	   gleiche Hierarchie wie im "Mehr"-Dropdown, das dafür
	   ".onegent-prio-nav__list .sub-menu a { font-size:0.92em }" nutzt. */
	#menu-main-menu > li > .sub-menu .sub-menu a {
		font-size: 0.92em !important;
	}

	/* Kategorie-Überschriften (2. Ebene) mit mehr Luft oben/unten — gleiches
	   vertikales Padding wie im "Mehr"-Dropdown (".onegent-prio-nav__list a"
	   nutzt padding: 0.5em 1.2em). Ohne das haben die Überschriften nur die
	   5px des Bricks-Standards und kleben zu eng an den Unterpunkten. Betrifft
	   beide Varianten der 2. Ebene: mit Unterpunkten (Label im
	   .brx-submenu-toggle) und ohne (direkter <a>). Die 3.-Ebene-Items
	   (.sub-menu .sub-menu) behalten ihre 5px. */
	#menu-main-menu > li > .sub-menu > li > a,
	#menu-main-menu > li > .sub-menu > li > .brx-submenu-toggle > a {
		padding-top: 0.5em !important;
		padding-bottom: 0.5em !important;
	}

	/* Chevron (▾) der 2. Ebene ausblenden — dort ist alles ohnehin offen.
	   ACHTUNG: In .brx-submenu-toggle steckt sowohl das Label (<a>) als auch
	   der Chevron (<button>). Nur den <button> ausblenden, sonst verschwindet
	   die Kategorie-Überschrift (z. B. "Diabetes") mit. Das Top-Level-Chevron
	   (direktes Kind des Top-<li>) bleibt erhalten. */
	#menu-main-menu > li > .sub-menu .brx-submenu-toggle > button {
		display: none !important;
	}
}

/* "Mehr"-Dropdown (Priority-Nav): kein Innenabstand oben/unten. */
ul.onegent-prio-nav__list {
	padding-top: 0;
	padding-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Adressfeld 2 als Hausnummer — schmales Feld direkt neben der Straße.
   Die Klassen vergibt elements/woocommerce/checkout/address-2-field.php und
   nur, solange das Feature aktiv ist; ohne das Modul greift hier nichts.

   Deckt beide Layout-Arten ab, die Themes für die WooCommerce-Spalten nutzen:
   - flex-basis 0 mit den Faktoren 7:3 teilt die Zeile im Verhältnis 70/30,
     unabhängig vom gap des Containers
   - width greift, wenn das Theme die klassischen WooCommerce-Floats
     (form-row-first / form-row-last) verwendet
--------------------------------------------------------------------------- */
.form-row.onegent-address-street {
	flex: 7 1 0%;
	width: 68%;
}

.form-row.onegent-address-number {
	flex: 3 1 0%;
	width: 28%;
}

@media (max-width: 600px) {
	.form-row.onegent-address-street,
	.form-row.onegent-address-number {
		flex: 1 1 100%;
		width: 100%;
		float: none;
	}
}

/* EU-Gewährleistungslabel: Link klein und mittig unter dem Button.
   Gilt für die Ausgabe von Germanized (.wc-gzd-legal-guarantee-global) wie für
   die eigene (.onegent-gewaehrleistung). */
.wc-gzd-legal-guarantee-global,
.onegent-gewaehrleistung {
	margin: 0.75em 0 0;
	font-size: 0.8125em;
	line-height: 1.4;
	text-align: center;
}

.wc-gzd-legal-guarantee-global .wc-gzd-popover-trigger,
.onegent-gewaehrleistung-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	opacity: 0.75;
	transition: opacity 0.15s ease;
}

.wc-gzd-legal-guarantee-global .wc-gzd-popover-trigger:hover,
.wc-gzd-legal-guarantee-global .wc-gzd-popover-trigger:focus-visible,
.onegent-gewaehrleistung-link:hover,
.onegent-gewaehrleistung-link:focus-visible {
	opacity: 1;
	text-decoration-thickness: 2px;
}

.onegent-gewaehrleistung-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

/* Kasse: der Hinweis steht zwischen Summen und AGB-Checkbox, nicht unter einem
   Button. Dort linksbündig in Fließtextgröße mit Abstand nach unten. */
.wc-gzd-legal-guarantee-checkout,
.onegent-gewaehrleistung--checkout {
	margin: 0 0 1em;
	font-size: inherit;
	text-align: left;
}

.wc-gzd-legal-guarantee-checkout .wc-gzd-popover-trigger,
.onegent-gewaehrleistung--checkout .onegent-gewaehrleistung-link {
	color: initial;
	opacity: 1;
}

/* GARAN-Label im Mini-Warenkorb: eigene Zeile unter dem Produktnamen.
   Das !important ist hier kein Faulheitsfehler: Vorlagen positionieren das
   Produktbild gern über einen ID-Selektor wie
   #brxe-xxxxxx li.mini_cart_item img { position: absolute }, der jedes Bild in
   der Zeile trifft – auch das Label. Gegen einen ID-Selektor kommt keine
   Klassenregel an. */
.widget_shopping_cart .wc-gzd-garan-label,
.woocommerce-mini-cart .wc-gzd-garan-label {
	display: block;
	clear: both;
	max-width: 100px;
	margin: 6px 0 0;
}

.widget_shopping_cart .wc-gzd-garan-label img,
.woocommerce-mini-cart .wc-gzd-garan-label img {
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: block;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* GARAN-Label in der Bestellübersicht an der Kasse: steht als Geschwister
   neben dem Namens-Block und beginnt deshalb unter dem Vorschaubild. Einrückung
   spiegelt Germanized' eigene Bildspalte (max-width 15%, min-width 60px,
   margin-right 1em), damit das Label unter dem Produktnamen startet. */
.woocommerce-checkout-review-order-table tr.wc-gzd-cart-item-has-thumbnail td.product-name .wc-gzd-garan-label {
	max-width: 125px;
	/* Oben und unten ohne Abstand wie im Warenkorb, links bleibt die Einrückung:
	   an der Kasse stehen Bild und Name in derselben Zelle, ohne sie begänne das
	   Label unter dem Vorschaubild. */
	margin: 0 0 0 calc(max(15%, 60px) + 1em);
}

.woocommerce-checkout-review-order-table td.product-name .wc-gzd-garan-label img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* GARAN-Label auf der Warenkorb-Seite: dort hat das Vorschaubild eine eigene
   Spalte, das Label braucht also keine Einrückung. Gleiche Größe wie an der
   Kasse (125px); der Mini-Warenkorb bleibt bei 100px, weil die Spalte dort
   schmaler ist. Die Namensspalte ist je nach Vorlage ein th oder ein td,
   deshalb ohne Element im Selektor. */
.woocommerce-cart-form__contents .product-name .wc-gzd-garan-label {
	display: block;
	max-width: 125px;
	margin: 0;
}

.woocommerce-cart-form__contents .product-name .wc-gzd-garan-label img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* Zwei Germanized-Regeln sprengen jede Breitenbegrenzung am GARAN-Label:
   der Link darin ist inline-block und wächst auf die Bildbreite, und das Bild
   selbst hat min-width: 200px – eine Mindestbreite schlägt jede Breitenangabe.
   Beides muss mit zurückgenommen werden, sonst wirkt das max-width am Rahmen
   nur optisch und das Label ragt heraus. */
.widget_shopping_cart .wc-gzd-garan-label .wc-gzd-popover-trigger,
.woocommerce-mini-cart .wc-gzd-garan-label .wc-gzd-popover-trigger,
.woocommerce-cart-form__contents .product-name .wc-gzd-garan-label .wc-gzd-popover-trigger,
.woocommerce-checkout-review-order-table td.product-name .wc-gzd-garan-label .wc-gzd-popover-trigger {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

.widget_shopping_cart .wc-gzd-garan-label img,
.woocommerce-mini-cart .wc-gzd-garan-label img,
.woocommerce-cart-form__contents .product-name .wc-gzd-garan-label img,
.woocommerce-checkout-review-order-table td.product-name .wc-gzd-garan-label img {
	min-width: 0 !important;
}

/* GARAN-Label in Shop- und Kategorie-Übersicht. Germanized vergibt dort die
   eigene Klasse .wc-gzd-additional-info-loop, unabhängig von der Vorlage.
   Zentriert, weil die Kacheln ihren Inhalt mittig setzen. */
.wc-gzd-garan-label.wc-gzd-additional-info-loop {
	display: block;
	max-width: 100px;
	/* Germanized setzt .products .wc-gzd-additional-info { margin: 0.7rem 0 }
	   bei gleicher Spezifität, lädt sein Stylesheet aber nach unserem – ohne
	   !important gewinnt dort die Null und das Label steht links. */
	margin-top: 6px !important;
	margin-bottom: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.wc-gzd-garan-label.wc-gzd-additional-info-loop .wc-gzd-popover-trigger {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

.wc-gzd-garan-label.wc-gzd-additional-info-loop img {
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}
