/**
 * Mary Belle Luxury — Brand Design System v3
 * Complete rewrite — clean, bulletproof, no hacks.
 *
 * Every element gets explicit colors and sizes.
 * No reliance on inheritance for critical styles.
 */

/* ============================================
   0. ENVYBOX — кнопка скрыта, виджет вызывается программно
   ============================================ */

a.cbk-phone {
    position: fixed !important;
    left: -9999px !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}
a.cbk-phone .cbk-phone-circle,
a.cbk-phone .cbk-phone-second_circle,
a.cbk-phone .cbk-phone-third_circle {
    display: none !important;
}

/* ============================================
   1. RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress wrapper resets */
#page, #content, .site-content, .hfeed, .site,
.entry-content {
    max-width: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   2. DESIGN TOKENS
   ============================================ */

:root {
    /* Accent */
    --mb-accent: #8b6d4b;
    --mb-accent-text: #6d5436;   /* WCAG AA 4.6:1 on #f3f2ef, 5.85:1 on white */
    --mb-accent-hover: #74593a;
    --mb-accent-light: #b9a79e;
    --mb-accent-glow: rgba(139, 109, 75, 0.12);
    --mb-accent-subtle: rgba(139, 109, 75, 0.06);

    /* Text */
    --mb-text-heading: #0a0a0a;
    --mb-text-body: #333333;
    --mb-text-secondary: #6b6b6b;
    --mb-text-on-dark: #ffffff;

    /* Backgrounds */
    --mb-bg-white: #ffffff;
    --mb-bg-light: #f3f2ef;
    --mb-bg-warm: #faf9f7;
    --mb-bg-dark: #0a0a0a;

    /* Utility */
    --mb-border: rgba(0, 0, 0, 0.08);
    --mb-radius: 0;
    --mb-radius-pill: 100px;

    /* Typography */
    --mb-font-heading: 'DM Serif Display', Georgia, serif;
    --mb-font-body: 'Libre Franklin', sans-serif;

    /* Spacing */
    --mb-section-gap: clamp(80px, 10vw, 140px);
    --mb-container-max: 1200px;
    --mb-container-narrow: 800px;
    --mb-container-pad: clamp(20px, 4vw, 40px);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mb-font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: #0a0a0a;
}

h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(18px, 2vw, 24px); }

p {
    color: #333333;
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   4. LAYOUT
   ============================================ */

.mb-container {
    width: 100%;
    max-width: var(--mb-container-max);
    margin: 0 auto;
    padding: 0 var(--mb-container-pad);
}

.mb-section {
    padding: var(--mb-section-gap) 0;
    background-color: #ffffff;
    color: #333333;
}

.mb-section--light {
    background-color: #f3f2ef;
}

.mb-section--warm {
    background-color: #faf9f7;
}

.mb-section--dark {
    background-color: #0a0a0a;
    color: #ffffff;
}

.mb-section--dark h2,
.mb-section--dark h3,
.mb-section--dark h4 {
    color: #ffffff;
}

.mb-section--dark p {
    color: rgba(255, 255, 255, 0.75);
}

.mb-section__title {
    text-align: center;
    margin-bottom: 16px;
    color: #0a0a0a;
}

.mb-section--dark .mb-section__title {
    color: #ffffff;
}

.mb-section__subtitle {
    text-align: center;
    color: #6b6b6b;
    font-size: 19px;
    max-width: 640px;
    margin: 0 auto 48px;
}

.mb-section--dark .mb-section__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.mb-section--accent {
    background-color: var(--mb-gold, #8b6d4b);
    color: #ffffff;
}

/* ─── Guarantee Block ─────────────────────────────────── */

.mb-guarantee {
    padding: 80px 0;
}

.mb-guarantee__inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.mb-guarantee__icon {
    margin-bottom: 24px;
    color: #ffffff;
}

.mb-guarantee__title {
    font-family: var(--mb-font-heading, 'DM Serif Display', serif);
    font-size: clamp(28px, 4vw, 40px);
    color: #ffffff;
    margin-bottom: 16px;
}

.mb-guarantee__text {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 32px;
}

.mb-btn--light {
    display: inline-block;
    padding: 14px 36px;
    background: #ffffff;
    color: var(--mb-accent-text, #7a5f3f);
    border-radius: 0;
    font-family: var(--mb-font-body);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.mb-btn--light:hover {
    background: #0a0a0a;
    color: #ffffff;
}

/* ─── Before & After Cards ────────────────────────────── */

.mb-before-after__card {
    position: relative;
    overflow: hidden;
}

.mb-before-after__card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-before-after__card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mb-before-after__card--link img {
    transition: transform 0.4s ease;
}

.mb-before-after__card--link:hover img {
    transform: scale(1.03);
}

.mb-before-after__card img {
    display: block;
}

.mb-before-after__label {
    font-family: var(--mb-font-heading, 'DM Serif Display', serif);
    font-size: 18px;
    color: #0a0a0a;
    margin-top: 12px;
    text-align: center;
}

/* ─── Portfolio Grid (front-page model cards) ─── */
.mb-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.mb-portfolio-card__hidden {
    display: none;
}
.mb-portfolio-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.mb-portfolio-card__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.mb-portfolio-card__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 125%; /* 4:5 */
    overflow: hidden;
}
.mb-portfolio-card__img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.mb-portfolio-card__link:hover .mb-portfolio-card__img-wrap img {
    transform: scale(1.05);
}
.mb-portfolio-card__label {
    display: block;
    padding: 10px 12px 2px;
    font-family: var(--mb-font-heading, 'DM Serif Display', serif);
    font-size: 15px;
    color: #1a1a1a;
}
.mb-portfolio-card__count {
    display: block;
    padding: 0 12px 12px;
    font-size: 12px;
    color: var(--mb-accent-text, #7a5f3f);
    letter-spacing: .05em;
}
@media (max-width: 960px) {
    .mb-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .mb-portfolio-card__label { font-size: 13px; padding: 8px 8px 2px; }
    .mb-portfolio-card__count { font-size: 11px; padding: 0 8px 8px; }
}
@media (max-width: 480px) {
    .mb-portfolio-grid { gap: 8px; }
    .mb-portfolio-card__link { border-radius: 8px; }
}

/* ─── Portfolio: ratio variants ─── */
.mb-portfolio-grid--ratio-4-7 .mb-portfolio-card__img-wrap {
    padding-bottom: 175%; /* 4:7 */
}
.mb-portfolio-grid--ratio-5-3 .mb-portfolio-card__img-wrap {
    padding-bottom: 60%; /* 5:3 */
}
.mb-portfolio-grid--ratio-9-16 .mb-portfolio-card__img-wrap {
    padding-bottom: 177.78%; /* 9:16 vertical */
}
.mb-portfolio-grid--ratio-9-16 .mb-portfolio-card__img-wrap img {
    object-position: center top;
}
.mb-portfolio-grid--ratio-5-3 .mb-portfolio-card--wide .mb-portfolio-card__img-wrap {
    padding-bottom: 60%; /* 5:3 override for wide cards too */
}

/* ─── Portfolio: 2-column grid for before/after on homepage ─── */
.mb-portfolio-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}
.mb-portfolio-grid--2col .mb-portfolio-card--wide {
    grid-column: span 1;
}

/* ─── Portfolio: 3-column desktop grid, 2-col on mobile ─── */
.mb-portfolio-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
    .mb-portfolio-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Portfolio: wide cards (16:9 before/after) ─── */
.mb-portfolio-grid--mixed {
    grid-template-columns: repeat(4, 1fr);
}
.mb-portfolio-card--wide {
    grid-column: span 2;
}
.mb-portfolio-card--wide .mb-portfolio-card__img-wrap {
    padding-bottom: 56.25%; /* 16:9 */
}
@media (max-width: 960px) {
    .mb-portfolio-grid--mixed {
        grid-template-columns: repeat(2, 1fr);
    }
    .mb-portfolio-card--wide {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    .mb-portfolio-card--wide {
        grid-column: span 2;
    }
}

/* ─── Portfolio: anchor nav ─── */
.mb-portfolio-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid #e8e0d5;
    padding: 0;
}
.mb-portfolio-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mb-portfolio-nav__list::-webkit-scrollbar { display: none; }
.mb-portfolio-nav__list li a {
    display: block;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .03em;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.mb-portfolio-nav__list li a:hover {
    color: var(--mb-accent-text, #7a5f3f);
    border-bottom-color: var(--mb-accent-text, #7a5f3f);
}

/* ─── Split action buttons ─── */
.mb-section__actions--split {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .mb-section__actions--split {
        flex-direction: column;
        align-items: stretch;
    }
    .mb-section__actions--split .mb-btn {
        text-align: center;
    }
    .mb-portfolio-nav__list li a {
        padding: 12px 14px;
        font-size: 12px;
    }
}

/* Label */
.mb-label {
    display: inline-block;
    font-family: var(--mb-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mb-accent-text, #7a5f3f);
    margin-bottom: 16px;
}

/* Grid system */
.mb-grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.mb-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mb-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

@media (max-width: 1024px) {
    .mb-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mb-grid--2,
    .mb-grid--3,
    .mb-grid--4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   4b. TOP BAR — Контакты и мессенджеры
   ============================================ */

/* Fixed wrapper: topbar + header stacked, no pixel guessing */
.mb-fixed-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease;
}

/* When burger menu is open, kill transform so position:fixed nav
   is relative to viewport, not the transformed ancestor */
body.mb-menu-open .mb-fixed-bar {
    transform: none !important;
}

.mb-topbar {
    position: relative;
    z-index: 1002;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1;
}

/* Desktop: one row — addr+info left, phone+messengers right */
.mb-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    gap: 16px;
}

/* Rows are inline on desktop */
.mb-topbar__row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mb-topbar__row--info {
    gap: 8px;
}

.mb-topbar__dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.mb-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.6);
}

.mb-topbar__item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.mb-topbar__item--accent {
    color: #b9a79e;
}

.mb-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.mb-topbar__link:hover {
    color: #ffffff;
}

.mb-topbar__phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mb-topbar__phone-link:hover {
    color: #b9a79e;
}

.mb-topbar__sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    user-select: none;
}

.mb-topbar__messengers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mb-topbar__msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, background 0.2s ease;
}

.mb-topbar__msg:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Topbar: mobile — 3 rows stacked --- */
@media (max-width: 960px) {
    .mb-topbar__inner {
        flex-direction: column;
        height: auto;
        padding: 6px 0;
        gap: 4px;
        align-items: center;
    }

    .mb-topbar__row {
        width: 100%;
        justify-content: center;
    }

    .mb-topbar__row--addr {
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mb-topbar__row--addr .mb-topbar__link {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.85);
    }

    .mb-topbar__row--addr .mb-topbar__link svg {
        display: none;
    }

    .mb-topbar__row--info {
        gap: 6px;
    }

    .mb-topbar__row--info .mb-topbar__item {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .mb-topbar__inner {
        padding: 5px 0;
        gap: 3px;
    }

    .mb-topbar__row--addr {
        padding-bottom: 3px;
    }

    .mb-topbar__row--addr .mb-topbar__link {
        font-size: 12px;
    }

    .mb-topbar__row--info .mb-topbar__item {
        font-size: 11px;
    }

    .mb-topbar__phone-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mb-topbar__inner {
        padding: 4px 0;
        gap: 2px;
    }

    .mb-topbar__row--addr .mb-topbar__link {
        font-size: 11px;
    }

    .mb-topbar__row--info .mb-topbar__item {
        font-size: 10px;
    }

    .mb-topbar__phone-link {
        font-size: 12px;
    }

    .mb-topbar__msg {
        width: 24px;
        height: 24px;
    }

    .mb-topbar__msg svg {
        width: 13px;
        height: 13px;
    }

    .mb-topbar__messengers {
        gap: 2px;
    }
}

/* ============================================
   5. HEADER
   ============================================ */

.mb-header {
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mb-header--sticky {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.mb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: var(--mb-container-max);
    margin: 0 auto;
    padding: 0 var(--mb-container-pad);
}

/* Row 1: logo + info + actions */
.mb-header__logo {
    order: 1;
    padding: 14px 0;
    flex-shrink: 0;
}

.mb-header__info {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    padding: 0 20px;
}

.mb-header__info-item {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
}

.mb-header__info-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.mb-header__info-link:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-header__info-dot {
    color: #ccc;
    font-size: 10px;
}

.mb-header__info-phone {
    font-weight: 600;
    color: #0a0a0a;
    font-size: 13px;
}

.mb-header__info-phone:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-header__info-msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.mb-header__info-msg a {
    color: #767676;
    transition: color 0.2s;
    display: flex;
}

.mb-header__info-msg a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-header__actions {
    order: 3;
    margin-left: 0;
    flex-shrink: 0;
}

.mb-header__burger {
    order: 4;
}

/* Row 2: nav takes full width below */
.mb-header__nav--desktop {
    order: 5;
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 0;
}

/* Desktop: hide topbar (info is in header row) */
@media (min-width: 961px) {
    .mb-topbar {
        display: none;
    }
}

.mb-header__logo img {
    height: 48px;
    width: auto;
}

.mb-header__logo-text {
    font-family: var(--mb-font-heading);
    font-size: 22px;
    color: #0a0a0a;
    text-decoration: none;
}

.mb-header__nav {
    display: flex;
    align-items: center;
}

.mb-header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mb-header__menu > li {
    margin: 0;
    padding: 0;
    position: relative;
}

.mb-header__nav a,
.mb-header__nav button {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mb-header__nav a:hover,
.mb-header__nav button:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

/* ── Dropdown arrow ── */
.mb-dropdown-arrow {
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.mb-has-dropdown:hover .mb-dropdown-arrow {
    transform: rotate(180deg);
}

/* ── Mega dropdown ── */
.mb-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100;
}

.mb-has-dropdown:hover .mb-mega-dropdown {
    opacity: 1;
    visibility: visible;
}

.mb-mega-dropdown__inner {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    padding: 28px 32px;
    min-width: 640px;
}

.mb-mega-dropdown__group {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    border-right: 1px solid #f0ede8;
}

.mb-mega-dropdown__group:first-child {
    padding-left: 0;
}

.mb-mega-dropdown__group:last-child {
    padding-right: 0;
    border-right: none;
}

.mb-mega-dropdown__heading {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mb-accent-text, #7a5f3f);
    margin-bottom: 12px;
    white-space: nowrap;
}

.mb-mega-dropdown__group a {
    display: block;
    font-size: 13px;
    color: #333;
    padding: 5px 0;
    white-space: nowrap;
    transition: color 0.15s;
}

.mb-mega-dropdown__group a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

/* ── Nav separator dot ── */
.mb-header__sep-dot {
    width: 3px;
    height: 3px;
    background: #ccc;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Seasonal service bar ── */
.mb-service-bar {
    background: #f9f7f4;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: none; /* hidden on desktop — services are in main nav */
}

.mb-service-bar__inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mb-service-bar__inner::-webkit-scrollbar {
    display: none;
}

.mb-service-bar__link {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.mb-service-bar__link:first-child {
    padding-left: 0;
}

.mb-service-bar__link:last-child {
    border-right: none;
}

.mb-service-bar__link:hover,
.mb-service-bar__link:active {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-service-bar__link--more {
    color: var(--mb-accent-text, #7a5f3f);
    font-weight: 400;
}

@media (max-width: 960px) {
    .mb-service-bar {
        display: block;
    }
}

/* ── Mobile accordion (styles near mobile menu section below) ── */

.mb-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mb-header__phone {
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
    white-space: nowrap;
}

.mb-header__cta {
    display: inline-block;
    padding: 10px 24px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s ease;
}

.mb-header__cta:hover {
    background: #74593a;
}

/* Burger menu */
.mb-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mb-header__burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #0a0a0a;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mb-header__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mb-header__burger--open span:nth-child(2) {
    opacity: 0;
}

.mb-header__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 960px) {
    /* Hide desktop nav and info — shown in topbar + sticky bar instead */
    .mb-header__nav--desktop {
        display: none;
    }

    .mb-header__info {
        display: none;
    }

    /* Single-row mobile header */
    .mb-header__inner {
        flex-wrap: nowrap;
    }

    .mb-header__logo {
        padding: 10px 0;
    }

    .mb-header__burger {
        display: flex;
    }

    .mb-header__cart {
        display: none;
    }
    .mb-header__cta {
        padding: 8px 18px;
        font-size: 11px;
    }
}

/* ─── Mobile Menu ─── */

/* Container: covers full screen but is transparent — catches taps */
.mb-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.mb-mobile-menu--open {
    visibility: visible;
    pointer-events: auto;
}

/* Semi-transparent backdrop — tap to close */
.mb-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mb-mobile-menu--open .mb-mobile-menu__backdrop {
    opacity: 1;
}

/* Panel: drops down from under the fixed bar, auto height */
.mb-mobile-menu__panel {
    position: absolute;
    top: var(--mb-bar-height, 140px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.3s ease;
    max-height: calc(100vh - var(--mb-bar-height, 140px) - 40px);
    overflow-y: auto;
}

.mb-mobile-menu--open .mb-mobile-menu__panel {
    transform: translateY(0);
    opacity: 1;
}

/* Close button */
.mb-mobile-menu__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b6b6b;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.mb-mobile-menu__close:hover {
    color: #0a0a0a;
    background: rgba(0, 0, 0, 0.04);
}

/* Nav links */
.mb-mobile-menu__nav {
    padding: 32px 24px 16px;
}

.mb-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mb-mobile-menu__list li {
    margin: 0;
    padding: 0;
}

.mb-mobile-menu__list > li > a {
    display: block;
    padding: 12px 0;
    font-family: var(--mb-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;
}

.mb-mobile-menu__list > li:last-child > a {
    border-bottom: none;
}

.mb-mobile-menu__list > li > a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

/* ── Mobile accordion ── */

.mb-mobile-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    font-family: var(--mb-font-heading);
    font-size: 20px;
    font-weight: 400;
    color: #0a0a0a;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-align: left;
}

.mb-mobile-accordion--open .mb-mobile-accordion__toggle {
    border-bottom-color: transparent;
}

.mb-mobile-accordion__arrow {
    transition: transform 0.25s;
    flex-shrink: 0;
}

.mb-mobile-accordion--open .mb-mobile-accordion__arrow {
    transform: rotate(180deg);
}

.mb-mobile-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mb-mobile-accordion--open .mb-mobile-accordion__body {
    max-height: 700px;
}

.mb-mobile-accordion__body a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    font-family: var(--mb-font-body);
}

.mb-mobile-accordion__body a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-mobile-accordion__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mb-accent-text, #7a5f3f);
    margin-top: 14px;
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.mb-mobile-accordion__body a:first-child {
    font-weight: 500;
    color: var(--mb-accent-text, #7a5f3f);
}

/* Footer: phone, CTA, messengers */
.mb-mobile-menu__footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mb-mobile-menu__phone {
    font-size: 18px;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.mb-mobile-menu__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mb-mobile-menu__cart {
    position: relative;
    display: flex;
    align-items: center;
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-mobile-menu__cart:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-mobile-menu__cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mb-mobile-menu__cta {
    display: inline-block;
    padding: 9px 22px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mb-mobile-menu__cta:hover {
    background: #74593a;
}

.mb-mobile-menu__messengers {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.mb-mobile-menu__messengers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #6b6b6b;
    background: #f3f2ef;
    transition: color 0.2s ease, background 0.2s ease;
}

.mb-mobile-menu__messengers a:hover {
    color: var(--mb-accent-text, #7a5f3f);
    background: rgba(139, 109, 75, 0.1);
}

/* Hide on desktop */
@media (min-width: 961px) {
    .mb-mobile-menu {
        display: none !important;
    }
}

/* Header spacer — push content below fixed header */
.mb-page {
    padding-top: 0;
}

/* ============================================
   6. HERO
   ============================================ */

.mb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: top center;
    overflow: hidden;
    color: #ffffff;
}

.mb-hero--full  { min-height: 100vh; }
.mb-hero--large { min-height: 85vh; }
.mb-hero--medium { min-height: 60vh; }

.mb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.40) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.mb-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.mb-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mb-hero__video.is-loaded {
    opacity: 1;
}

/* Mobile: show poster image instead of autoplaying video */
@media (max-width: 767px) {
    .mb-hero__video--desktop-only {
        display: none;
    }
}

.mb-hero__float {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
    z-index: 1;
}

.mb-hero__float--1 {
    top: 12%;
    right: 8%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.mb-hero__float--2 {
    bottom: 18%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mb-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: calc(var(--mb-bar-height, 140px) + 24px) 32px 60px;
}

.mb-hero__label {
    display: inline-block;
    font-family: var(--mb-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.mb-hero__title {
    font-family: var(--mb-font-heading);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.mb-hero__subtitle {
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ─── Seasonal banner (Летнее предложение) ─────────────── */
.mb-seasonal {
    position: relative;
    padding: clamp(48px, 6vw, 84px) 0;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(139, 109, 75, 0.18), transparent 60%),
        linear-gradient(135deg, #fbf6ee 0%, #f3e7d3 55%, #efe0c8 100%);
    border-top: 1px solid rgba(139, 109, 75, 0.25);
    border-bottom: 1px solid rgba(139, 109, 75, 0.25);
    overflow: hidden;
}

.mb-seasonal__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.mb-seasonal__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mb-accent-text, #6d5436);
}

.mb-seasonal__title {
    font-family: var(--mb-font-heading, 'DM Serif Display', Georgia, serif);
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.15;
    color: var(--mb-text-heading, #0a0a0a);
    margin: 0 0 14px;
}

.mb-seasonal__text {
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--mb-text-body, #333333);
}

.mb-seasonal__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.mb-seasonal__chip {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 109, 75, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: var(--mb-accent-text, #6d5436);
    font-size: 14px;
    font-weight: 500;
}

.mb-hero__offer {
    width: fit-content;
    max-width: 92%;
    margin: 0 auto 36px;
    padding: 11px 24px;
    border: 1px solid rgba(139, 109, 75, 0.65);
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    color: #ffffff;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-align: center;
}

.mb-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mb-hero__btn {
    display: inline-block;
    padding: 16px 40px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.mb-hero__btn:hover {
    background: #74593a;
    transform: translateY(-2px);
}

.mb-hero__phone {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-hero__phone:hover {
    color: #ffffff;
}

.mb-hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

@media (max-width: 768px) {
    .mb-hero { min-height: 70vh; }
    .mb-hero--full { min-height: 90vh; }
    .mb-hero__inner { padding: calc(var(--mb-bar-height, 140px) + 20px) 20px 60px; }
    .mb-hero__actions { flex-direction: column; gap: 16px; }
}

/* ============================================
   6b. HERO SLIDER
   ============================================ */

.mb-hero-slider {
    position: relative;
    overflow: hidden;
}

.mb-hero-slide {
    display: none;
}

.mb-hero-slide--active {
    display: flex;
}

/* Fade transition */
.mb-hero-slider .mb-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.mb-hero-slider .mb-hero-slide--active {
    position: relative;
    opacity: 1;
    z-index: 1;
}

/* Dots */
.mb-hero-slider__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.mb-hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mb-hero-slider__dot:hover {
    border-color: #ffffff;
}

.mb-hero-slider__dot--active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

/* Progress bar under dots */
.mb-hero-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--mb-accent);
    z-index: 10;
    transition: width linear;
}

/* Hide scroll hint on slides (slider has dots instead) */
.mb-hero-slider .mb-hero__scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .mb-hero-slider__dots {
        bottom: 24px;
        gap: 10px;
    }
    .mb-hero-slider__dot {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   7. BUTTONS
   ============================================ */

.mb-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #8b6d4b;
    color: #ffffff;
    font-family: var(--mb-font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.mb-btn:hover {
    background: #74593a;
    color: #ffffff;
    transform: translateY(-2px);
}

.mb-btn--white {
    background: #ffffff;
    color: #0a0a0a;
}

.mb-btn--white:hover {
    background: #f3f2ef;
    color: #0a0a0a;
}

.mb-btn--outline {
    background: transparent;
    color: var(--mb-accent-text, #7a5f3f);
    border: 1px solid #8b6d4b;
}

.mb-btn--outline:hover {
    background: #8b6d4b;
    color: #ffffff;
}

/* ============================================
   8. TRUST NUMBERS
   ============================================ */

.mb-trust {
    padding: clamp(60px, 8vw, 100px) 0;
}

.mb-trust__grid {
    display: grid;
    gap: 40px;
    text-align: center;
}

.mb-trust__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mb-trust__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mb-trust__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mb-trust__grid--5 { grid-template-columns: repeat(5, 1fr); }

.mb-trust-number__value {
    font-family: var(--mb-font-heading);
    font-size: clamp(36px, 4vw, 56px);
    color: #0a0a0a;
    line-height: 1;
    margin-bottom: 8px;
}

.mb-section--dark .mb-trust-number__value {
    color: #ffffff;
}

.mb-trust-number__label {
    font-size: 14px;
    font-weight: 400;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}

.mb-section--dark .mb-trust-number__label {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .mb-trust__grid--3,
    .mb-trust__grid--4,
    .mb-trust__grid--5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mb-trust__grid--2,
    .mb-trust__grid--3,
    .mb-trust__grid--4,
    .mb-trust__grid--5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   9. ADVANTAGES / BENEFITS GRID
   ============================================ */

.mb-advantages__grid {
    margin-top: 48px;
}

.mb-advantages__item {
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-advantages__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mb-section--light .mb-advantages__item,
.mb-section--warm .mb-advantages__item {
    background: #ffffff;
}

.mb-section--dark .mb-advantages__item {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.08);
}

.mb-advantages__icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-advantages__title {
    font-family: var(--mb-font-heading);
    font-size: 20px;
    color: #0a0a0a;
    margin-bottom: 12px;
}

.mb-section--dark .mb-advantages__title {
    color: #ffffff;
}

.mb-advantages__desc {
    font-size: 17px;
    line-height: 1.6;
    color: #6b6b6b;
}

.mb-section--dark .mb-advantages__desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   10. SERVICE CARDS
   ============================================ */

.mb-services__grid {
    margin-top: 48px;
}

.mb-service-card {
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    text-decoration: none;
    color: #333333;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mb-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.mb-service-card__num {
    font-family: var(--mb-font-heading);
    font-size: 48px;
    color: rgba(139, 109, 75, 0.12);
    line-height: 1;
    margin-bottom: 20px;
}

.mb-service-card__title {
    font-family: var(--mb-font-heading);
    font-size: 22px;
    color: #0a0a0a;
    margin-bottom: 12px;
}

.mb-service-card__desc {
    font-size: 17px;
    color: #6b6b6b;
    line-height: 1.6;
    flex: 1;
}

.mb-service-card__price {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--mb-accent-text, #7a5f3f);
    margin-top: 16px;
}

.mb-service-card__old-price {
    color: #999;
    font-weight: 400;
    margin-right: 4px;
}

.mb-service-card__arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 24px;
    color: var(--mb-accent-text, #7a5f3f);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mb-service-card:hover .mb-service-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   11. TEXT + IMAGE SPLIT
   ============================================ */

.mb-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.mb-split--reversed .mb-split__inner {
    direction: rtl;
}

.mb-split--reversed .mb-split__inner > * {
    direction: ltr;
}

.mb-split__text h2 {
    margin-bottom: 20px;
}

.mb-split__body {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.mb-split__body p {
    color: #6b6b6b;
    margin-bottom: 1em;
}

.mb-section--dark .mb-split__text h2 {
    color: #ffffff;
}

.mb-section--dark .mb-split__body,
.mb-section--dark .mb-split__body p {
    color: rgba(255, 255, 255, 0.7);
}

.mb-split__image {
    overflow: hidden;
    border-radius: 4px;
}

.mb-split__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.mb-split__image:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .mb-split__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mb-split--reversed .mb-split__inner {
        direction: ltr;
    }
}

/* ============================================
   12. PRICE TABLE
   ============================================ */

.mb-prices__table-wrap {
    margin-top: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mb-prices--wide .mb-prices__table-wrap {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.mb-prices--wide .mb-prices__notes {
    text-align: center;
}

/* ── mb-price-table (холодильник и др.) ── */

.mb-price-table {
    width: 100%;
    border-collapse: collapse;
}

.mb-price-table__th {
    font-family: var(--mb-font-heading);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mb-accent-text, #7a5f3f);
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #0a0a0a;
}

.mb-price-table__th:not(:first-child) {
    text-align: right;
}

.mb-price-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s;
}

.mb-price-table tbody tr:hover {
    background-color: rgba(139, 109, 75, 0.04);
}

.mb-price-table__service {
    padding: 14px 16px;
    font-size: 18px;
    color: #333;
}

.mb-price-table__price {
    padding: 14px 16px;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0a;
    white-space: nowrap;
}

.mb-prices__table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.mb-prices__group-heading {
    font-family: var(--mb-font-heading);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 400;
    text-align: left;
    padding: 28px 16px 14px;
    color: #0a0a0a;
    background-color: #ffffff;
    border-bottom: 2px solid #0a0a0a;
}

.mb-prices__table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mb-prices__table tbody tr:hover {
    background-color: rgba(139, 109, 75, 0.04);
}

.mb-prices__service {
    padding: 14px 16px;
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    background-color: transparent;
}

.mb-prices__price {
    padding: 14px 16px;
    text-align: right;
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    background-color: transparent;
}

.mb-prices__old {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    font-size: 0.85em;
    margin-right: 8px;
}

/* Price table on dark section */
.mb-section--dark .mb-prices__table {
    background-color: #141414;
}

.mb-section--dark .mb-prices__group-heading {
    color: #ffffff;
    background-color: #141414;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.mb-section--dark .mb-prices__service {
    color: rgba(255, 255, 255, 0.8);
}

.mb-section--dark .mb-prices__price {
    color: #ffffff;
}

.mb-section--dark .mb-prices__table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mb-section--dark .mb-prices__table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.mb-prices__note {
    margin-top: 24px;
    font-size: 14px;
    color: #6b6b6b;
    font-style: italic;
}

/* ── Пакеты хранения (карточки) ── */

.mb-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.mb-package {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px 28px 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.mb-package:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.mb-package--featured {
    border: 2px solid var(--mb-accent, #8b6d4b);
    box-shadow: 0 8px 32px rgba(139, 109, 75, 0.15);
    transform: scale(1.03);
}

.mb-package--featured:hover {
    box-shadow: 0 16px 48px rgba(139, 109, 75, 0.22);
    transform: scale(1.03) translateY(-4px);
}

.mb-package__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mb-accent, #8b6d4b);
    color: #fff;
    font-family: var(--mb-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 20px;
    border-radius: 20px;
    white-space: nowrap;
}

.mb-package__badge--gold {
    background: linear-gradient(135deg, #8b6d4b 0%, #c4a265 100%);
}

.mb-package__header {
    text-align: center;
    margin-bottom: 24px;
}

.mb-package__name {
    font-family: var(--mb-font-heading);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 6px;
}

.mb-package__desc {
    font-size: 15px;
    color: #6b6b6b;
    margin: 0;
}

.mb-package__price-block {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mb-package__from {
    font-size: 14px;
    color: #6b6b6b;
    display: block;
    margin-bottom: 4px;
}

.mb-package__amount {
    font-family: var(--mb-font-heading);
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 400;
    color: #0a0a0a;
    line-height: 1.1;
}

.mb-package--featured .mb-package__amount {
    color: var(--mb-accent, #8b6d4b);
}

.mb-package__period {
    font-size: 16px;
    color: #6b6b6b;
    margin-left: 4px;
}

.mb-package__features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex-grow: 1;
}

.mb-package__features li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mb-package__features li:last-child {
    border-bottom: none;
}

.mb-package__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mb-accent, #8b6d4b);
    font-weight: 700;
    font-size: 16px;
}

.mb-package__features li s {
    color: #767676;
    font-size: 14px;
    margin-left: 4px;
}

.mb-package__btn {
    display: block;
    text-align: center;
    margin-top: 24px;
    width: 100%;
}

/* Price table accent column for yearly discount */
.mb-price-table__price--accent {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-price-table__th-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
}

/* Full price table 4-column layout */
.mb-price-table--full {
    font-size: 16px;
}

@media (max-width: 900px) {
    .mb-packages {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .mb-package--featured {
        transform: none;
        order: -1;
    }

    .mb-package--featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 600px) {
    .mb-prices__service,
    .mb-prices__price {
        padding: 12px 8px;
        font-size: 14px;
    }

    .mb-price-table--full .mb-price-table__th,
    .mb-price-table--full .mb-price-table__service,
    .mb-price-table--full .mb-price-table__price {
        padding: 10px 6px;
        font-size: 14px;
    }

    .mb-price-table__th-sub {
        font-size: 10px;
    }

    .mb-package {
        padding: 32px 20px 24px;
    }
}

/* ============================================
   13. PROCESS STEPS
   ============================================ */

.mb-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    counter-reset: step;
}

.mb-process__step {
    position: relative;
    text-align: center;
}

.mb-process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0a0a0a;
    color: #ffffff;
    font-family: var(--mb-font-heading);
    font-size: 22px;
    margin-bottom: 20px;
}

.mb-section--light .mb-process__number {
    background: #0a0a0a;
    color: #ffffff;
}

.mb-process__step-title {
    font-family: var(--mb-font-heading);
    font-size: 20px;
    color: #0a0a0a;
    margin-bottom: 10px;
}

.mb-process__step-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #6b6b6b;
}

/* Connector line between steps */
.mb-process__step::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.mb-process__step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .mb-process__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mb-process__step::after {
        display: none;
    }
}

/* ============================================
   14. FAQ ACCORDION
   ============================================ */

.mb-faq__list {
    max-width: var(--mb-container-narrow);
    margin: 48px auto 0;
}

.mb-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mb-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--mb-font-heading);
    font-size: clamp(17px, 1.5vw, 20px);
    color: #0a0a0a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.mb-faq__question::-webkit-details-marker {
    display: none;
}

.mb-faq__question::after {
    content: '+';
    font-family: var(--mb-font-body);
    font-size: 24px;
    font-weight: 300;
    color: var(--mb-accent-text, #7a5f3f);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.mb-faq__item[open] .mb-faq__question::after {
    transform: rotate(45deg);
}

.mb-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.mb-faq__answer > div {
    overflow: hidden;
}

.mb-faq__item[open] .mb-faq__answer {
    grid-template-rows: 1fr;
}

.mb-faq__answer p {
    padding: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #6b6b6b;
}

/* ============================================
   15. GALLERY
   ============================================ */

.mb-gallery__grid {
    margin-top: 48px;
}

.mb-gallery__item {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.mb-gallery__item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Gallery ratio variants */
.mb-gallery--ratio-4-7 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 4 / 7;
}
.mb-gallery--ratio-4-5 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 4 / 5;
}
.mb-gallery--ratio-16-9 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 16 / 9;
}
.mb-gallery--ratio-5-3 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 5 / 3;
}
.mb-gallery--ratio-4-3 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 4 / 3;
}
.mb-gallery--ratio-1-1 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 1 / 1;
}
.mb-gallery--ratio-9-16 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 9 / 16;
    object-position: center top;
}
.mb-gallery--ratio-2-3 .mb-gallery__item img {
    height: auto;
    aspect-ratio: 2 / 3;
    object-position: center top;
}

.mb-gallery__item:hover img {
    transform: scale(1.05);
}

.mb-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mb-gallery__item:hover .mb-gallery__caption {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox trigger */
.mb-lightbox-trigger {
    display: block;
    cursor: zoom-in;
    position: relative;
}

.mb-gallery__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.mb-gallery__item:hover .mb-gallery__zoom {
    opacity: 1;
}

/* ── Lightbox overlay ─────────────────────── */

.mb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mb-lightbox--open {
    opacity: 1;
    visibility: visible;
}

.mb-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.mb-lightbox--open .mb-lightbox__img {
    transform: scale(1);
}

.mb-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mb-lightbox__close:hover {
    opacity: 1;
}

.mb-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mb-lightbox__nav:hover {
    background: rgba(255,255,255,0.25);
}

.mb-lightbox__nav--prev {
    left: 20px;
}

.mb-lightbox__nav--next {
    right: 20px;
}

.mb-lightbox__caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-family: var(--mb-font-body);
    text-align: center;
    max-width: 600px;
    opacity: 0.8;
}

.mb-lightbox__counter {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #fff;
    font-size: 14px;
    font-family: var(--mb-font-body);
    opacity: 0.6;
}

/* Hide nav arrows if only 1 image */
.mb-lightbox[data-total="1"] .mb-lightbox__nav {
    display: none;
}

@media (max-width: 600px) {
    .mb-lightbox__img {
        max-width: 96vw;
        max-height: 80vh;
    }
    .mb-lightbox__nav {
        width: 40px;
        height: 40px;
    }
    .mb-lightbox__nav--prev { left: 8px; }
    .mb-lightbox__nav--next { right: 8px; }
    .mb-lightbox__close { top: 12px; right: 12px; }
}

/* ============================================
   16. CTA SECTION
   ============================================ */

.mb-cta {
    text-align: center;
}

.mb-cta--accent {
    background: #8b6d4b;
    color: #ffffff;
}

.mb-cta--dark {
    background: #0a0a0a;
    color: #ffffff;
}

.mb-cta__inner {
    max-width: 700px;
}

.mb-cta__title {
    font-family: var(--mb-font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    color: #ffffff;
    margin-bottom: 16px;
}

.mb-cta--light .mb-cta__title {
    color: #0a0a0a;
}

.mb-cta__subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.mb-cta--light .mb-cta__subtitle {
    color: #6b6b6b;
}

.mb-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mb-cta__btn {
    background: #ffffff;
    color: #0a0a0a;
}

.mb-cta--accent .mb-cta__btn:hover {
    background: #f3f2ef;
    color: #0a0a0a;
}

.mb-cta__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: #ffffff;
}

.mb-cta__phone-label {
    font-size: 12px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.mb-cta__phone-number {
    font-size: 18px;
    font-weight: 500;
}

.mb-cta__form {
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   17. FOOTER
   ============================================ */

.mb-footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.mb-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.mb-footer__logo {
    font-family: var(--mb-font-heading);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}

.mb-footer__tagline {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
}

.mb-footer__desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.mb-footer__heading {
    font-family: var(--mb-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 24px;
}

.mb-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mb-footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-footer__links a:hover {
    color: #ffffff;
}

.mb-footer__contact-item {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.mb-footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-footer__contact-item a:hover {
    color: #ffffff;
}

.mb-footer__social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.mb-footer__social a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.mb-footer__social a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-footer__hours {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    line-height: 1.6;
}

.mb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.mb-footer__bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.mb-footer__bottom a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .mb-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mb-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================
   18. REVIEWS / TESTIMONIALS
   ============================================ */

.mb-reviews__grid {
    margin-top: 48px;
}

.mb-review-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.mb-review-card__stars {
    color: #C9A84C;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.mb-review-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: #6b6b6b;
    font-style: italic;
    margin-bottom: 16px;
}

.mb-review-card__author {
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
}

.mb-review-card__date {
    font-size: 13px;
    color: #767676;
    margin-top: 4px;
}

/* ============================================
   19. CONTACT PAGE
   ============================================ */

.mb-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.mb-contact__info-item {
    margin-bottom: 24px;
}

.mb-contact__info-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 8px;
}

.mb-contact__info-value {
    font-size: 16px;
    color: #333333;
}

.mb-contact__info-value a {
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
}

.mb-contact__info-value a:hover {
    text-decoration: underline;
}

.mb-contact__map {
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
}

.mb-contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.mb-contact__social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.mb-contact__social a {
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 768px) {
    .mb-contact__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   20. TIMELINE (About page)
   ============================================ */

.mb-timeline {
    margin-top: 48px;
    max-width: var(--mb-container-narrow);
    margin-left: auto;
    margin-right: auto;
}

.mb-timeline__item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mb-timeline__year {
    font-family: var(--mb-font-heading);
    font-size: 28px;
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-timeline__text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0a0a0a;
}

.mb-timeline__text p {
    font-size: 17px;
    color: #6b6b6b;
}

@media (max-width: 600px) {
    .mb-timeline__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ============================================
   21. PROMO CARDS (Promotions page)
   ============================================ */

.mb-promo-card {
    padding: 40px;
    background: #faf9f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.mb-promo-card__badge {
    display: inline-block;
    padding: 4px 14px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
}

.mb-promo-card__title {
    font-family: var(--mb-font-heading);
    font-size: 24px;
    color: #0a0a0a;
    margin-bottom: 12px;
}

.mb-promo-card__desc {
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.6;
}

/* ============================================
   22. WOOCOMMERCE — Shop & Product Pages
   ============================================ */

.mb-page--shop {
    padding-top: calc(var(--mb-bar-height, 140px) + 16px);
    padding-bottom: 80px;
}

/* ── Breadcrumb ──────────────────────────────── */

.mb-breadcrumb {
    max-width: var(--mb-container-max);
    margin: 0 auto 32px;
    padding: 0 var(--mb-container-pad);
    font-size: 13px;
    color: #767676;
}

.mb-breadcrumb a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-breadcrumb a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-breadcrumb__sep {
    margin: 0 8px;
    color: #cccccc;
}

/* ── Product Grid (shop + related + shortcode) ── */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
}

/* Custom product card (from content-product.php override) */
.mb-product-card {
    position: relative;
    list-style: none;
}

.mb-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mb-product-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--mb-bg-light);
    aspect-ratio: 3 / 4;
    margin-bottom: 16px;
}

.mb-product-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mb-product-card__link:hover .mb-product-card__image-wrap img {
    transform: scale(1.05);
}

.mb-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.mb-product-card__info {
    padding: 0 4px;
}

.mb-product-card__title {
    font-family: var(--mb-font-heading);
    font-size: 17px;
    color: #0a0a0a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.mb-product-card__price {
    font-size: 15px;
    font-weight: 500;
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-product-card__price del {
    color: #767676;
    font-weight: 400;
    margin-right: 8px;
}

.mb-product-card__price ins {
    text-decoration: none;
    color: var(--mb-accent-text, #7a5f3f);
}

/* Fallback for default WooCommerce loop items (e.g. widgets) */
.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--mb-font-heading);
    font-size: 17px;
    color: #0a0a0a;
    padding: 0;
    margin-bottom: 6px;
}

.woocommerce ul.products li.product .price {
    color: var(--mb-accent-text, #7a5f3f);
    font-size: 15px;
    font-weight: 500;
}

.woocommerce ul.products li.product .button {
    display: none;
}

/* ── Single Product Page ─────────────────────── */

/* Override WooCommerce default grid on div.product */
.woocommerce div.product,
.woocommerce #content div.product,
.woocommerce-page div.product {
    display: block;
    max-width: none;
    padding: 0;
}

.mb-product {
    max-width: var(--mb-container-max);
    margin: 0 auto;
    padding: 0 var(--mb-container-pad);
    display: block;
}

.mb-product__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

/* Gallery */
.mb-product__gallery {
    position: sticky;
    top: 100px;
}

.mb-product__gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0;
    padding: 0;
    float: none;
}

.mb-product__gallery .woocommerce-product-gallery__image img,
.mb-product__gallery .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Thumbnails grid — WooCommerce Flexslider */
.mb-product__gallery .flex-control-thumbs,
.mb-product__gallery .woocommerce-product-gallery__thumbnails,
.woocommerce div.product .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
    width: 100%;
}

.mb-product__gallery .flex-control-thumbs li,
.woocommerce div.product .flex-control-thumbs li {
    margin: 0;
    padding: 0;
    width: 100% !important;
}

.mb-product__gallery .flex-control-thumbs img,
.woocommerce div.product .flex-control-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.mb-product__gallery .flex-control-thumbs img:hover,
.mb-product__gallery .flex-control-thumbs .flex-active,
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs img.flex-active {
    opacity: 1;
}

/* Summary */
.mb-product__summary .summary {
    padding: 0;
}

.mb-product__summary .product_title {
    font-family: var(--mb-font-heading);
    font-size: clamp(28px, 3vw, 42px);
    color: #0a0a0a;
    margin-bottom: 8px;
    line-height: 1.15;
}

.mb-product__summary .price {
    font-size: 32px;
    font-weight: 600;
    color: var(--mb-accent-text, #7a5f3f);
    margin-bottom: 24px;
    display: block;
}

.mb-product__summary .price del {
    font-size: 22px;
    color: #767676;
    font-weight: 400;
    margin-right: 12px;
}

.mb-product__summary .price ins {
    text-decoration: none;
}

.mb-product__summary .woocommerce-product-details__short-description {
    font-size: 16px;
    color: #6b6b6b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.mb-product__summary .woocommerce-product-details__short-description p {
    margin-bottom: 12px;
}

/* Add to cart */
.mb-product__summary form.cart {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--mb-border);
}

.mb-product__summary form.cart .qty {
    width: 64px;
    height: 52px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: 16px;
    background: #ffffff;
}

.mb-product__summary form.cart .single_add_to_cart_button {
    flex: 1;
    padding: 16px 32px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mb-product__summary form.cart .single_add_to_cart_button:hover {
    background: #74593a;
    transform: translateY(-1px);
}

/* Meta */
.mb-product__summary .product_meta {
    font-size: 13px;
    color: #767676;
    padding-top: 24px;
    border-top: 1px solid var(--mb-border);
    line-height: 2;
}

.mb-product__summary .product_meta a {
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
}

.mb-product__summary .product_meta a:hover {
    text-decoration: underline;
}

/* Rating */
.mb-product__summary .woocommerce-product-rating {
    margin-bottom: 16px;
}

.mb-product__summary .star-rating {
    color: var(--mb-accent-text, #7a5f3f);
}

/* Trust signals */
.mb-product__trust {
    margin-top: 32px;
    padding: 24px;
    background: var(--mb-bg-warm);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mb-product__trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333333;
}

.mb-product__trust-item svg {
    flex-shrink: 0;
    color: var(--mb-accent-text, #7a5f3f);
}

/* ── Product Tabs ────────────────────────────── */

.mb-product__details {
    /* No extra container — already inside .mb-product which has container width */
}

.mb-product__details .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs {
    margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #6b6b6b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.02em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #0a0a0a;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #0a0a0a;
    border-bottom-color: var(--mb-accent-text, #7a5f3f);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 0;
    margin-bottom: 48px;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: var(--mb-font-heading);
    font-size: 28px;
    color: #0a0a0a;
    margin-bottom: 24px;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 16px;
}

/* ── Related Products ────────────────────────── */

.mb-related {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--mb-border);
}

.mb-related__title {
    font-family: var(--mb-font-heading);
    font-size: 32px;
    color: #0a0a0a;
    margin-bottom: 32px;
    text-align: center;
}

/* Also handle default .related.products class */
.woocommerce .related.products,
.mb-product .related.products,
section.related.products {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--mb-border);
    clear: both;
    width: 100%;
}

.woocommerce .related.products > h2,
.mb-related__title {
    font-family: var(--mb-font-heading);
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
}

/* Ensure related products grid is full width */
.mb-related ul.products,
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* ── WooCommerce Notices ─────────────────────── */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    max-width: var(--mb-container-max);
    margin: 0 auto 24px;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 14px;
    list-style: none;
}

.woocommerce .woocommerce-message {
    background: rgba(139, 109, 75, 0.08);
    border-left: 3px solid #8b6d4b;
    color: #333333;
}

.woocommerce .woocommerce-message a.button {
    background: #8b6d4b;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    float: right;
    margin-left: 16px;
}

.woocommerce .woocommerce-info {
    background: #f0f4f8;
    border-left: 3px solid #6b9fd4;
}

.woocommerce .woocommerce-error {
    background: #fdf0f0;
    border-left: 3px solid #d44;
}

/* ── Shop Toolbar ────────────────────────────── */

.mb-shop__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mb-border);
}

.mb-shop__toolbar .woocommerce-result-count {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0;
}

.mb-shop__toolbar .woocommerce-ordering select {
    appearance: none;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.mb-shop__toolbar .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--mb-accent-text, #7a5f3f);
}

.mb-shop__empty {
    text-align: center;
    font-size: 18px;
    color: #6b6b6b;
    padding: 80px 0;
}

/* ── Pagination ──────────────────────────────── */

.woocommerce nav.woocommerce-pagination {
    margin-top: 60px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #8b6d4b;
    color: #ffffff;
    border-color: var(--mb-accent-text, #7a5f3f);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #8b6d4b;
    color: #ffffff;
    border-color: var(--mb-accent-text, #7a5f3f);
}

/* ── Sale flash ──────────────────────────────── */

.woocommerce span.onsale {
    display: none;
}

/* ── Responsive ──────────────────────────────── */

@media (max-width: 960px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .mb-product__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mb-product__gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mb-product__summary .product_title {
        font-size: 28px;
    }

    .mb-product__summary .price {
        font-size: 26px;
    }

    .mb-product__trust {
        flex-direction: column;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mb-product-card__image-wrap {
        aspect-ratio: 2 / 3;
    }

    .mb-product-card__title {
        font-size: 14px;
    }

    .mb-product-card__price {
        font-size: 13px;
    }
}

/* ============================================
   24. FORMS — WPForms styling
   ============================================ */

.wpforms-container .wpforms-form {
    max-width: 100%;
}

.wpforms-container .wpforms-form .wpforms-field {
    margin-bottom: 16px;
}

.wpforms-container .wpforms-form .wpforms-field-label {
    font-size: 13px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: 15px;
    color: #333333;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus {
    outline: none;
    border-color: var(--mb-accent-text, #7a5f3f);
}

.wpforms-container .wpforms-form .wpforms-submit-container button {
    padding: 14px 32px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    background: #74593a;
}

/* Forms on dark/accent backgrounds */
.mb-cta--accent .wpforms-container .wpforms-form input,
.mb-cta--accent .wpforms-container .wpforms-form textarea {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.mb-cta--accent .wpforms-container .wpforms-form .wpforms-field-label {
    color: rgba(255, 255, 255, 0.8);
}

.mb-cta--accent .wpforms-container .wpforms-form .wpforms-submit-container button {
    background: #ffffff;
    color: #0a0a0a;
}

/* ============================================
   25. SCROLL PROGRESS BAR
   ============================================ */

.mb-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8b6d4b, #b9a79e);
    z-index: 10000;
    pointer-events: none;
}

/* ============================================
   26. CURTAIN
   ============================================ */

.mb-curtain {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}

.mb-curtain__text {
    font-family: var(--mb-font-heading);
    font-size: clamp(18px, 2vw, 28px);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mb-curtain--exit {
    transform: translateY(-100%);
}

html:not(.mb-js) .mb-curtain {
    display: none;
}

/* Custom cursor — removed */

/* ============================================
   28. THIRD-PARTY WIDGET Z-INDEX FIXES
   ============================================ */

/* Chaty messenger widget */
.chaty-widget-wrap,
#chaty-widget-wrap,
[class*="chaty"] {
    z-index: 9990 !important;
}

/* Marquiz quiz widget */
.marquiz__inline-widget,
[class*="marquiz-popup"] {
    z-index: 9991 !important;
}

/* Popup Maker */
.pum-overlay {
    z-index: 9995 !important;
}

/* ============================================
   29. UTILITY
   ============================================ */

.mb-page--visible {
    opacity: 1;
}

/* Blog / archive cards */
.mb-post-card {
    display: block;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease;
}

.mb-post-card:hover {
    transform: translateY(-4px);
}

.mb-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
}

.mb-post-card__date {
    font-size: 12px;
    color: #767676;
    margin-bottom: 8px;
}

.mb-post-card__title {
    font-family: var(--mb-font-heading);
    font-size: 20px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.mb-post-card__excerpt {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.6;
}

/* 404 page */
.mb-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Pagination */
.mb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.mb-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mb-pagination a:hover {
    border-color: var(--mb-accent-text, #7a5f3f);
    color: var(--mb-accent-text, #7a5f3f);
}

/* Single post */
.mb-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px var(--mb-container-pad);
}

.mb-single-content p,
.mb-single-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.mb-single-content h2,
.mb-single-content h3 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.mb-single-content img {
    border-radius: 4px;
    margin: 32px 0;
}

.mb-single-content ul,
.mb-single-content ol {
    padding-left: 24px;
    margin-bottom: 1em;
    list-style: disc;
}

.mb-single-content ol {
    list-style: decimal;
}

/* Post navigation */
.mb-post-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 48px;
}

.mb-post-nav a {
    font-size: 14px;
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
}

.mb-post-nav a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACTS PAGE
   ============================================ */

.mb-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.mb-contacts__block {
    margin-bottom: 28px;
}

.mb-contacts__text {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.mb-contacts__phone {
    font-family: var(--mb-font-heading);
    font-size: 20px;
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-contacts__phone:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-contacts__text a {
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
}

.mb-contacts__text a:hover {
    text-decoration: underline;
}

.mb-contacts__map iframe {
    width: 100%;
    border-radius: 8px;
}

.mb-contacts__map-address {
    margin-top: 12px;
    font-size: 14px;
    color: #6b6b6b;
    text-align: center;
}

.mb-contacts-form__wrap {
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mb-contacts__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   HEADER — Cart icon
   ============================================ */

.mb-header__cart {
    position: relative;
    display: none;
    align-items: center;
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-header__cart--visible {
    display: flex;
}

.mb-header__cart:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-header__cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================
   POPUP — Записаться
   ============================================ */

.mb-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mb-popup--open {
    opacity: 1;
    visibility: visible;
}

.mb-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mb-popup__box {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 40px;
    max-width: 520px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.mb-popup--open .mb-popup__box {
    transform: translateY(0);
}

.mb-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 24px;
    color: #6b6b6b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mb-popup__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0a0a0a;
}

.mb-popup__title {
    font-family: var(--mb-font-heading);
    font-size: 28px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.mb-popup__subtitle {
    font-size: 15px;
    color: #6b6b6b;
    margin-bottom: 28px;
}

.mb-popup__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mb-popup__field {
    width: 100%;
}

.mb-popup__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: var(--mb-font-body);
    font-size: 15px;
    font-weight: 400;
    color: #0a0a0a;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.mb-popup__input:focus {
    border-color: var(--mb-accent);
    box-shadow: 0 0 0 3px rgba(139, 109, 75, 0.1);
}

.mb-popup__input::placeholder {
    color: #767676;
}

.mb-popup__textarea {
    resize: vertical;
    min-height: 80px;
}

.mb-popup__submit {
    width: 100%;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 4px;
}

.mb-popup__consent {
    font-size: 12px;
    color: #767676;
    text-align: center;
    margin: 0;
}

.mb-popup__consent a {
    color: var(--mb-accent);
    text-decoration: underline;
}

.mb-popup__success {
    text-align: center;
    padding: 20px 0;
}

.mb-popup__success p {
    font-size: 16px;
    color: var(--mb-accent);
    font-weight: 500;
}

/* ============================================
   FLOAT BUTTONS — мобильные кнопки CTA
   ============================================ */

.mb-float-btns { display: none; }

@media (max-width: 768px) {
    .mb-float-btns {
        display: flex;
        position: fixed;
        bottom: 8px;
        left: 0;
        right: 0;
        z-index: 9990;
        justify-content: center;
        gap: 8px;
        padding: 0 12px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .3s ease, transform .3s ease, bottom .3s ease;
        pointer-events: none;
    }
    .mb-float-btns--visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mb-float-btns__call,
    .mb-float-btns__book {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 8px;
        font-family: var(--mb-font-body);
        font-size: 14px;
        font-weight: 500;
        letter-spacing: .02em;
        text-decoration: none;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        transition: transform .15s ease;
    }
    .mb-float-btns__call:active,
    .mb-float-btns__book:active {
        transform: scale(.96);
    }

    /* Позвонить — бренд */
    .mb-float-btns__call {
        background: rgba(139,109,75,.9);
        color: #fff;
    }

    /* Записаться — стекло */
    .mb-float-btns__book {
        background: rgba(255,255,255,.75);
        color: var(--mb-accent, #8b6d4b);
        border: 1px solid rgba(139,109,75,.3);
    }
    .mb-float-btns__book svg { opacity: .7; }
}

/* ============================================
   WOOCOMMERCE — Cart page
   ============================================ */

.woocommerce-cart .mb-page--shop {
    padding-top: calc(var(--mb-bar-height, 140px) + 16px);
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    max-width: var(--mb-container-max);
    margin: 0 auto;
}

.woocommerce table.shop_table th {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.woocommerce table.shop_table td {
    padding: 20px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
    font-size: 15px;
    color: #333333;
}

.woocommerce table.shop_table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.woocommerce table.shop_table .product-name a {
    font-family: var(--mb-font-heading);
    font-size: 16px;
    color: #0a0a0a;
    text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--mb-accent-text, #7a5f3f);
}

.woocommerce table.shop_table .product-remove a {
    color: #cc0000;
    font-size: 20px;
    text-decoration: none;
}

.woocommerce .cart-collaterals {
    max-width: 480px;
    margin-left: auto;
    margin-top: 40px;
}

.woocommerce .cart_totals {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 32px;
}

.woocommerce .cart_totals h2 {
    font-family: var(--mb-font-heading);
    font-size: 22px;
    margin-bottom: 20px;
}

.woocommerce .cart_totals table {
    width: 100%;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

.woocommerce .cart_totals .order-total td {
    font-size: 22px;
    font-weight: 600;
    color: var(--mb-accent-text, #7a5f3f);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #74593a;
}

/* ============================================
   WOOCOMMERCE — Checkout page
   ============================================ */

.woocommerce-checkout .mb-page--shop {
    padding-top: calc(var(--mb-bar-height, 140px) + 16px);
}

.woocommerce form.checkout {
    max-width: var(--mb-container-max);
    margin: 0 auto;
}

.woocommerce form.checkout h3 {
    font-family: var(--mb-font-heading);
    font-size: 24px;
    color: #0a0a0a;
    margin-bottom: 24px;
}

.woocommerce form.checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce form.checkout .form-row label {
    font-size: 13px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

.woocommerce form.checkout .form-row input.input-text,
.woocommerce form.checkout .form-row textarea,
.woocommerce form.checkout .form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-size: 15px;
    color: #333333;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.woocommerce form.checkout .form-row input.input-text:focus,
.woocommerce form.checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--mb-accent-text, #7a5f3f);
}

.woocommerce #order_review_heading {
    font-family: var(--mb-font-heading);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.woocommerce #place_order {
    display: block;
    width: 100%;
    padding: 18px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.3s ease;
}

.woocommerce #place_order:hover {
    background: #74593a;
}

/* ============================================
   WOOCOMMERCE — Product categories & tags on single
   ============================================ */

.mb-product__summary .product_meta {
    font-size: 14px;
    color: #6b6b6b;
    padding-top: 20px;
    border-top: 1px solid var(--mb-border);
    line-height: 2;
}

.mb-product__summary .product_meta > span {
    display: block;
    margin-bottom: 4px;
}

.mb-product__summary .product_meta a {
    color: var(--mb-accent-text, #7a5f3f);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-product__summary .product_meta a:hover {
    color: #74593a;
    text-decoration: underline;
}

/* ============================================
   WOOCOMMERCE — Shop filters (categories sidebar)
   ============================================ */

.mb-shop__layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.mb-shop__sidebar {
    position: sticky;
    top: 100px;
}

.mb-shop__sidebar h3 {
    font-family: var(--mb-font-heading);
    font-size: 18px;
    color: #0a0a0a;
    margin-bottom: 16px;
}

.mb-shop__filter-group {
    margin-bottom: 32px;
}

.mb-shop__filter-group h4 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.mb-shop__filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mb-shop__filter-list li a {
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.mb-shop__filter-list li a:hover,
.mb-shop__filter-list li.current-cat a {
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-shop__filter-list li .count {
    font-size: 12px;
    color: #767676;
}

.mb-shop__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mb-shop__tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    color: #6b6b6b;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mb-shop__tag:hover {
    border-color: var(--mb-accent-text, #7a5f3f);
    color: var(--mb-accent-text, #7a5f3f);
}

.mb-shop__help-text {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mb-btn--small {
    display: inline-block;
    padding: 10px 20px;
    background: #8b6d4b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mb-btn--small:hover {
    background: #74593a;
}

/* Products grid inside layout (3 columns because sidebar takes space) */
.mb-shop__products .woocommerce ul.products,
.mb-shop__products ul.products {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
    .mb-shop__products .woocommerce ul.products,
    .mb-shop__products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mb-shop__layout {
        grid-template-columns: 1fr;
    }

    .mb-shop__sidebar {
        position: static;
    }

    .mb-shop__products .woocommerce ul.products,
    .mb-shop__products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   WOOCOMMERCE — Mini cart (AJAX fragment)
   ============================================ */

.woocommerce .widget_shopping_cart .cart_list {
    list-style: none;
    padding: 0;
}

.woocommerce .widget_shopping_cart .cart_list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.woocommerce .added_to_cart {
    display: inline-block;
    margin-left: 12px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid #8b6d4b;
    color: var(--mb-accent-text, #7a5f3f);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.woocommerce .added_to_cart:hover {
    background: #8b6d4b;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE — Tablet (960px)
   ============================================ */

@media (max-width: 960px) {

    /* Header CTA — compact */
    .mb-header__cta {
        padding: 8px 18px;
        font-size: 11px;
    }

    /* Shop page top padding */
    .mb-page--shop {
        padding-top: calc(var(--mb-bar-height, 140px) + 16px);
    }

    .woocommerce-cart .mb-page--shop,
    .woocommerce-checkout .mb-page--shop {
        padding-top: calc(var(--mb-bar-height, 140px) + 16px);
    }

    /* Shop toolbar stacks */
    .mb-shop__toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 28px;
    }

    /* Single product: add-to-cart row */
    .mb-product__summary form.cart {
        gap: 12px;
    }
}

/* ============================================
   RESPONSIVE — Mobile (768px)
   ============================================ */

@media (max-width: 768px) {

    /* ── Global spacing & typography ────────── */

    :root {
        --mb-section-gap: clamp(48px, 8vw, 72px);
        --mb-container-pad: 20px;
    }

    .mb-section__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .mb-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    /* ── Hero — stable, no jumping ─────────── */

    .mb-hero {
        min-height: 75vh;
    }

    .mb-hero--full {
        min-height: 85vh;
    }

    .mb-hero--medium {
        min-height: 50vh;
    }

    .mb-hero__inner {
        padding: calc(var(--mb-bar-height, 140px) + 16px) 20px 60px;
    }

    .mb-hero__label {
        font-size: 10px;
        letter-spacing: 0.15em;
        margin-bottom: 16px;
    }

    .mb-hero__title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 16px;
    }

    .mb-hero__subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .mb-hero__actions {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .mb-hero__btn {
        padding: 14px 36px;
        font-size: 12px;
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    .mb-hero__phone {
        font-size: 16px;
    }

    .mb-hero__offer {
        padding: 9px 18px;
        border-radius: 14px;
        margin-bottom: 20px;
        font-size: 13px;
    }

    /* ── Hero slider — fixed height, no flicker ── */

    .mb-hero-slider {
        min-height: 80vh;
    }

    .mb-hero-slider .mb-hero-slide {
        min-height: 80vh;
    }

    .mb-hero-slider .mb-hero-slide--active {
        min-height: 80vh;
    }

    .mb-hero-slider__dots {
        bottom: 20px;
        gap: 10px;
    }

    .mb-hero-slider__dot {
        width: 10px;
        height: 10px;
    }

    /* ── Trust numbers — compact, no overlap ── */

    .mb-trust {
        padding: clamp(36px, 6vw, 56px) 0;
    }

    .mb-trust__grid {
        gap: 24px;
    }

    .mb-trust-number__value {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 4px;
    }

    .mb-trust-number__label {
        font-size: 13px;
        line-height: 1.4;
    }

    /* ── Buttons — touch-friendly ──────────── */

    .mb-btn {
        padding: 14px 28px;
        font-size: 12px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* ── Service cards ─────────────────────── */

    .mb-services__grid {
        margin-top: 32px;
    }

    .mb-service-card {
        padding: 28px 24px;
    }

    .mb-service-card__num {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .mb-service-card__title {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .mb-service-card__desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .mb-service-card__price {
        font-size: 13px;
        margin-top: 14px;
    }

    .mb-service-card__arrow {
        display: none;
    }

    /* ── Advantages ────────────────────────── */

    .mb-advantages__grid {
        margin-top: 28px;
    }

    .mb-advantages__item {
        padding: 24px 20px;
    }

    .mb-advantages__icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .mb-advantages__title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .mb-advantages__desc {
        font-size: 14px;
    }

    /* ── Split text+image ──────────────────── */

    .mb-split__inner {
        gap: 28px;
    }

    .mb-split__text h2 {
        margin-bottom: 14px;
    }

    .mb-split__body {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    /* ── Price table — premium mobile layout ── */

    .mb-prices__table-wrap {
        margin-top: 28px;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mb-prices__table {
        min-width: 100%;
    }

    .mb-prices__group-heading {
        padding: 20px 14px 10px;
        font-size: 17px;
    }

    .mb-prices__service {
        padding: 14px 14px;
        font-size: 14px;
        line-height: 1.45;
        word-break: normal;
        hyphens: auto;
    }

    .mb-prices__price {
        padding: 14px 14px;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
        min-width: 100px;
    }

    .mb-prices__note {
        font-size: 13px;
        margin-top: 16px;
        padding: 0 4px;
    }

    /* ── mb-price-table mobile ── */

    .mb-prices--wide .mb-prices__table-wrap {
        max-width: 100%;
    }

    .mb-price-table__th {
        font-size: 12px;
        padding: 12px 10px;
    }

    .mb-price-table__service {
        padding: 12px 10px;
        font-size: 14px;
    }

    .mb-price-table__price {
        padding: 12px 10px;
        font-size: 14px;
    }

    /* ── Process steps ─────────────────────── */

    .mb-process__grid {
        gap: 32px;
    }

    .mb-process__number {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 14px;
    }

    .mb-process__step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .mb-process__step-desc {
        font-size: 13px;
        max-width: 320px;
        margin: 0 auto;
    }

    /* ── FAQ ────────────────────────────────── */

    .mb-faq__list {
        margin-top: 28px;
    }

    .mb-faq__question {
        padding: 20px 0;
        font-size: clamp(16px, 4vw, 18px);
        gap: 12px;
    }

    .mb-faq__question::after {
        font-size: 22px;
        flex-shrink: 0;
    }

    .mb-faq__answer p {
        font-size: 14px;
        padding-bottom: 20px;
        line-height: 1.65;
    }

    /* ── Gallery ────────────────────────────── */

    .mb-gallery__grid {
        margin-top: 28px;
        gap: 10px;
    }

    .mb-gallery__item img {
        height: 200px;
    }

    /* Always show captions on mobile (no hover) */
    .mb-gallery__caption {
        opacity: 1;
        transform: none;
        padding: 10px 12px;
        font-size: 12px;
    }

    /* ── CTA section ────────────────────────── */

    .mb-cta__title {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .mb-cta__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .mb-cta__actions {
        flex-direction: column;
        gap: 14px;
    }

    .mb-cta__phone {
        align-items: center;
    }

    .mb-cta__phone-number {
        font-size: 17px;
    }

    /* ── Footer ─────────────────────────────── */

    .mb-footer {
        padding-top: 48px;
    }

    .mb-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mb-footer__heading {
        margin-bottom: 16px;
    }

    .mb-footer__desc {
        font-size: 13px;
    }

    .mb-footer__links {
        gap: 10px;
    }

    .mb-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 32px;
        padding: 20px 0;
    }

    /* ── Popup form ─────────────────────────── */

    .mb-popup__box {
        padding: 32px 24px;
        max-width: 100%;
        width: calc(100% - 24px);
        border-radius: 10px;
        max-height: 92vh;
    }

    .mb-popup__title {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .mb-popup__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .mb-popup__form {
        gap: 12px;
    }

    .mb-popup__input {
        padding: 13px 14px;
        font-size: 15px;
        border-radius: 6px;
    }

    .mb-popup__submit {
        padding: 14px;
        font-size: 13px;
        min-height: 48px;
    }

    .mb-popup__consent {
        font-size: 11px;
    }

    /* ── Reviews ────────────────────────────── */

    .mb-reviews__grid {
        margin-top: 28px;
    }

    .mb-review-card {
        padding: 24px 20px;
    }

    .mb-review-card__stars {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .mb-review-card__text {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .mb-review-card__author {
        font-size: 13px;
    }

    .mb-review-card__date {
        font-size: 12px;
    }

    /* ── Contact page ──────────────────────── */

    .mb-contacts__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mb-contacts__block {
        margin-bottom: 20px;
    }

    .mb-contacts__phone {
        font-size: 18px;
    }

    .mb-contacts__map iframe {
        min-height: 300px;
        border-radius: 6px;
    }

    .mb-contact__grid {
        gap: 32px;
    }

    .mb-contact__map {
        min-height: 300px;
    }

    .mb-contact__map iframe {
        min-height: 300px;
    }

    /* ── Timeline ──────────────────────────── */

    .mb-timeline__item {
        padding: 24px 0;
        gap: 20px;
    }

    .mb-timeline__year {
        font-size: 24px;
    }

    .mb-timeline__text h3 {
        font-size: 16px;
    }

    .mb-timeline__text p {
        font-size: 14px;
    }

    /* ── Promo cards ────────────────────────── */

    .mb-promo-card {
        padding: 24px 20px;
    }

    .mb-promo-card__badge {
        font-size: 10px;
        padding: 3px 12px;
    }

    .mb-promo-card__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .mb-promo-card__desc {
        font-size: 14px;
    }

    /* ── WooCommerce: Product cards ─────────── */

    .mb-product-card__info {
        padding: 0 2px;
    }

    .mb-product-card__title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .mb-product-card__price {
        font-size: 13px;
    }

    .mb-product-card__badge {
        font-size: 9px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    /* ── WooCommerce: Single product ────────── */

    .mb-product__summary .product_title {
        font-size: 26px;
    }

    .mb-product__summary .price {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .mb-product__summary .price del {
        font-size: 18px;
    }

    .mb-product__summary .woocommerce-product-details__short-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .mb-product__summary form.cart {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
        margin-bottom: 24px;
    }

    .mb-product__summary form.cart .qty {
        width: 100%;
        height: 48px;
    }

    .mb-product__summary form.cart .single_add_to_cart_button {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .mb-product__trust {
        padding: 20px;
        gap: 12px;
        margin-top: 24px;
    }

    .mb-product__trust-item {
        font-size: 13px;
    }

    /* Tabs */
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 28px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .woocommerce div.product .woocommerce-tabs .panel h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .woocommerce div.product .woocommerce-tabs .panel p {
        font-size: 15px;
    }

    /* Related products */
    .mb-related,
    .woocommerce .related.products,
    .mb-product .related.products,
    section.related.products {
        margin-top: 48px;
        padding-top: 32px;
    }

    .mb-related__title,
    .woocommerce .related.products > h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .mb-related ul.products,
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    /* ── WooCommerce: Cart page ────────────── */

    .woocommerce table.shop_table {
        font-size: 14px;
    }

    .woocommerce table.shop_table th {
        font-size: 11px;
        padding: 12px 8px;
    }

    .woocommerce table.shop_table td {
        padding: 14px 8px;
        font-size: 14px;
    }

    .woocommerce table.shop_table img {
        width: 56px;
        height: 56px;
    }

    .woocommerce table.shop_table .product-name a {
        font-size: 14px;
    }

    .woocommerce .cart-collaterals {
        max-width: 100%;
        margin-top: 28px;
    }

    .woocommerce .cart_totals {
        padding: 24px 20px;
    }

    .woocommerce .cart_totals h2 {
        font-size: 20px;
    }

    .woocommerce .cart_totals .order-total td {
        font-size: 20px;
    }

    /* ── WooCommerce: Checkout page ─────────── */

    .woocommerce form.checkout h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .woocommerce form.checkout .form-row label {
        font-size: 12px;
    }

    .woocommerce form.checkout .form-row input.input-text,
    .woocommerce form.checkout .form-row textarea,
    .woocommerce form.checkout .form-row select {
        padding: 11px 14px;
        font-size: 14px;
    }

    .woocommerce #order_review_heading {
        font-size: 20px;
        margin-top: 32px;
    }

    .woocommerce #place_order {
        padding: 16px;
        font-size: 13px;
    }

    /* ── WooCommerce: Notices ───────────────── */

    .woocommerce .woocommerce-message,
    .woocommerce .woocommerce-info,
    .woocommerce .woocommerce-error {
        padding: 14px 16px;
        font-size: 13px;
    }

    .woocommerce .woocommerce-message a.button {
        float: none;
        display: block;
        margin: 8px 0 0;
        text-align: center;
        padding: 10px 16px;
    }

    /* ── Shop: layout & filters ────────────── */

    .mb-shop__layout {
        gap: 24px;
    }

    .mb-shop__sidebar h3 {
        font-size: 16px;
    }

    .mb-shop__help-text {
        font-size: 13px;
    }

    /* ── Breadcrumb ─────────────────────────── */

    .mb-breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* ── Pagination ─────────────────────────── */

    .woocommerce nav.woocommerce-pagination {
        margin-top: 40px;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    /* ── Blog ───────────────────────────────── */

    .mb-post-card img {
        height: 180px;
    }

    .mb-post-card__title {
        font-size: 18px;
    }

    .mb-post-card__excerpt {
        font-size: 13px;
    }

    .mb-single-content {
        padding: 40px 20px;
    }

    .mb-single-content p,
    .mb-single-content li {
        font-size: 15px;
        line-height: 1.7;
    }

    .mb-single-content h2,
    .mb-single-content h3 {
        margin-top: 36px;
    }

    /* ── 404 ────────────────────────────────── */

    .mb-404 {
        min-height: 50vh;
        padding: 40px 20px;
    }

    /* ── Forms (WPForms) ────────────────────── */

    .wpforms-container .wpforms-form input[type="text"],
    .wpforms-container .wpforms-form input[type="email"],
    .wpforms-container .wpforms-form input[type="tel"],
    .wpforms-container .wpforms-form textarea {
        padding: 11px 14px;
        font-size: 14px;
    }

    .wpforms-container .wpforms-form .wpforms-submit-container button {
        width: 100%;
        padding: 14px 24px;
    }

    /* ── Animations — reduced distance ─────── */

    .mb-js [data-reveal] {
        transform: translateY(16px);
        transition-duration: 0.5s;
    }

    .mb-js [data-reveal="fade-up"]    { transform: translateY(16px); }
    .mb-js [data-reveal="fade-down"]  { transform: translateY(-16px); }
    .mb-js [data-reveal="fade-left"]  { transform: translateX(16px); }
    .mb-js [data-reveal="fade-right"] { transform: translateX(-16px); }
    .mb-js [data-reveal="zoom"]       { transform: scale(0.97); }

    .mb-js [data-reveal].mb-revealed {
        opacity: 1;
        transform: none;
    }

    /* Hero entrance — smaller movement */
    .mb-js .mb-hero__label,
    .mb-js .mb-hero__title,
    .mb-js .mb-hero__subtitle,
    .mb-js .mb-hero__actions {
        transform: translateY(12px);
    }
}

/* ============================================
   RESPONSIVE — Small mobile (480px)
   ============================================ */

@media (max-width: 480px) {

    /* ── Global ─────────────────────────────── */

    :root {
        --mb-container-pad: 16px;
    }

    .mb-section {
        padding: 40px 0;
    }

    h2 {
        font-size: clamp(22px, 5vw, 28px);
    }

    h3 {
        font-size: clamp(18px, 4vw, 22px);
    }

    /* ── Hero ───────────────────────────────── */

    .mb-hero__inner {
        padding: calc(var(--mb-bar-height, 140px) + 12px) 16px 48px;
    }

    .mb-hero__label {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .mb-hero__title {
        font-size: clamp(24px, 6.5vw, 32px);
    }

    .mb-hero__subtitle {
        font-size: 14px;
    }

    .mb-hero__btn {
        padding: 13px 28px;
        font-size: 11px;
        min-width: 180px;
    }

    .mb-hero__offer {
        padding: 8px 14px;
        border-radius: 14px;
        margin-bottom: 20px;
        font-size: 13px;
    }

    /* ── Trust ──────────────────────────────── */

    .mb-trust {
        padding: 32px 0;
    }

    .mb-trust__grid {
        gap: 20px;
    }

    .mb-trust-number__value {
        font-size: clamp(24px, 6vw, 32px);
    }

    .mb-trust-number__label {
        font-size: 12px;
    }

    /* ── Cards ──────────────────────────────── */

    .mb-service-card {
        padding: 22px 18px;
    }

    .mb-service-card__num {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .mb-service-card__title {
        font-size: 17px;
    }

    .mb-advantages__item {
        padding: 20px 16px;
    }

    .mb-advantages__icon {
        font-size: 24px;
    }

    /* ── Price table ────────────────────────── */

    .mb-prices__group-heading {
        padding: 16px 10px 8px;
        font-size: 16px;
    }

    .mb-prices__service {
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.4;
    }

    .mb-prices__price {
        padding: 12px 10px;
        font-size: 14px;
        min-width: 90px;
    }

    /* ── Process ────────────────────────────── */

    .mb-process__number {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .mb-process__step-title {
        font-size: 16px;
    }

    /* ── FAQ ────────────────────────────────── */

    .mb-faq__question {
        font-size: 15px;
        padding: 16px 0;
    }

    .mb-faq__question::after {
        font-size: 20px;
    }

    .mb-faq__answer p {
        font-size: 13px;
        padding-bottom: 16px;
    }

    /* ── Gallery ────────────────────────────── */

    .mb-gallery__item img {
        height: 160px;
    }

    /* ── CTA ────────────────────────────────── */

    .mb-cta__title {
        font-size: clamp(22px, 5vw, 28px);
    }

    .mb-cta__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    /* ── Footer ─────────────────────────────── */

    .mb-footer {
        padding-top: 36px;
    }

    .mb-footer__grid {
        gap: 24px;
    }

    .mb-footer__logo {
        font-size: 22px;
    }

    .mb-footer__bottom {
        margin-top: 24px;
        padding: 16px 0;
        font-size: 12px;
    }

    /* ── Popup ──────────────────────────────── */

    .mb-popup__box {
        padding: 24px 16px;
        width: calc(100% - 16px);
        border-radius: 8px;
    }

    .mb-popup__title {
        font-size: 22px;
    }

    .mb-popup__subtitle {
        font-size: 13px;
    }

    .mb-popup__input {
        padding: 12px 12px;
        font-size: 14px;
    }

    /* ── WooCommerce: Products ──────────────── */

    ul.products {
        gap: 10px !important;
    }

    .mb-shop__products .woocommerce ul.products,
    .mb-shop__products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mb-product-card__image-wrap {
        aspect-ratio: 2 / 3;
        margin-bottom: 10px;
    }

    .mb-product-card__title {
        font-size: 13px;
    }

    .mb-product-card__price {
        font-size: 12px;
    }

    /* ── WooCommerce: Single product ────────── */

    .mb-product__summary .product_title {
        font-size: 22px;
    }

    .mb-product__summary .price {
        font-size: 22px;
    }

    .mb-product__summary .price del {
        font-size: 16px;
    }

    /* ── WooCommerce: Cart ──────────────────── */

    .woocommerce table.shop_table img {
        width: 48px;
        height: 48px;
    }

    .woocommerce table.shop_table td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .woocommerce table.shop_table th {
        padding: 10px 6px;
        font-size: 10px;
    }

    .woocommerce .cart_totals {
        padding: 20px 16px;
    }

    .woocommerce .cart_totals .order-total td {
        font-size: 18px;
    }

    /* ── WooCommerce: Checkout ──────────────── */

    .woocommerce form.checkout h3 {
        font-size: 18px;
    }

    /* ── Blog ───────────────────────────────── */

    .mb-post-card img {
        height: 160px;
    }

    .mb-post-card__title {
        font-size: 16px;
    }

    .mb-single-content {
        padding: 24px 16px;
    }

    /* ── Timeline ──────────────────────────── */

    .mb-timeline__year {
        font-size: 22px;
    }

    .mb-timeline__text h3 {
        font-size: 15px;
    }

    /* ── Promo ──────────────────────────────── */

    .mb-promo-card {
        padding: 20px 16px;
    }

    .mb-promo-card__title {
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE — Touch devices
   ============================================ */

@media (hover: none) {

    /* Disable all hover transforms on touch */
    .mb-service-card:hover,
    .mb-advantages__item:hover,
    .mb-post-card:hover {
        transform: none;
        box-shadow: none;
    }

    .mb-btn:hover,
    .mb-hero__btn:hover {
        transform: none;
    }

    .mb-split__image:hover img,
    .mb-gallery__item:hover img,
    .mb-product-card__link:hover .mb-product-card__image-wrap img {
        transform: none;
    }

    /* Gallery captions always visible */
    .mb-gallery__caption {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   TARIFF CARDS — Leather jacket repair page
   ============================================ */

.mb-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: start;
}

.mb-tariff-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mb-tariff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.mb-tariff-card--popular {
    border: 2px solid #0a0a0a;
    padding-top: 44px;
}

.mb-tariff-card__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a0a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 0 0 8px 8px;
}

.mb-tariff-card__header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0ede8;
}

.mb-tariff-card__title {
    font-family: var(--mb-font-heading);
    font-size: 22px;
    color: #0a0a0a;
    margin-bottom: 12px;
}

.mb-tariff-card__price {
    font-family: var(--mb-font-heading);
    font-size: 32px;
    color: #0a0a0a;
    font-weight: 700;
    margin-bottom: 4px;
}

.mb-tariff-card__time {
    font-size: 14px;
    color: #6b6b6b;
}

.mb-tariff-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.mb-tariff-card__list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    border-bottom: 1px solid #f8f7f5;
}

.mb-tariff-card__list li:last-child {
    border-bottom: none;
}

.mb-tariff-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a7a2a;
    font-weight: 700;
}

.mb-tariff-card__btn {
    display: block;
    text-align: center;
    width: 100%;
}

.mb-tariff-card--popular .mb-tariff-card__btn {
    background: #0a0a0a;
    color: #fff;
}

/* ── Tariff Responsive ────────────────────── */

@media (max-width: 960px) {
    .mb-tariff-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }
}

/* ============================================
   COLLECTION GRID — Leather tailoring page
   ============================================ */

.mb-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.mb-collection-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.mb-collection-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.mb-collection-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mb-collection-card:hover .mb-collection-card__img-wrap img {
    transform: scale(1.05);
}

.mb-collection-card__body {
    padding: 20px 24px 28px;
}

.mb-collection-card__title {
    font-family: var(--mb-font-heading);
    font-size: 20px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.mb-collection-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: #6b6b6b;
}

.mb-collection-card__count {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mb-accent-text, #7a5f3f);
}

/* ── Category Banners ─────────────────────── */

.mb-category-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.mb-category-banner {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    text-decoration: none;
}

.mb-category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mb-category-banner:hover img {
    transform: scale(1.05);
}

.mb-category-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
    transition: background 0.3s ease;
}

.mb-category-banner:hover .mb-category-banner__overlay {
    background: linear-gradient(to right, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.3) 100%);
}

.mb-category-banner__title {
    font-family: var(--mb-font-heading);
    font-size: 24px;
    color: #fff;
    margin-bottom: 6px;
}

.mb-category-banner__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ── Collection / Category Responsive ─────── */

@media (max-width: 960px) {
    .mb-collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mb-collection-grid .mb-collection-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .mb-collection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mb-collection-grid .mb-collection-card:last-child {
        max-width: 100%;
    }

    .mb-collection-card__img-wrap {
        aspect-ratio: 3 / 4;
    }

    .mb-category-banners {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mb-category-banner {
        aspect-ratio: 16 / 9;
    }

    .mb-category-banner__title {
        font-size: 20px;
    }

    .mb-category-banner__overlay {
        padding: 20px 24px;
    }
}

/* ============================================
   COLD STORAGE PAGE — Gallery, Process, Conditions, Compare
   ============================================ */

/* ── Cold Gallery (masonry-like) ──────────── */

.mb-cold-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 40px;
}

.mb-cold-gallery__item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.mb-cold-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mb-cold-gallery__item:hover img {
    transform: scale(1.05);
}

.mb-cold-gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.mb-cold-gallery__item--large img {
    aspect-ratio: 4 / 3;
}

.mb-cold-gallery__item:not(.mb-cold-gallery__item--large) img {
    aspect-ratio: 1 / 1;
}

/* ── Visual Process Steps ─────────────────── */

.mb-visual-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.mb-visual-process__step {
    text-align: center;
}

.mb-visual-process__img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3 / 4;
}

.mb-visual-process__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mb-visual-process__step:hover .mb-visual-process__img-wrap img {
    transform: scale(1.05);
}

.mb-visual-process__number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.85);
    color: #fff;
    font-family: var(--mb-font-heading);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.mb-visual-process__title {
    font-family: var(--mb-font-heading);
    font-size: 18px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.mb-visual-process__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
}

/* ── Condition Cards ──────────────────────── */

.mb-condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.mb-condition-card {
    border-radius: 16px;
    overflow: hidden;
    background: #f8f7f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.mb-condition-card__img {
    aspect-ratio: 3 / 5;
    overflow: hidden;
}

.mb-condition-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mb-condition-card:hover .mb-condition-card__img img {
    transform: scale(1.05);
}

.mb-condition-card__body {
    padding: 20px 24px 24px;
}

.mb-condition-card__title {
    font-family: var(--mb-font-heading);
    font-size: 18px;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.mb-condition-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b6b;
}

/* ── Compare Table ────────────────────────── */

.mb-compare-wrap {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.mb-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.mb-compare-table th,
.mb-compare-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid #f0ede8;
}

.mb-compare-table thead th {
    background: #0a0a0a;
    color: #fff;
    font-family: var(--mb-font-heading);
    font-size: 16px;
    font-weight: 500;
}

.mb-compare-table thead th.mb-compare-table__bad {
    background: #3a2020;
}

.mb-compare-table thead th.mb-compare-table__good {
    background: #1a3a1a;
}

.mb-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.mb-compare-table tbody td:first-child {
    font-weight: 500;
    color: #0a0a0a;
}

.mb-compare-table tbody td.mb-compare-table__bad {
    color: #b44;
}

.mb-compare-table tbody td.mb-compare-table__good {
    color: #2a7a2a;
    font-weight: 500;
}

/* ── Cold Storage Responsive ──────────────── */

@media (max-width: 960px) {
    .mb-cold-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .mb-cold-gallery__item--large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .mb-cold-gallery__item--large img {
        aspect-ratio: 16 / 9;
    }

    .mb-visual-process {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .mb-condition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .mb-cold-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mb-cold-gallery__item--large {
        grid-column: auto;
    }

    .mb-cold-gallery__item--large img,
    .mb-cold-gallery__item:not(.mb-cold-gallery__item--large) img {
        aspect-ratio: 4 / 3;
    }

    .mb-visual-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mb-visual-process__img-wrap {
        aspect-ratio: 3 / 4;
        border-radius: 12px;
    }

    .mb-visual-process__title {
        font-size: 15px;
    }

    .mb-visual-process__desc {
        font-size: 13px;
    }

    .mb-condition-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mb-condition-card {
        display: grid;
        grid-template-columns: 140px 1fr;
        border-radius: 12px;
    }

    .mb-condition-card__img {
        aspect-ratio: 1 / 1;
    }

    .mb-condition-card__body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mb-compare-table th,
    .mb-compare-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .mb-compare-table thead th {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mb-visual-process {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mb-visual-process__img-wrap {
        aspect-ratio: 4 / 3;
    }

    .mb-condition-card {
        grid-template-columns: 1fr;
    }

    .mb-condition-card__img {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================
   RESPONSIVE — Reduced motion preference
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mb-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   Privacy Policy page
   ============================================ */

.mb-privacy { max-width: 800px; margin: 0 auto; padding-bottom: 4rem; }
.mb-privacy__updated { color: var(--mb-muted); font-size: .9rem; margin-bottom: 2rem; }
.mb-privacy h2 { font-family: var(--mb-heading); font-size: 1.3rem; color: var(--mb-dark); margin: 2.5rem 0 .8rem; }
.mb-privacy p { line-height: 1.7; margin-bottom: .8rem; color: var(--mb-text); }
.mb-privacy ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.mb-privacy li { line-height: 1.7; margin-bottom: .4rem; color: var(--mb-text); }
.mb-privacy a { color: var(--mb-accent); text-decoration: underline; }
.mb-privacy a:hover { color: var(--mb-dark); }

/* ============================================
   Cookie Consent Banner
   ============================================ */

.mb-cookie-banner {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
    background: var(--mb-dark, #1a1a1a); color: #fff;
    padding: .8rem 1.2rem; display: flex; align-items: center;
    gap: .8rem; font-size: .85rem; line-height: 1.4;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    border-radius: .5rem;
    transform: translateY(calc(100% + 2rem)); transition: transform .4s ease;
}
.mb-cookie-banner--visible { transform: translateY(0); }
.mb-cookie-banner__text { white-space: nowrap; }
.mb-cookie-banner__actions { display: flex; gap: .5rem; align-items: center; }
.mb-cookie-banner__btn {
    background: var(--mb-accent, #8b6d4b); color: #fff; border: none;
    padding: .55rem 1.2rem; font-size: .85rem; cursor: pointer;
    font-family: var(--mb-body); white-space: nowrap; min-height: 44px;
}
.mb-cookie-banner__btn:hover { background: var(--mb-accent-dark, #725838); }
.mb-cookie-banner__link {
    color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.35);
    padding: .4rem .8rem; font-size: .75rem; text-decoration: none;
    white-space: nowrap; font-family: var(--mb-body); border-radius: 1rem;
    min-height: 44px; display: inline-flex; align-items: center;
}
.mb-cookie-banner__link:hover { border-color: #fff; color: #fff; }

@media (max-width: 768px) {
    .mb-cookie-banner {
        right: 0; left: 0; bottom: 0 !important; border-radius: 0;
        padding: 5px 10px; gap: 6px; font-size: 11px;
        justify-content: center;
        z-index: 9998;
    }
    .mb-cookie-banner__text { font-size: 11px; white-space: nowrap; }
    .mb-cookie-banner__btn {
        padding: 3px 10px; font-size: 10px; min-height: 26px;
        border-radius: 4px;
    }
    .mb-cookie-banner__link {
        padding: 3px 8px; font-size: 10px; min-height: 26px;
        border-radius: 4px;
    }
}

/* ───────────────────────── Repair block (холодильник — мягкий cross-sell) ───────────────────────── */
.mb-repair-block {
    padding-top: clamp(40px, 6vw, 70px);
    padding-bottom: clamp(40px, 6vw, 70px);
    background-color: #faf9f7;
}

.mb-repair-block .mb-section__title,
.mb-repair-block .mb-section__subtitle {
    text-align: center;
}

.mb-repair-block__list {
    list-style: none;
    margin: 32px 0 20px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mb-repair-block__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid rgba(139, 109, 75, 0.12);
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.45;
    color: #333;
}

.mb-repair-block__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mb-accent-subtle, rgba(139, 109, 75, 0.06));
    color: var(--mb-accent, #8b6d4b);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.mb-repair-block__text {
    flex: 1;
}

.mb-repair-block__cta {
    text-align: center;
    margin: 28px 0 0;
}

.mb-repair-block__btn {
    min-width: 280px;
}

@media (max-width: 860px) {
    .mb-repair-block__list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }
    .mb-repair-block__item {
        padding: 16px 18px;
        font-size: 17px;
    }
}

/* ──────────────────────────────────────────────────────
   Equipment block enhancement (Промышленное оборудование / page-remont-shub)
   ────────────────────────────────────────────────────── */

.mb-equipment-figure {
    margin: 0;
    padding: 0;
}

.mb-equipment-caption {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--mb-text-secondary);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.01em;
}

.mb-equipment-list {
    margin-top: 48px;
    background: var(--mb-bg-white);
    border: 1px solid var(--mb-border);
    padding: 28px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.mb-equipment-list__title {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mb-accent-text);
    font-weight: 600;
    flex-shrink: 0;
}

.mb-equipment-list__items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.mb-equipment-list__items li {
    padding: 8px 16px;
    background: var(--mb-bg-warm);
    color: var(--mb-text-body);
    font-size: 18px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .mb-equipment-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 12px;
    }
    .mb-equipment-list__items li {
        font-size: 17px;
    }
    .mb-equipment-caption {
        font-size: 15px;
    }
}

/* ──────────────────────────────────────────────────────
   Choose atelier (Как выбрать ателье / page-remont-shub)
   ────────────────────────────────────────────────────── */

.mb-choose-atelier__lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mb-choose-atelier__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}

.mb-choose-card {
    position: relative;
    background: var(--mb-bg-white);
    border: 1px solid var(--mb-border);
    padding: 36px 30px 30px;
    display: flex;
    flex-direction: column;
}

.mb-choose-card--featured {
    background: var(--mb-bg-warm);
    border: 2px solid var(--mb-accent);
    box-shadow: 0 8px 32px var(--mb-accent-glow);
}

.mb-choose-card__badge {
    position: absolute;
    top: -14px;
    left: 28px;
    background: var(--mb-accent);
    color: var(--mb-text-on-dark);
    font-size: 13px;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

.mb-choose-card__subtitle {
    display: block;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mb-accent-text);
    margin-bottom: 14px;
    font-weight: 600;
}

.mb-choose-card--featured .mb-choose-card__subtitle {
    color: var(--mb-accent);
}

.mb-choose-card__title {
    font-family: var(--mb-font-heading);
    font-size: 26px;
    line-height: 1.25;
    color: var(--mb-text-heading);
    margin: 0 0 24px;
    font-weight: 400;
}

.mb-choose-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
}

.mb-choose-card__list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--mb-border);
    font-size: 18px;
    line-height: 1.55;
    color: var(--mb-text-body);
}

.mb-choose-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mb-choose-card__list strong {
    color: var(--mb-text-heading);
    font-weight: 600;
    margin-right: 4px;
}

.mb-choose-card__minus {
    margin: 0;
    padding-top: 18px;
    border-top: 1px dashed var(--mb-border);
    font-size: 16px;
    line-height: 1.5;
    color: var(--mb-text-secondary);
    font-style: italic;
}

.mb-choose-atelier__final {
    text-align: center;
    margin: 56px auto 0;
    max-width: 640px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--mb-text-body);
}

.mb-choose-atelier__link {
    display: inline-block;
    margin-top: 12px;
    color: var(--mb-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    font-weight: 500;
}

.mb-choose-atelier__link:hover {
    color: var(--mb-accent-hover);
}

@media (max-width: 1024px) {
    .mb-choose-atelier__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mb-choose-card {
        padding: 32px 24px 26px;
    }
    .mb-choose-card--featured {
        order: -1;
    }
    .mb-choose-card__badge {
        position: static;
        display: inline-block;
        margin-bottom: 16px;
    }
    .mb-choose-card__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .mb-choose-atelier__final {
        font-size: 18px;
        margin-top: 40px;
    }
}

