/* Keep the original 152 x 70 logo undistorted, including its price-tag shape. */
:root {
    --pricio-anthracite: #30343b;
    --pricio-anthracite-hover: #1f2329;
    --link: var(--pricio-anthracite);
}

.site-logo {
    width: 152px;
    min-width: 152px;
}
.site-logo img {
    display: block;
    width: 152px;
    height: auto;
    max-height: none;
    object-fit: contain;
}
@media (max-width: 1023px) {
    .site-logo {
        width: 114px;
        min-width: 114px;
    }
    .site-logo img {
        width: 114px;
        height: auto;
    }
}

/* Anthracite service bar; keep brand-red buttons and the logo unchanged. */
body .page-header .premium-servicebar {
    --f24-servicebar-bg: var(--pricio-anthracite);
    background: var(--pricio-anthracite) !important;
    --f24-ink: #ffffff;
    --f24-ink-soft: #ffffff;
}

/* The header's dropdown panels are white, so retain dark text there. */
.premium-servicebar .login-modal > div[x-show],
.premium-servicebar .customer-links-modal {
    --f24-ink: #111827;
    --f24-ink-soft: #374151;
    color: var(--f24-ink) !important;
}

body .page-main :is(.btn-primary, .action.primary, button.primary, .primary .action),
body.catalog-product-view #product-addtocart-button,
body.catalog-product-view #product-addtocart-button:is(:hover, :focus),
body .page-header .premium-servicebar .login-modal button[type="submit"].btn-primary,
body .page-header .premium-servicebar .login-modal button[type="submit"].btn-primary:is(:hover, :focus) {
    color: #ffffff !important;
}

body .page-main :is(.btn-primary, .action.primary, button.primary, .primary .action) :is(span, svg),
body #product-addtocart-button :is(span, svg),
body .premium-servicebar .login-modal button[type="submit"].btn-primary :is(span, svg) {
    color: inherit !important;
}

/* Replace the inherited lime hover colour along with its dark lettering. */
body .page-main :is(.btn-primary, .action.primary, button.primary, .primary .action):is(:hover, :focus),
body .page-header .premium-servicebar .login-modal button[type="submit"].btn-primary:is(:hover, :focus) {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
}

/* The inherited quick-cart blue is a secondary Pricio colour, not brand red. */
body #cart-drawer header,
body #cart-drawer .btn-primary {
    background-color: var(--pricio-anthracite) !important;
    border-color: var(--pricio-anthracite) !important;
    color: #ffffff !important;
}

body #cart-drawer .btn-primary:is(:hover, :focus) {
    background-color: var(--pricio-anthracite-hover) !important;
    border-color: var(--pricio-anthracite-hover) !important;
    color: #ffffff !important;
}

body #cart-drawer .btn-primary :is(span, svg),
body #cart-drawer header :is(p, strong, span) {
    color: inherit !important;
}

body #cart-drawer .f24-cart-drawer-shell [x-ref="cartDialogContent"] > button[aria-label],
body #cart-drawer .f24-cart-drawer-shell [x-ref="cartDialogContent"] > button[aria-label]:is(:hover, :focus) {
    color: #ffffff !important;
}

/* Shared blue button utilities outside the product page also use anthracite. */
.bg-button-lighter,
.hover\:bg-button-lighter:hover {
    background-color: var(--pricio-anthracite-hover) !important;
}
