/* ==========================================================================
   Absolute Barbers VIP & Salons — 2026 redesign layer
   Loaded LAST from layouts/app.blade.php. To revert the look globally,
   remove that single <link> line (original UI also tagged in git:
   ui-backup-2026-11-13).
   World: the barber's ticket — warm ink + shop-paper, pole-stripe accent.
   ========================================================================== */

:root {
    --bx-ink: #100c0a;
    --bx-ink-2: #1a1411;
    --bx-ink-3: #281e19;
    --bx-paper: #f3ead8;
    --bx-paper-2: #faf5e9;
    --bx-bone: #e4d8bf;
    --bx-line: #d8c9aa;
    --bx-text: #1c1511;
    --bx-muted: #6a5b4f;
    --bx-red: #c4232c;
    --bx-red-dk: #9c1820;
    --bx-brass: #c9a24b;
    --bx-navy: #223c70;
    --bx-ok: #2f6b3f;
    --bx-radius: 14px;
    --bx-radius-sm: 8px;
    --bx-shadow: 0 1px 0 rgba(28, 21, 17, .06), 0 10px 28px -14px rgba(28, 21, 17, .35);
    --bx-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
    --bx-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bx-pole: repeating-linear-gradient(-45deg, var(--bx-red) 0 10px, var(--bx-paper) 10px 20px, var(--bx-navy) 20px 30px, var(--bx-paper) 30px 40px);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--bx-body);
    background: var(--bx-paper);
    color: var(--bx-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bx-display);
    letter-spacing: .01em;
}

a { transition: color .2s, background-color .2s, border-color .2s; }

:focus-visible {
    outline: 3px solid var(--bx-brass) !important;
    outline-offset: 2px;
}

.bx-pole {
    height: 8px;
    background: var(--bx-pole);
    background-size: 56px 56px;
}

/* ---------- Top info bar ---------- */
body .top {
    background: var(--bx-ink) !important;
    color: #e9dfc8;
    font-size: 14px;
    padding: 0;
    border-bottom: 1px solid #2c221c;
}
body .top .container > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 44px;
    margin: 0;
}
body .top .container > .row > [class*="col-"] {
    flex: 1 1 0;
    max-width: none;
    padding: 6px 0;
}
body .top .top-contact ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
body .top .top-contact li { display: inline-flex; align-items: center; gap: 8px; }
body .top .top-contact li br { display: none; }
body .top .top-contact li > i:last-child:not(:first-child) { display: none; }
body .top .top-contact strong { font-size: 14px !important; font-weight: 600; }
body .top .top-contact a, body .top .top-contact span { color: #e9dfc8 !important; }
body .top .top-contact i { color: var(--bx-brass); }
body .top .top-contact.text-center strong { font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
body .top .top-right { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
body .top .top-social ul, body .top .top-profile ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
body .top .top-social a {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    color: #e9dfc8 !important; background: transparent !important; border: 1px solid #3a2e26;
}
body .top .top-social a:hover { color: var(--bx-ink) !important; background: var(--bx-brass) !important; border-color: var(--bx-brass); }
body .top .top-profile a { color: #e9dfc8; }

/* ---------- Main navigation ---------- */
body .navbar-area { background: var(--bx-ink) !important; }
body .main-nav {
    background: var(--bx-ink-2) !important;
    box-shadow: none;
    border-bottom: 0;
}
body .main-nav::after { content: ""; display: block; height: 6px; background: var(--bx-pole); background-size: 48px 48px; }
body .main-nav .container { max-width: 1240px; display: block !important; }
body .main-nav nav.navbar { padding: 0; min-height: 96px; align-items: center; }
body .main-nav .navbar-brand { padding: 8px 0; margin-right: 28px; }
body .main-nav .navbar-brand img { width: auto !important; height: 76px !important; border-radius: 6px; }
body .main-nav nav .navbar-nav { background: transparent !important; align-items: center; gap: 4px; }
body .main-nav nav .navbar-nav .nav-item a,
body .main-nav nav .navbar-nav .nav-link {
    font-family: var(--bx-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f3ead8 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    position: relative;
}
body .main-nav nav .navbar-nav .nav-item a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--bx-brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
body .main-nav nav .navbar-nav .nav-item a:hover,
body .main-nav nav .navbar-nav .nav-item:hover > a { color: var(--bx-brass) !important; background: transparent !important; }
body .main-nav nav .navbar-nav .nav-item a:hover::after { transform: scaleX(1); }
body .main-nav nav .navbar-nav .nav-item .dropdown-menu {
    background: var(--bx-ink-2) !important; border: 1px solid #3a2e26; border-radius: var(--bx-radius-sm);
    padding: 6px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
}
body .main-nav nav .navbar-nav .nav-item .dropdown-menu li a { font-size: 16px; padding: 10px 14px !important; border-radius: 6px; }
body .main-nav nav .navbar-nav .nav-item .dropdown-menu li a::after { display: none; }
body .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover { background: var(--bx-ink-3) !important; }

.bx-nav-cta {
    margin-left: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bx-red) !important; color: #fff !important;
    font-family: var(--bx-display); font-weight: 800; font-size: 18px; letter-spacing: .1em; text-transform: uppercase;
    padding: 12px 22px !important; border-radius: 999px; text-decoration: none !important;
    box-shadow: 0 8px 20px -10px rgba(196, 35, 44, .8);
}
body .main-nav nav .navbar-nav .nav-item a.bx-nav-cta::after { display: none; }
.bx-nav-cta:hover { background: var(--bx-red-dk) !important; color: #fff !important; transform: translateY(-1px); }

body .navbar-area.sticky .main-nav { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); }
body .navbar-area.sticky .main-nav nav.navbar { min-height: 70px; }
body .navbar-area.sticky .navbar-brand img { height: 54px !important; }

/* Mobile bar (meanmenu) */
body .mobile-nav { background: var(--bx-ink) !important; }
body .mobile-nav .logo img { height: 64px !important; width: auto; padding: 6px 0; }
body .mean-container .mean-bar { background: var(--bx-ink) !important; min-height: 0; padding: 0; border-bottom: 6px solid transparent; border-image: var(--bx-pole) 1; }
body .mean-container a.meanmenu-reveal {
    color: var(--bx-paper) !important; top: 14px !important; right: 12px !important;
    width: 28px; height: 22px;
}
body .mean-container a.meanmenu-reveal span { background: var(--bx-paper) !important; }
body .mean-container .mean-nav { background: var(--bx-ink-2) !important; margin-top: 0; }
body .mean-container .mean-nav ul li a {
    font-family: var(--bx-display); font-size: 20px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--bx-paper) !important; border-top: 1px solid #2c221c !important; padding: 16px 5% !important; width: 90%;
}
body .mean-container .mean-nav ul li a:hover { color: var(--bx-brass) !important; }

/* ---------- Hero slider ---------- */
body .swiper.mySwiper { height: clamp(380px, 62vh, 640px); background: var(--bx-ink); }
body .swiper.mySwiper .main-container { background: var(--bx-ink); }
body .swiper.mySwiper .overlay-1, body .swiper.mySwiper [class^="overlay-"] {
    background: linear-gradient(180deg, rgba(16, 12, 10, .55) 0%, rgba(16, 12, 10, .35) 40%, rgba(16, 12, 10, .85) 100%) !important;
}
body .swiper-slide .content-container { width: min(92%, 860px); text-align: center; }
body .swiper-slide h1 {
    font-family: var(--bx-display) !important;
    font-size: clamp(2.2rem, 6.2vw, 4.8rem) !important;
    line-height: .98; font-weight: 800 !important; letter-spacing: .01em; text-transform: uppercase;
    color: var(--bx-paper) !important; text-wrap: balance; margin-bottom: 14px;
}
body .swiper-slide h1 p, body .swiper-slide h3 p { margin: 0; }
body .swiper-slide h3 { font-family: var(--bx-body) !important; font-size: clamp(1rem, 2.2vw, 1.3rem) !important; font-weight: 500 !important; color: #eadfc6 !important; margin-bottom: 26px !important; }
body .swiper-slide a {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bx-red) !important; border: 0 !important; color: #fff !important;
    font-family: var(--bx-display); font-size: 20px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 14px 34px !important; border-radius: 999px !important;
    box-shadow: 0 14px 30px -12px rgba(196, 35, 44, .9);
}
body .swiper-slide a:hover { background: var(--bx-red-dk) !important; transform: translateY(-2px); }
body .swiper-slide a p, body .swiper-slide a strong { margin: 0; color: inherit; }

/* ---------- Shop intro ---------- */
.bx-intro { background: var(--bx-ink); color: var(--bx-paper); padding: 56px 0 64px; position: relative; }
.bx-intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bx-pole); background-size: 48px 48px; }
.bx-intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.bx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
    font-family: var(--bx-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-brass);
}
.bx-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bx-brass); }
.bx-headline {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: .98; font-weight: 800; text-transform: uppercase;
    color: var(--bx-paper); margin: 0 0 18px; text-wrap: balance;
}
.bx-lead { font-size: 1.15rem; line-height: 1.55; color: #eadfc6; margin: 0; max-width: 34em; font-weight: 500; }
.bx-notice {
    background: var(--bx-ink-2); border: 1px solid #4a3b2f;
    border-radius: var(--bx-radius); padding: 22px 24px;
}
.bx-notice h2 { font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-brass); margin: 0 0 10px; font-weight: 700; }
.bx-notice__text { font-size: 15.5px; line-height: 1.65; color: #d9ccb0; white-space: pre-line; margin: 0; }
.bx-notice__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.bx-notice__more {
    margin-top: 12px; background: none; border: 0; padding: 4px 0; color: var(--bx-brass); font-weight: 700; font-size: 14px;
    cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.bx-callrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Buttons ---------- */
.bx-btn, body .btn-primary, body .add-to-cart, body .avail-offering-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 12px 24px;
    background: var(--bx-red) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
    font-family: var(--bx-display); font-weight: 800; font-size: 18px; letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none !important; cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 10px 22px -12px rgba(196, 35, 44, .9);
}
.bx-btn:hover, body .btn-primary:hover, body .add-to-cart:hover, body .avail-offering-btn:hover { background: var(--bx-red-dk) !important; transform: translateY(-1px); color: #fff !important; }
.bx-btn--ghost, body .btn-outline-success, body .btn-secondary {
    background: transparent !important; color: var(--bx-text) !important; box-shadow: none; border: 2px solid var(--bx-text) !important;
}
.bx-intro .bx-btn--ghost { color: var(--bx-paper) !important; border-color: #5a4a3f !important; }
.bx-btn--ghost:hover { background: var(--bx-text) !important; color: var(--bx-paper) !important; }
.bx-intro .bx-btn--ghost:hover { background: var(--bx-paper) !important; color: var(--bx-ink) !important; }
body .btn-sm { min-height: 38px; padding: 8px 18px; font-size: 15px; }

/* ---------- Category rail ---------- */
.bx-rail {
    position: sticky; top: 0; z-index: 30; background: var(--bx-paper-2);
    border-bottom: 1px solid var(--bx-line);
}
.bx-rail .container { position: relative; }
#categories-list {
    list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
#categories-list::-webkit-scrollbar { display: none; }
#categories-list li { margin: 0 !important; flex: 0 0 auto; scroll-snap-align: start; }
#categories-list .nav-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px !important; margin: 0 !important;
    border-radius: 999px; border: 1.5px solid var(--bx-line); background: #fff;
    font-family: var(--bx-body) !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0; text-transform: none;
    color: var(--bx-text) !important; white-space: nowrap; min-height: 44px;
}
#categories-list .nav-link:hover { border-color: var(--bx-text); }
#categories-list .nav-link.active {
    background: var(--bx-ink) !important; color: var(--bx-paper) !important; border-color: var(--bx-ink);
}
#categories-list .nav-link .bx-count {
    font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bx-bone); color: var(--bx-muted);
}
#categories-list .nav-link.active .bx-count { background: var(--bx-brass); color: var(--bx-ink); }

/* ---------- Catalogue ---------- */
.bx-catalogue { padding: 40px 0 72px; }
.bx-catalogue .tab-pane > .bx-pane-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px;
}
.bx-pane-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; font-weight: 800; margin: 0; }
.bx-pane-head span { color: var(--bx-muted); font-weight: 600; font-size: 14px; }

.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px; }
.bx-grid--portrait { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.bx-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--bx-radius);
    box-shadow: var(--bx-shadow); overflow: hidden; border: 1px solid var(--bx-line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bx-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(28, 21, 17, .06), 0 18px 36px -16px rgba(28, 21, 17, .45); }
.bx-card__media { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--bx-bone); overflow: hidden; }
.bx-card__media img {
    width: 100% !important; height: 100% !important; object-fit: cover; display: block;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important;
    transition: transform .5s ease;
}
.bx-card:hover .bx-card__media img { transform: scale(1.04); }
.bx-grid--portrait .bx-card__media { aspect-ratio: 4 / 5; background: #efe5cf; }
.bx-grid--portrait .bx-card__media img { object-fit: contain; }
.bx-card__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; flex: 1; }
.bx-card__body h3 { font-size: 1.45rem; line-height: 1.05; font-weight: 800; text-transform: uppercase; margin: 0; }
.bx-card__body h3 a { color: var(--bx-text) !important; text-decoration: none; }
.bx-card__body h3 a:hover { color: var(--bx-red) !important; }

.bx-prices {
    display: grid; grid-template-columns: 1fr 1fr; border: 1.5px dashed var(--bx-line); border-radius: var(--bx-radius-sm);
    margin-top: auto; background: var(--bx-paper-2);
}
.bx-price { padding: 10px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bx-price + .bx-price { border-left: 1.5px dashed var(--bx-line); }
.bx-price__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-muted); line-height: 1.25; }
.bx-price__hint { font-size: 11px; color: var(--bx-muted); line-height: 1.2; }
.bx-price__val { font-family: var(--bx-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--bx-text); }
.bx-price__val small { font-size: .55em; font-weight: 700; margin-right: 2px; letter-spacing: .04em; }
.bx-price--appt .bx-price__val { color: var(--bx-red); }
.bx-price__was { font-size: 12.5px; color: var(--bx-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.bx-price__save { font-size: 11.5px; font-weight: 700; color: var(--bx-ok); line-height: 1.2; }
.bx-card .bx-btn { width: 100%; }
.bx-empty { padding: 48px 20px; text-align: center; color: var(--bx-muted); border: 2px dashed var(--bx-line); border-radius: var(--bx-radius); font-size: 1.1rem; }

/* ---------- Service detail ---------- */
.bx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--bx-muted); }
.bx-crumbs a { color: var(--bx-muted); text-decoration: none; }
.bx-crumbs a:hover { color: var(--bx-red); }
.bx-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; background: #fff; border: 1px solid var(--bx-line); border-radius: 20px; padding: 28px; box-shadow: var(--bx-shadow); }
.bx-detail__media { border-radius: var(--bx-radius); overflow: hidden; background: var(--bx-bone); align-self: start; }
.bx-detail__media img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; border: 0 !important; box-shadow: none !important; }
.bx-detail__media.portrait img { aspect-ratio: 4 / 5; object-fit: contain; background: #efe5cf; }
.bx-detail h1 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; font-weight: 800; line-height: 1; margin: 0 0 6px; }
.bx-detail__cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-red); margin-bottom: 18px; }
.bx-detail__body { color: var(--bx-text); line-height: 1.65; margin-bottom: 22px; }
.bx-detail .bx-prices { margin-bottom: 22px; }
.bx-detail .bx-price__val { font-size: 2.1rem; }

/* ---------- Modals ---------- */
body .modal-backdrop.show { opacity: .72; background: var(--bx-ink); }
body .modal-content {
    border: 0; border-radius: 20px; background: var(--bx-paper-2); color: var(--bx-text); overflow: hidden;
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7);
}
body .modal-header { background: var(--bx-ink); color: var(--bx-paper); border: 0; padding: 20px 26px; position: relative; }
body .modal-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--bx-pole); background-size: 44px 44px; }
body .modal-title { font-family: var(--bx-display); font-size: 1.9rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
body .modal-body { padding: 24px 26px; }
body .modal-footer { background: #fff; border-top: 1px solid var(--bx-line); padding: 18px 26px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
body .modal-footer p { margin: 0; font-size: 14px; color: var(--bx-muted); text-align: center; }
body .modal-footer p a { background: transparent !important; color: var(--bx-red) !important; font-weight: 700; white-space: nowrap; }
body .modal-footer .add-to-cart, body .modal-footer button[type="submit"] { width: 100%; }

.bx-step { margin-bottom: 24px; }
.bx-step__title { display: flex; align-items: center; gap: 10px; font-family: var(--bx-display); font-size: 1.3rem; text-transform: uppercase; font-weight: 800; margin: 0 0 12px; }
.bx-step__num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bx-ink); color: var(--bx-paper); font-family: var(--bx-body); font-size: 13px; font-weight: 800; }
.bx-detailsbox { font-size: 15px; line-height: 1.6; color: var(--bx-muted); margin-bottom: 18px; }
.bx-detailsbox:empty { display: none; }

.bx-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bx-choice { position: relative; cursor: pointer; margin: 0; display: block; }
.bx-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bx-choice__box {
    display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-height: 84px;
    background: #fff; border: 2px solid var(--bx-line); border-radius: var(--bx-radius);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.bx-choice__name { font-weight: 800; font-size: 15px; }
.bx-choice__hint { font-size: 12.5px; color: var(--bx-muted); line-height: 1.3; }
.bx-choice__price { margin-top: auto; font-family: var(--bx-display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.bx-choice__price s { font-family: var(--bx-body); font-size: 13px; font-weight: 500; color: var(--bx-muted); margin-right: 6px; }
.bx-choice input:checked + .bx-choice__box { border-color: var(--bx-red); background: #fff6f4; box-shadow: 0 0 0 3px rgba(196, 35, 44, .15); }
.bx-choice input:focus-visible + .bx-choice__box { outline: 3px solid var(--bx-brass); outline-offset: 2px; }
.bx-choice:hover .bx-choice__box { border-color: var(--bx-text); }

.bx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bx-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bx-field--full { grid-column: 1 / -1; }
.bx-field label, .bx-field > span { font-size: 13px; font-weight: 700; color: var(--bx-text); margin: 0; }

body .form-control, body select.form-control, body .select2-container--default .select2-selection--single {
    min-height: 48px; border: 1.5px solid var(--bx-line); border-radius: 10px; background: #fff; color: var(--bx-text);
    font-family: var(--bx-body); font-size: 16px; padding: 10px 14px; box-shadow: none;
}
body .form-control:focus { border-color: var(--bx-red); box-shadow: 0 0 0 3px rgba(196, 35, 44, .15); background: #fff; color: var(--bx-text); }
body .form-control::placeholder { color: #a39485; }
body .animated-input:focus, body .animated-input:hover { transform: none !important; }
body .select2-container--default .select2-selection--single { display: flex; align-items: center; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }

.bx-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.bx-slot { position: relative; margin: 0; }
.bx-slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bx-slot span {
    display: block; text-align: center; padding: 11px 6px; min-height: 44px; border: 1.5px solid var(--bx-line); border-radius: 10px;
    background: #fff; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: all .15s;
}
.bx-slot:hover span { border-color: var(--bx-text); }
.bx-slot input:checked + span { background: var(--bx-ink); color: var(--bx-paper); border-color: var(--bx-ink); }
.bx-slot input:focus-visible + span { outline: 3px solid var(--bx-brass); outline-offset: 2px; }
.bx-slot input:disabled + span { background: transparent; color: #a8998a; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.bx-slot input:disabled { cursor: not-allowed; }
.bx-slots__empty { grid-column: 1 / -1; color: var(--bx-muted); font-size: 14px; }

/* ---------- Page banner (inner pages) ---------- */
body .page-banner { background-color: var(--bx-ink); position: relative; }
body .page-banner .bg-page { background: var(--bx-ink); opacity: .82; }
body .page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bx-pole); background-size: 48px 48px; z-index: 100; }
body .page-banner .text { padding-top: 56px; padding-bottom: 56px; }
body .page-banner .text h1 { font-family: var(--bx-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--bx-paper); }
body .page-banner .breadcrumb-item { font-family: var(--bx-body); font-size: 14px; color: #bda98e; font-weight: 600; }
body .page-banner .breadcrumb-item a { color: var(--bx-brass); }
body .page-banner .breadcrumb-item::before { color: #6f5d4d !important; }
body .page-content { background: var(--bx-paper); }

/* ---------- Checkout (service_checkout) ---------- */
.bx-checkout { padding: 44px 0 80px; }
.bx-checkout__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.bx-panel { background: #fff; border: 1px solid var(--bx-line); border-radius: 20px; box-shadow: var(--bx-shadow); padding: 26px; }
.bx-panel + .bx-panel { margin-top: 22px; }
.bx-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bx-panel h2 { font-size: 1.7rem; text-transform: uppercase; font-weight: 800; margin: 0; }
.bx-service-sum { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1.5px dashed var(--bx-line); }
.bx-service-sum img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bx-bone); }
.bx-service-sum h3 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1.05; }
.bx-service-sum p { margin: 4px 0 0; color: var(--bx-muted); font-size: 14px; }
.bx-pay { position: sticky; top: 92px; }
.bx-total { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-top: 1.5px dashed var(--bx-line); border-bottom: 1.5px dashed var(--bx-line); margin: 18px 0; }
.bx-total span { font-weight: 700; color: var(--bx-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.bx-total strong { font-family: var(--bx-display); font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bx-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 4px 0; color: var(--bx-muted); }
.bx-line strong { color: var(--bx-text); font-variant-numeric: tabular-nums; }
.bx-inline-form { display: flex; gap: 10px; align-items: stretch; }
.bx-inline-form .form-control { flex: 1; min-width: 0; }
.bx-inline-form .btn { flex: none; min-height: 48px; }
.bx-note { font-size: 13.5px; line-height: 1.5; color: var(--bx-muted); background: var(--bx-paper-2); border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.bx-note i { color: var(--bx-brass); margin-right: 6px; }
.bx-method { margin-top: 18px; }
body .cash-in-shop, body .paypal, body .stripe { background: var(--bx-paper-2); border-radius: var(--bx-radius); padding: 16px; margin-top: 14px !important; }
body .cash-in-shop h6 { font-weight: 700; margin-bottom: 12px; }
.bx-hint { font-size: 14px; color: var(--bx-muted); margin: 6px 0 0; }
.bx-time-select { width: 100%; }

/* ---------- Confirmation ---------- */
.bx-thanks { padding: 48px 0 90px; }
.bx-ticket { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 20px; border: 1px solid var(--bx-line); box-shadow: var(--bx-shadow); position: relative; overflow: hidden; }
.bx-ticket__top { background: var(--bx-ink); color: var(--bx-paper); padding: 30px 32px 26px; text-align: center; position: relative; }
.bx-ticket__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bx-pole); background-size: 48px 48px; }
.bx-ticket__check { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bx-brass); color: var(--bx-ink); font-size: 26px; margin-bottom: 12px; }
.bx-ticket__top h2 { font-size: 2.4rem; text-transform: uppercase; font-weight: 800; margin: 0; }
.bx-ticket__num { padding: 28px 32px 8px; text-align: center; }
.bx-ticket__num span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-muted); }
.bx-ticket__num strong { display: block; margin-top: 6px; font-family: var(--bx-display); font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 800; letter-spacing: .12em; color: var(--bx-red); line-height: 1; word-break: break-all; }
.bx-ticket__msg { margin: 18px 32px 0; padding: 18px 20px; background: var(--bx-paper-2); border: 1.5px dashed var(--bx-line); border-radius: 12px; line-height: 1.6; font-size: 16px; }
.bx-ticket__act { padding: 26px 32px 32px; text-align: center; }

/* ---------- Generic forms / cards on inner pages ---------- */
body .reg-login-form, body .contact-form, body .cart, body .checkout { color: var(--bx-text); }
body .alert { border-radius: 12px; border: 0; }
body .alert-success { background: #e4f1e5; color: #1f4a2b; }
body .table { background: #fff; }
body .table thead th { background: var(--bx-ink); color: var(--bx-paper); border: 0; font-family: var(--bx-display); letter-spacing: .06em; text-transform: uppercase; }
body .wsus__section_heading h2, body .headline h2 { font-family: var(--bx-display); text-transform: uppercase; font-weight: 800; }
body .scroll-top { background: var(--bx-ink) !important; color: var(--bx-paper); border-radius: 50%; border: 2px solid var(--bx-brass); }

/* ---------- Footer ---------- */
body .footer-area.bx-footer { background: var(--bx-ink) !important; color: #cdbf9f; padding: 0; position: relative; }
.bx-footer::before { content: ""; display: block; height: 8px; background: var(--bx-pole); background-size: 56px 56px; }
.bx-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding: 56px 0 44px; }
.bx-footer img.bx-footer__logo { height: 92px; width: auto; border-radius: 6px; margin-bottom: 16px; }
.bx-footer h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--bx-brass); margin: 0 0 16px; }
.bx-footer ul { list-style: none; margin: 0; padding: 0; }
.bx-footer li { margin-bottom: 10px; line-height: 1.5; }
.bx-footer a { color: #e9dfc8; text-decoration: none; }
.bx-footer a:hover { color: var(--bx-brass); }
.bx-footer .bx-social { display: flex; gap: 10px; flex-wrap: wrap; }
.bx-footer .bx-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #3a2e26; font-size: 17px; }
.bx-footer .bx-social a:hover { background: var(--bx-brass); color: var(--bx-ink); border-color: var(--bx-brass); }
.bx-footer__end { border-top: 1px solid #2c221c; padding: 22px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #9c8d75; }
.bx-footer__end p { margin: 0; }
.bx-footer__admin { font-size: 13px; color: #9c8d75 !important; border: 1px solid #3a2e26; padding: 6px 14px; border-radius: 999px; }

/* ---------- Home (website) ---------- */
.hm-hero { position: relative; min-height: min(78vh, 700px); display: grid; align-items: end; background: var(--bx-ink) center / cover no-repeat; color: var(--bx-paper); isolation: isolate; }
.hm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 12, 10, .5), rgba(16, 12, 10, .2) 35%, rgba(16, 12, 10, .92)); z-index: -1; }
.hm-hero__inner { padding: 120px 0 64px; max-width: 880px; }
.hm-hero h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: .92; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; color: var(--bx-paper); }
.hm-hero p { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: #eadfc6; margin: 0 0 28px; font-weight: 500; }
.hm-hero .bx-btn { font-size: 22px; padding: 16px 38px; }

.hm-strip { background: var(--bx-ink-2); color: var(--bx-paper); }
.hm-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hm-strip__item { padding: 22px 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid #2c221c; }
.hm-strip__item:last-child { border-right: 0; }
.hm-strip__item i { color: var(--bx-brass); font-size: 22px; width: 26px; text-align: center; }
.hm-strip__item small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9c8d75; font-weight: 700; }
.hm-strip__item strong { font-size: 1.05rem; font-weight: 700; }
.hm-strip__item a { color: inherit; text-decoration: none; }

.hm-section { padding: 88px 0; }
.hm-section--paper2 { background: var(--bx-paper-2); }
.hm-h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; font-weight: 800; line-height: .98; margin: 0 0 18px; text-wrap: balance; }

.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hm-about__imgs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }
.hm-about__imgs img { width: 100%; object-fit: cover; border-radius: var(--bx-radius); box-shadow: var(--bx-shadow); display: block; }
.hm-about__imgs img:first-child { aspect-ratio: 3 / 4; }
.hm-about__imgs img:last-child { aspect-ratio: 3 / 5; margin-top: 48px; }
.hm-about p { font-size: 1.1rem; line-height: 1.7; color: #3f332a; }
.hm-hours { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 26px; padding: 12px 18px; background: #fff; border: 1.5px dashed var(--bx-line); border-radius: 12px; font-weight: 700; }
.hm-hours i { color: var(--bx-red); }

.hm-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--bx-text); }
.hm-service { padding: 28px 24px 30px 0; border-bottom: 1.5px solid var(--bx-line); display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; align-items: start; }
.hm-service:nth-child(3n+2), .hm-service:nth-child(3n) { padding-left: 24px; border-left: 1.5px solid var(--bx-line); }
.hm-service__n { font-family: var(--bx-display); font-weight: 800; font-size: 3rem; line-height: .9; color: var(--bx-red); grid-row: span 2; font-variant-numeric: tabular-nums; }
.hm-service h3 { font-size: 1.7rem; text-transform: uppercase; font-weight: 800; margin: 0; line-height: 1; }
.hm-service p { margin: 0; color: var(--bx-muted); line-height: 1.55; }
.hm-service__em { font-size: 1.6rem; margin-bottom: 6px; display: block; }

.hm-promo { background: var(--bx-ink); color: var(--bx-paper); padding: 0; overflow: hidden; }
.hm-promo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.hm-promo__img { background: center / cover no-repeat; min-height: 420px; }
.hm-promo__txt { padding: 80px 56px; align-self: center; max-width: 640px; }
.hm-promo__txt h3 { font-family: var(--bx-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-brass); margin: 0 0 14px; }
.hm-promo__txt h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .98; text-transform: uppercase; font-weight: 800; margin: 0 0 16px; color: var(--bx-paper); }
.hm-promo__txt h2 em { font-style: normal; color: var(--bx-brass); }
.hm-promo__txt p { color: #d9ccb0; font-size: 1.15rem; margin: 0 0 26px; }

.hm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hm-gallery a { display: block; aspect-ratio: 1; border-radius: var(--bx-radius-sm); overflow: hidden; background: var(--bx-bone); }
.hm-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hm-gallery a:hover img { transform: scale(1.06); }

.hm-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0; background: #fff; border: 1px solid var(--bx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--bx-shadow); }
.hm-visit__info { padding: 44px; }
.hm-visit__info address { font-style: normal; font-size: 1.2rem; line-height: 1.6; margin-bottom: 22px; font-weight: 600; }
.hm-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-visit iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.bx-wa-float { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .bx-intro__grid { grid-template-columns: 1fr; gap: 28px; }
    .bx-detail { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
    .bx-checkout__grid { grid-template-columns: 1fr; }
    .bx-pay { position: static; }
    .bx-footer__grid { grid-template-columns: 1fr 1fr; }
    .hm-about, .hm-visit, .hm-promo__grid { grid-template-columns: 1fr; }
    .hm-about { gap: 36px; }
    .hm-promo__img { min-height: 300px; }
    .hm-promo__txt { padding: 48px 24px 56px; }
    .hm-services { grid-template-columns: 1fr 1fr; }
    .hm-service:nth-child(n) { padding-left: 0; border-left: 0; }
    .hm-service:nth-child(2n) { padding-left: 24px; border-left: 1.5px solid var(--bx-line); }
    .hm-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    body .top .container > .row { flex-wrap: wrap; justify-content: center; padding: 4px 0; }
    body .top .container > .row > [class*="col-"] { flex: 1 1 100%; text-align: center; padding: 2px 0; }
    body .top .top-contact ul { justify-content: center; gap: 12px; }
    body .top .top-right { justify-content: center; }
    body .top .top-profile { display: none; }
    .bx-intro { padding: 36px 0 44px; }
    .bx-grid, .bx-grid--portrait { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bx-grid--portrait { grid-template-columns: 1fr; }
    .bx-card__body { padding: 12px 12px 14px; gap: 10px; }
    .bx-card__body h3 { font-size: 1.15rem; }
    .bx-prices { grid-template-columns: 1fr; }
    .bx-price + .bx-price { border-left: 0; border-top: 1.5px dashed var(--bx-line); }
    .bx-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; padding: 8px 10px; }
    .bx-price__val { font-size: 1.3rem; }
    .bx-card .bx-btn { font-size: 15px; min-height: 42px; padding: 10px 12px; }
    .bx-catalogue { padding: 28px 0 56px; }
    .bx-choices, .bx-fields { grid-template-columns: 1fr; }
    body .modal-body { padding: 20px 18px; }
    body .modal-header { padding: 16px 18px; }
    body .modal-footer { padding: 16px 18px; }
    .bx-panel { padding: 18px; border-radius: 16px; }
    .bx-footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
    .hm-section { padding: 56px 0; }
    .hm-strip__grid { grid-template-columns: 1fr; }
    .hm-strip__item { border-right: 0; border-bottom: 1px solid #2c221c; padding: 16px 4px; }
    .hm-services { grid-template-columns: 1fr; }
    .hm-service:nth-child(n) { padding-left: 0; border-left: 0; }
    .hm-visit__info { padding: 26px 20px; }
    .hm-about__imgs img:last-child { margin-top: 28px; }
}
@media (max-width: 420px) {
    .bx-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Fixes after first visual pass ---------- */
body .top .container, body .main-nav .container { max-width: 1240px; }
body .top .top-contact, body .top .top-contact * { white-space: nowrap; }
body .top .top-contact ul { flex-wrap: nowrap; }
body .main-nav nav .navbar-nav .nav-item a, body .main-nav nav .navbar-nav .nav-link { white-space: nowrap; font-size: 17px; padding: 10px 11px !important; }
body .main-nav nav .navbar-nav .nav-item a.bx-nav-cta { font-size: 17px; padding: 11px 22px !important; white-space: nowrap; }
body .main-nav .navbar-brand img { height: 68px !important; }
body .scroll-top { left: 20px !important; right: auto !important; bottom: 20px !important; }
@media (min-width: 768px) and (max-width: 1199px) {
    body .main-nav nav .navbar-nav .nav-item a, body .main-nav nav .navbar-nav .nav-link { font-size: 15px; padding: 10px 8px !important; }
    body .main-nav .navbar-brand { margin-right: 10px; }
    body .main-nav .navbar-brand img { height: 56px !important; }
    .bx-nav-cta { margin-left: 6px; }
}

body .modal-header .close { color: #fff; opacity: .9; text-shadow: none; font-size: 2rem; }
body .modal-header .close:hover { color: var(--bx-brass); opacity: 1; }

/* ---------- Image placeholders ---------- */
.bx-ph { position: relative; background: var(--bx-bone); }
.bx-ph.is-loading:not(.is-loaded):not(.is-missing) {
    /* shimmer lives BEHIND the photo (never an overlay), so it can't tint a loaded image */
    background: linear-gradient(100deg, var(--bx-bone) 30%, #f1e8d3 50%, var(--bx-bone) 70%);
    background-size: 220% 100%; animation: bx-shimmer 1.3s linear infinite;
}
@keyframes bx-shimmer { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.bx-ph.is-missing { background: var(--bx-ink-2); }
.bx-ph.is-missing img { display: none !important; }
.bx-ph.is-missing::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
    background: var(--bx-pole); background-size: 56px 56px; animation: none;
}
.bx-ph.is-missing::after {
    content: ""; position: absolute; inset: 0;
    background: center / 34% no-repeat url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' transform='translate(100 100) rotate(-35)'%3E%3Ccircle cx='-26' cy='26' r='13'/%3E%3Ccircle cx='26' cy='26' r='13'/%3E%3Cpath d='M-20 14 L24 -46 M20 14 L-24 -46'/%3E%3C/g%3E%3C/svg%3E");
}
.bx-service-sum img[data-bx-fallback] { object-fit: contain; padding: 10px; background: var(--bx-ink-2); }

/* ---------- Modal scroll lock (legacy CSS overrides Bootstrap's .modal-open) ---------- */
html.bx-lock, html.bx-lock body, body.modal-open { overflow: hidden !important; }
.modal { overscroll-behavior: contain; }
.modal-dialog-scrollable .modal-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* ---------- Responsive fixes (top bar + nav) ---------- */
@media (max-width: 991px) {
    body .top .container > .row { flex-wrap: wrap; justify-content: center; }
    body .top .container > .row > [class*="col-"] { flex: 1 1 100%; width: 100%; text-align: center; padding: 3px 0; }
    body .top .top-contact ul { justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
    body .top .top-contact, body .top .top-contact * { white-space: normal; }
    body .top .top-right { justify-content: center; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    body .main-nav .container { padding-left: 12px; padding-right: 12px; }
    body .main-nav nav .navbar-nav .nav-item a, body .main-nav nav .navbar-nav .nav-link { font-size: 14px; letter-spacing: .04em; padding: 8px 6px !important; }
    body .main-nav nav .navbar-nav .nav-item a.bx-nav-cta { font-size: 14px; padding: 9px 14px !important; margin-left: 4px; }
    body .main-nav .navbar-brand { margin-right: 6px; }
    body .main-nav .navbar-brand img { height: 48px !important; }
}

/* ---------- Mobile / tablet header (meanmenu, <=991px) ---------- */
@media (max-width: 991px) {
    body .mobile-nav.mean-container { position: relative; background: var(--bx-ink) !important; }
    /* logo row: logo left, room on the right for the menu button */
    body .mobile-nav.mean-container > div:not(.mean-bar) {
        display: flex !important; justify-content: flex-start !important; align-items: center !important;
        min-height: 68px; padding: 8px 76px 8px 16px;
    }
    body .mobile-nav .logo { display: inline-flex; }
    body .mobile-nav .logo img { height: 52px !important; width: auto !important; max-width: 100%; padding: 0; border-radius: 4px; }
    body .mobile-nav.mean-container::after { content: ""; display: block; height: 5px; background: var(--bx-pole); background-size: 40px 40px; }

    /* meanmenu bar overlays the row; only the button + panel take clicks */
    body .mean-container .mean-bar {
        position: absolute !important; top: 0; left: 0; right: 0; width: 100%; height: 0; min-height: 0 !important;
        padding: 0 !important; background: transparent !important; border: 0 !important; border-image: none !important;
        pointer-events: none; z-index: 1001;
    }
    body .mean-container a.meanmenu-reveal {
        pointer-events: auto; position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important;
        width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0;
        display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        border: 1.5px solid #3a2e26; border-radius: 12px; background: var(--bx-ink-2);
        color: var(--bx-paper) !important; font: 700 0/0 var(--bx-body); text-indent: 0;
    }
    body .mean-container a.meanmenu-reveal span { display: block !important; width: 20px; height: 2px; margin: 0 !important; background: var(--bx-paper) !important; border-radius: 2px; transition: transform .2s, opacity .2s; }
    body .mean-container a.meanmenu-reveal.meanclose { font-size: 0; }
    body .mean-container a.meanmenu-reveal.meanclose::before, body .mean-container a.meanmenu-reveal.meanclose::after {
        content: ""; position: absolute; width: 20px; height: 2px; background: var(--bx-paper); border-radius: 2px;
    }
    body .mean-container a.meanmenu-reveal.meanclose::before { transform: rotate(45deg); }
    body .mean-container a.meanmenu-reveal.meanclose::after { transform: rotate(-45deg); }

    /* dropdown panel hangs below the logo row */
    body .mean-container .mean-nav {
        pointer-events: auto; position: absolute !important; top: 68px; left: 0; right: 0; width: 100%; float: none; margin: 0;
        background: var(--bx-ink-2) !important; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain;
        box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8); border-bottom: 5px solid var(--bx-red);
    }
    body .mean-container .mean-nav ul { padding: 6px 0 14px; margin: 0; }
    body .mean-container .mean-nav ul li { float: none; display: block; width: 100%; position: relative; }
    body .mean-container .mean-nav ul li a {
        display: block; float: none; width: 100% !important; padding: 17px 20px !important; margin: 0;
        font-size: 20px; letter-spacing: .08em; border-top: 1px solid #2c221c !important; text-align: left;
    }
    body .mean-container .mean-nav ul li:first-child a { border-top: 0 !important; }
    body .mean-container .mean-nav ul li a.mean-expand {
        width: 54px !important; height: 100%; padding: 0 !important; display: grid; place-items: center;
        position: absolute; right: 0; top: 0; border: 0 !important; border-left: 1px solid #2c221c !important; background: transparent !important; color: var(--bx-brass) !important; font-size: 22px;
    }
    body .mean-container .mean-nav ul li li a { padding-left: 36px !important; font-size: 17px; background: var(--bx-ink-3); }
    body .mean-container .mean-nav ul li a.bx-nav-cta {
        display: flex; justify-content: center; align-items: center; width: calc(100% - 40px) !important;
        margin: 14px 20px 6px; padding: 15px 20px !important; border: 0 !important; border-radius: 999px; text-align: center;
        background: var(--bx-red) !important; color: #fff !important; font-size: 20px;
    }
    body .mean-container .mean-nav ul li a.bx-nav-cta::after { display: none; }
    body .mean-container .mean-nav ul li { margin: 0; }
}

/* Slimmer info bar on phones */
@media (max-width: 767px) {
    body .top .top-social, body .top .top-profile { display: none; }
    body .top .top-contact li > i.fa-envelope + span, body .top .top-contact li > i.fa-envelope, body .top .top-contact li:has(.fa-envelope-o) { display: none; }
    body .top .container > .row { min-height: 0; padding: 2px 0; }
    body .top .container > .row > [class*="col-"]:last-child { display: none; }
    body .top .top-contact strong { font-size: 13px !important; }
    body .top .top-contact.text-center strong { font-size: 12px !important; }
}

/* ---------- Hero slider fill + headline sizing (beats legacy per-slide id rules) ---------- */
body .swiper.mySwiper .swiper-slide .main-container { height: 100%; }
body .swiper.mySwiper .swiper-slide .main-container img,
body .swiper.mySwiper .swiper-slide .main-container video { height: 100% !important; width: 100% !important; object-fit: cover; }
body .swiper-slide h1[id^="s-head"]:is(#_bx, *) { font-size: clamp(2rem, 7.4vw, 4.8rem) !important; line-height: 1 !important; }
body .swiper-slide h3[id^="s-txt"]:is(#_bx, *) { font-size: clamp(1rem, 2.6vw, 1.3rem) !important; }
body .swiper-slide a { font-size: clamp(15px, 3.8vw, 20px) !important; padding: 13px clamp(20px, 6vw, 34px) !important; }
@media (max-width: 767px) { body .swiper.mySwiper { height: clamp(360px, 58vh, 480px); } }
@media (max-width: 991px) { body .mean-container .mean-nav ul li a.bx-nav-cta { box-sizing: border-box; } }
body .modal-header .modal-title { color: var(--bx-paper); }
html.bx-lock .scroll-top, html.bx-lock .codeless-add-purchase-button { display: none !important; }


/* ---------- Modal: forms wrapping header/body/footer must join the flex scroll chain ---------- */
.modal-dialog-scrollable .modal-content > form {
    display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: inherit; overflow: hidden;
}
.modal-dialog-scrollable .modal-content > form > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.modal-dialog-scrollable .modal-content > form > .modal-header,
.modal-dialog-scrollable .modal-content > form > .modal-footer { flex: 0 0 auto; }

/* ---------- Header is NOT sticky (desktop + phone): it scrolls away with the page ---------- */
body .navbar-area, body .navbar-area.sticky, body #stickymenu, body #stickymenu.sticky {
    position: relative !important; top: auto !important; left: auto !important; right: auto !important;
    width: 100% !important; animation: none !important; transform: none !important;
}
body .navbar-area.sticky .main-nav { box-shadow: none; }
body .navbar-area.sticky .main-nav nav.navbar { min-height: 96px; }
body .navbar-area.sticky .navbar-brand img { height: 68px !important; }

/* ---------- Bigger logo on phones/tablets ---------- */
@media (max-width: 991px) {
    :root { --bx-logo-h: clamp(78px, 25vw, 104px); }
    body .mobile-nav.mean-container > div:not(.mean-bar) { min-height: calc(var(--bx-logo-h) + 16px); padding: 8px 76px 8px 14px; }
    body .mobile-nav .logo img { height: var(--bx-logo-h) !important; max-width: calc(100vw - 100px); object-fit: contain; }
    body .mean-container a.meanmenu-reveal { top: calc((var(--bx-logo-h) + 16px - 44px) / 2) !important; }
    body .mean-container .mean-nav { top: calc(var(--bx-logo-h) + 16px); max-height: calc(100vh - var(--bx-logo-h) - 100px); }
}

/* ---------- Lazy catalogue images ---------- */
img.bx-lazy { background: transparent; }
