/* Narrowly scoped frontend adjustments. */
body.woocommerce-cart form.woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

body.woocommerce-cart.gecleant-cart-quantity-dirty form.woocommerce-cart-form button[name="update_cart"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* 0.6.6 — personal coupons and bundle/cart behavior. */
.gecleant-customer-coupons {
    margin: 1.25rem 0 1.75rem;
    padding: 1.1rem;
    border: 0;
    border-radius: 18px;
}
.gecleant-customer-coupons__title {
    display: block;
    margin-bottom: .8rem;
    font-size: 1rem;
}
.gecleant-customer-coupons__list {
    display: grid;
    gap: .75rem;
}
.gecleant-customer-coupon {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}
.gecleant-customer-coupon__value {
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
}
.gecleant-customer-coupon__meta {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.gecleant-customer-coupon__meta code {
    color: #18a66a;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.gecleant-customer-coupon__meta small {
    opacity: .7;
}
.gecleant-customer-coupon__apply.button {
    white-space: nowrap;
}
.gecleant-customer-coupon__applied {
    color: #18a66a;
    font-weight: 700;
    white-space: nowrap;
}
.gecleant-cart-accessory-hint {
    display: block;
    margin-top: .25rem;
    opacity: .65;
    font-size: .75rem;
}
body.woocommerce-cart form.woocommerce-cart-form .quantity input.qty {
    min-width: 4.5em;
}
@media (max-width: 700px) {
    .gecleant-customer-coupon {
        grid-template-columns: 1fr;
        gap: .55rem;
    }
    .gecleant-customer-coupon__apply.button,
    .gecleant-customer-coupon__applied {
        justify-self: start;
    }
}

/* 0.6.7 — bundle pricing/legal presentation.
 * The bundle total is authoritative. Do not repeat component prices or the
 * Germanized tax/shipping snippet for bundled child products.
 */
body.single-product form.bundle_form .bundled_product .price,
body.single-product form.bundle_form .bundled_product .wc-gzd-additional-info.tax-info,
body.single-product form.bundle_form .bundled_product .wc-gzd-additional-info.shipping-costs-info,
body.single-product form.bundle_form .bundled_product .tax-info,
body.single-product form.bundle_form .bundled_product .shipping-costs-info {
    display: none !important;
}

/* Replace split/contradictory Germanized notes around the calculated bundle
 * total with one shop-wide statement directly before the buy button. */
body.single-product form.bundle_form .bundle_price .wc-gzd-additional-info.tax-info,
body.single-product form.bundle_form .bundle_price .wc-gzd-additional-info.shipping-costs-info,
body.single-product form.bundle_form .bundle_price .tax-info,
body.single-product form.bundle_form .bundle_price .shipping-costs-info {
    display: none !important;
}

.gecleant-tax-shipping-included {
    display: block;
    width: 100%;
    margin: .55rem 0 .75rem;
    font-size: .95rem;
    line-height: 1.4;
}

/* 0.6.8 — WooCommerce Germanized may print a generic legal line directly
 * inside .bundle_data after the bundle total. Our translated combined line above
 * is authoritative for this shop, so suppress that duplicate only for bundles. */
body.single-product form.bundle_form .bundle_data > .wc-gzd-additional-info.tax-info,
body.single-product form.bundle_form .bundle_data > .wc-gzd-additional-info.shipping-costs-info,
body.single-product form.bundle_form .bundle_data > p.wc-gzd-additional-info.tax-info,
body.single-product form.bundle_form .bundle_data > p.wc-gzd-additional-info.shipping-costs-info {
    display: none !important;
}


/* 0.6.9 — Germanized nests the bundle legal shopmarks inside
 * .wc-gzd-bundle-total-shopmarks > .legal-price-info. Hide that whole duplicate
 * block for bundle forms; the shop-specific combined VAT/shipping line remains. */
body.single-product form.bundle_form .bundle_data .wc-gzd-bundle-total-shopmarks,
body.single-product form.bundle_form .wc-gzd-bundle-total-shopmarks,
body.single-product form.bundle_form .wc-gzd-bundle-total-shopmarks .legal-price-info,
body.single-product form.bundle_form .wc-gzd-bundle-total-shopmarks .wc-gzd-additional-info {
    display: none !important;
}
