/* Centre both short and wrapped cart actions without the theme's fixed line-height. */
#wrapper.s276 .basket-completion > a.buttonLink span.btn.btn-default,
#wrapper.s276 #flashMessages .flash a.buttonLink > span.btn.btn-default {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    line-height: 1.4;
}

/* SmartLink labels mix text nodes and bold spans; retain spacing and wrapping. */
#wrapper.s276 #flashMessages .flash a.buttonLink > span.btn.btn-default {
    column-gap: .25em;
    flex-wrap: wrap;
    max-width: 100%;
}

/* A smaller removal icon keeps the existing clickable area. */
#wrapper.s276 .basketDetail .deleteProduct a.close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#wrapper.s276 .basketDetail .deleteProduct a.close span.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    min-height: 0;
    font-size: 24px !important;
    line-height: 1;
}

/* Shared consent dialog and launcher live outside #wrapper. */
#cookie-consent.s276, #cookie-consent-settings.s276, #chat-launcher.s276 {
    --cc-brand: #b49b57;
    --cc-tint: #f8f5ee;
    --cc-surface: #fffdf8;
    --cc-ink: #4e3629;
    --cc-muted: #766758;
    --cc-line: #dfd5bf;
    --cc-age-line: var(--cc-line);
    --cc-badge-line: var(--cc-brand);
    --cc-badge-ink: var(--cc-ink);
    --cc-launcher-line: var(--cc-line);
    --cc-button-bg: var(--cc-ink);
    --cc-button-text: #fff;
    --cc-link-color: var(--cc-ink);
    --cc-font: Poppins, Arial, sans-serif;
    --cc-button-radius: 5px;
    --cc-shadow: rgba(78, 54, 41, .12);
    --cc-launcher-shadow: rgba(78, 54, 41, .07);
    --cc-launcher-hover-shadow: rgba(78, 54, 41, .14);
    --cc-backdrop: rgba(78, 54, 41, .48);
}

/* Dunajovske kopce basket bar */
.basket-status-host.s276 {
    --basket-bar-bg: #f8f5ee;
    --basket-bar-ink: #4e3629;
    --basket-bar-accent: #b49b57;
    --basket-bar-button: var(--basket-bar-ink);
    --basket-bar-button-hover: #38271d;
    --basket-bar-title: var(--basket-bar-ink);
    --basket-bar-muted: #766758;
    --basket-bar-line: #dfd5bf;
    --basket-bar-shadow: rgba(78, 54, 41, .07);
    --basket-bar-radius: 5px;
    --basket-bar-font: Poppins, Arial, sans-serif;
    --basket-bar-title-font: "Markazi Text", Georgia, serif;
    --basket-bar-title-weight: 700;
    --basket-bar-title-size: 24px;
    --basket-bar-title-line-height: 1;
    --basket-bar-detail: var(--basket-bar-muted);
    --basket-bar-secondary-hover: var(--basket-bar-bg);
}
