/*
 * BeeVisible_FreeGift Banner
 *
 * Bewusst neutral und ohne Theme-Annahmen gestylt. Im Mgs/claue-Theme
 * fügt sich der Banner so über die Produktseite/Cart ein, ohne dort
 * etwas zu brechen. Theme-spezifisches Feintuning sollte über claue_child
 * passieren (siehe README → "Theme-Anpassung").
 */
.bv-freegift-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    margin: 0 0 18px;
    border: 1px solid #e3d9b6;
    background: #fff8e1;
    color: #4a3b00;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.bv-freegift-banner--cart {
    margin: 0 0 24px;
}

.bv-freegift-banner__image {
    flex: 0 0 auto;
}

.bv-freegift-banner__image img {
    display: block;
    max-width: 96px;
    max-height: 96px;
    width: auto;
    height: auto;
    border-radius: 4px;
}

.bv-freegift-banner__body {
    flex: 1 1 auto;
    min-width: 0;
}

.bv-freegift-banner__headline {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 15px;
}

.bv-freegift-banner__text {
    margin: 0;
}

.bv-freegift-banner__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .bv-freegift-banner {
        padding: 12px 14px;
        gap: 12px;
    }

    .bv-freegift-banner__image img {
        max-width: 72px;
        max-height: 72px;
    }
}

/*
 * Cart-Item-Lock (gesetzt durch js/cart-item-lock.js für Gratis-Items)
 *
 * Versteckt die Standard-Cart-Buttons:
 *   - delete / X
 *   - Mengen-Input + +/-
 *   - "Edit"-Link
 *
 * Selektoren decken Magento-Default + Mgs/claue + häufige Theme-Varianten
 * ab. `!important` ist hier ausnahmsweise OK, weil die Theme-CSS-
 * Spezifität sonst gewinnen kann und unsere Lock-Wirkung silent
 * gebrochen würde.
 */
/*
 * Cart-Page (Mgs/claue rendert <tbody class="cart item"> / <tr class="item-info">):
 *   - Delete-Link: <a class="action action-delete"><span class="fa fa-trash"></span></a>
 *   - Edit-Link:   <a class="action-edit">
 *   - Qty-Input:   <input class="input-text qty" name="cart[id][qty]">
 *
 * Mini-Cart sidebar (Mgs/claue, <li data-role="product-item">):
 *   - Delete-Link: <a class="action delete" data-cart-item="N">
 *   - Edit-Link:   <a class="action edit">
 *
 * !important wegen Theme-Spezifität — Theme-Selektoren sind oft länger
 * (z.B. `.cart.table-wrapper .action-delete`) und würden sonst gewinnen.
 */
.bv-free-gift-locked .action-delete,
.bv-free-gift-locked .action.action-delete,
.bv-free-gift-locked .action.delete,
.bv-free-gift-locked a.action-delete,
.bv-free-gift-locked a.action.delete,
.bv-free-gift-locked .fa-trash,
.bv-free-gift-locked .action-edit,
.bv-free-gift-locked .action.edit,
.bv-free-gift-locked .product.actions .secondary,
.bv-free-gift-locked .item-actions .actions-toolbar .action-edit,
.bv-free-gift-locked .qty,
.bv-free-gift-locked .field.qty,
.bv-free-gift-locked .control.qty,
.bv-free-gift-locked .input-text.qty,
.bv-free-gift-locked input[name*="[qty]"],
.bv-free-gift-locked .col.qty,
.bv-free-gift-locked .cart.item .update-cart-item,
.bv-free-gift-locked .product-item-details .details-qty {
    display: none !important;
}

/* Visueller Hinweis am Gratis-Item-Container: leicht gedämpfter
   Hintergrund, damit dem Kunden klar wird "diese Zeile ist anders". */
.bv-free-gift-locked {
    background-color: #fffbe6;
}
