/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "Fixel Text";
    src: url("../fonts/fixel/FixelText-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Text";
    src: url("../fonts/fixel/FixelText-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Text";
    src: url("../fonts/fixel/FixelText-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Text";
    src: url("../fonts/fixel/FixelText-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/fixel/FixelDisplay-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/fixel/FixelDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fixel Display";
    src: url("../fonts/fixel/FixelDisplay-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
    /* Fonts */
    --bc-font-main: "Fixel Text", Arial, sans-serif;
    --bc-font-heading: "Fixel Display", "Fixel Text", Arial, sans-serif;

    /* Brand colors */
    --bc-color-primary: #6b0c2a;
    --bc-color-primary-hover: #560820;
    --bc-color-primary-soft: #f5e8ec;
    --bc-color-accent: #bf4e24;
    --bc-color-accent-hover: #a53f1c;
    --bc-color-accent-soft: #f8e9e3;
    --bc-color-button: #bf4e24;
    --bc-color-button-hover: #6b0c2a;
    --bc-color-text: #291413;
    --bc-color-text-muted: rgba(41, 20, 19, 0.68);
    --bc-color-background: #ffffff;
    --bc-color-background-soft: #f7f4f3;
    --bc-color-surface: #ffffff;
    --bc-color-border: rgba(107, 12, 42, 0.16);
    --bc-color-overlay: rgba(41, 20, 19, 0.62);
    --bc-color-white: #ffffff;
    --bc-color-black: #000000;
    --bc-color-focus: #bf4e24;

    /* Backward-compatible aliases */
    --bc-text: var(--bc-color-text);
    --bc-background: var(--bc-color-background);
    --bc-border: var(--bc-color-border);
    --bc-focus: var(--bc-color-focus);

    /* Containers */
    --bc-container: 1440px;
    --bc-container-content: 920px;
    --bc-container-narrow: 760px;
    --bc-page-padding: 24px;

    /* Typography */
    --bc-font-size-h1: 58px;
    --bc-font-size-h2: 50px;
    --bc-font-size-h3: 40px;
    --bc-font-size-h4: 32px;
    --bc-font-size-h5: 24px;
    --bc-font-size-h6: 20px;
    --bc-font-size-body-lg: 20px;
    --bc-font-size-body: 16px;
    --bc-font-size-body-sm: 14px;
    --bc-font-size-caption: 12px;
    --bc-font-size-button: 16px;

    --bc-line-height-h1: 1.04;
    --bc-line-height-h2: 1.08;
    --bc-line-height-h3: 1.12;
    --bc-line-height-h4: 1.18;
    --bc-line-height-h5: 1.24;
    --bc-line-height-h6: 1.3;
    --bc-line-height-body: 1.6;
    --bc-line-height-small: 1.5;

    /* Spacing: one system based on 4px */
    --bc-space-0: 0;
    --bc-space-1: 4px;
    --bc-space-2: 8px;
    --bc-space-3: 12px;
    --bc-space-4: 16px;
    --bc-space-5: 20px;
    --bc-space-6: 24px;
    --bc-space-7: 32px;
    --bc-space-8: 40px;
    --bc-space-9: 48px;
    --bc-space-10: 56px;
    --bc-space-11: 64px;
    --bc-space-12: 80px;
    --bc-space-13: 96px;
    --bc-space-14: 120px;
    --bc-space-15: 144px;

    /* Standard section spacing */
    --bc-section-sm: 64px;
    --bc-section-md: 68px;
    --bc-section-lg: 78px;
    --bc-grid-gap: 24px;
    --bc-grid-gap-lg: 32px;

    /* Interface */
    --bc-header-height: 84px;
    --bc-radius-sm: 6px;
    --bc-radius-md: 12px;
    --bc-radius-lg: 20px;
    --bc-radius-pill: 999px;
    --bc-shadow-sm: 0 6px 20px rgba(41, 20, 19, 0.08);
    --bc-shadow-md: 0 16px 40px rgba(41, 20, 19, 0.12);
    --bc-transition: 0.25s ease;
}

/* =========================================================
   RESET AND BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--bc-color-text);
    background: var(--bc-color-background);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body);
    font-weight: 400;
    line-height: var(--bc-line-height-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    color: var(--bc-color-white);
    background: var(--bc-color-accent);
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

figure,
blockquote {
    margin: 0;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
[type="button"],
[type="submit"] {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color var(--bc-transition), opacity var(--bc-transition);
}

a,
button,
[type="button"],
[type="submit"] {
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    a:hover {
        color: var(--bc-color-primary);
    }
}

p,
ul,
ol,
dl {
    margin: 0;
}

ul,
ol {
    padding-left: 1.25em;
}

hr {
    height: 1px;
    margin: var(--bc-space-9) 0;
    border: 0;
    background: var(--bc-color-border);
}

[hidden] {
    display: none !important;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.text-h1,
.text-h2,
.text-h3,
.text-h4,
.text-h5,
.text-h6 {
    margin: 0;
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    text-wrap: balance;
}

h1,
.text-h1 {
    font-size: var(--bc-font-size-h1);
    font-weight: 800;
    line-height: var(--bc-line-height-h1);
    letter-spacing: -0.015em;
}

h2,
.text-h2 {
    font-size: var(--bc-font-size-h2);
    font-weight: 700;
    line-height: var(--bc-line-height-h2);
    letter-spacing: -0.03em;
}

h3,
.text-h3 {
    font-size: var(--bc-font-size-h3);
    font-weight: 700;
    line-height: var(--bc-line-height-h3);
    letter-spacing: -0.025em;
}

h4,
.text-h4 {
    font-size: var(--bc-font-size-h4);
    font-weight: 700;
    line-height: var(--bc-line-height-h4);
    letter-spacing: -0.02em;
}

h5,
.text-h5 {
    font-size: var(--bc-font-size-h5);
    font-weight: 600;
    line-height: var(--bc-line-height-h5);
    letter-spacing: -0.015em;
}

h6,
.text-h6 {
    font-size: var(--bc-font-size-h6);
    font-weight: 600;
    line-height: var(--bc-line-height-h6);
    letter-spacing: -0.01em;
}

strong,
b {
    font-weight: 700;
}

.text-large {
    font-size: var(--bc-font-size-body-lg);
    line-height: 1.55;
}

.text-body {
    font-size: var(--bc-font-size-body);
    line-height: var(--bc-line-height-body);
}

.text-small {
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.text-caption {
    font-size: var(--bc-font-size-caption);
    line-height: var(--bc-line-height-small);
}

.text-muted {
    color: var(--bc-color-text-muted);
}

.eyebrow {
    color: var(--bc-color-primary);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================================
   CONTAINERS AND SPACING
========================================================= */

.container {
    width: min(100% - (var(--bc-page-padding) * 2), var(--bc-container));
    margin-inline: auto;
}

.container--content {
    max-width: var(--bc-container-content);
}

.container--narrow {
    max-width: var(--bc-container-narrow);
}

.container--full {
    width: 100%;
    max-width: none;
}

.section {
    padding-block: var(--bc-section-md);
}

.section--small {
    padding-block: var(--bc-section-sm);
}

.section--large {
    padding-block: var(--bc-section-lg);
}

.section--no-top {
    padding-top: 0;
}

.section--no-bottom {
    padding-bottom: 0;
}

.section-header {
    max-width: 820px;
    margin-bottom: var(--bc-space-10);
}

.section-header--center {
    margin-inline: auto;
    text-align: center;
}

.section-header > * + * {
    margin-top: var(--bc-space-4);
}

.grid {
    display: grid;
    gap: var(--bc-grid-gap);
}

.grid--large-gap {
    gap: var(--bc-grid-gap-lg);
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
    display: flex;
    flex-direction: column;
    gap: var(--bc-space-6);
}

.stack--small {
    gap: var(--bc-space-4);
}

.stack--large {
    gap: var(--bc-space-8);
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bc-space-4);
}

.flow > * {
    margin-block: 0;
}

.flow > * + * {
    margin-block-start: var(--flow-space, var(--bc-space-4));
}

.flow--small {
    --flow-space: var(--bc-space-3);
}

.flow--large {
    --flow-space: var(--bc-space-6);
}

.gap-xs {
    gap: var(--bc-space-2);
}

.gap-sm {
    gap: var(--bc-space-4);
}

.gap-md {
    gap: var(--bc-space-6);
}

.gap-lg {
    gap: var(--bc-space-8);
}

.gap-xl {
    gap: var(--bc-space-11);
}

/* =========================================================
   BUTTONS
========================================================= */

.button,
.wp-element-button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 24px;
    align-items: center;
    justify-content: center;
    gap: var(--bc-space-2);
    border: 1px solid var(--bc-color-button);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-white);
    background: var(--bc-color-button);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-button);
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition:
        color var(--bc-transition),
        background-color var(--bc-transition),
        border-color var(--bc-transition),
        transform var(--bc-transition);
}

@media (hover: hover) and (pointer: fine) {
    .button:hover,
    .wp-element-button:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-button-hover);
        background: var(--bc-color-button-hover);
        transform: translateY(-2px);
    }
}

.button--secondary {
    color: var(--bc-color-white);
    border-color: var(--bc-color-primary);
    background: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .button--secondary:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary-hover);
        background: var(--bc-color-primary-hover);
    }
}

.button--outline {
    color: var(--bc-color-primary);
    border-color: var(--bc-color-primary);
    background: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .button--outline:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary);
        background: var(--bc-color-primary);
    }
}

.button--full {
    width: 100%;
}

.button[disabled],
.button.is-disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* =========================================================
   FORMS
========================================================= */

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 13px 16px;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    color: var(--bc-color-text);
    background: var(--bc-color-surface);
    outline: 0;
    transition: border-color var(--bc-transition), box-shadow var(--bc-transition);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--bc-color-text-muted);
    opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--bc-color-primary);
    box-shadow: 0 0 0 3px rgba(191, 78, 36, 0.18);
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.site-main {
    min-height: 50vh;
    padding-block: var(--bc-section-sm);
}

.site-main--front {
    padding-block: 0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bc-color-background);
}

.site-header__topbar {
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
}

.site-header__topbar-inner {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-6);
}

.header-instagram,
.header-address,
.header-phones,
.site-header__topbar-meta {
    display: flex;
    align-items: center;
}

.header-instagram,
.header-address,
.header-phones a,
.site-header__topbar .language-switcher__link {
    color: var(--bc-color-white);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
}

.header-instagram,
.header-address {
    gap: var(--bc-space-2);
}

@media (hover: hover) and (pointer: fine) {
    .header-instagram:hover,
    .header-address:hover,
    .header-phones a:hover,
    .site-header__topbar .language-switcher__link:hover {
        color: var(--bc-color-white);
        opacity: 0.74;
    }
}

.header-instagram svg,
.header-address svg,
.header-phones__icon {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.header-instagram svg circle:last-child {
    fill: currentColor;
    stroke: none;
}

.site-header__topbar-meta {
    min-width: 0;
    justify-content: flex-end;
    gap: var(--bc-space-6);
}

.header-address {
    min-width: 0;
    max-width: 340px;
}

.header-address span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-phones {
    gap: var(--bc-space-2);
}

.header-phones__list {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: var(--bc-space-4);
    list-style: none;
}

.header-phones__item {
    white-space: nowrap;
}

.language-switcher__list {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0;
    list-style: none;
}

.language-switcher__item + .language-switcher__item::before {
    margin-inline: 7px;
    color: rgba(255, 255, 255, 0.36);
    content: "/";
}

.language-switcher__link {
    position: relative;
    display: inline-block;
    opacity: 0.58;
}

.language-switcher__item.is-current .language-switcher__link {
    opacity: 1;
    font-weight: 700;
}

.language-switcher__item.is-current .language-switcher__link::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
}

.site-header__mainbar {
    border-bottom: 1px solid var(--bc-color-border);
    background: var(--bc-color-background);
}

.site-header__mainbar-inner {
    display: flex;
    min-height: 104px;
    align-items: center;
    gap: var(--bc-space-7);
}

.site-branding {
    flex: 0 0 auto;
    width: 230px;
}

.site-branding__link {
    display: block;
    text-decoration: none;
}

.site-branding__logo {
    display: block;
    width: 100%;
    max-width: 230px;
    max-height: 78px;
    margin-left: auto;
    object-fit: contain;
}

.primary-navigation {
    min-width: 0;
    margin-right: auto;
}

.primary-menu,
.footer-menu {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    list-style: none;
}

.primary-menu {
    gap: 30px;
}

.footer-menu {
    gap: var(--bc-space-6);
}

.primary-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

.primary-menu a,
.footer-menu a {
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    text-decoration: none;
}

.primary-menu > li > a {
    display: flex;
    min-height: 104px;
    align-items: center;
    color: var(--bc-color-text);
    white-space: nowrap;
}

.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
    color: var(--bc-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .primary-menu > li > a:hover {
        color: var(--bc-color-primary);
    }
}

.submenu-toggle {
    display: inline-flex;
    width: 25px;
    height: 32px;
    padding: 0 0 0 7px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--bc-color-text);
    background: transparent;
}

.submenu-toggle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform var(--bc-transition);
}

.menu-item-has-children.is-submenu-open > .submenu-toggle svg {
    transform: rotate(180deg);
}

@media (min-width: 1200px) {
    .menu-item-has-children:focus-within > .submenu-toggle svg {
        transform: rotate(180deg);
    }
}

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .menu-item-has-children:hover > .submenu-toggle svg {
        transform: rotate(180deg);
    }
}

.primary-menu .sub-menu {
    position: absolute;
    z-index: 10;
    top: calc(100% - 14px);
    left: -20px;
    min-width: 270px;
    margin: 0;
    padding: var(--bc-space-3);
    visibility: hidden;
    list-style: none;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    opacity: 0;
    background: var(--bc-color-surface);
    box-shadow: var(--bc-shadow-md);
    transform: translateY(10px);
    transition:
        opacity var(--bc-transition),
        visibility var(--bc-transition),
        transform var(--bc-transition);
}

.primary-menu .menu-item-has-children.is-submenu-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1200px) {
    .primary-menu .menu-item-has-children:focus-within > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .primary-menu .menu-item-has-children:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-menu .sub-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 16px;
    content: "";
}

.primary-menu .sub-menu li + li {
    border-top: 1px solid var(--bc-color-border);
}

.primary-menu .sub-menu a {
    display: block;
    padding: 12px 14px;
    color: var(--bc-color-text);
    font-size: 14px;
    line-height: 1.35;
}

.primary-menu .sub-menu .current-menu-item > a {
    color: var(--bc-color-primary);
    background: var(--bc-color-primary-soft);
}

@media (hover: hover) and (pointer: fine) {
    .primary-menu .sub-menu a:hover {
        color: var(--bc-color-primary);
        background: var(--bc-color-primary-soft);
    }
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    color: var(--bc-color-text);
    background: transparent;
    cursor: pointer;
}

.menu-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 5px;
    background: currentColor;
    transition: transform var(--bc-transition), opacity var(--bc-transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-buy-button {
    min-height: 50px;
    padding-inline: 22px;
    flex: 0 0 auto;
    border-radius: var(--bc-radius-pill);
    white-space: nowrap;
}

.header-buy-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.primary-navigation__mobile-meta {
    display: none;
}

/* Quick-order modal. */

body.quick-order-open {
    overflow: hidden;
}

.quick-order-modal {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: grid;
    padding: var(--bc-space-6);
    place-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--bc-transition), visibility var(--bc-transition);
}

.quick-order-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.quick-order-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(41, 20, 19, 0.72);
    backdrop-filter: blur(4px);
}

.quick-order-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    padding: 48px;
    overflow-y: auto;
    border-radius: var(--bc-radius-lg);
    background: var(--bc-color-background-soft);
    box-shadow: var(--bc-shadow-md);
    transform: translateY(18px) scale(0.98);
    transition: transform var(--bc-transition);
}

.quick-order-modal.is-open .quick-order-modal__dialog {
    transform: translateY(0) scale(1);
}

.quick-order-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bc-color-border);
    border-radius: 50%;
    color: var(--bc-color-text);
    background: var(--bc-color-white);
}

@media (hover: hover) and (pointer: fine) {
    .quick-order-modal__close:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary);
        background: var(--bc-color-primary);
    }
}

.quick-order-modal__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.quick-order-modal__eyebrow {
    margin-bottom: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.quick-order-modal__title {
    max-width: calc(100% - 48px);
    font-size: 38px;
}

.quick-order-modal__text {
    margin-top: var(--bc-space-4);
    color: var(--bc-color-text-muted);
}

.quick-order-modal__notice {
    margin-top: var(--bc-space-5);
    padding: var(--bc-space-4);
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-white);
    font-size: 14px;
}

.quick-order-modal__notice--success {
    border-color: rgba(31, 117, 63, 0.3);
    color: #1f753f;
}

.quick-order-form {
    display: grid;
    margin-top: var(--bc-space-7);
    gap: var(--bc-space-4);
}

.quick-order-form__field {
    display: grid;
    gap: var(--bc-space-2);
    font-size: 14px;
    font-weight: 600;
}

.quick-order-form__field input {
    background: var(--bc-color-white);
}

.quick-order-form__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--bc-color-border);
    background: var(--bc-color-background);
}

.site-footer__inner {
    display: flex;
    min-height: 120px;
    padding-block: var(--bc-space-7);
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-7);
}

.site-footer__copyright {
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
}

/* =========================================================
   WORDPRESS CONTENT
========================================================= */

.entry,
.archive-header,
.no-results,
.error-404 {
    max-width: var(--bc-container-content);
    margin-inline: auto;
}

.archive-header {
    margin-bottom: var(--bc-space-10);
}

.archive-description {
    margin-top: var(--bc-space-4);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-lg);
}

.entry + .entry {
    margin-top: var(--bc-space-11);
}

.entry-header {
    margin-bottom: var(--bc-space-7);
}

.entry-meta {
    margin-top: var(--bc-space-3);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
}

.entry-thumbnail {
    display: block;
    margin-block: var(--bc-space-7);
    overflow: hidden;
    border-radius: var(--bc-radius-sm);
}

.entry-thumbnail img {
    width: 100%;
}

.entry-content > *,
.page-content > * {
    margin-block: 0;
}

.entry-content > * + *,
.page-content > * + * {
    margin-top: var(--bc-space-5);
}

.entry-content > h2:not(:first-child),
.page-content > h2:not(:first-child) {
    margin-top: var(--bc-space-11);
}

.entry-content > h3:not(:first-child),
.page-content > h3:not(:first-child) {
    margin-top: var(--bc-space-9);
}

.entry-content > h4:not(:first-child),
.page-content > h4:not(:first-child) {
    margin-top: var(--bc-space-8);
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    display: grid;
    gap: var(--bc-space-2);
}

.entry-content blockquote,
.page-content blockquote {
    padding: var(--bc-space-6);
    border-left: 4px solid var(--bc-color-primary);
    background: var(--bc-color-background-soft);
    font-size: var(--bc-font-size-body-lg);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    position: fixed !important;
    z-index: 100000;
    top: var(--bc-space-3);
    left: var(--bc-space-3);
    width: auto;
    height: auto;
    padding: var(--bc-space-3) var(--bc-space-4);
    clip: auto;
    color: var(--bc-color-text);
    background: var(--bc-color-white);
    box-shadow: var(--bc-shadow-md);
}

:focus-visible {
    outline: 3px solid var(--bc-color-focus);
    outline-offset: 3px;
}

/* =========================================================
   LARGE TABLETS
========================================================= */

@media (max-width: 1199px) {
    :root {
        --bc-font-size-h1: 60px;
        --bc-font-size-h2: 48px;
        --bc-font-size-h3: 38px;
        --bc-font-size-h4: 30px;
        --bc-section-sm: 56px;
        --bc-section-md: 80px;
        --bc-section-lg: 104px;
    }

    .site-header__topbar-inner {
        min-height: 40px;
    }

    .header-instagram,
    .header-address {
        display: none;
    }

    .site-header__topbar-meta {
        width: 100%;
        justify-content: space-between;
    }

    .site-header__mainbar-inner {
        min-height: 74px;
        justify-content: space-between;
        gap: var(--bc-space-4);
    }

    .site-branding {
        order: 3;
        width: 190px;
        margin-left: auto;
    }

    .site-branding__logo {
        max-width: 190px;
        max-height: 62px;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .header-buy-button:not(.header-buy-button--mobile) {
        display: none;
    }

    .primary-navigation {
        position: absolute;
        z-index: 20;
        top: 100%;
        left: 0;
        order: 2;
        width: 100%;
        max-height: 0;
        margin: 0;
        overflow: hidden;
        visibility: hidden;
        border-top: 1px solid transparent;
        background: var(--bc-color-background);
        box-shadow: var(--bc-shadow-md);
        transition:
            max-height var(--bc-transition),
            visibility var(--bc-transition),
            border-color var(--bc-transition);
    }

    .primary-navigation.is-open {
        max-height: calc(100dvh - 114px);
        overflow-y: auto;
        visibility: visible;
        border-color: var(--bc-color-border);
    }

    .primary-menu {
        width: min(100% - (var(--bc-page-padding) * 2), var(--bc-container));
        margin-inline: auto;
        padding-block: var(--bc-space-5);
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .primary-menu > li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        border-bottom: 1px solid var(--bc-color-border);
    }

    .primary-menu > li:not(.menu-item-has-children) {
        grid-template-columns: minmax(0, 1fr);
    }

    .primary-menu > li > a {
        min-height: 54px;
        padding-block: var(--bc-space-3);
        font-size: 16px;
    }

    .submenu-toggle {
        width: 48px;
        height: 54px;
        padding: 0;
    }

    .primary-menu .sub-menu {
        position: static;
        display: grid;
        grid-column: 1 / -1;
        min-width: 0;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        visibility: visible;
        border: 0;
        border-radius: 0;
        opacity: 1;
        background: var(--bc-color-background-soft);
        box-shadow: none;
        transform: none;
        transition: max-height var(--bc-transition), padding var(--bc-transition);
    }

    .primary-menu .sub-menu::before {
        display: none;
    }

    .primary-menu .menu-item-has-children:focus-within > .sub-menu {
        max-height: 0;
    }

    .primary-menu .menu-item-has-children.is-submenu-open > .sub-menu {
        max-height: 360px;
        padding-block: var(--bc-space-2);
    }

    .primary-menu .sub-menu li + li {
        border-top: 0;
    }

    .primary-menu .sub-menu a {
        padding: 10px 18px;
    }

    .primary-navigation__mobile-meta {
        display: flex;
        width: min(100% - (var(--bc-page-padding) * 2), var(--bc-container));
        margin-inline: auto;
        padding: var(--bc-space-5) 0 var(--bc-space-7);
        align-items: flex-start;
        flex-direction: column;
        gap: var(--bc-space-4);
    }

    .primary-navigation__mobile-address,
    .primary-navigation__mobile-instagram,
    .primary-navigation__mobile-phones a {
        color: var(--bc-color-text);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }

    .primary-navigation__mobile-phones {
        display: flex;
        flex-wrap: wrap;
        gap: var(--bc-space-3) var(--bc-space-5);
    }

    .header-buy-button--mobile {
        display: inline-flex;
        width: 100%;
        margin-top: var(--bc-space-2);
    }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 991px) {
    :root {
        --bc-page-padding: 20px;
        --bc-font-size-h1: 56px;
        --bc-font-size-h2: 44px;
        --bc-font-size-h3: 34px;
        --bc-font-size-h4: 28px;
        --bc-font-size-h5: 22px;
        --bc-font-size-h6: 18px;
        --bc-section-sm: 48px;
        --bc-section-md: 64px;
        --bc-section-lg: 80px;
        --bc-grid-gap: 20px;
        --bc-grid-gap-lg: 24px;
        --bc-header-height: 72px;
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    :root {
        --bc-page-padding: 16px;
        --bc-font-size-h1: 40px;
        --bc-font-size-h2: 34px;
        --bc-font-size-h3: 28px;
        --bc-font-size-h4: 24px;
        --bc-font-size-h5: 20px;
        --bc-font-size-h6: 18px;
        --bc-font-size-body-lg: 18px;
        --bc-section-sm: 40px;
        --bc-section-md: 56px;
        --bc-section-lg: 72px;
        --bc-grid-gap: 16px;
        --bc-grid-gap-lg: 20px;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-header {
        margin-bottom: var(--bc-space-8);
    }

    .site-header__topbar-inner {
        min-height: 38px;
    }

    .site-header__topbar-meta {
        gap: var(--bc-space-3);
    }

    .header-phones__icon {
        display: none;
    }

    .header-phones__item:nth-child(n + 2) {
        display: none;
    }

    .header-phones a,
    .site-header__topbar .language-switcher__link {
        font-size: 11px;
    }

    .language-switcher__item + .language-switcher__item::before {
        margin-inline: 5px;
    }

    .site-header__mainbar-inner {
        min-height: 68px;
    }

    .site-branding {
        width: 160px;
    }

    .site-branding__logo {
        max-width: 160px;
        max-height: 54px;
    }

    .primary-navigation.is-open {
        max-height: calc(100dvh - 106px);
    }

    .quick-order-modal {
        padding: var(--bc-space-4);
    }

    .quick-order-modal__dialog {
        max-height: calc(100dvh - 32px);
        padding: 40px 24px 28px;
        border-radius: var(--bc-radius-sm);
    }

    .quick-order-modal__close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .quick-order-modal__title {
        font-size: 30px;
    }

    .button--full-mobile {
        width: 100%;
    }

    .site-footer__inner,
    .footer-menu {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__inner {
        min-height: 0;
        padding-block: var(--bc-space-8);
    }

    .entry-header {
        margin-bottom: var(--bc-space-6);
    }

    .entry-content > h2:not(:first-child),
    .page-content > h2:not(:first-child) {
        margin-top: var(--bc-space-9);
    }

    .entry-content > h3:not(:first-child),
    .page-content > h3:not(:first-child) {
        margin-top: var(--bc-space-8);
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479px) {
    :root {
        --bc-font-size-h1: 36px;
        --bc-font-size-h2: 30px;
        --bc-font-size-h3: 26px;
        --bc-font-size-h4: 22px;
    }

    .button,
    .wp-element-button {
        min-height: 50px;
        padding-inline: 20px;
    }

    .site-branding {
        width: 138px;
    }

    .site-branding__logo {
        max-width: 138px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* =========================================================
   SCROLL TO TOP
========================================================= */

.bc-scroll-top {
    position: fixed;
    z-index: 900;
    right: var(--bc-space-6);
    bottom: var(--bc-space-6);

    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;

    place-items: center;

    border: 1px solid var(--bc-color-primary);
    border-radius: var(--bc-radius-sm);

    color: var(--bc-color-white);
    background: var(--bc-color-primary);

    box-shadow: var(--bc-shadow-sm);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: none;

    transition:
        opacity var(--bc-transition),
        visibility var(--bc-transition),
        color var(--bc-transition),
        background-color var(--bc-transition),
        border-color var(--bc-transition);
}

.bc-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bc-scroll-top:focus-visible {
    color: var(--bc-color-white);
    background: var(--bc-color-accent);
    border-color: var(--bc-color-accent);
    outline: 2px solid var(--bc-color-focus);
    outline-offset: 3px;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .bc-scroll-top:hover {
        color: var(--bc-color-white);
        background: var(--bc-color-accent);
        border-color: var(--bc-color-accent);
        transform: none;
    }
}

.bc-scroll-top svg {
    display: block;
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {

    .bc-scroll-top {
        right: var(--bc-space-4);
        bottom: var(--bc-space-4);

        width: 44px;
        height: 44px;
    }

    .bc-scroll-top svg {
        width: 20px;
        height: 20px;
    }

}





/* PAGE NAVIGATOION*/


/* =========================================================
   BC BRICK — PAGE NAVIGATION
========================================================= */

.bc-page-navigation {
    background: var(--bc-color-background);
}

.bc-page-navigation *,
.bc-page-navigation *::before,
.bc-page-navigation *::after {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.bc-page-navigation__header {
    margin-bottom: var(--bc-space-7);
}

.bc-page-navigation__line {
    display: block;
    width: var(--bc-space-8);
    height: 2px;
    margin-bottom: var(--bc-space-3);
    background: var(--bc-color-accent);
}

.bc-page-navigation__title {
    margin: 0;

    color: var(--bc-color-text);

    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h2);
    font-weight: 700;
    line-height: var(--bc-line-height-h2);
    letter-spacing: -0.03em;
}


/* =========================================================
   GRID
========================================================= */

.bc-page-navigation__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--bc-grid-gap);
}


/* =========================================================
   CARD
========================================================= */

.bc-page-navigation__card {
    position: relative;

    display: block;
    min-width: 0;
    min-height: 0;

    overflow: hidden;
    aspect-ratio: 1.72 / 1;

    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);

    color: var(--bc-color-white);
    background: var(--bc-color-primary);

    text-decoration: none;

    isolation: isolate;

    transition:
        border-color var(--bc-transition);
}

.bc-page-navigation__card:focus-visible {
    color: var(--bc-color-white);
    border-color: var(--bc-color-primary);
    outline: 2px solid var(--bc-color-focus);
    outline-offset: var(--bc-space-1);
}

@media (hover: hover) and (pointer: fine) {
    .bc-page-navigation__card:hover {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary);
    }
}


/* =========================================================
   IMAGE
========================================================= */

.bc-page-navigation__image {
    position: absolute;
    z-index: -2;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   OVERLAY
========================================================= */

.bc-page-navigation__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            color-mix(
                in srgb,
                var(--bc-color-text) 2%,
                transparent
            )
            18%,
            color-mix(
                in srgb,
                var(--bc-color-text) 90%,
                transparent
            )
            100%
        );

    transition:
        background-color var(--bc-transition);
}

.bc-page-navigation__card.is-accent:focus-visible
.bc-page-navigation__overlay {
    background-color:
        color-mix(
            in srgb,
            var(--bc-color-accent) 16%,
            transparent
        );
}

@media (hover: hover) and (pointer: fine) {
    .bc-page-navigation__card.is-accent:hover
    .bc-page-navigation__overlay {
        background-color:
            color-mix(
                in srgb,
                var(--bc-color-accent) 16%,
                transparent
            );
    }
}


/* =========================================================
   CONTENT
========================================================= */

.bc-page-navigation__content {
    position: absolute;

    right:
        calc(
            var(--bc-space-9)
            + var(--bc-space-5)
        );

    bottom: var(--bc-space-5);
    left: var(--bc-space-5);

    display: flex;
    min-width: 0;

    align-items: flex-start;
    flex-direction: column;
}

.bc-page-navigation__card-title {
    color: var(--bc-color-white);

    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h5);
    font-weight: 600;
    line-height: var(--bc-line-height-h5);
    letter-spacing: -0.015em;
}

.bc-page-navigation__card-text {
    max-width: var(--bc-container-narrow);
    margin-top: var(--bc-space-2);

    color:
        color-mix(
            in srgb,
            var(--bc-color-white) 78%,
            transparent
        );

    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}


/* =========================================================
   ARROW
========================================================= */

.bc-page-navigation__arrow {
    position: absolute;
    right: var(--bc-space-4);
    bottom: var(--bc-space-4);

    display: grid;

    width: var(--bc-space-9);
    height: var(--bc-space-9);

    place-items: center;

    border: 1px solid transparent;
    border-radius: var(--bc-radius-sm);

    color: var(--bc-color-primary);
    background: var(--bc-color-white);

    transition:
        color var(--bc-transition),
        border-color var(--bc-transition),
        background-color var(--bc-transition);
}

.bc-page-navigation__card.is-accent
.bc-page-navigation__arrow {
    color: var(--bc-color-white);
    background: var(--bc-color-accent);
}

.bc-page-navigation__card:focus-visible
.bc-page-navigation__arrow {
    color: var(--bc-color-white);
    border-color: var(--bc-color-primary);
    background: var(--bc-color-primary);
}

.bc-page-navigation__card.is-accent:focus-visible
.bc-page-navigation__arrow {
    border-color: var(--bc-color-accent-hover);
    background: var(--bc-color-accent-hover);
}

@media (hover: hover) and (pointer: fine) {
    .bc-page-navigation__card:hover
    .bc-page-navigation__arrow {
        color: var(--bc-color-white);
        border-color: var(--bc-color-primary);
        background: var(--bc-color-primary);
    }

    .bc-page-navigation__card.is-accent:hover
    .bc-page-navigation__arrow {
        border-color: var(--bc-color-accent-hover);
        background: var(--bc-color-accent-hover);
    }
}

.bc-page-navigation__arrow svg {
    display: block;

    width: var(--bc-space-5);
    height: var(--bc-space-5);

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   TABLET — <= 991
========================================================= */

@media (max-width: 991px) {

    .bc-page-navigation__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .bc-page-navigation__card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        aspect-ratio: 2 / 1;
    }

}


/* =========================================================
   MOBILE — <= 767
========================================================= */

@media (max-width: 767px) {

    .bc-page-navigation__header {
        margin-bottom: var(--bc-space-6);
    }

    .bc-page-navigation__title {
        font-size: var(--bc-font-size-h3);
        line-height: var(--bc-line-height-h3);
    }

    .bc-page-navigation__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bc-page-navigation__card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .bc-page-navigation__card,
    .bc-page-navigation__card:last-child:nth-child(odd) {
        aspect-ratio: 16 / 10;
    }

    .bc-page-navigation__content {
        right:
            calc(
                var(--bc-space-8)
                + var(--bc-space-5)
            );

        bottom: var(--bc-space-4);
        left: var(--bc-space-4);
    }

    .bc-page-navigation__card-title {
        font-size: var(--bc-font-size-h6);
        line-height: var(--bc-line-height-h6);
    }

    .bc-page-navigation__card-text {
        font-size: var(--bc-font-size-caption);
    }

    .bc-page-navigation__arrow {
        right: var(--bc-space-3);
        bottom: var(--bc-space-3);

        width: var(--bc-space-8);
        height: var(--bc-space-8);
    }

    .bc-page-navigation__arrow svg {
        width: var(--bc-space-4);
        height: var(--bc-space-4);
    }

}


/* =========================================================
   SMALL MOBILE — <= 479
========================================================= */

@media (max-width: 479px) {

    .bc-page-navigation__card,
    .bc-page-navigation__card:last-child:nth-child(odd) {
        aspect-ratio: 6 / 5;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bc-page-navigation__card,
    .bc-page-navigation__overlay,
    .bc-page-navigation__arrow {
        transition: none;
    }

}