.s131 .bg-primary-red {
    background-color: #e37979 !important;
}

/* Use the active transition palette, or the original Vajbar red without it. */
.s131 .order-form { --eshop-choice-accent: var(--vajbar-red, #BF0B26); }

/* Solid product badges must keep white labels despite the theme's .small colour. */
#wrapper.s131 .tag.text-white:is(.tag-newly-added, .tag-svatomartinske, .tag-low-stock, .tag-video-available, .tag-discount, .tag-delivery-only-pickup),
#wrapper.s131 .tag.text-white:is(.tag-newly-added, .tag-svatomartinske, .tag-low-stock, .tag-video-available, .tag-discount, .tag-delivery-only-pickup) :is(a, span, .small) {
    color: #fff !important;
}

/* Preserve the shared basket action hierarchy under the Vajbar button theme. */
#wrapper.s131 .basketMenu:is(.basket-completion, .checkout-actions) > a.buttonLink span.btn.btn-default,
#wrapper.s131 .basketMenu.checkout-actions > button.btn.btn-default,
#wrapper.s131 #discountApplyContainer .discount-form button.btn.btn-default {
    box-shadow: none !important;
    font-weight: 500 !important;
    letter-spacing: normal;
    text-transform: none;
}

#wrapper.s131 .basketMenu.basket-completion > a.buttonLink.continue-with-purchase span.btn.btn-default {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--vajbar-muted, #696164) !important;
    transform: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#wrapper.s131 .basketMenu.basket-completion > a.buttonLink.continue-with-purchase:hover span.btn.btn-default {
    color: var(--vajbar-ink, #1f1b1d) !important;
}

#wrapper.s131 .basketMenu.checkout-actions > a.buttonLink.checkout-add-products span.btn.btn-default {
    background: var(--vajbar-red-soft, #fff3f5) !important;
    background: color-mix(in srgb, var(--vajbar-red, #bf0b26) 14%, white) !important;
    border-color: transparent !important;
    color: var(--vajbar-red-dark, #8f071c) !important;
    text-decoration: none;
    transform: none;
}

#wrapper.s131 .basketMenu.checkout-actions > a.buttonLink.checkout-add-products:hover span.btn.btn-default {
    background: color-mix(in srgb, var(--vajbar-red, #bf0b26) 22%, white) !important;
}

#wrapper.s131 .basketMenu.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 20px;
}

#wrapper.s131 .basketMenu.checkout-actions > a.buttonLink,
#wrapper.s131 .basketMenu.checkout-actions > button.btn {
    margin: 0 !important;
}

#wrapper.s131 .basketMenu.checkout-actions .btn {
    white-space: normal;
}

#wrapper.s131 .basketMenu.checkout-actions a.buttonLink:focus {
    outline: none !important;
}

#wrapper.s131 .basketMenu.checkout-actions a.buttonLink:focus-visible > .btn,
#wrapper.s131 .basketMenu.checkout-actions > button.btn:focus-visible,
#wrapper.s131 #discountApplyContainer .discount-form button.btn:focus-visible {
    outline: 2px solid var(--vajbar-red, #bf0b26) !important;
    outline-offset: 3px;
}

#wrapper.s131 #discountApplyContainer .discount-form {
    max-width: 440px;
}

#wrapper.s131 #discountApplyContainer .discount-form .input-group {
    flex-wrap: nowrap;
}

#wrapper.s131 #discountApplyContainer .discount-form input.form-control {
    flex: 1 1 auto;
    width: 1%;
    max-width: none;
    min-width: 0;
    height: 44px;
    margin: 0;
}

#wrapper.s131 #discountApplyContainer .discount-form button.btn.btn-default {
    height: 44px;
    margin: 0;
    background: transparent !important;
    border-color: var(--vajbar-muted, #696164) !important;
    color: var(--vajbar-ink, #1f1b1d) !important;
    transform: none;
}

#wrapper.s131 #discountApplyContainer .discount-form button.btn.btn-default:hover {
    background: var(--vajbar-line, #ebe4e4) !important;
}

@media (max-width: 767px) {
    #wrapper.s131 .basketMenu:is(.basket-completion, .checkout-actions) > a.buttonLink:is(.continue-with-purchase, .checkout-add-products) {
        order: 2;
    }
    #wrapper.s131 .basketMenu.checkout-actions > a.buttonLink,
    #wrapper.s131 .basketMenu.checkout-actions > a.buttonLink > .btn,
    #wrapper.s131 .basketMenu.checkout-actions > button.btn {
        width: 100%;
    }
}

/* Keep the existing button dimensions; distinguish the optional pickup action. */
#wrapper.s131 .basket-completion > a.buttonLink.unimportant:not(.continue-with-purchase) span.btn.btn-default {
    background: transparent !important;
    color: var(--vajbar-ink, #1f1b1d) !important;
    border-color: var(--vajbar-muted, #696164) !important;
    box-shadow: none !important;
}

#wrapper.s131 .basket-completion > a.buttonLink.unimportant:not(.continue-with-purchase):hover span.btn.btn-default {
    background: var(--vajbar-line, #ebe4e4) !important;
    border-color: var(--vajbar-ink, #1f1b1d) !important;
}

/* Shared consent dialog and launcher live outside #wrapper. */
#cookie-consent.s131, #cookie-consent-settings.s131, #chat-launcher.s131 {
    --cc-brand: var(--vajbar-red, #bf0b26);
    --cc-tint: var(--vajbar-bg, #fffdfc);
    --cc-surface: var(--vajbar-bg, #fffdfc);
    --cc-ink: var(--vajbar-ink, #1f1b1d);
    --cc-muted: var(--vajbar-muted, #696164);
    --cc-line: var(--vajbar-line, #ebe4e4);
    --cc-age-line: var(--cc-line);
    --cc-badge-line: var(--cc-brand);
    --cc-badge-ink: var(--cc-brand);
    --cc-launcher-line: var(--cc-line);
    --cc-button-radius: 30px;
    --cc-shadow: rgba(48, 20, 22, .12);
}

/* Basket bar: follow the storefront's selected colour variant. */
.basket-status-host.s131 {
    --basket-bar-bg: var(--vajbar-bg, #fffdfc);
    --basket-bar-ink: var(--vajbar-ink, #1f1b1d);
    --basket-bar-accent: var(--vajbar-red, #BF0B26);
    --basket-bar-button-hover: var(--vajbar-red-dark, #8f071c);
    --basket-bar-title: var(--basket-bar-accent);
    --basket-bar-muted: var(--vajbar-muted, #696164);
    --basket-bar-line: var(--vajbar-line, #ebe4e4);
    --basket-bar-shadow: rgba(48, 20, 22, .07);
    --basket-bar-font: Montserrat, Arial, sans-serif;
    --basket-bar-title-size: 12px;
    --basket-bar-title-weight: 600;
    --basket-bar-detail: var(--basket-bar-muted);
    --basket-bar-secondary-hover: var(--basket-bar-bg);
}
