/* --- Dýško baliči v košíku (IF boutique) --- */

body .if-packer-tip {
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #ddd1bf;
    border-radius: 0;
    background: #f6e9da;
    color: #3e2e27;
}

body .if-packer-tip__title {
    margin: 0 0 8px;
    color: #3e2e27;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
}

body .if-packer-tip__description {
    margin: 0 0 20px;
    color: #6e5746;
    font-size: 15px;
    line-height: 1.55;
}

body .if-packer-tip__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body .if-packer-tip__option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

/* Skryté rádio tlačidlo (zostáva dostupné pre klávesnicu a čítačky) */
body .if-packer-tip__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

body .if-packer-tip__choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    padding: 8px 10px;
    border: 2px solid #ddd1bf;
    border-radius: 0;
    background: #fff;
    color: #3e2e27;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body .if-packer-tip__image {
    display: block;
    width: 44px;
    min-width: 44px;
    height: 44px;
    background: #fff;
    object-fit: contain;
}

body .if-packer-tip__amount {
    white-space: nowrap;
}

body .if-packer-tip__option:hover .if-packer-tip__choice {
    border-color: #a66027;
}

body .if-packer-tip__option input:focus-visible + .if-packer-tip__choice {
    outline: 3px solid rgba(166, 96, 39, 0.3);
    outline-offset: 2px;
}

body .if-packer-tip__option input:checked + .if-packer-tip__choice {
    border-color: #a66027;
    background: #a66027;
    color: #fff;
}

body .if-packer-tip__status {
    min-height: 20px;
    margin: 14px 0 0;
    color: #6e5746;
    font-size: 14px;
    line-height: 20px;
}

body .if-packer-tip__status.is-error {
    color: #b3261e;
}

body .if-packer-tip.is-loading .if-packer-tip__options {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 767px) {
    body .if-packer-tip {
        margin: 24px 0;
        padding: 20px 16px;
    }

    body .if-packer-tip__title {
        font-size: 22px;
    }

    body .if-packer-tip__choice {
        flex-direction: column;
        gap: 6px;
        min-height: 78px;
        padding: 8px 6px;
        font-size: 16px;
    }

    body .if-packer-tip__image {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
}

/* --- Riadok dýška v košíku: bez skladu a bez zmeny množstva --- */
/* Riadok sa označí triedou .if-packer-tip-row v JS (alebo sa pozná podľa kódu DYSKO-xx). */
body #cart-wrapper tr.if-packer-tip-row .p-availability > *,
body #cart-wrapper tr.if-packer-tip-row .cart-p-availability > *,
body #cart-wrapper tr.if-packer-tip-row .p-quantity > *,
body #cart-wrapper tr.if-packer-tip-row .cart-p-quantity > *,
body #cart-wrapper tr[data-micro-sku^="DYSKO-"] .p-availability > *,
body #cart-wrapper tr[data-micro-sku^="DYSKO-"] .cart-p-availability > *,
body #cart-wrapper tr[data-micro-sku^="DYSKO-"] .p-quantity > *,
body #cart-wrapper tr[data-micro-sku^="DYSKO-"] .cart-p-quantity > *,
body #cart-wrapper tr.if-packer-tip-row .availability-label,
body #cart-wrapper tr.if-packer-tip-row .availability-amount,
body #cart-wrapper tr.if-packer-tip-row .quantity,
body #cart-wrapper tr.if-packer-tip-row .amount,
body #cart-wrapper tr.if-packer-tip-row input[name="amount"],
body #cart-wrapper tr.if-packer-tip-row [data-testid="decreaseQuantity"],
body #cart-wrapper tr.if-packer-tip-row [data-testid="increaseQuantity"],
body #cart-wrapper tr.if-packer-tip-row [data-testid="cartAmount"],
body #cart-wrapper tr.if-packer-tip-row [data-testid="cartItemAvailability"] {
    display: none !important;
}