@font-face {
    font-family: "Commerce Inter";
    src: url("inter-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Commerce Inter";
    src: url("inter-semibold.woff2") format("woff2");
    font-weight: 600 900;
    font-display: swap;
}
@font-face {
    font-family: "Commerce Instrument Sans";
    src: url("instrument-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "Commerce Satoshi";
    src: url("satoshi-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Commerce Satoshi";
    src: url("satoshi-bold.woff2") format("woff2");
    font-weight: 600 900;
    font-display: swap;
}

.commerce-brand--spedy {
    --commerce-ink: #1c1c1e;
    --commerce-primary: #1c1c1e;
    --commerce-hover: #37373c;
    --commerce-background: #fafafa;
    --commerce-border: #e2e6ea;
    --commerce-radius: 0.75rem;
    --commerce-font: "Commerce Inter", system-ui, sans-serif;
}

.commerce-brand--wissa {
    --commerce-ink: #1d1d1f;
    --commerce-primary: #0c6e78;
    --commerce-hover: #095560;
    --commerce-background: #f5f5f7;
    --commerce-border: #d2d2d7;
    --commerce-radius: 1.125rem;
    --commerce-font: "Commerce Instrument Sans", system-ui, sans-serif;
}

.commerce-brand--coding9 {
    --commerce-ink: #2e2e38;
    --commerce-primary: #aa372f;
    --commerce-hover: #852820;
    --commerce-background: #fff3e2;
    --commerce-border: #e5d6c7;
    --commerce-radius: 0.875rem;
    --commerce-font: "Commerce Satoshi", system-ui, sans-serif;
}

.commerce-brand {
    --bs-body-color: var(--commerce-ink);
    --bs-body-bg: var(--commerce-background);
    --bs-body-font-family: var(--commerce-font);
    --bs-primary: var(--commerce-primary);
    background: var(--commerce-background);
    color: var(--commerce-ink);
    font-family: var(--commerce-font);
}

.commerce-brand .header-minimal,
.commerce-brand .header-main,
.commerce-brand .footer-main {
    background: #fff;
    border-color: var(--commerce-border);
}

.commerce-brand .commerce-logo {
    width: min(150px, 42vw);
    height: 38px;
    object-fit: contain;
    object-position: left center;
}

.commerce-brand .checkout .card,
.commerce-brand .checkout-aside-summary,
.commerce-brand .checkout-confirm-tos,
.commerce-brand .account-content .card {
    background: #fff;
    border: 1px solid var(--commerce-border);
    border-radius: var(--commerce-radius);
    padding: clamp(0.875rem, 2.5vw, 1.5rem);
}

.commerce-brand a:not(.btn) {
    color: var(--commerce-primary);
}

.commerce-brand .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--commerce-primary);
    --bs-btn-border-color: var(--commerce-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--commerce-hover);
    --bs-btn-hover-border-color: var(--commerce-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--commerce-hover);
    --bs-btn-active-border-color: var(--commerce-hover);
    --bs-btn-disabled-bg: var(--commerce-primary);
    --bs-btn-disabled-border-color: var(--commerce-primary);
    border-radius: var(--commerce-radius);
}

.commerce-brand :where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--commerce-primary);
    outline-offset: 2px;
}

.commerce-brand--wissa .header-logo-main-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--commerce-ink);
    text-decoration: none;
}

.commerce-brand--wissa .commerce-logo {
    width: 32px;
    height: 32px;
}

/* Status notices (flashbags): aligned with the page shell, quiet tint instead of a framed bar. */
.commerce-brand .flashbags {
    width: min(100% - 2rem, 69rem);
    margin: 1rem auto 0;
}

.commerce-brand .flashbags:not(:has(*)) {
    display: none;
}

.commerce-brand .flashbags .alert {
    margin: 0 0 .5rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: .75rem;
    box-shadow: none;
    color: var(--checkout-ink, #1c2430);
    font-size: .9375rem;
    line-height: 1.45;
}

.commerce-brand .flashbags .alert-success { background: rgb(22 163 74 / 8%); }
.commerce-brand .flashbags .alert-info { background: rgb(28 36 48 / 5%); }
.commerce-brand .flashbags .alert-warning { background: rgb(217 119 6 / 10%); }
.commerce-brand .flashbags .alert-danger { background: rgb(220 38 38 / 8%); }

.commerce-brand .flashbags .alert .icon {
    width: 1.1rem;
    height: 1.1rem;
}
