/* =====================================================================
 * Multi-page website styles — v2 (color-driven, polished, responsive)
 * Color variables are injected in the <head> by includes/theme.php
 * (build_color_css_vars).  Override defaults here if needed:
 * ===================================================================== */

/* ===== Page-builder (GrapesJS) content: keep full-width designs intact =====
   No width constraint (sliders / full-width background sections stay full
   width as before). Only a mobile-safety rule so a multi-column row stacks
   instead of breaking the layout on small screens. */
/* Image safety for builder-authored content. */
.mp-page-body img:not([class*="ps-"]) { max-width: 100%; height: auto; }
@media (max-width: 768px) {
  .mp-page-body .gjs-row { display: block !important; }
  .mp-page-body .gjs-cell { display: block !important; width: 100% !important; height: auto !important; }
}

/* =====================================================================
 * Self-hosted font — Rubik (body + headings).
 * Matches stmartbd.com font. SIL Open Font License (OFL).
 * Variable file → one woff2 covers 300-900.
 * Files in /assets/fonts/. Bengali & other scripts fall back gracefully.
 * ===================================================================== */
@font-face {
  font-family: 'Rubik';
  font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --mp-font-body: 'Rubik', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mp-font-heading: 'Rubik', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --mp-primary: #111111;
    --mp-primary-dark: #000000;
    --mp-secondary: #6c757d;
    --mp-accent: #ffc107;
    --mp-success: #198754;
    --mp-danger: #dc3545;
    --mp-body-bg: #ffffff;
    --mp-body-text: #212529;
    --mp-header-bg: #ffffff;
    --mp-header-text: #212529;
    --mp-topbar-bg: #212529;
    --mp-topbar-text: #ffffff;
    --mp-menubar-bg: #095059;
    --mp-menubar-text: #ffffff;
    --mp-footer-bg: #1a1d23;
    --mp-footer-text: #adb5bd;
    --mp-card-bg: #ffffff;
    --mp-card-border: #e9ecef;
    --mp-surface: #ffffff;
    --mp-surface-alt: #f8f9fa;
    --mp-muted-text: #6c757d;
    --mp-border: #e2e2e2;
    --mp-input-bg: #ffffff;
    --mp-button-text: #ffffff;
    --mp-link: #095059;
}

body {
    background: var(--mp-body-bg);
    color: var(--mp-body-text);
    font-family: var(--mp-font-body);
    font-size: 16px;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, .mp-heading-serif {
    font-family: var(--mp-font-heading);
    letter-spacing: .2px;
}
.site-main { min-height: 60vh; }
.btn-primary { background: var(--mp-primary); border-color: var(--mp-primary); color: var(--mp-button-text); }
.btn-primary:hover { background: var(--mp-primary-dark); border-color: var(--mp-primary-dark); }
a { color: var(--mp-link); }
a:hover { color: var(--mp-primary-dark); }

/* ===== Header ===== */
.mp-header {
    background: var(--mp-header-bg);
    color: var(--mp-header-text);
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 1020;
}
.mp-topbar { background: var(--mp-topbar-bg); color: var(--mp-topbar-text); padding: 7px 0; font-size: 13px; }
.mp-topbar a { color: var(--mp-topbar-text); text-decoration: none; }
.mp-topbar a:hover { color: var(--mp-accent); }
.mp-header-main { background: var(--mp-header-bg); color: var(--mp-header-text); }
.mp-brand-text { color: var(--mp-primary); }
.mp-logo img { display: block; }
.mp-nav-inline { gap: 1.25rem; }
.mp-nav-link { color: var(--mp-header-text); text-decoration: none; font-weight: 500; padding: 6px 4px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.mp-nav-link:hover { color: var(--mp-primary); border-bottom-color: var(--mp-primary); }
.mp-icon-btn { color: var(--mp-header-text); text-decoration: none; padding: 6px 10px; border-radius: 6px; transition: background .15s; }
.mp-icon-btn:hover { background: rgba(0,0,0,.05); color: var(--mp-primary); }
.mp-nav-classic { background: #f8f9fa; border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; }
.mp-nav-classic .nav-link { color: var(--mp-header-text); font-weight: 500; padding: 10px 18px; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
.mp-nav-classic .nav-link:hover { color: var(--mp-primary); }

/* ===== Header layout with topbar, contact details, and menu bar ===== */
.mp-header-fashion { box-shadow: none; }

/* Top bar — light, border-bottom */
.mp-topbar-fashion { background: var(--mp-topbar-bg); border-bottom: 1px solid var(--mp-border); padding: 3px 0; font-size: 14px; color: var(--mp-topbar-text); }
.mp-topbar-fashion a { color: var(--mp-topbar-text); text-decoration: none; font-size: 14px; }
.mp-topbar-fashion a:hover { color: var(--mp-menubar-bg, #095059); }
@media (max-width: 991px) { .mp-topbar-fashion { display: none; } }

/* Middle section — logo + contact details + auth */
.mp-head-middle { background: var(--mp-header-bg); color: var(--mp-header-text); padding: 10px 0; }
.mp-head-middle .container { display: flex; align-items: center; gap: 20px; }
.mp-head-middle .mp-logo img { width: var(--mp-header-logo-width, 146px); max-width: 100%; height: auto; max-height: none; }
.mp-head-middle .mp-logo .mp-brand-text { font-size: 22px; font-weight: 700; color: var(--mp-menubar-bg, #095059); }
/* Menu bar — dark teal */
.mp-menubar { background: var(--mp-menubar-bg, #095059); padding: 0; }
.mp-menubar .mp-nav-inline { gap: 0; }
.mp-menubar .mp-nav-link {
    color: var(--mp-menubar-text, #fff); font-size: 14px; font-weight: 400; text-transform: uppercase;
    padding: 16px 18px; border-bottom: 0; letter-spacing: .3px; transition: background .15s;
}
.mp-menubar .mp-nav-link:hover { color: #fff; background: rgba(255,255,255,.1); border-bottom: 0; }
.mp-menubar .mp-nav-link-mega { color: var(--mp-menubar-text, #fff); }
.mp-menubar .mp-nav-link-mega:hover { color: #fff; background: rgba(255,255,255,.1); }
.mp-menubar .dropdown-toggle::after { color: var(--mp-menubar-text, #fff); }
.mp-menubar .mp-nav-dropdown .mp-nav-link { color: var(--mp-menubar-text, #fff); }
.mp-menubar .mp-nav-dropdown .mp-nav-link:hover { background: rgba(255,255,255,.1); }
.mp-menubar .dropdown-menu { border-radius: 4px; border: 0; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.mp-menubar .dropdown-item { font-size: 14px; padding: 8px 16px; }
@media (max-width: 991px) { .mp-menubar { display: none; } }

/* Mobile header — light bg */
.mp-mobile-header { background: var(--mp-header-bg); border-bottom: 1px solid var(--mp-border); }
.mp-head-grid { grid-template-columns: auto 1fr auto; align-items: center; min-height: 55px; height: auto; padding: 6px 4px; }
.mp-head-col-center { text-align: center; }
.mp-head-col-center .mp-logo img { width: var(--mp-header-mobile-logo-width, 72px); max-width: calc(100vw - 120px); height: auto; max-height: none; margin: 0 auto; }
.mp-head-col-right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.mp-mobile-header .mp-icon-btn { color: var(--mp-header-text); font-size: 20px; }
.mp-mobile-header .mp-icon-btn:hover { color: var(--mp-menubar-bg, #095059); }

/* ===== Footer ===== */
.mp-footer { color: var(--mp-footer-text); }
.mp-footer-dark { background: var(--mp-footer-bg); }
.mp-footer-dark h5, .mp-footer-dark h6 { color: #fff; }
.mp-footer-dark a { color: var(--mp-footer-text); text-decoration: none; }
.mp-footer-dark a:hover { color: #fff; }
.mp-footer-dark .mp-footer-bottom { background: rgba(0,0,0,.3); }
.mp-footer-dark .mp-footer-newsletter { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.mp-footer-dark .mp-footer-newsletter h4 { color: #fff; font-weight: 600; }
.mp-footer-dark .mp-footer-contact a { color: var(--mp-footer-text); }
.mp-footer-dark .mp-footer-contact a:hover { color: #fff; }
.mp-footer-newsletter .form-control { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.mp-footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.5); }
.mp-footer-newsletter .form-control:focus { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; border-color: var(--mp-primary); }
.mp-newsletter-msg { color: var(--mp-accent, #ffc107); }
.mp-footer-light { background: #f8f9fa; color: #495057; border-top: 1px solid #e9ecef; }
.mp-footer-light h4 { color: #212529; }
.mp-footer-light a { color: #495057; text-decoration: none; }
.mp-footer-light a:hover { color: var(--mp-primary); }
.mp-footer-light .mp-footer-bottom { border-top: 1px solid #e9ecef; background: #ffffff; }
.mp-social a { display: inline-block; margin-right: 12px; font-size: 20px; }

/* ===== My Account ===== */
.ma-avatar { padding: 12px 0; }
.ma-nav .list-group-item { border: none; padding: 12px 18px; color: #495057; }
.ma-nav .list-group-item.active { background: var(--mp-primary); color: #fff; }
.ma-nav .list-group-item:hover:not(.active) { background: #f8f9fa; color: var(--mp-primary); }

/* ===== Empty state ===== */
.mp-empty-state { padding: 70px 20px; text-align: center; color: #6c757d; }
.mp-empty-state i { font-size: 64px; opacity: .5; }
.mp-empty-state h3, .mp-empty-state h4 { color: #495057; margin-bottom: 12px; }

/* ===== Topbar social icons (header-1 + header-2) — small + tight ===== */
.mp-topbar-socials a {
    color: inherit; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; font-size: 13px;
    border-radius: 4px;
    transition: color .15s, background .15s;
}
.mp-topbar-socials a:hover { color: var(--mp-accent, #ffc107); background: rgba(255,255,255,.08); }
.mp-topbar-modern .mp-topbar-socials a { color: var(--mp-topbar-text, #fff); }
.mp-topbar-classic-dark .mp-topbar-socials a { color: #dee2e6; }

/* ===== Mobile bottom nav (sticky) ===== */
.mp-mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid #e9ecef;
    z-index: 1040; display: flex; justify-content: space-around;
    padding: 6px 0 8px; box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.mp-mobile-bottom-nav .mbn-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #6c757d; font-size: 11px;
    padding: 4px 2px; transition: color .15s;
    position: relative;
}
.mp-mobile-bottom-nav .mbn-item i { font-size: 20px; margin-bottom: 2px; }
.mp-mobile-bottom-nav .mbn-item.active { color: var(--mp-primary); }
.mp-mobile-bottom-nav .mbn-item:hover { color: var(--mp-primary); }
/* Push page content above the bottom nav on mobile so it never gets covered */
@media (max-width: 991px) {
    body { padding-bottom: 70px; }
}
@media (max-width: 575.98px) {
    body { padding-bottom: 49px; }
    .mp-mobile-bottom-nav { padding: 2px 0 3px; }
    .mp-mobile-bottom-nav .mbn-item { padding: 2px 1px; font-size: 9.5px; line-height: 12px; }
    .mp-mobile-bottom-nav .mbn-item i { font-size: 17px; line-height: 19px; margin-bottom: 0; }
}

/* Hair restoration clinic header and footer */
.ht-site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid #e6ebe7; box-shadow: 0 4px 18px rgba(19,47,38,.06); backdrop-filter: blur(12px); }
.ht-header-inner { max-width: 1320px; min-height: 82px; margin: 0 auto; padding: 10px 28px; display: flex; align-items: center; gap: 30px; }
.ht-brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: #173c32; text-decoration: none; }
.ht-brand:hover { color: #173c32; }
.ht-brand-mark { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: #123b31; color: #fff; font-family: Georgia,serif; font-size: 24px; }
.ht-brand-name { display: flex; flex-direction: column; font-size: 15px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.ht-brand-name small { margin-top: 4px; color: #75827b; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.ht-brand img { display: block; max-width: 210px; max-height: 54px; object-fit: contain; }
.ht-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px,1.5vw,24px); flex: 1 1 auto; }
.ht-desktop-nav > a,.ht-desktop-nav .mp-nav-link { padding: 12px 0; color: #35443d; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; border: 0; }
.ht-desktop-nav > a:hover,.ht-desktop-nav .mp-nav-link:hover { color: #0c6a50; }
.ht-desktop-nav .dropdown-toggle::after { margin-left: 5px; }
.ht-desktop-nav .dropdown-menu { margin-top: 0; border: 1px solid #e5ebe6; border-radius: 10px; box-shadow: 0 16px 36px rgba(22,49,39,.12); }
.ht-header-cta { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; flex: 0 0 auto; color: #fff; background: #123b31; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.3; }
.ht-header-cta:hover { color: #fff; background: #1b5546; }
.ht-header-cta > i { font-size: 18px; }
.ht-header-cta span { display: flex; flex-direction: column; }
.ht-header-cta small { color: #c9d8d1; font-size: 10px; font-weight: 500; }
.ht-menu-toggle { display: none; }
.ht-footer-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #fff; text-decoration: none; }
.ht-footer-brand:hover { color: #fff; }
.ht-footer-brand strong { font-size: 17px; }
@media (max-width: 1100px) {
    .ht-header-inner { gap: 18px; padding-inline: 20px; }
    .ht-desktop-nav { gap: 12px; }
    .ht-desktop-nav > a,.ht-desktop-nav .mp-nav-link { font-size: 12px; }
    .ht-brand-name { max-width: 185px; }
}
@media (max-width: 991px) {
    .ht-header-inner { min-height: 68px; gap: 12px; padding: 8px 16px; }
    .ht-menu-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 6px; background: #f0f4f1; color: #173c32; font-size: 23px; }
    .ht-brand { margin-right: auto; }
    .ht-brand-mark { width: 38px; height: 38px; }
    .ht-brand-name { font-size: 13px; }
    .ht-desktop-nav { display: none; }
    .ht-header-cta { min-height: 42px; padding: 8px 11px; }
    .ht-header-cta small { display: none; }
}
@media (max-width: 575px) {
    .ht-header-inner { min-height: 62px; padding-inline: 12px; }
    .ht-brand { gap: 7px; }
    .ht-brand-mark { width: 34px; height: 34px; font-size: 20px; }
    .ht-brand-name { max-width: 160px; font-size: 11px; }
    .ht-brand-name small { font-size: 8px; }
    .ht-header-cta { width: 40px; height: 40px; min-height: 40px; justify-content: center; padding: 0; }
    .ht-header-cta span { display: none; }
}

/* ===== Mobile 3-col header layout ===== */
.mp-header-mobile-3col > [class*="col-"] { flex: 0 0 auto; }
.mp-header-mobile-3col .col-3 { width: 25%; }
.mp-header-mobile-3col .col-6 { width: 50%; }
.mp-header-mobile-3col .mp-logo img { vertical-align: middle; }

/* Modern variant — bold primary accent on logo + nav */
.mp-header-modern { border-bottom: 3px solid var(--mp-primary); }
.mp-topbar-modern { background: var(--mp-topbar-bg); color: var(--mp-topbar-text); }
.mp-header-main-modern .mp-nav-link { font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }

/* ===== Announcement bar (rotating messages, very top of page) ===== */
.mp-announce {
    background: var(--mp-announce-bg, #F1EDE7);
    color: var(--mp-announce-text, #000000);
    font-family: var(--mp-font-body);
    font-size: 14px;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
}
.mp-announce .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}
.mp-announce-track {
    position: relative;
    flex: 1 1 auto;
    height: 40px;
    text-align: center;
}
.mp-announce-item {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease;
}
.mp-announce-item.is-active { display: flex; opacity: 1; }
.mp-announce-item a,
.mp-announce-item span { color: inherit; text-decoration: none; }
.mp-announce-item a:hover { text-decoration: underline; }
.mp-announce-nav {
    background: none; border: 0; color: inherit; opacity: .6;
    font-size: 14px; line-height: 1; padding: 6px; cursor: pointer; flex: 0 0 auto;
    transition: opacity .15s;
}
.mp-announce-nav:hover { opacity: 1; }
.mp-announce-prev { position: absolute; left: 12px; }
.mp-announce-next { position: absolute; right: 12px; }
/* Single message: size naturally */
.mp-announce-track:has(.mp-announce-item:only-child) { height: auto; padding: 10px 0; }
.mp-announce-item:only-child { position: static; display: flex; opacity: 1; }

/* Classic variant — wide centered, traditional ecommerce look */
.mp-header-classic { background: #fff; border-bottom: 1px solid #e9ecef; }
.mp-topbar-classic { background: #f8f9fa; color: #495057; border-bottom: 1px solid #e9ecef; padding: 8px 0; font-size: 12px; }
.mp-topbar-classic a { color: #495057; }
.mp-topbar-classic a:hover { color: var(--mp-primary); }
.mp-header-main-classic .mp-logo { display: inline-block; }
.mp-nav-classic { background: #ffffff; border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; }
.mp-nav-classic .nav-link { color: #212529; font-weight: 500; padding: 12px 22px; text-transform: uppercase; font-size: 12px; letter-spacing: .8px; }
.mp-nav-classic .nav-link:hover { color: var(--mp-primary); }

/* ===== Submenu (Bootstrap dropdowns — supports 2 levels: dropdown > dropdown-submenu) ===== */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { display: none; margin-top: 0; }

/* Hover-to-open dropdowns + sub-dropdowns on mouse devices only. Touch devices
   keep Bootstrap's click-toggle behavior so a tap doesn't immediately navigate
   away. The parent <a> is a real link (no data-bs-toggle), so clicking it
   navigates to the parent's URL. */
@media (hover: hover) and (min-width: 992px) {
    .mp-nav-dropdown:hover > .dropdown-menu,
    .mp-nav .dropdown:hover > .dropdown-menu,
    .dropdown-submenu:hover > .dropdown-menu { display: block; }
    /* Zero margin so menu doesn't close while crossing the gap to the menu */
    .mp-nav-dropdown > .dropdown-menu,
    .mp-nav .dropdown > .dropdown-menu { margin-top: 0; }
}
@media (max-width: 991px) {
    /* On mobile collapse submenus inline — Bootstrap nav-mobile already stacks */
    .dropdown-submenu > .dropdown-menu { position: static !important; left: 0 !important; box-shadow: none; padding-left: 1rem; }
}

/* ===== Header-2 nav strip sticky-on-scroll =====
   Disable the whole-header sticky (it overrides the page-level sticky from .mp-header)
   so ONLY the nav becomes sticky when user scrolls past it. */
.mp-header-classic-dark { position: relative !important; }
.mp-nav-sticky-scroll.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; box-shadow: 0 2px 6px rgba(0,0,0,.25); animation: mpStickyIn .25s ease-out; }
@keyframes mpStickyIn { from { transform: translateY(-100%); opacity: .5; } to { transform: translateY(0); opacity: 1; } }

/* ===== Classic Dark variant (Header-2) — same layout shape as Classic but dark theme ===== */
.mp-header-classic-dark { background: #1a1d23; color: #fff; border-bottom: 3px solid var(--mp-accent, #ffc107); }
.mp-topbar-classic-dark { background: #0f1115; color: #adb5bd; border-bottom: 1px solid #2a2d33; padding: 8px 0; font-size: 12px; }
.mp-topbar-classic-dark a { color: #dee2e6; text-decoration: none; }
.mp-topbar-classic-dark a:hover { color: var(--mp-accent, #ffc107); }
.mp-header-main-classic-dark { background: #1a1d23; color: #fff; }
.mp-logo-dark { display: inline-block; color: #fff; text-decoration: none; }
.mp-icon-btn-dark { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 6px; transition: color .15s; }
.mp-icon-btn-dark:hover { color: var(--mp-accent, #ffc107); }
.mp-nav-classic-dark { background: #0f1115; border-top: 1px solid #2a2d33; }
.mp-nav-classic-dark .nav-link { color: #dee2e6; font-weight: 500; padding: 12px 22px; text-transform: uppercase; font-size: 12px; letter-spacing: .8px; border-bottom: 2px solid transparent; }
.mp-nav-classic-dark .nav-link:hover { color: var(--mp-accent, #ffc107); border-bottom-color: var(--mp-accent, #ffc107); }

/* ===== Footer 2 Dark Compact (distinct from Footer-1 4col grid) ===== */
/* Footer Design 2 (Dark) — hocb-style 5-column */
.mp-footer-hocb { background: var(--mp-footer-bg, #1d1c1c); color: var(--mp-footer-text, #f2f2f2); font-size: 15px; }
.mp-footer-hocb .mp-fh-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.3fr; gap: 30px; padding: 50px 0 36px; }
.mp-footer-hocb .mp-fh-title { color: #f2f2f2; font-size: 20px; font-weight: 400; margin: 0 0 18px; }
.mp-footer-hocb .mp-fh-about-text { color: #f2f2f2; line-height: 1.75; margin: 0 0 16px; font-size: 15px; }
.mp-footer-hocb .mp-fh-logo { display: block; width: var(--mp-footer-logo-width, 134px); max-width: 100%; height: auto; max-height: none; margin: 0 0 16px; }
.mp-footer-hocb .mp-fh-list { list-style: none; margin: 0; padding: 0; }
.mp-footer-hocb .mp-fh-list li { margin-bottom: 11px; }
.mp-footer-hocb .mp-fh-list a { color: #d6d6d6; text-decoration: none; transition: color .15s; }
.mp-footer-hocb .mp-fh-list a:hover { color: #fff; }
.mp-footer-hocb .mp-fh-contact li { color: #d6d6d6; margin-bottom: 12px; }
.mp-footer-hocb .mp-fh-contact i { color: #f2f2f2; margin-right: 6px; }
.mp-footer-hocb .mp-fh-apps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.mp-footer-hocb .mp-fh-app { display: inline-flex; align-items: center; gap: 8px; background: #000; border: 1px solid #2a2a2a; border-radius: 7px; padding: 7px 12px; color: #fff; text-decoration: none; }
.mp-footer-hocb .mp-fh-app i { font-size: 22px; }
.mp-footer-hocb .mp-fh-app span { display: flex; flex-direction: column; line-height: 1.15; font-size: 13px; font-weight: 600; }
.mp-footer-hocb .mp-fh-app small { font-size: 9px; font-weight: 400; opacity: .8; }
.mp-footer-hocb .mp-fh-follow { color: #f2f2f2; font-size: 18px; font-weight: 400; margin-bottom: 12px; }
.mp-footer-hocb .mp-fh-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: #f2f2f2; font-size: 16px; border: 1px solid #444; border-radius: 50%; margin-right: 8px; transition: all .15s; }
.mp-footer-hocb .mp-fh-social a:hover { background: #fff; color: #1d1c1c; border-color: #fff; }
.mp-footer-hocb .mp-fh-news input { width: 100%; background: #fff; border: 1px solid #ccc; border-radius: 6px; padding: 12px 14px; color: #111; margin-bottom: 10px; }
.mp-footer-hocb .mp-fh-news input::placeholder { color: #888; }
.mp-footer-hocb .mp-fh-news button { width: 100%; background: #fff; color: #111; border: none; border-radius: 6px; padding: 11px; font-weight: 700; cursor: pointer; transition: opacity .15s; }
.mp-footer-hocb .mp-fh-news button:hover { opacity: .85; }
.mp-footer-hocb .mp-fh-news-msg { font-size: 12px; color: #8fd19e; margin-top: 8px; min-height: 16px; }
.mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-footer-hocb .mp-fh-bottom { border-top: 1px solid #222; text-align: center; padding: 18px 0; color: #8a8a8a; font-size: 13px; }
.mp-footer-hocb .mp-fh-bottom a { color: #cfcfcf; text-decoration: none; }
.mp-footer-hocb .mp-footer-hocb .mp-fh-title-mobile { display: none; }
@media (max-width: 992px) { .mp-footer-hocb .mp-fh-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
/* Mobile footer: open two-column layout matching stmartbd. Desktop unchanged. */
@media (max-width: 576px) {
    .mp-footer-hocb { background: var(--mp-footer-bg, #095059); color: var(--mp-footer-text, #fff); font-size: 16px; }
    .mp-footer-hocb > .container { padding-left: 13px; padding-right: 13px; }
    .mp-footer-hocb .mp-fh-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        column-gap: 12px; row-gap: 0; padding: 24px 0 18px; text-align: left;
    }
    .mp-footer-hocb .mp-fh-col { padding: 0; min-width: 0; }
    .mp-footer-hocb .mp-fh-about,
    .mp-footer-hocb .mp-fh-about .mp-fh-body { display: contents !important; }
    .mp-footer-hocb .mp-fh-about > .mp-fh-title { display: none; }
    .mp-footer-hocb .mp-fh-logo {
        order: 1; grid-column: 1 / -1; justify-self: center;
        width: var(--mp-footer-mobile-logo-width, 90px); max-width: calc(100vw - 26px);
        height: auto; max-height: none; margin: 0 0 15px;
    }
    .mp-footer-hocb .mp-fh-about-text {
        order: 2; grid-column: 1 / -1; color: #fff;
        font-size: 16px; line-height: 26px; margin: 0 0 24px;
    }
    .mp-footer-hocb .mp-fh-about .mp-fh-apps { display: none; }
    .mp-footer-hocb .mp-fh-grid > .mp-fh-col:nth-child(2) { order: 3; grid-column: 1; }
    .mp-footer-hocb .mp-fh-grid > .mp-fh-col:nth-child(3) { order: 4; grid-column: 2; }
    .mp-footer-hocb .mp-fh-grid > .mp-fh-col:nth-child(4) {
        display: block; order: 5; grid-column: 1 / -1; margin-top: 24px;
    }
    .mp-footer-hocb .mp-fh-grid > .mp-fh-col:nth-child(5) { display: none; }
    .mp-footer-hocb .mp-fh-title {
        display: block; color: #fff; font-size: 20px; line-height: 24px;
        font-weight: 600; margin: 0 0 16px; padding: 0; cursor: default;
    }
    .mp-footer-hocb .mp-fh-title::after {
        content: "" !important; display: block !important; position: static;
        width: 60px; height: 2px; margin: 4px 0 0; background: #fff;
        transform: none !important;
    }
    .mp-footer-hocb .mp-fh-title-desktop { display: none; }
    .mp-footer-hocb .mp-fh-title-mobile { display: inline; }
    .mp-footer-hocb .mp-fh-collapsible { border: 0; }
    .mp-footer-hocb .mp-fh-collapsible .mp-fh-list { display: block !important; padding: 0; }
    .mp-footer-hocb .mp-fh-list li { margin: 0 0 6px; line-height: 26px; }
    .mp-footer-hocb .mp-fh-list a,
    .mp-footer-hocb .mp-fh-contact li { color: #fff; }
    .mp-footer-hocb .mp-fh-follow {
        order: 6; grid-column: 1 / -1; color: #fff; font-size: 20px;
        line-height: 24px; font-weight: 600; margin: 24px 0 16px;
    }
    .mp-footer-hocb .mp-fh-follow::after {
        content: ""; display: block; width: 60px; height: 2px;
        margin-top: 4px; background: #fff;
    }
    .mp-footer-hocb .mp-fh-social {
        order: 7; grid-column: 1 / -1; display: flex; justify-content: flex-start;
    }
    .mp-footer-hocb .mp-fh-social a {
        width: 35px; height: 35px; margin-right: 7px; border-color: #fff;
        border-radius: 3px; color: #fff; font-size: 17px;
    }
    .mp-footer-hocb .mp-fh-bottom {
        border-top: 1px solid rgba(255,255,255,.22); text-align: center;
        padding: 10px 0 22px; color: #fff; font-size: 16px; line-height: 26px;
    }
}

/* ===== Mobile tweaks (general) ===== */
@media (max-width: 991px) {
    .mp-header { position: static; }   /* avoid sticky on mobile so bottom-nav is dominant */
    .mp-header-main { padding: 6px 0; }
}
@media (max-width: 575px) {
    .mp-page-header { padding: 24px 0; }
    .mp-page-header h1 { font-size: 22px; }
    .mp-header-main .container { padding-top: 4px; padding-bottom: 4px; }
}


/* =====================================================================
 * FASHION HEADER (header-1) + FASHION FOOTER (footer-1)
 * Exact reference palette:
 *   announcement = #F1EDE7 / #000   (scheme-7)
 *   header dark row = #202020 / #fff (scheme-5)
 *   header nav row  = #F6F6F6 / #000 (scheme-1)
 *   footer = #202020 / #fff          (scheme-5)
 * ===================================================================== */

.mp-header-fashion,
.mp-footer-fashion { font-family: var(--mp-font-body); }

/* ---- Reference container width: full-width capped at 120rem, 40px gutters
        (reference --normal-page-width:120rem, --page-margin:40px / 16px mobile).
        Overrides Bootstrap's fixed .container breakpoints site-wide. ---- */
.container {
    width: 100%;
    max-width: 120rem;
    margin-inline: auto;
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 750px) {
    .container { padding-left: 40px; padding-right: 40px; }
}

/* ---- Header shell (single 60px bar, reference = --header-height:60px) ---- */
.mp-header-fashion { background: var(--mp-header-bg); color: var(--mp-header-text); box-shadow: none; border-bottom: 0; }

/* ---- Optional utility bar ---- */
.mp-topbar-fashion { background: var(--mp-topbar-bg); color: var(--mp-topbar-text); border-bottom: 1px solid var(--mp-border); padding: 3px 0; font-size: 14px; }
.mp-topbar-fashion a { color: var(--mp-topbar-text); text-decoration: none; }
.mp-topbar-fashion a:hover { color: var(--mp-primary); }

/* ---- Header bar ---- */
.mp-head-dark { background: #202020; color: #fff; }

/* Desktop bar: logo | inline nav | icons (single 60px row) */
.mp-head-bar { min-height: 60px; gap: 2.5rem; }

/* Mobile 3-column grid: [hamburger] [logo center] [icons] */
.mp-head-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 60px;            /* reference --header-height: 60px */
}
.mp-head-col { display: flex; align-items: center; gap: .25rem; }
.mp-head-col-left   { justify-content: flex-start; }
.mp-head-col-center { justify-content: center; }
.mp-head-col-right  { justify-content: flex-end; }

/* Desktop inline nav (white links on dark) — reference 14px, gap 20px */
.mp-head-dark .mp-nav-inline { gap: 1.6rem; }
.mp-head-dark .mp-nav-link {
    color: #fff; text-decoration: none; background: none; border: 0;
    font-family: var(--mp-font-body); font-size: .875rem; font-weight: 400; letter-spacing: normal;
    text-transform: none; padding: 6px 0; position: relative; white-space: nowrap;
}
.mp-head-dark .mp-nav-link::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: #fff; transition: width .2s ease;
}
.mp-head-dark .mp-nav-link:hover { color: #fff; opacity: .9; }
.mp-head-dark .mp-nav-link:hover::after { width: 100%; }
.mp-head-dark .mp-nav-dropdown .dropdown-toggle::after { vertical-align: middle; }
.mp-head-dark .dropdown-menu {
    background: #fff; border: 0; border-radius: 0; padding: 8px 0; margin-top: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18); min-width: 210px;
}
.mp-head-dark .dropdown-item { font-size: 14px; padding: 9px 18px; color: #222; }
.mp-head-dark .dropdown-item:hover { background: #f3f3f3; color: #000; }
.mp-head-dark .mp-head-actions { gap: .25rem; }

/* Logo — reference logo height 36px (16px on small screens) */
.mp-head-dark .mp-logo { display: inline-flex; align-items: center; text-decoration: none; }
.mp-head-dark .mp-logo img { display: block; height: 36px; width: auto; max-width: 60vw; object-fit: contain; }
.mp-head-dark .mp-brand-text {
    font-family: var(--mp-font-heading);
    font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .5px; color: #fff; white-space: nowrap;
}

/* Icon buttons (white on dark) — reference icon ~22px */
.mp-head-dark .mp-icon-btn {
    color: #fff; background: none; border: 0;
    width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: opacity .15s; text-decoration: none;
}
.mp-head-dark .mp-icon-btn:hover { opacity: .6; background: none; color: #fff; }
@media (max-width: 575px) {
    .mp-head-grid { min-height: 52px; }
    .mp-head-dark .mp-logo img { height: 26px; }
    .mp-head-dark .mp-brand-text { font-size: 22px; }
    .mp-head-dark .mp-icon-btn { width: 38px; height: 38px; font-size: 21px; }
}

/* ---- Transparent HOME header (header-1): overlays the hero slider,
        turns solid black + sticky on scroll. Header bar height = 60px (52px <576px). ---- */
.mp-header-transparent { position: relative; z-index: 1030; background: transparent; margin-bottom: -60px; }
.mp-header-transparent .mp-head-dark { background: transparent; }
.mp-header-transparent .mp-logo { padding: 4px 8px; border-radius: 8px; background: #fff; }
.mp-header-transparent.is-stuck {
    position: fixed; top: 0; left: 0; right: 0; margin-bottom: 0;
    background: #000; box-shadow: 0 2px 14px rgba(0,0,0,.35);
    animation: mpStickyDown .3s ease;
}
.mp-header-transparent.is-stuck .mp-head-dark { background: #000; }
@keyframes mpStickyDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (max-width: 575px) {
    .mp-header-transparent { margin-bottom: -52px; }
}

/* ---- Offcanvas drawer ---- */
.mp-offcanvas .offcanvas-title { font-family: var(--mp-font-heading); font-weight: 400; font-size: 26px; }
.mp-offcanvas-nav .nav-link { color: #222; font-size: 15px; padding: 12px 4px; border-bottom: 1px solid #f0f0f0; }
.mp-offcanvas-nav .nav-link:hover { color: #000; }

/* =====================================================================
 * FASHION FOOTER
 * ===================================================================== */
.mp-footer-fashion { background: var(--mp-footer-bg, #202020); color: var(--mp-footer-text, #cfcfcf); }
.mp-footer-fashion a { color: #cfcfcf; text-decoration: none; transition: color .15s; }
.mp-footer-fashion a:hover { color: #fff; }

/* 1. Top band: image (left) + newsletter (right) */
.mp-footer-fashion .mp-footer-top { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mp-footer-fashion .mp-footer-brand { display: inline-block; }
.mp-footer-fashion .mp-footer-brand img { max-height: 90px; width: auto; max-width: 100%; }
.mp-footer-fashion .mp-footer-brand span { font-family: var(--mp-font-heading); font-weight: 400; font-size: 40px; color: #fff; letter-spacing: .5px; }
.mp-footer-fashion .mp-footer-about { font-size: 14px; line-height: 1.7; color: #9a9a9a; max-width: 420px; margin-top: 16px; }
.mp-footer-fashion .mp-news-title { font-family: var(--mp-font-heading); color: #fff; font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.mp-footer-fashion .mp-news-sub { color: #9a9a9a; font-size: 14px; margin-bottom: 16px; }
.mp-newsletter-form .form-control {
    background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff;
    border-right: 0; padding: 12px 16px; border-radius: 0;
}
.mp-newsletter-form .form-control::placeholder { color: rgba(255,255,255,.45); }
.mp-newsletter-form .form-control:focus { background: transparent; color: #fff; box-shadow: none; border-color: rgba(255,255,255,.6); }
.mp-newsletter-form .btn-light { background: #fff; border-color: #fff; color: #202020; font-weight: 600; border-radius: 0; }
.mp-newsletter-form .btn-light:hover { background: #e6e6e6; border-color: #e6e6e6; color: #202020; }
.mp-newsletter-msg { margin-top: 10px; font-size: 13px; color: #7ee2a8; }
.mp-newsletter-msg.is-error { color: #ff9b9b; }
.mp-footer-fashion .mp-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
    margin-right: 8px; font-size: 16px;
}
.mp-footer-fashion .mp-social a:hover { background: #fff; color: #202020; border-color: #fff; }

/* 2. Menu row */
.mp-footer-fashion .mp-footer-menu { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mp-footer-menu-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center;
}
.mp-footer-menu-list a { font-size: 14px; letter-spacing: .3px; }
.mp-footer-contact-row {
    list-style: none; padding: 0; margin: 14px 0 0;
    display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center;
    font-size: 13px; color: #9a9a9a;
}
.mp-footer-contact-row a { color: #9a9a9a; }
.mp-footer-contact-row a:hover { color: #fff; }

/* 3. Copyright bar */
.mp-footer-fashion .mp-footer-bottom { padding: 18px 0; font-size: 13px; color: #8a8a8a; }
.mp-footer-fashion .mp-pay-chip {
    border: 1px solid rgba(255,255,255,.2); border-radius: 3px;
    padding: 2px 8px; font-size: 11px; letter-spacing: .3px; color: #cfcfcf;
}

/* Responsive */
@media (max-width: 991px) {
    .mp-footer-fashion .mp-footer-top { padding: 36px 0; text-align: center; }
    .mp-footer-fashion .mp-footer-about { margin-left: auto; margin-right: auto; }
    .mp-footer-fashion .mp-footer-bottom { justify-content: center; text-align: center; }
}

/* ===== FAQ section (above footer, reference style) ===== */
.mp-faq { padding: 56px 0 64px; background: #fff; }
.mp-faq-title { font-family: var(--mp-font-heading); font-weight: 400; font-size: 2rem; text-align: left; margin-bottom: 22px; color: #111; }
.mp-faq-list { max-width: none; margin: 0; }
.mp-faq-item { border-top: 1px solid #eaeaea; }
.mp-faq-item:last-child { border-bottom: 1px solid #eaeaea; }
.mp-faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-size: 1rem; font-weight: 500; color: #111; }
.mp-faq-item > summary::-webkit-details-marker { display: none; }
.mp-faq-caret { flex: none; transition: transform .22s ease; color: #111; }
.mp-faq-item[open] > summary .mp-faq-caret { transform: rotate(180deg); }
.mp-faq-body { padding: 0 4px 20px; color: #555; font-size: .92rem; line-height: 1.75; }
.mp-faq-body :is(p,ul,ol) { margin: 0 0 .6em; }
.mp-faq-body img { max-width: 100%; height: auto; }

/* ===== Mega-menu panel: builder (GrapesJS) layout normalisation =====
   The page builder emits display:table rows/cells whose default
   vertical-align (baseline) drops short columns (e.g. an icon list) to the
   bottom next to a tall content block. Force top alignment + sane padding so
   builder-authored mega panels read top-down like the reference. */
.mp-mega .gjs-row, .mp-mega-inner .gjs-row { width: 100%; }
.mp-mega .gjs-cell, .mp-mega-inner .gjs-cell { vertical-align: top; }
/* ===== Icon list shortcode (mega-menu columns) ===== */
.mp-icon-list-wrap { margin: 0 0 10px; }
.mp-icon-list-title { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #888; margin: 0 0 12px; }
.mp-icon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--mp-il-cols,1), 1fr); gap: 2px 18px; }
.mp-icon-list-item a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: inherit; text-decoration: none; font-size: .92rem; transition: color .15s, padding-left .15s; }
.mp-icon-list-item a:hover { color: var(--mp-primary, #111111); padding-left: 4px; }
.mp-icon-list-item i { font-size: 1.05rem; width: 1.2em; text-align: center; flex: none; opacity: .85; }

/*
 * MEGA MENU (desktop only) — full-width panel on hover.
 * Panel HTML is admin-authored; mobile uses the regular offcanvas menu.
 * ===================================================================== */
.mp-head-dark { position: relative; }
.mp-nav-item-mega { position: static; display: inline-flex; align-items: center; }
.mp-nav-link-mega { display: inline-flex; align-items: center; gap: 4px; }
.mp-mega {
    position: absolute;
    /* Full-bleed: span the whole viewport width regardless of the header
       container, centred under the nav (no empty gaps left/right). */
    left: 50%; right: auto; top: 100%;
    width: 100vw; max-width: 100vw;
    background: #fff; color: #111;
    border-top: 1px solid #ececec;
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1050;
}
.mp-nav-item-mega:hover > .mp-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Keep the mega CONTENT aligned to the site container while the panel is full-width. */
.mp-mega-inner { padding: 28px 0; max-width: 1320px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
/* Generic mega-panel link and image styling. */
.mp-mega a { color: #333; text-decoration: none; }
.mp-mega a:hover { color: #000; text-decoration: underline; }
.mp-mega img { max-width: 100%; height: auto; display: block; }
@media (max-width: 991px) {
    .mp-mega { display: none !important; }   /* desktop-only; mobile uses drawer menu */
}

/* =====================================================================
 * Page Builder — mobile safety net.
 * 1) GrapesJS rows/cells often carry a fixed `height` (a MINIMUM on desktop
 *    table-cells, but a HARD height once cells become display:block on mobile),
 *    which made taller content (e.g. an [image_box_carousel]) overflow and the
 *    next section overlap it. On mobile, let cells grow to their content.
 * 2) `.gjs-row{display:table}` uses AUTO table layout, which sizes to the
 *    child's max-content width. A horizontally-scrolling carousel (its track is
 *    wider than the screen) then stretched the row past the viewport, pushing
 *    the whole page into horizontal scroll. Forcing rows/cells to full-width
 *    block on mobile keeps them within the viewport so the carousel scrolls
 *    inside its own track instead of widening the body.
 * ===================================================================== */
@media (max-width: 768px) {
    .mp-page-body .gjs-row { display: block !important; width: 100% !important; }
    .mp-page-body .gjs-cell { height: auto !important; display: block !important; width: 100% !important; }
    /* Belt-and-suspenders: never let builder content widen the page on mobile. */
    .mp-page-body { max-width: 100%; overflow-x: hidden; }
}

/* =====================================================================
 * Mobile drawer sub-menus (expand/collapse) + fixed mobile header.
 * ===================================================================== */
.mp-offcanvas-nav .mp-m-item { border-bottom: 1px solid rgba(0,0,0,.05); }
.mp-offcanvas-nav .mp-m-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.mp-offcanvas-nav .mp-m-row > .nav-link { flex: 1 1 auto; }
.mp-offcanvas-nav .mp-m-toggle {
    flex: 0 0 auto; background: none; border: 0; color: inherit; cursor: pointer;
    padding: 8px 12px; font-size: 15px; line-height: 1; border-radius: 6px;
    transition: transform .2s ease, background .15s;
}
.mp-offcanvas-nav .mp-m-toggle:hover { background: rgba(0,0,0,.05); }
.mp-offcanvas-nav .mp-m-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.mp-offcanvas-nav .mp-m-sub { margin: 2px 0 6px; padding-left: 14px; border-left: 2px solid rgba(0,0,0,.08); }
.mp-offcanvas-nav .mp-m-sub .nav-link { font-size: .9em; color: #666; padding: 6px 0; }
.mp-offcanvas-nav .mp-m-sub .mp-m-toggle { padding: 6px 10px; }

/* Keep the mobile header pinned to the top while scrolling. Overrides the
   `.mp-header{position:static}` mobile rule for the fashion header. */
@media (max-width: 768px) {
    .mp-header.mp-header-fashion { position: sticky; top: 0; z-index: 1030; }
}

/* =====================================================================
 * Black & white theme — neutralise Bootstrap's default blue everywhere
 * (radios, checkboxes, focus rings, links, pagination, .text-primary).
 * ===================================================================== */
.form-check-input:checked { background-color: var(--mp-primary); border-color: var(--mp-primary); }
.form-check-input:focus { border-color: #333; box-shadow: 0 0 0 .2rem rgba(0,0,0,.15); }
.form-check-input:focus:not(:checked) { border-color: #888; }
.form-control:focus, .form-select:focus { border-color: #111; box-shadow: 0 0 0 .2rem rgba(0,0,0,.10); }
.text-primary { color: var(--mp-primary) !important; }
.link-primary, a.text-primary, a.link-primary { color: var(--mp-primary) !important; }
.btn-outline-primary { color: var(--mp-primary); border-color: var(--mp-primary); }
.btn-outline-primary:hover, .btn-outline-primary:focus { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; }
.btn-check:checked + .btn-outline-primary { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; }
.page-link { color: var(--mp-primary); }
.page-item.active .page-link { background: var(--mp-primary); border-color: var(--mp-primary); }
.nav-pills .nav-link.active { background: var(--mp-primary); }
:root { accent-color: #111; }
.spinner-border.text-primary, .text-info { color: var(--mp-primary) !important; }
.alert-info { background: #f4f4f6; border-color: #e4e4ea; color: #333; }
.alert-info a { color: #111; }

/* =====================================================================
 * Desktop header menu alignment (Settings → Header/Footer → Menu Alignment).
 * Only affects the lg+ inline nav; mobile uses the drawer.
 * ===================================================================== */
.mp-head-bar { position: relative; }
/* Left (default): nav sits right after the logo, icons pushed to the far right. */
.mp-head-bar.na-left .mp-nav-inline { margin-right: auto; }
/* Center: nav is absolutely centred in the bar regardless of logo/icon widths. */
.mp-head-bar.na-center .mp-nav-inline { position: absolute; left: 50%; transform: translateX(-50%); }
/* Right: nav pushed to the right, just before the action icons. */
.mp-head-bar.na-right .mp-nav-inline { margin-left: auto; }

/* Clinic theme overrides follow the shared storefront styles so template defaults cannot override them. */
.mp-footer-hocb { background: #0b2148; color: #d8e0ee; }
.mp-footer-hocb .mp-fh-grid { grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 34px; }
.mp-footer-hocb .mp-fh-title { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.mp-footer-hocb .mp-fh-title::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 10px; background: #c8a96a; }
.mp-footer-hocb .mp-fh-about-text { color: #d0d9e8; font-size: 14px; }
.mp-footer-hocb .mp-fh-list a,.mp-footer-hocb .mp-fh-contact li { color: #d8e0ee; font-size: 14px; }
.mp-footer-hocb .mp-fh-contact li { display: flex; align-items: flex-start; gap: 8px; overflow-wrap: anywhere; }
.mp-footer-hocb .mp-fh-contact i { color: #e0b84f; margin-top: 3px; }
.mp-footer-hocb .mp-fh-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: #aebbd2; font-size: 12px; }
@media (max-width: 991px) {
    .mp-footer-hocb .mp-fh-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
}
@media (max-width: 575px) {
    .mp-footer-hocb .mp-fh-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 34px 0 26px; }
    .mp-footer-hocb .mp-fh-about,.mp-footer-hocb .mp-fh-about .mp-fh-body { display: block !important; }
    .mp-footer-hocb .mp-fh-about { grid-column: 1 / -1; }
    .mp-footer-hocb .mp-fh-about > .mp-fh-title { display: block; }
    .mp-footer-hocb .mp-fh-title { font-size: 14px; }
    .mp-footer-hocb .mp-fh-about-text,.mp-footer-hocb .mp-fh-list a,.mp-footer-hocb .mp-fh-contact li { font-size: 13px; }
    .mp-footer-hocb .mp-fh-bottom { font-size: 11px; }
}
    .mp-footer-hocb .mp-fh-logo,
    .mp-footer-fashion .mp-footer-brand img {
        padding: 6px 8px;
        border-radius: 8px;
        background: #fff;
    }

    .ht-site-header {
        background: rgba(255, 255, 255, .98);
        border-bottom-color: rgba(11, 33, 72, .1);
        box-shadow: 0 8px 28px rgba(11, 33, 72, .08);
    }
    .ht-desktop-nav > a:hover,
    .ht-desktop-nav .mp-nav-link:hover { color: #b98a2c; }
    .ht-header-cta {
        border: 1px solid #0b2148;
        border-radius: 14px;
        background: #0b2148;
        box-shadow: 0 10px 24px rgba(11, 33, 72, .16);
        color: #fff;
        transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }
    .ht-header-cta i { color: #e0b84f; }
    .ht-header-cta:hover {
        transform: translateY(-1px);
        border-color: #b98a2c;
        background: #b98a2c;
        color: #102443;
    }
