:root {
    color-scheme: dark;
    --borcook-black: #000;
    --borcook-surface: #0b0b0b;
    --borcook-field: #151515;
    --borcook-line: #292929;
    --borcook-text: #fff;
    --borcook-muted: #c9c9c9;
    --borcook-subtle: #dedede;
    --borcook-accent: #e7b11d;
}

html,
body,
body .page-wrapper,
body .page-main,
body .page-footer,
body .columns,
body .column.main {
    background-color: var(--borcook-black) !important;
}

body {
    color: var(--borcook-text);
}

body .bg-container,
body .bg-container-lighter,
body .bg-white {
    background-color: var(--borcook-black) !important;
}

body :is(
    .text-primary,
    .text-primary-darker,
    .text-primary-lighter,
    .text-secondary,
    .text-secondary-darker,
    .text-gray-900,
    .text-gray-800,
    .text-slate-900,
    .text-slate-800
) {
    color: var(--borcook-text) !important;
}

body :is(
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-gray-400,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-slate-400
) {
    color: var(--borcook-muted) !important;
}

body :is(
    .text-gray-300,
    .text-gray-200,
    .text-slate-300,
    .text-slate-200
) {
    color: var(--borcook-subtle) !important;
}

body .page-main :is(
    .page-title,
    .block-title,
    .fieldset > .legend,
    .field > .label,
    .field-label,
    .table-wrapper th,
    .table-wrapper td
) {
    color: var(--borcook-text);
}

body .page-main :is(.field-note, .note, .description) {
    color: var(--borcook-muted);
}

/* Keep product specification values readable against the Borcook dark theme. */
body.catalog-product-view #product-attributes .product-attribute-value {
    background-color: #fff !important;
    color: #000 !important;
}

body .border-container,
body .border-container-lighter,
body .border-gray-100,
body .border-gray-200 {
    border-color: var(--borcook-line) !important;
}

body #header.borcook-header {
    position: relative;
    z-index: 30;
    width: 100%;
    background: var(--borcook-black);
    border-bottom: 1px solid var(--borcook-line);
    color: var(--borcook-text);
}

.borcook-header-inner {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    gap: 2rem;
    width: min(calc(100% - 3rem), 90rem);
    min-height: 88px;
    margin: 0 auto;
    padding: 1rem 0;
}

.borcook-header-brand {
    justify-self: start;
}

.borcook-header-logo a,
.borcook-header-logo img {
    display: block;
}

.borcook-header-logo img {
    width: 210px;
    height: auto;
}

.borcook-navigation {
    min-width: 0;
    justify-self: center;
}

.borcook-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.borcook-navigation a {
    color: var(--borcook-text);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 160ms ease;
}

.borcook-navigation a:hover,
.borcook-navigation a:focus-visible {
    color: var(--borcook-accent);
}

.borcook-header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.borcook-language-switcher > * {
    width: auto;
}

.borcook-language-switcher button {
    color: var(--borcook-text) !important;
    background: transparent !important;
    border-color: var(--borcook-line) !important;
}

.borcook-language-switcher nav {
    color: var(--borcook-text);
    background: var(--borcook-surface) !important;
    border: 1px solid var(--borcook-line);
}

.borcook-language-switcher nav a {
    color: var(--borcook-text);
}

.borcook-language-switcher nav a:hover {
    color: var(--borcook-black);
    background: var(--borcook-accent) !important;
}

.borcook-account-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--borcook-text);
    border: 1px solid var(--borcook-line);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
}

.borcook-account-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.borcook-account-link:hover,
.borcook-account-link:focus-visible {
    color: var(--borcook-accent);
    border-color: var(--borcook-accent);
}

body .breadcrumbs,
body .page-title,
body .page-title-wrapper,
body .page-main > * {
    color: var(--borcook-text);
}

body a {
    color: inherit;
}

/* BORCOOK customer account */
body.borcook-customer-account .page-main {
    --account-surface: #101010;
    --account-surface-raised: #171717;
    --account-surface-hover: #202020;
    --account-border: #343434;
    --account-text: #fff;
    --account-muted: #c9c9c9;
    --account-accent: #e7b11d;
    color: var(--account-text);
}

body.borcook-customer-account .page-main :is(
    .card,
    .box,
    .table-wrapper,
    .calendar-window,
    .modal-content,
    .block-customer-login,
    .block-new-customer,
    .bg-white,
    .bg-gray-50,
    .bg-gray-100,
    .bg-slate-50,
    .bg-slate-100
) {
    color: var(--account-text) !important;
    background-color: var(--account-surface) !important;
    border-color: var(--account-border) !important;
}

body.borcook-customer-account .page-main .card .card,
body.borcook-customer-account .page-main .card :is(.box, .rounded.bg-gray-50, .rounded.bg-white) {
    background-color: var(--account-surface-raised) !important;
}

body.borcook-customer-account .page-main :is(
    .block-title,
    .box-title,
    .page-title,
    .legend,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong
) {
    color: var(--account-text);
}

body.borcook-customer-account .page-main :is(
    p,
    address,
    dd,
    .note,
    .field-note,
    .description,
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500
) {
    color: var(--account-muted) !important;
}

body.borcook-customer-account .page-main :is(
    .border,
    .border-t,
    .border-r,
    .border-b,
    .border-l,
    .border-gray-100,
    .border-gray-200,
    .border-gray-300,
    .border-container,
    .border-container-lighter,
    hr
) {
    border-color: var(--account-border) !important;
}

body.borcook-customer-account .sidebar-main .account-nav.card {
    padding: 1.25rem;
    background-color: var(--account-surface) !important;
    border: 1px solid var(--account-border);
    border-radius: 1rem;
}

body.borcook-customer-account .account-nav .nav.items {
    display: grid;
    gap: .2rem;
}

body.borcook-customer-account .account-nav .nav.item > :is(a, strong),
body.borcook-customer-account .account-nav .nav.items > li > :is(a, strong) {
    display: block;
    padding: .55rem .7rem;
    color: var(--account-muted);
    border-radius: .55rem;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

body.borcook-customer-account .account-nav .nav.item > a:hover,
body.borcook-customer-account .account-nav .nav.item > a:focus-visible,
body.borcook-customer-account .account-nav .nav.items > li > a:hover,
body.borcook-customer-account .account-nav .nav.items > li > a:focus-visible {
    color: var(--account-text);
    background-color: var(--account-surface-hover);
}

body.borcook-customer-account .account-nav .nav.item.current > :is(a, strong),
body.borcook-customer-account .account-nav .nav.items > li.current > :is(a, strong) {
    color: #111;
    background-color: var(--account-accent);
    font-weight: 700;
}

body.borcook-customer-account .column.main > .card,
body.borcook-customer-account .column.main > form.card,
body.borcook-customer-account .column.main > section.card,
body.borcook-customer-account .column.main > .block.card {
    border: 1px solid var(--account-border);
    border-radius: 1rem;
    box-shadow: none;
}

body.borcook-customer-account .account-information.card,
body.borcook-customer-account .block-dashboard-addresses > .block-title.card {
    background-color: transparent !important;
    border: 0;
}

body.borcook-customer-account .account-information .card,
body.borcook-customer-account .block-dashboard-addresses .card,
body.borcook-customer-account .block-dashboard-orders.card {
    background-color: var(--account-surface-raised) !important;
    border: 1px solid var(--account-border) !important;
    box-shadow: none;
}

body.borcook-customer-account .account-information :is(.bg-primary, .bg-secondary) {
    color: #111 !important;
    background-color: var(--account-accent) !important;
}

body.borcook-customer-account .page-main :is(
    .form-input,
    .form-select,
    .form-textarea,
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    select,
    textarea
) {
    color: var(--account-text) !important;
    background-color: var(--account-surface-raised) !important;
    border-color: var(--account-border) !important;
    box-shadow: none !important;
}

body.borcook-customer-account .page-main :is(input, textarea)::placeholder {
    color: #888 !important;
    opacity: 1;
}

body.borcook-customer-account .page-main :is(input, select, textarea):focus {
    border-color: var(--account-accent) !important;
    outline: 2px solid rgba(231,177,29,.25);
    outline-offset: 1px;
}

body.borcook-customer-account .page-main :is(input, select, textarea):disabled {
    color: #888 !important;
    background-color: #0b0b0b !important;
    opacity: .75;
}

body.borcook-customer-account .page-main :is(.checkbox, .form-checkbox, .form-radio),
body.borcook-customer-account .page-main input[type="checkbox"],
body.borcook-customer-account .page-main input[type="radio"] {
    color: var(--account-accent);
    background-color: var(--account-surface-raised) !important;
    border-color: #666 !important;
    accent-color: var(--account-accent);
}

body.borcook-customer-account .page-main input:-webkit-autofill,
body.borcook-customer-account .page-main input:-webkit-autofill:hover,
body.borcook-customer-account .page-main input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--account-text);
    box-shadow: 0 0 0 1000px var(--account-surface-raised) inset !important;
    caret-color: var(--account-text);
}

body.borcook-customer-account .page-main table {
    color: var(--account-text);
    background-color: transparent;
    border-color: var(--account-border);
}

body.borcook-customer-account .page-main table thead,
body.borcook-customer-account .page-main table tfoot {
    color: var(--account-text) !important;
    background-color: #1d1d1d !important;
}

body.borcook-customer-account .page-main table tbody tr {
    background-color: var(--account-surface) !important;
}

body.borcook-customer-account .page-main table tbody tr:nth-child(even) {
    background-color: var(--account-surface-raised) !important;
}

body.borcook-customer-account .page-main table :is(th, td) {
    color: inherit;
    border-color: var(--account-border) !important;
}

body.borcook-customer-account .page-main :is(.message, .message.info, .message.notice) {
    color: #d8eaff !important;
    background-color: #102032 !important;
    border-color: #284d70 !important;
}

body.borcook-customer-account .page-main .message.success {
    color: #d6f5df !important;
    background-color: #102819 !important;
    border-color: #29613a !important;
}

body.borcook-customer-account .page-main :is(.message.warning, .message.warn) {
    color: #ffe8ad !important;
    background-color: #30230d !important;
    border-color: #73551b !important;
}

body.borcook-customer-account .page-main .message.error {
    color: #ffd4d4 !important;
    background-color: #321313 !important;
    border-color: #743232 !important;
}

body.borcook-customer-account .page-main :is(a.action, .action.view, .action.edit) {
    color: var(--account-accent) !important;
}

body.borcook-customer-account .page-main :is(.btn-secondary, .action.secondary) {
    color: var(--account-text) !important;
    background-color: var(--account-surface-raised) !important;
    border-color: var(--account-border) !important;
}

body.borcook-customer-account .page-main :is(.btn-secondary, .action.secondary):hover,
body.borcook-customer-account .page-main :is(.btn-secondary, .action.secondary):focus-visible {
    color: #111 !important;
    background-color: var(--account-accent) !important;
    border-color: var(--account-accent) !important;
}

@media (max-width: 767px) {
    body.borcook-customer-account .sidebar-main .account-nav.card {
        padding: 1rem;
    }

    body.borcook-customer-account .account-nav .account-nav-title {
        min-height: 2.75rem;
    }

    body.borcook-customer-account .account-information .card,
    body.borcook-customer-account .block-dashboard-addresses .card {
        padding: 1.25rem;
    }
}

/* BORCOOK returns, complaints and withdrawal flow */
body[class*="returns-"] .page-main {
    --returns-surface: #101010;
    --returns-surface-raised: #181818;
    --returns-surface-hover: #222;
    --returns-border: #363636;
    --returns-text: #fff;
    --returns-muted: #c9c9c9;
    --returns-accent: #e7b11d;
    color: var(--returns-text);
}

body[class*="returns-"] .page-main :is(
    .card,
    .bg-white,
    .bg-gray-50,
    .bg-gray-100,
    .bg-red-50,
    .bg-yellow-50,
    .bg-amber-50,
    .bg-blue-50,
    .bg-green-50,
    [style*="background-color"]
) {
    color: var(--returns-text) !important;
    background-color: var(--returns-surface) !important;
    border-color: var(--returns-border) !important;
}

body[class*="returns-"] .page-main .card {
    border: 1px solid var(--returns-border);
    border-radius: 1rem;
    box-shadow: none;
}

body[class*="returns-"] .page-main .card .rounded.border {
    color: var(--returns-text) !important;
    background-color: var(--returns-surface-raised) !important;
    border-color: var(--returns-border) !important;
}

body[class*="returns-"] .page-main :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    legend,
    .label,
    .font-medium,
    .font-semibold,
    strong,
    summary,
    .text-gray-900,
    .text-red-800,
    .text-red-900,
    .text-yellow-900,
    .text-amber-900,
    .text-blue-900,
    .text-green-900
) {
    color: var(--returns-text) !important;
}

body[class*="returns-"] .page-main :is(
    p,
    address,
    li,
    dd,
    .note,
    .field-note,
    .description,
    .text-gray-700,
    .text-gray-600,
    .text-gray-500
) {
    color: var(--returns-muted) !important;
}

body[class*="returns-"] .page-main :is(
    .border,
    .border-t,
    .border-r,
    .border-b,
    .border-l,
    .divide-y > :not([hidden]) ~ :not([hidden]),
    .border-gray-100,
    .border-gray-200,
    .border-gray-300,
    .border-red-300,
    .border-yellow-300,
    .border-amber-300,
    .border-blue-300,
    .border-green-300
) {
    border-color: var(--returns-border) !important;
}

body[class*="returns-"] .page-main :is(
    .form-input,
    .form-select,
    .form-textarea,
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    select,
    textarea
) {
    width: 100%;
    max-width: 100%;
    color: var(--returns-text) !important;
    background-color: var(--returns-surface-raised) !important;
    border-color: var(--returns-border) !important;
    box-shadow: none !important;
}

body[class*="returns-"] .page-main :is(input, textarea)::placeholder {
    color: #898989 !important;
    opacity: 1;
}

body[class*="returns-"] .page-main :is(input, select, textarea):focus {
    border-color: var(--returns-accent) !important;
    outline: 2px solid rgba(231,177,29,.25);
    outline-offset: 1px;
}

body[class*="returns-"] .page-main :is(input, select, textarea):disabled {
    color: #888 !important;
    background-color: #0a0a0a !important;
    opacity: .7;
}

body[class*="returns-"] .page-main input[type="checkbox"],
body[class*="returns-"] .page-main input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    color: var(--returns-accent);
    background-color: var(--returns-surface-raised) !important;
    border-color: #666 !important;
    accent-color: var(--returns-accent);
}

body[class*="returns-"] .page-main input[type="file"] {
    padding: .5rem;
}

body[class*="returns-"] .page-main input[type="file"]::file-selector-button {
    margin-right: .75rem;
    padding: .45rem .75rem;
    color: var(--returns-text);
    background: var(--returns-surface-hover);
    border: 1px solid var(--returns-border);
    border-radius: .4rem;
}

body[class*="returns-"] .page-main table {
    width: 100%;
    color: var(--returns-text);
    background: transparent;
    border-color: var(--returns-border);
}

body[class*="returns-"] .page-main table thead,
body[class*="returns-"] .page-main table tfoot {
    color: var(--returns-text);
    background-color: #1f1f1f;
}

body[class*="returns-"] .page-main table tbody tr {
    background-color: var(--returns-surface) !important;
}

body[class*="returns-"] .page-main table tbody tr:nth-child(even) {
    background-color: var(--returns-surface-raised) !important;
}

body[class*="returns-"] .page-main table :is(th, td) {
    border-color: var(--returns-border) !important;
}

body[class*="returns-"] .page-main details {
    border-color: var(--returns-border);
}

body[class*="returns-"] .page-main details[open] summary {
    color: var(--returns-accent) !important;
}

body[class*="returns-"] .page-main a:not(.btn) {
    color: var(--returns-accent);
}

body[class*="returns-"] .page-main .btn {
    max-width: 100%;
    justify-content: center;
}

body[class*="returns-"] .page-main .btn-secondary {
    color: var(--returns-text) !important;
    background-color: var(--returns-surface-hover) !important;
    border-color: var(--returns-border) !important;
}

body[class*="returns-"] .page-main .btn-secondary:hover,
body[class*="returns-"] .page-main .btn-secondary:focus-visible {
    color: #111 !important;
    background-color: var(--returns-accent) !important;
    border-color: var(--returns-accent) !important;
}

body[class*="returns-"] .page-main :is(.message, .message.info, .message.notice) {
    color: #d8eaff !important;
    background-color: #102032 !important;
    border-color: #284d70 !important;
}

body[class*="returns-"] .page-main .message.success {
    color: #d6f5df !important;
    background-color: #102819 !important;
    border-color: #29613a !important;
}

body[class*="returns-"] .page-main :is(.message.warning, .message.warn) {
    color: #ffe8ad !important;
    background-color: #30230d !important;
    border-color: #73551b !important;
}

body[class*="returns-"] .page-main .message.error {
    color: #ffd4d4 !important;
    background-color: #321313 !important;
    border-color: #743232 !important;
}

@media (max-width: 767px) {
    body[class*="returns-"] .page-main .card {
        padding: 1.25rem;
    }

    body[class*="returns-"] .page-main .btn,
    body.returns-index-index .page-main .btn {
        width: 100% !important;
    }

    body[class*="returns-"] .page-main .md\:flex-row > :is(.w-1\/2, .w-1\/4) {
        width: 100% !important;
    }

    body[class*="returns-"] .page-main table {
        min-width: 44rem;
    }

    body[class*="returns-"] .page-main .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
}

/* BORCOOK application manual */
.borcook-manual {
    --manual-card: #111;
    --manual-card-soft: #171717;
    --manual-border: #313131;
    --manual-muted: #bdbdbd;
    --manual-accent: #e7b11d;
    width: min(100%, 96rem);
    margin: 0 auto;
    color: #fff;
}

.borcook-manual-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}

.borcook-manual-content {
    min-width: 0;
    padding: clamp(2rem, 4vw, 4.5rem) 0;
}

.borcook-manual-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.borcook-manual-heading h1,
.borcook-manual-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.borcook-manual-single .borcook-manual-content {
    display: grid;
    gap: clamp(4rem, 8vw, 7rem);
}

.borcook-manual-chapter {
    min-width: 0;
    scroll-margin-top: 2rem;
}

.borcook-manual-chapter + .borcook-manual-chapter {
    padding-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--manual-border);
}

.borcook-manual-number,
.borcook-manual-sidebar a > span,
.borcook-manual-mobile-nav a > span,
.borcook-manual-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #111;
    background: var(--manual-accent);
    font-weight: 800;
}

.borcook-manual-number {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    font-size: 1.35rem;
    box-shadow: 0 12px 35px rgba(231, 177, 29, .18);
}

.borcook-manual-sidebar {
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow: auto;
    margin: 2rem 0;
    padding: 1.25rem;
    background: var(--manual-card);
    border: 1px solid var(--manual-border);
    border-radius: 1.25rem;
}

.borcook-manual-sidebar-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.borcook-manual-sidebar ol {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.borcook-manual-sidebar a,
.borcook-manual-mobile-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--manual-muted);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.borcook-manual-sidebar a {
    padding: .65rem .7rem;
    border-radius: .75rem;
    font-size: .9rem;
}

.borcook-manual-sidebar a > span,
.borcook-manual-mobile-nav a > span {
    width: 2rem;
    height: 2rem;
    color: var(--manual-muted);
    background: #252525;
    border-radius: .6rem;
    font-size: .7rem;
}

.borcook-manual-sidebar a:hover,
.borcook-manual-sidebar a:focus-visible,
.borcook-manual-sidebar a.is-active {
    color: #fff;
    background: #222;
}

.borcook-manual-sidebar a.is-active > span,
.borcook-manual-mobile-nav a.is-active > span {
    color: #111;
    background: var(--manual-accent);
}

.borcook-manual-mobile-nav {
    display: none;
}

.borcook-manual-mobile-toggle {
    display: none;
}

.borcook-manual-body {
    display: grid;
    gap: 2rem;
    color: var(--manual-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.borcook-manual-body > * {
    margin-top: 0;
    margin-bottom: 0;
}

.borcook-manual-body h2,
.borcook-manual-body h3,
.borcook-manual-body h4 {
    color: #fff;
    line-height: 1.2;
}

.borcook-manual-body h2 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.borcook-manual-body h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
.borcook-manual-body p { margin: 0; }
.borcook-manual-body p + p { margin-top: .85rem; }
.borcook-manual-body ul,
.borcook-manual-body ol { margin: .8rem 0 0; padding-left: 1.35rem; }
.borcook-manual-body li + li { margin-top: .45rem; }
.borcook-manual-body a { color: var(--manual-accent); text-decoration: none; }
.borcook-manual-body a:hover { text-decoration: underline; }

.borcook-manual-lead {
    max-width: 52rem;
    color: #ddd;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.borcook-manual-card,
.borcook-manual-section,
.borcook-manual-note,
.borcook-manual-warning {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--manual-border);
    border-radius: 1.35rem;
    background: var(--manual-card);
}

.borcook-manual-note { border-color: rgba(231,177,29,.5); background: rgba(231,177,29,.08); }
.borcook-manual-warning { border-color: rgba(220,75,75,.45); background: rgba(170,30,30,.12); }
.borcook-manual-warning h2,
.borcook-manual-warning h3 { color: #ff8e8e; }

.borcook-manual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.borcook-manual-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.borcook-manual-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.borcook-manual-step {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.borcook-manual-step + .borcook-manual-step {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--manual-border);
}

.borcook-manual-step-number {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
}

.borcook-manual-media {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.borcook-manual-media.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.borcook-manual-media.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.borcook-manual-media figure { margin: 0; text-align: center; }
.borcook-manual-media img,
.borcook-manual-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 36rem;
    margin: 0 auto;
    border-radius: 1.25rem;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.borcook-manual-media figcaption { margin-top: .75rem; font-size: .86rem; line-height: 1.5; }

.borcook-manual-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--manual-border);
    border-radius: 1rem;
}

.borcook-manual-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: var(--manual-muted);
    font-size: .88rem;
}
.borcook-manual-table th { color: #111; background: var(--manual-accent); text-align: left; }
.borcook-manual-table th,
.borcook-manual-table td { padding: .75rem .85rem; border-bottom: 1px solid var(--manual-border); }
.borcook-manual-table tr:last-child td { border-bottom: 0; }

.borcook-manual-chapter-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--manual-border);
}

@media (max-width: 1023px) {
    .borcook-manual-layout { display: block; }
    .borcook-manual-sidebar { display: none; }
    .borcook-manual-mobile-nav {
        position: sticky;
        top: 0;
        z-index: 20;
        display: block;
        padding: .75rem 0;
        background: rgba(0,0,0,.92);
        backdrop-filter: blur(10px);
    }
    .borcook-manual-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        min-height: 3.5rem;
        padding: .55rem .75rem;
        color: #fff;
        background: var(--manual-card);
        border: 1px solid var(--manual-border);
        border-radius: .9rem;
        text-align: left;
    }
    .borcook-manual-mobile-current {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        font-size: .9rem;
        font-weight: 700;
    }
    .borcook-manual-mobile-current-title {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .borcook-manual-mobile-hamburger {
        display: grid;
        flex: 0 0 1.5rem;
        gap: .3rem;
        width: 1.5rem;
    }
    .borcook-manual-mobile-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: currentColor;
        border-radius: 999px;
        transition: transform 160ms ease, opacity 160ms ease;
    }
    .borcook-manual-mobile-nav.is-open .borcook-manual-mobile-hamburger span:first-child {
        transform: translateY(.4rem) rotate(45deg);
    }
    .borcook-manual-mobile-nav.is-open .borcook-manual-mobile-hamburger span:nth-child(2) {
        opacity: 0;
    }
    .borcook-manual-mobile-nav.is-open .borcook-manual-mobile-hamburger span:last-child {
        transform: translateY(-.4rem) rotate(-45deg);
    }
    .borcook-manual-mobile-menu {
        position: absolute;
        top: calc(100% - .25rem);
        right: 0;
        left: 0;
        display: none;
        max-height: min(70vh, 32rem);
        gap: .35rem;
        overflow-y: auto;
        padding: .65rem;
        background: var(--manual-card);
        border: 1px solid var(--manual-border);
        border-radius: .9rem;
        box-shadow: 0 18px 50px rgba(0,0,0,.45);
    }
    .borcook-manual-mobile-menu[hidden] {
        display: none !important;
    }
    .borcook-manual-mobile-nav.is-open .borcook-manual-mobile-menu {
        display: grid;
    }
    .borcook-manual-mobile-nav a {
        width: 100%;
        padding: .45rem .65rem .45rem .45rem;
        border: 0;
        border-radius: .7rem;
        font-size: .86rem;
    }
    .borcook-manual-mobile-nav a:hover,
    .borcook-manual-mobile-nav a:focus-visible,
    .borcook-manual-mobile-nav a.is-active {
        color: #fff;
        background: #222;
    }
    .borcook-manual-chapter { scroll-margin-top: 5rem; }
}

@media (max-width: 767px) {
    .borcook-manual #wskazowki .borcook-manual-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--manual-border);
        border-radius: 1rem;
    }
    .borcook-manual #wskazowki .borcook-manual-table {
        display: table;
        width: 100%;
        min-width: 42rem;
    }
    .borcook-manual #wskazowki .borcook-manual-table thead {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
    .borcook-manual #wskazowki .borcook-manual-table tbody {
        display: table-row-group;
    }
    .borcook-manual #wskazowki .borcook-manual-table tr {
        display: table-row;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .borcook-manual #wskazowki .borcook-manual-table td {
        display: table-cell;
        width: auto;
        padding: .75rem .85rem;
        border-bottom: 1px solid var(--manual-border);
        white-space: normal;
    }
    .borcook-manual #wskazowki .borcook-manual-table td::before {
        content: none;
    }
    .borcook-manual-heading { align-items: flex-start; flex-direction: column; }
    .borcook-manual-number { width: 3.5rem; height: 3.5rem; }
    .borcook-manual-grid,
    .borcook-manual-grid.is-two,
    .borcook-manual-grid.is-four,
    .borcook-manual-media.is-two,
    .borcook-manual-media.is-three { grid-template-columns: 1fr; }
    .borcook-manual-chapter-links { flex-direction: column; }
}

/* Footer */
.borcook-footer {
    color: var(--borcook-muted);
    background: var(--borcook-black);
    border-top: 1px solid #3a3a3a;
    border-bottom: 1px solid #3a3a3a;
}

.borcook-footer-inner {
    width: min(calc(100% - 3rem), 96rem);
    margin: 0 auto;
    padding: 3.5rem 0 2.75rem;
    text-align: center;
}

.borcook-footer-address-row,
.borcook-footer-contact-row,
.borcook-footer-legal,
.borcook-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.borcook-footer-address-row {
    flex-wrap: wrap;
    gap: 0.3rem 0.65rem;
    font-size: clamp(0.875rem, 1vw, 1rem);
}

.borcook-footer-address-row address {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    font-style: normal;
}

.borcook-footer-address-row strong {
    color: var(--borcook-muted);
    font-weight: 700;
}

.borcook-footer-legal {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.borcook-footer-legal a {
    color: #d5ad45;
    font-weight: 600;
    text-decoration: none;
}

.borcook-footer-contact-row {
    flex-wrap: wrap;
    gap: 1rem 2.25rem;
    margin-top: 2rem;
    font-size: clamp(0.875rem, 1vw, 1rem);
}

.borcook-footer-contact-row > a {
    color: var(--borcook-muted);
    text-decoration: none;
}

.borcook-footer-social {
    gap: 1rem;
}

.borcook-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--borcook-muted);
    border-radius: 0.5rem;
    transition: color 160ms ease, transform 160ms ease;
}

.borcook-footer-social svg {
    width: 100%;
    height: 100%;
}

.borcook-footer a:hover,
.borcook-footer a:focus-visible {
    color: var(--borcook-accent);
}

.borcook-footer-social a:hover,
.borcook-footer-social a:focus-visible {
    transform: translateY(-2px);
}

.borcook-footer-copyright {
    margin: 3.75rem 0 0;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
}

/* Product cards and product detail */
body:is(.catalog-category-view, .catalogsearch-result-index, .catalog-product-view) .product-item {
    color: var(--borcook-text);
    background: var(--borcook-surface) !important;
    border-color: var(--borcook-line) !important;
    box-shadow: none;
}

body:is(.catalog-category-view, .catalogsearch-result-index, .catalog-product-view) :is(.text-slate-900, .text-slate-800),
body.catalog-product-view .product-info-main {
    color: var(--borcook-text) !important;
}

body:is(.catalog-category-view, .catalogsearch-result-index, .catalog-product-view) :is(.text-slate-700, .text-slate-600, .text-slate-500) {
    color: var(--borcook-muted) !important;
}

body.catalog-product-view .product-info-main .product-description,
body.catalog-product-view .product-info-main .product-description :is(p, span, li) {
    color: #d8d8d8 !important;
}

body.catalog-product-view .product-info-main .product-description + button {
    color: var(--borcook-accent) !important;
}

body.catalog-product-view :is(.product-options-wrapper, .product-options-bottom, .product-info-main) :is(input:not([type="hidden"]), select, textarea) {
    color: var(--borcook-text);
    background-color: var(--borcook-field);
    border-color: #4a4a4a;
}

body.catalog-product-view :is(.product-options-wrapper, .product-options-bottom, .product-info-main) :is(input:not([type="hidden"]), select, textarea):focus {
    border-color: var(--borcook-accent);
    box-shadow: 0 0 0 1px var(--borcook-accent);
}

body.catalog-product-view .btn-secondary,
body:is(.catalog-category-view, .catalogsearch-result-index) .product-action-btn {
    color: var(--borcook-accent);
    background: var(--borcook-field);
    border-color: var(--borcook-accent);
}

body.catalog-product-view :is(.border-slate-200, .border-slate-300),
body:is(.catalog-category-view, .catalogsearch-result-index) :is(.border-slate-200, .border-slate-300) {
    border-color: var(--borcook-line) !important;
}

/* Hyva Checkout */
body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main {
    color: var(--borcook-text);
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    legend,
    summary,
    dt,
    dd,
    .label,
    label,
    .title,
    .text-primary,
    .text-primary-darker,
    .text-secondary,
    .text-secondary-darker,
    .text-gray-900,
    .text-gray-800,
    .text-slate-900,
    .text-slate-800
) {
    color: var(--borcook-text) !important;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(
    .field-note,
    .note,
    .description,
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-gray-400,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-slate-400
) {
    color: var(--borcook-muted) !important;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(
    .checkout-section,
    #quote-summary,
    .address-item,
    #shipping-method-list > div,
    #payment-method-list > div
) {
    color: var(--borcook-text);
    background-color: var(--borcook-surface) !important;
    border-color: var(--borcook-line) !important;
    box-shadow: none;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    color: var(--borcook-text) !important;
    background-color: var(--borcook-field) !important;
    border-color: #6b6b6b !important;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(input, textarea)::placeholder {
    color: var(--borcook-muted) !important;
    opacity: 1;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main select option {
    color: var(--borcook-text);
    background-color: var(--borcook-field);
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(input:not([type="hidden"]), select, textarea):focus {
    border-color: var(--borcook-accent);
    --tw-ring-color: var(--borcook-accent);
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main :is(.border-slate-200, .border-slate-300) {
    border-color: var(--borcook-line) !important;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main .btn-secondary {
    color: var(--borcook-accent);
    background: var(--borcook-field);
    border-color: var(--borcook-accent);
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main .address-list .address-item.active,
body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main #shipping-method-list > div.active,
body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main #payment-method-list > div.active {
    color: var(--borcook-text);
    background-color: #2a2412 !important;
    border-color: var(--borcook-accent) !important;
}

/* Also cover custom checkout routes without the standard body classes. */
body #hyva-checkout-main input[type="checkbox"] + label::before {
    background-color: var(--borcook-field);
    border-color: #6b6b6b;
}

body #hyva-checkout-main input[type="checkbox"]:checked + label::before {
    background-color: transparent;
    border-color: transparent var(--borcook-accent) var(--borcook-accent) transparent;
}

body #hyva-checkout-main input[type="checkbox"]:active + label::before {
    box-shadow: none;
}

body #hyva-checkout-main input[type="checkbox"]:focus-visible + label {
    outline: 2px solid var(--borcook-accent);
    outline-offset: 4px;
}

body:is(.checkout-index-index, .hyva-checkout-index-index) #hyva-checkout-main [role="dialog"] :is(.bg-white, .bg-container, .bg-container-lighter) {
    color: var(--borcook-text);
    background-color: var(--borcook-surface) !important;
}

/* Checkout can be mounted under a custom route without Magento's standard body class. */
body #header .borcook-header-logo,
body #header .borcook-header-logo a,
body #header .borcook-header-logo img {
    display: block;
}

body #header .borcook-header-logo img {
    width: 210px;
    height: auto;
}

body #hyva-checkout-main {
    color: var(--borcook-text);
}

body #hyva-checkout-main :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    legend,
    summary,
    dt,
    dd,
    label,
    .label,
    .title,
    .text-primary,
    .text-primary-darker,
    .text-secondary,
    .text-secondary-darker,
    .text-gray-900,
    .text-gray-800,
    .text-slate-900,
    .text-slate-800
) {
    color: var(--borcook-text) !important;
}

body #hyva-checkout-main :is(
    .field-note,
    .note,
    .description,
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-gray-400,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-slate-400
) {
    color: var(--borcook-muted) !important;
}

body #hyva-checkout-main :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
) {
    color: var(--borcook-text) !important;
    background-color: var(--borcook-field) !important;
    border-color: #6b6b6b !important;
}

body #hyva-checkout-main :is(input, textarea)::placeholder {
    color: var(--borcook-muted) !important;
    opacity: 1;
}

body #hyva-checkout-main #payment-method-list > div.active,
body #hyva-checkout-main #shipping-method-list > div.active,
body #hyva-checkout-main .address-list .address-item.active {
    color: var(--borcook-text) !important;
    background-color: #2a2412 !important;
    border-color: var(--borcook-accent) !important;
}

body #hyva-checkout-main #payment-method-list > div.active :is(
    .text-gray-700,
    .text-gray-600,
    .text-slate-700,
    .text-slate-600
) {
    color: var(--borcook-text) !important;
}

body #hyva-checkout-main [role="dialog"] > div,
body #hyva-checkout-main [role="dialog"] :is(.bg-white, .bg-container, .bg-container-lighter) {
    color: var(--borcook-text);
    background-color: var(--borcook-surface) !important;
}

body #hyva-checkout-main [data-agreement-id] button:not(.btn-primary):not(.btn-secondary) {
    color: var(--borcook-muted) !important;
}

body #hyva-checkout-main .checkout-nav a[href*="checkout/cart"] {
    color: #111 !important;
    background-color: var(--borcook-accent) !important;
    border-color: var(--borcook-accent) !important;
}

body #hyva-checkout-main .checkout-nav a[href*="checkout/cart"]:hover,
body #hyva-checkout-main .checkout-nav a[href*="checkout/cart"]:focus-visible {
    color: #000 !important;
    background-color: #f0c13e !important;
}

/* Keep the BORCOOK+ wordmark fully visible on all localized home pages. */
@media (max-width: 640px) {
    body .bc-home .bc-plus-head {
        width: 100%;
        max-width: 100%;
    }

    body .bc-home .bc-plus-mark {
        width: 100%;
        max-width: 100%;
        font-size: clamp(3rem, 16vw, 5.125rem) !important;
        letter-spacing: -0.07em;
        line-height: 0.9;
        white-space: nowrap;
    }
}

/* Customer login */
body.customer-account-login #customer-auth-container > div,
body.customer-account-login #customer-auth-container .block-auth-customer {
    color: var(--borcook-text);
    background: var(--borcook-surface) !important;
    border: 1px solid var(--borcook-line);
    box-shadow: none;
}

body.customer-account-login #customer-auth-container :is(legend, h2, .title-font, .text-primary) {
    color: var(--borcook-text) !important;
}

body.customer-account-login #customer-auth-container :is(.text-secondary-darker, .block-content) {
    color: var(--borcook-muted) !important;
}

body.customer-account-login #customer-auth-container .label {
    color: var(--borcook-text) !important;
}

body.customer-account-login #customer-auth-container .form-input {
    color: var(--borcook-text);
    background-color: var(--borcook-field);
    border-color: #4a4a4a;
}

body.customer-account-login #customer-auth-container .form-input:hover {
    border-color: #6b6b6b;
}

body.customer-account-login #customer-auth-container .form-input:focus {
    border-color: var(--borcook-accent);
    --tw-ring-color: var(--borcook-accent);
    box-shadow: 0 0 0 1px var(--borcook-accent);
}

body.customer-account-login #customer-auth-container .form-input:-webkit-autofill,
body.customer-account-login #customer-auth-container .form-input:-webkit-autofill:hover,
body.customer-account-login #customer-auth-container .form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--borcook-text);
    caret-color: var(--borcook-text);
    box-shadow: 0 0 0 1000px var(--borcook-field) inset;
    transition: background-color 9999s ease-out;
}

body.customer-account-login #customer-auth-container .control button {
    color: var(--borcook-muted);
}

body.customer-account-login #customer-auth-container a.text-secondary {
    color: var(--borcook-accent);
}

body.customer-account-login #customer-auth-container [data-borniak-auth-method="google"] {
    color: var(--borcook-text) !important;
    background: var(--borcook-black) !important;
    border-color: #4a4a4a !important;
}

body.customer-account-login #customer-auth-container [data-borniak-auth-method="google"]:hover,
body.customer-account-login #customer-auth-container [data-borniak-auth-method="google"]:focus-visible {
    border-color: var(--borcook-accent) !important;
}

body.customer-account-login #customer-auth-container [data-borniak-auth-method="google"] > span:first-child {
    background: var(--borcook-black) !important;
    border-color: #4a4a4a !important;
}

body.customer-account-login #customer-auth-container .btn-primary {
    color: var(--borcook-black);
    background: var(--borcook-accent);
}

body.customer-account-login #customer-auth-container .btn-primary:hover,
body.customer-account-login #customer-auth-container .btn-primary:focus-visible {
    background: #f1c84f;
}

body.customer-account-login #customer-auth-container .block-auth-customer .btn-secondary {
    color: var(--borcook-black);
    background: var(--borcook-accent);
    border-color: var(--borcook-accent);
}

body.customer-account-login #customer-auth-container .block-auth-customer .btn-secondary:hover,
body.customer-account-login #customer-auth-container .block-auth-customer .btn-secondary:focus-visible {
    background: #f1c84f;
    border-color: #f1c84f;
}

/* Customer registration */
body.customer-account-create .registration-container {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
}

body.customer-account-create #customer-auth-container {
    align-items: start;
    gap: 1.5rem;
    padding-block: 1.5rem 3rem;
}

body.customer-account-create #customer-auth-container > div {
    width: 100%;
    max-width: none;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    color: var(--borcook-text);
    background: var(--borcook-surface) !important;
    border: 1px solid var(--borcook-line);
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

body.customer-account-create #customer-auth-container :is(legend, .title-font, .text-primary) {
    color: var(--borcook-text) !important;
}

body.customer-account-create #customer-auth-container legend {
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--borcook-line);
}

body.customer-account-create #customer-auth-container .field + .field {
    margin-top: 1rem;
}

body.customer-account-create #customer-auth-container .label {
    color: var(--borcook-muted) !important;
}

body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea) {
    min-height: 3rem;
    color: var(--borcook-text) !important;
    background-color: var(--borcook-field) !important;
    border-color: #4a4a4a !important;
    border-radius: .5rem;
    box-shadow: none;
}

body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea):hover {
    border-color: #6b6b6b !important;
}

body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea):focus {
    border-color: var(--borcook-accent) !important;
    outline: 2px solid rgba(231, 177, 29, .22);
    outline-offset: 1px;
    --tw-ring-color: transparent;
}

body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea):-webkit-autofill,
body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea):-webkit-autofill:hover,
body.customer-account-create #customer-auth-container :is(.form-input, .form-select, .form-textarea):-webkit-autofill:focus {
    -webkit-text-fill-color: var(--borcook-text);
    caret-color: var(--borcook-text);
    box-shadow: 0 0 0 1000px var(--borcook-field) inset;
    transition: background-color 9999s ease-out;
}

body.customer-account-create #customer-auth-container .control button {
    color: var(--borcook-muted);
}

body.customer-account-create #customer-auth-container :is(input[type="checkbox"], input[type="radio"]) {
    color: var(--borcook-accent);
    background-color: var(--borcook-field) !important;
    border-color: #666 !important;
    accent-color: var(--borcook-accent);
}

body.customer-account-create #customer-auth-container .choice .label a {
    color: var(--borcook-accent);
    text-underline-offset: .2em;
}

body.customer-account-create #customer-auth-container a[href*="google"] {
    color: var(--borcook-text) !important;
    background: var(--borcook-black) !important;
    border-color: #4a4a4a !important;
}

body.customer-account-create #customer-auth-container a[href*="google"]:hover,
body.customer-account-create #customer-auth-container a[href*="google"]:focus-visible {
    border-color: var(--borcook-accent) !important;
}

body.customer-account-create #customer-auth-container a[href*="google"] > span:first-child {
    background: var(--borcook-black) !important;
    border-color: #4a4a4a !important;
}

body.customer-account-create #customer-auth-container .btn-primary {
    min-height: 3.25rem;
    color: var(--borcook-black);
    background: var(--borcook-accent);
}

body.customer-account-create #customer-auth-container .btn-primary:hover,
body.customer-account-create #customer-auth-container .btn-primary:focus-visible {
    background: #f1c84f;
}

body.customer-account-create #customer-auth-container :is(.password-strength-meter, .field-error, .messages) {
    color: var(--borcook-muted);
}

@media (max-width: 767px) {
    body.customer-account-create .registration-container {
        max-width: 36rem;
    }

    body.customer-account-create #customer-auth-container {
        gap: 1rem;
        padding-top: 1rem;
    }

    body.customer-account-create #customer-auth-container > div {
        padding: 1.25rem;
        border-radius: .75rem;
    }
}

/* Contact page */
body.contact-index-index .form.contact.card,
body.contact-index-index .form.contact ~ .card {
    color: var(--borcook-text);
    background: var(--borcook-surface);
    border: 1px solid var(--borcook-line);
    box-shadow: none;
}

body.contact-index-index .form.contact .label,
body.contact-index-index .form.contact ~ .card table,
body.contact-index-index .form.contact ~ .card th,
body.contact-index-index .form.contact ~ .card td {
    color: var(--borcook-text) !important;
}

body.contact-index-index .form.contact input,
body.contact-index-index .form.contact textarea {
    color: var(--borcook-text);
    background-color: var(--borcook-field);
    border-color: #4a4a4a;
}

body.contact-index-index .form.contact input::placeholder,
body.contact-index-index .form.contact textarea::placeholder {
    color: var(--borcook-muted);
    opacity: 1;
}

body.contact-index-index .form.contact input:hover,
body.contact-index-index .form.contact textarea:hover {
    border-color: #6b6b6b;
}

body.contact-index-index .form.contact input:focus,
body.contact-index-index .form.contact textarea:focus {
    border-color: var(--borcook-accent);
    outline: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--borcook-accent);
}

body.contact-index-index .form.contact .btn-primary {
    color: var(--borcook-black);
    background: var(--borcook-accent);
}

body.contact-index-index .form.contact .btn-primary:hover,
body.contact-index-index .form.contact .btn-primary:focus-visible {
    background: #f1c84f;
}

body.contact-index-index .form.contact ~ .card table,
body.contact-index-index .form.contact ~ .card tr {
    border-color: #3a3a3a !important;
}

body.contact-index-index .form.contact ~ .card a {
    color: var(--borcook-accent);
    text-decoration-color: currentColor;
}

body.contact-index-index .form.contact ~ .card a:hover,
body.contact-index-index .form.contact ~ .card a:focus-visible {
    color: #f1c84f;
}

@media (max-width: 1100px) {
    .borcook-header-inner {
        grid-template-columns: 1fr auto;
        gap: 1rem 1.5rem;
        width: min(calc(100% - 2rem), 90rem);
    }

    .borcook-navigation {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
    }

    .borcook-navigation ul {
        width: max-content;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .borcook-header-inner {
        min-height: 72px;
        padding-block: 0.85rem;
    }

    .borcook-header-logo img {
        width: 168px;
    }

    .borcook-navigation ul {
        justify-content: flex-start;
        gap: 1.25rem;
    }

    .borcook-navigation a {
        font-size: 0.875rem;
    }

    .borcook-header-actions {
        gap: 0.5rem;
    }

    .borcook-account-link {
        width: 2.5rem;
        padding: 0.5rem;
        justify-content: center;
    }

    .borcook-account-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .borcook-footer-inner {
        width: min(calc(100% - 2rem), 96rem);
        padding: 2.5rem 0 2rem;
    }

    .borcook-footer-dash {
        display: none;
    }

    .borcook-footer-legal {
        flex-basis: 100%;
        margin-top: 0.75rem;
    }

    .borcook-footer-contact-row {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.75rem;
    }

    .borcook-footer-social {
        margin-top: 0.5rem;
    }

    .borcook-footer-copyright {
        margin-top: 2.25rem;
        line-height: 1.5;
    }
}
