/* Vazirmatn - Thin 100 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - ExtraLight 200 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - Light 300 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - Regular 400 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - Medium 500 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - SemiBold 600 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - Bold 700 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - ExtraBold 800 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Vazirmatn - Black 900 */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/static/Vazirmatn-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Vazirmatn', sans-serif !important;
}

:root {
    --bbh-topbar-height: 45px;
    --bbh-mainbar-height: 60px;
    --bbh-desktop-top: 105px;
    --bbh-accent: #e20b16;
    --bbh-text: #111111;
    --bbh-muted: #66635f;
    --bbh-topbar: #e1eeb7;
    --bbh-mega-bg: #f7f7f7;
    --bbh-border: #ececec;
    --page-bg: #eef3f9;
    --card-bg: #ffffff;
    --text: #182236;
    --muted: #5f6d82;
    --line: #dce5f0;
    --blue: #3f7ee8;
    --blue-soft: #eaf2ff;
    --shadow: 0 18px 55px rgba(30, 55, 88, .11);
    --radius: 10px;
    --container: 1180px;
}

.bbh-header,
.bbh-header * {
    box-sizing: border-box;
}

.bbh-header {
    width: 100%;
    margin-bottom: 24px;
    background: #fff;
    color: var(--bbh-text);
    position: sticky;
    top: 0;
    z-index: 1050;
    font-family: inherit;
    isolation: isolate;
}

.bbh-header a,
.bbh-header button,
.bbh-header summary {
    font-family: inherit;
}

.bbh-header a {
    color: inherit;
    text-decoration: none;
}

.bbh-header button {
    border: 0;
    background: none;
    color: inherit;
    padding: 0;
}

.bbh-shell {
    width: min(1410px, calc(100% - 48px));
    margin-inline: auto;
}

/* ---------- top strip ---------- */
.bbh-topbar {
    height: var(--bbh-topbar-height);
    background: var(--bbh-topbar);
    position: relative;
    z-index: 8;
}

.bbh-topbar-inner {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1fr) minmax(260px, 1fr);
    align-items: center;
    gap: 20px;
    font-size: 13px;
    line-height: 1;
}

.bbh-topbar-inner--menus {
    grid-template-columns: minmax(0, 1fr) auto;
}

.bbh-top-contact,
.bbh-top-options {
    display: flex;
    align-items: center;
    min-width: 0;
}

.bbh-top-contact {
    gap: 26px;
    justify-self: start;
    width: 100%;
}

.bbh-menu-layout-between { justify-content: space-between !important; }
.bbh-menu-layout-around { justify-content: space-around !important; }
.bbh-menu-layout-evenly { justify-content: space-evenly !important; }
.bbh-top-contact[class*="bbh-menu-layout-"] { align-items: center; }
.bbh-nav > ul[class*="bbh-menu-layout-"] { align-items: center; }

.bbh-top-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    white-space: nowrap;
}

.bbh-top-menu-item i {
    font-size: 15px;
}

.bbh-top-menu-svg,
.bbh-top-menu-svg svg {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: currentColor !important;
    stroke: currentColor !important;
}

.bbh-top-menu-svg svg * {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.bbh-top-menu-image {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.bbh-top-menu-item small {
    max-width: 180px;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    text-overflow: ellipsis;
    opacity: .72;
}

.bbh-top-options {
    gap: 4px;
    justify-self: end;
}

.bbh-social-link,
.bbh-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #171717 !important;
}

.bbh-social-link svg,
.bbh-phone svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    flex: 0 0 auto;
}

.bbh-social-link svg .bbh-svg-fill {
    fill: currentColor;
    stroke: none;
}

.bbh-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
    color: #2d302a;
}

.bbh-promo a {
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

/* ---------- language/currency ---------- */
.bbh-switcher {
    position: relative;
    min-width: 92px;
}

.bbh-switcher + .bbh-switcher {
    border-inline-start: 1px solid rgba(0, 0, 0, .12);
}

.bbh-switcher summary {
    list-style: none;
    cursor: pointer;
    min-height: 34px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    white-space: nowrap;
    user-select: none;
}

.bbh-switcher summary::-webkit-details-marker {
    display: none;
}

.bbh-switcher summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(135deg);
    transform-origin: 50% 50%;
    transition: transform .18s ease;
}

.bbh-switcher[open] summary::after {
    transform: rotate(45deg);
}

.bbh-switcher-menu {
    position: absolute;
    inset-inline-start: 0;
    top: calc(100% + 5px);
    min-width: 160px;
    padding: 7px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .10);
    z-index: 30;
}

.bbh-switcher-menu button {
    display: block;
    width: 100%;
    padding: 9px 11px;
    text-align: start;
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
}

.bbh-switcher-menu button:hover,
.bbh-switcher-menu button:focus-visible {
    background: #f4f4f4;
    outline: none;
}

/* ---------- main desktop row ---------- */
.bbh-mainbar {
    height: var(--bbh-mainbar-height);
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 7;
}

.bbh-mainbar-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 160px minmax(620px, 1fr) 190px;
    align-items: center;
    gap: 20px;
}

.bbh-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
}

.bbh-logo img {
    display: block;
    width: auto;
    max-width: 130px;
    height: 44px;
    max-height: 44px;
    object-fit: contain;
}

.bbh-logo-text {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.bbh-nav {
    height: 100%;
    min-width: 0;
}

.bbh-nav > ul {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    list-style: none;
}

.bbh-nav > ul > li {
    height: 100%;
    display: flex;
    align-items: center;
}

.bbh-nav > ul > li > a,
.bbh-nav-toggle {
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.bbh-nav > ul > li > a::after,
.bbh-nav-toggle::after {
    content: "";
    position: absolute;
    inset-inline: 50%;
    bottom: 0;
    height: 2px;
    background: #111;
    transition: inset-inline .2s ease;
}

.bbh-nav > ul > li:hover > a::after,
.bbh-nav > ul > li:focus-within > a::after,
.bbh-has-mega:hover > .bbh-nav-toggle::after,
.bbh-has-mega.is-open > .bbh-nav-toggle::after {
    inset-inline: 0;
}

.bbh-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(135deg);
    transform-origin: 50% 50%;
    transition: transform .18s ease;
}

.bbh-has-mega:hover > .bbh-nav-toggle .bbh-chevron,
.bbh-has-mega:focus-within > .bbh-nav-toggle .bbh-chevron,
.bbh-has-mega.is-open > .bbh-nav-toggle .bbh-chevron,
.bbh-nav-toggle[aria-expanded="true"] .bbh-chevron {
    transform: rotate(45deg);
}

/* ---------- actions ---------- */
.bbh-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 17px;
    min-width: 0;
}

.bbh-action {
    position: relative;
    display: inline-flex;
    width: 27px;
    height: 32px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
}

.bbh-action svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #111;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bbh-count {
    position: absolute;
    top: -5px;
    inset-inline-start: -9px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bbh-accent);
    color: #fff;
    border: 2px solid #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- mega menu ---------- */
.bbh-mega {
    position: fixed;
    top: var(--bbh-desktop-top);
    inset-inline: 0;
    width: 100vw;
    background: #fff;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 24px 55px rgba(16, 16, 16, .10);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .22s ease, visibility .2s ease;
    max-height: calc(100vh - var(--bbh-desktop-top));
    max-height: calc(100dvh - var(--bbh-desktop-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf transparent;
    z-index: 5;
}

.bbh-mega::-webkit-scrollbar {
    width: 7px;
}

.bbh-mega::-webkit-scrollbar-track {
    background: transparent;
}

.bbh-mega::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
}

.bbh-has-mega:hover > .bbh-mega,
.bbh-has-mega:focus-within > .bbh-mega,
.bbh-has-mega.is-open > .bbh-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.bbh-mega-inner {
    width: min(1450px, calc(100% - 48px));
    margin-inline: auto;
}

.bbh-mega-shop {
    min-height: 390px;
}

.bbh-mega-container {
    padding-bottom: 28px;
}

.bbh-mega-head {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #efefef;
    background: rgba(255, 255, 255, .97);
    position: sticky;
    top: 0;
    z-index: 4;
}

.bbh-mega-head-title {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.bbh-mega-kicker {
    color: var(--bbh-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.bbh-mega-head-title strong {
    color: #111;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
    white-space: nowrap;
}

.bbh-mega-all-link {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #222 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bbh-mega-all-link:hover,
.bbh-mega-all-link:focus-visible {
    border-color: #cfcfcf;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
    outline: none;
}

.bbh-mega-all-link i {
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    transform: rotate(-135deg);
}

.bbh-header[dir="ltr"] .bbh-mega-all-link i {
    transform: rotate(45deg);
}

.bbh-mega-shop-grid {
    padding: 26px 0 8px;
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    direction: ltr;
}

.bbh-mega-shop-grid--no-images {
    grid-template-columns: minmax(0, 1fr);
    direction: inherit;
}

.bbh-category-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 166px;
    gap: 12px;
    direction: rtl;
}

.bbh-category-card {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    isolation: isolate;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .035);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bbh-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .18), transparent 52%);
    pointer-events: none;
    z-index: 1;
}

.bbh-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.2,.75,.25,1);
}

.bbh-category-card:hover,
.bbh-category-card:focus-visible {
    transform: translateY(-2px);
    border-color: #dedede;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .09);
    outline: none;
}

.bbh-category-card:hover img,
.bbh-category-card:focus-visible img {
    transform: scale(1.05);
}

.bbh-category-card span {
    position: absolute;
    z-index: 2;
    inset-inline: 12px;
    bottom: 11px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 800;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.bbh-mega-columns,
.bbh-product-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    direction: rtl;
}

.bbh-mega-column {
    min-width: 0;
    direction: rtl;
}

[dir="ltr"] .bbh-mega-column {
    direction: ltr;
}

.bbh-mega-column h3 {
    margin: 0 0 10px;
    padding: 0 0 10px;
    position: relative;
    border-bottom: 1px solid #ededed;
    font-size: 14.5px;
    line-height: 1.5;
    font-weight: 800;
    color: #111;
}

.bbh-mega-column h3::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -1px;
    width: 28px;
    height: 2px;
    border-radius: 3px;
    background: var(--bbh-accent);
}

.bbh-mega-column h3 a {
    color: inherit !important;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    transition: color .18s ease;
}

.bbh-mega-column h3 a:hover,
.bbh-mega-column h3 a:focus-visible {
    color: var(--bbh-accent) !important;
    outline: none;
}

.bbh-mega-column > a {
    display: block;
    min-height: 39px;
    padding-block: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #66615e;
    transition: color .18s ease, transform .18s ease;
}

.bbh-mega-column > a:hover {
    color: #111;
    transform: translateX(-3px);
}

[dir="ltr"] .bbh-mega-column > a:hover {
    transform: translateX(3px);
}

/* recursive backend category tree */
.bbh-category-columns {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    align-content: start;
    gap: 26px 34px;
}

.bbh-category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbh-category-tree li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.bbh-category-tree a {
    position: relative;
    display: block;
    padding: 5px 12px 5px 0;
    color: #66615e !important;
    font-size: 12.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    transition: color .18s ease, transform .18s ease;
}

.bbh-header[dir="ltr"] .bbh-category-tree a {
    padding: 5px 0 5px 12px;
}

.bbh-category-tree a::before {
    content: "";
    position: absolute;
    inset-inline-start: 1px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cacaca;
    transform: translateY(-50%);
    transition: background .18s ease, transform .18s ease;
}

.bbh-category-tree a:hover,
.bbh-category-tree a:focus-visible {
    color: #111 !important;
    transform: translateX(-2px);
    outline: none;
}

.bbh-category-tree a:hover::before,
.bbh-category-tree a:focus-visible::before {
    background: var(--bbh-accent);
    transform: translateY(-50%) scale(1.25);
}

[dir="ltr"] .bbh-category-tree a:hover,
[dir="ltr"] .bbh-category-tree a:focus-visible {
    transform: translateX(2px);
}

.bbh-category-tree-level-1 > li > a {
    color: #3d3d3d !important;
    font-size: 13px;
    font-weight: 650;
}

.bbh-category-tree .bbh-category-tree {
    padding-inline-start: 12px;
    margin-inline-start: 3px;
    border-inline-start: 1px solid #eeeeee;
}

.bbh-category-tree .bbh-category-tree a::before {
    width: 3px;
    height: 3px;
    background: #dedede;
}

.bbh-category-tree-level-3 a,
.bbh-category-tree-level-4 a,
.bbh-category-tree-level-5 a,
.bbh-category-tree-level-6 a,
.bbh-category-tree-level-7 a,
.bbh-category-tree-level-8 a {
    color: #85817e !important;
    font-size: 11.5px;
}

/* products mega */
.bbh-mega-products .bbh-mega-inner {
    width: min(1550px, calc(100% - 48px));
    padding: 40px 0 48px;
}

.bbh-product-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 238px;
    gap: 72px;
    direction: rtl;
    align-items: stretch;
}

.bbh-product-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
}

.bbh-product-promo-wrap {
    min-width: 0;
    direction: rtl;
}

[dir="ltr"] .bbh-product-promo-wrap {
    direction: ltr;
}

.bbh-product-promo-wrap > h3 {
    margin: 10px 0 24px;
    min-height: 24px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    color: #111;
}

.bbh-product-promo {
    position: relative;
    display: block;
    min-height: 340px;
    overflow: hidden;
    border-radius: 5px;
    background: #ddd;
    direction: rtl;
}

.bbh-product-promo img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: block;
}

.bbh-product-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.06) 58%, rgba(0,0,0,0) 75%);
}

.bbh-product-promo-copy {
    position: absolute;
    inset-inline: 23px;
    bottom: 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.bbh-product-promo-copy small {
    font-size: 12px;
}

.bbh-product-promo-copy strong {
    font-size: 19px;
    line-height: 1.5;
    max-width: 100%;
}

.bbh-product-promo-copy em {
    width: 100%;
    height: 38px;
    margin-top: 5px;
    border-radius: 22px;
    background: #fff;
    color: #111;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.bbh-recent-products-title {
    margin: 14px 0 15px;
    font-size: 15px;
    font-weight: 800;
    text-align: start;
}

.bbh-recent-products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

.bbh-recent-product {
    display: block;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow .18s ease, transform .18s ease;
}

.bbh-recent-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.bbh-recent-product > span {
    height: 179px;
    display: block;
    padding: 9px;
    background: #fafafa;
}

.bbh-recent-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bbh-recent-product strong {
    min-height: 49px;
    padding: 11px 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}

/* pages mega */
.bbh-pages-grid {
    padding: 34px 0 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 65px;
    min-height: 285px;
}

/* ---------- search ---------- */
.bbh-search-panel {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.98);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.bbh-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bbh-search-close {
    position: absolute;
    top: 28px;
    inset-inline-end: 34px;
    width: 40px;
    height: 40px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.bbh-search-inner {
    width: min(860px, calc(100% - 40px));
    margin: 18vh auto 0;
}

.bbh-search-form {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.bbh-search-form > input[type="search"] {
    width: 100%;
    height: 64px;
    padding: 0 4px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font: inherit;
    font-size: 20px;
    color: #111;
}

.bbh-search-form > button {
    width: 55px;
    height: 55px;
    cursor: pointer;
}

.bbh-search-form > button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #111;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.bbh-search-form .autocomplete-items {
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    max-height: 360px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ededed;
    border-top: 0;
    z-index: 2;
}

/* ---------- mobile controls/drawer (desktop hidden) ---------- */
.bbh-mobile-menu-btn,
.bbh-mobile-overlay,
.bbh-drawer,
.bbh-mobile-cart {
    display: none;
}

body.bbh-lock {
    overflow: hidden !important;
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .bbh-shell,
    .bbh-mega-inner {
        width: min(1170px, calc(100% - 40px));
    }
    .bbh-mainbar-inner {
        grid-template-columns: 145px minmax(600px, 1fr) 165px;
        gap: 14px;
    }
    .bbh-nav > ul {
        gap: 22px;
    }
    .bbh-mega-head {
        min-height: 62px;
    }
    .bbh-mega-shop-grid {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 32px;
        padding-top: 22px;
    }
    .bbh-mega-shop-grid--no-images {
        grid-template-columns: minmax(0, 1fr);
    }
    .bbh-category-images {
        grid-auto-rows: 148px;
        gap: 10px;
    }
    .bbh-category-columns {
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
        gap: 22px 26px;
    }
}

@media (max-width: 1199px) {
    :root {
        --bbh-topbar-height: 41px;
        --bbh-mainbar-height: 56px;
        --bbh-desktop-top: 97px;
    }

    .bbh-shell {
        width: 100%;
        padding-inline: 14px;
    }

    .bbh-topbar-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-inline: 12px;
    }

    .bbh-top-contact,
    .bbh-top-options {
        display: none;
    }

    .bbh-promo {
        font-size: 11px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bbh-mainbar-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        padding-inline: 14px;
    }

    .bbh-mobile-menu-btn {
        display: flex;
        width: 30px;
        height: 30px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        justify-self: start;
    }

    .bbh-mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 1.5px;
        background: #111;
        transition: transform .18s ease;
    }

    .bbh-mobile-menu-btn span:nth-child(2) {
        width: 14px;
    }

    .bbh-logo {
        justify-self: center;
        justify-content: center;
    }

    .bbh-logo img {
        width: auto;
        max-width: 119px;
        height: 39px;
        max-height: 39px;
    }

    .bbh-nav {
        display: none;
    }

    .bbh-actions {
        justify-self: end;
        justify-content: flex-end;
        gap: 14px;
    }

    .bbh-account-action,
    .bbh-wishlist-action {
        display: none;
    }

    .bbh-action {
        width: 26px;
        height: 30px;
    }

    .bbh-action svg {
        width: 22px;
        height: 22px;
    }

    .bbh-count {
        width: 23px;
        height: 23px;
        top: -6px;
        inset-inline-start: -9px;
        font-size: 9px;
    }

    .bbh-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.28);
        z-index: 80;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .bbh-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .bbh-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(390px, 100vw);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        border-left: 8px solid #727272;
        z-index: 90;
        flex-direction: column;
        transform: translateX(102%);
        transition: transform .28s cubic-bezier(.4,0,.2,1);
        box-shadow: -12px 0 35px rgba(0,0,0,.08);
        overflow: hidden;
    }

    .bbh-drawer.is-open {
        transform: translateX(0);
    }

    .bbh-header[dir="ltr"] .bbh-drawer {
        right: auto;
        left: 0;
        border-left: 0;
        border-right: 8px solid #727272;
        transform: translateX(-102%);
        box-shadow: 12px 0 35px rgba(0,0,0,.08);
    }

    .bbh-header[dir="ltr"] .bbh-drawer.is-open {
        transform: translateX(0);
    }

    .bbh-drawer-head {
        height: 62px;
        flex: 0 0 62px;
        border-bottom: 1px solid #e7e7e7;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .bbh-drawer-head img {
        display: block;
        width: auto;
        max-width: 126px;
        height: 41px;
        object-fit: contain;
    }

    .bbh-drawer-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        max-width: 180px;
    }

    .bbh-drawer-head .bbh-logo-text {
        max-width: 170px;
        font-size: 20px;
    }

    .bbh-drawer-close {
        position: absolute;
        left: 36px;
        top: 13px;
        width: 34px;
        height: 34px;
        font-size: 29px;
        line-height: 30px;
        font-weight: 300;
        cursor: pointer;
    }

    .bbh-header[dir="ltr"] .bbh-drawer-close {
        left: auto;
        right: 36px;
    }

    .bbh-mobile-nav {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 18px 40px 24px;
        overscroll-behavior: contain;
    }

    .bbh-mobile-row {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        color: #111 !important;
        font-size: 15px;
        font-weight: 600;
        text-align: start;
        cursor: pointer;
    }

    .bbh-mobile-row i {
        font-style: normal;
        font-size: 25px;
        line-height: 1;
        font-weight: 300;
        color: #2e2e2e;
        transition: transform .18s ease;
    }

    .bbh-mobile-accordion.is-open > .bbh-mobile-row i {
        transform: rotate(45deg);
    }

    .bbh-mobile-sub {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
        padding-inline: 16px;
    }

    .bbh-mobile-accordion.is-open > .bbh-mobile-sub {
        max-height: 65vh;
        opacity: 1;
        padding-block: 4px 9px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .bbh-mobile-sub a {
        display: block;
        padding: 9px 0;
        color: #66615e !important;
        font-size: 13px;
        line-height: 1.5;
    }

    .bbh-mobile-category-tree,
    .bbh-mobile-category-sub .bbh-category-tree {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .bbh-mobile-category-tree {
        display: grid;
        gap: 8px;
    }

    .bbh-mobile-category-tree > li {
        margin: 0;
        padding: 9px 12px 10px;
        border: 1px solid #ededed;
        border-radius: 9px;
        background: #fafafa;
    }

    .bbh-mobile-category-sub .bbh-mobile-category-root {
        position: relative;
        padding: 4px 0 8px;
        color: #111 !important;
        font-size: 13.5px;
        line-height: 1.5;
        font-weight: 800;
    }

    .bbh-mobile-category-sub .bbh-mobile-category-root::before {
        display: none;
    }

    .bbh-mobile-category-sub .bbh-category-tree {
        padding-inline-start: 10px;
        margin-inline-start: 2px;
        border-inline-start: 1px solid #e7e7e7;
    }

    .bbh-mobile-category-sub .bbh-category-tree .bbh-category-tree {
        margin-top: 1px;
        padding-inline-start: 9px;
    }

    .bbh-mobile-category-sub .bbh-category-tree a {
        padding: 5px 10px 5px 0;
        color: #66615e !important;
        font-size: 12px;
        line-height: 1.55;
        transform: none !important;
    }

    .bbh-header[dir="ltr"] .bbh-mobile-category-sub .bbh-category-tree a {
        padding: 5px 0 5px 10px;
    }

    .bbh-mobile-category-sub .bbh-category-tree a::before {
        width: 3px;
        height: 3px;
        background: #cfcfcf;
    }

    .bbh-mobile-category-sub .bbh-category-tree a:hover,
    .bbh-mobile-category-sub .bbh-category-tree a:focus-visible {
        color: #111 !important;
    }

    .bbh-drawer-bottom {
        flex: 0 0 auto;
        border-top: 1px solid #e8e8e8;
        padding: 24px 38px 18px;
        background: #fff;
    }

    .bbh-drawer-actions {
        display: flex;
        gap: 10px;
        margin-bottom: 16px;
    }

    .bbh-drawer-actions a {
        flex: 1 1 0;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
    }

    .bbh-drawer-login {
        background: #f7f7f7;
        color: #111 !important;
    }

    .bbh-drawer-wish {
        background: #111;
        color: #fff !important;
    }

    .bbh-drawer-switchers {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .bbh-drawer-switchers .bbh-switcher {
        min-width: 42%;
    }

    .bbh-drawer-switchers .bbh-switcher + .bbh-switcher {
        border-inline-start: 0;
    }

    .bbh-drawer-switchers .bbh-switcher summary {
        min-height: 34px;
        padding-inline: 0;
        justify-content: space-between;
        font-size: 12px;
    }

    .bbh-drawer-switchers .bbh-switcher-menu {
        top: auto;
        bottom: calc(100% + 7px);
        min-width: 150px;
    }

    .bbh-mobile-cart {
        display: none !important;
    }

    .bbh-search-close {
        top: 18px;
        inset-inline-end: 18px;
    }

    .bbh-search-inner {
        margin-top: 25vh;
        width: calc(100% - 34px);
    }

    .bbh-search-form > input[type="search"] {
        height: 55px;
        font-size: 17px;
    }
}

@media (max-width: 479px) {
    .bbh-promo {
        font-size: 10px;
    }

    .bbh-promo span,
    .bbh-promo a {
        display: inline;
    }

    .bbh-mainbar-inner {
        padding-inline: 12px;
    }

    .bbh-logo img {
        max-width: 112px;
    }

    .bbh-logo-text {
        max-width: 130px;
        font-size: 18px;
    }

    .bbh-mobile-nav {
        padding-inline: 37px;
    }

    .bbh-drawer-bottom {
        padding-inline: 38px;
    }
}

.bbh-cart-compat {
    display: none !important;
}


/* ==================== FOOTER ==================== */
/* Bazaro-inspired responsive footer for Bazarban */
.bbf-footer {
    --bbf-bg: #f4f3f2;
    --bbf-text: #151515;
    --bbf-muted: #57534f;
    --bbf-line: #d9d6d2;
    --bbf-surface: #ffffff;
    position: relative;
    width: 100%;
    margin-top: 0;
    background: var(--bbf-bg);
    color: var(--bbf-text);
    font-family: inherit;
}

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

.bbf-container {
    width: min(1410px, calc(100% - 80px));
    margin-inline: auto;
    padding-top: 94px;
}

.bbf-main-grid {
    display: grid;
    grid-template-columns: 1.34fr .92fr .92fr .92fr 1.42fr;
    gap: clamp(36px, 4vw, 82px);
    align-items: start;
    min-height: 318px;
}

.bbf-brand-column,
.bbf-menu-column,
.bbf-subscribe-column {
    min-width: 0;
}

.bbf-logo {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    margin-bottom: 17px;
    text-decoration: none;
}

.bbf-logo img {
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 46px;
    object-fit: contain;
}

.bbf-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: var(--bbf-text);
    font-size: 14px;
    line-height: 1.9;
}

.bbf-contact-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
}

.bbf-contact-row:hover {
    color: inherit;
    opacity: .68;
}

.bbf-contact-icon {
    display: inline-flex;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    align-items: center;
    justify-content: center;
}

.bbf-contact-icon svg {
    width: 19px;
    height: 19px;
}

.bbf-address-row {
    max-width: 285px;
}

.bbf-phone {
    display: inline-block;
    margin-top: 1px;
    color: var(--bbf-text);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none;
}

.bbf-phone:hover {
    color: var(--bbf-text);
    opacity: .68;
}

.bbf-menu-column h3,
.bbf-subscribe-column > h3 {
    margin: 0 0 23px;
    color: var(--bbf-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.bbf-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bbf-menu-column li {
    margin: 0;
    padding: 0;
}

.bbf-menu-column a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #252321;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.bbf-menu-column a::before {
    content: '';
    width: 3px;
    height: 3px;
    margin-inline-end: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: .9;
}

.bbf-menu-column a:hover {
    color: #000;
    transform: translateX(-3px);
}

[dir="ltr"] .bbf-menu-column a:hover {
    transform: translateX(3px);
}

.bbf-subscribe-column > p {
    margin: -6px 0 13px;
    color: #35312e;
    font-size: 13px;
    line-height: 1.8;
}

.bbf-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    width: 100%;
    max-width: 365px;
    min-height: 56px;
    padding: 2px;
    border: 1px solid #d8d5d1;
    background: var(--bbf-surface);
}

.bbf-newsletter input {
    min-width: 0;
    width: 100%;
    height: 52px;
    padding: 0 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bbf-text);
    font: inherit;
    font-size: 13px;
}

.bbf-newsletter input::placeholder {
    color: #8a8580;
    opacity: 1;
}

.bbf-newsletter button {
    min-width: 0;
    height: 52px;
    padding: 0 19px;
    border: 0;
    background: #0b0b0b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease, opacity .2s ease;
}

.bbf-newsletter button:hover {
    background: #242424;
}

.bbf-newsletter.is-loading button {
    cursor: wait;
    opacity: .62;
}

.bbf-newsletter-status {
    min-height: 22px;
    margin-top: 5px;
    color: #57534f;
    font-size: 11px;
    line-height: 1.7;
}

.bbf-newsletter-status.is-success {
    color: #267a42;
}

.bbf-newsletter-status.is-error {
    color: #b3261e;
}

.bbf-social-wrap {
    margin-top: 7px;
}

.bbf-social-wrap.bbf-social-only {
    margin-top: 0;
}

.bbf-social-wrap h4 {
    margin: 0 0 10px;
    color: var(--bbf-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.bbf-socials {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.bbf-socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e0dc;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.bbf-socials a:hover {
    border-color: #111;
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.bbf-socials img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.bbf-social-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.bbf-social-linkedin {
    font-size: 12px;
}

.bbf-social-instagram {
    font-size: 19px;
    font-weight: 400;
}

.bbf-bottom-row {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--bbf-line);
}

.bbf-copyright {
    color: #292724;
    font-size: 13px;
    line-height: 1.8;
}

.bbf-payment-images {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.bbf-payment-images img {
    display: block;
    width: auto;
    max-width: 68px;
    height: 31px;
    padding: 3px 6px;
    border: 1px solid #e2dfdb;
    background: #fff;
    object-fit: contain;
}

.bbf-back-to-top {
    position: absolute;
    left: 50px;
    right: auto;
    bottom: 62px;
    z-index: 3;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid #111;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.bbf-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bbf-back-to-top:hover {
    background: #111;
    color: #fff;
}

.bbf-back-to-top svg {
    width: 18px;
    height: 18px;
}

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

@media (max-width: 1279px) {
    .bbf-container {
        width: min(1120px, calc(100% - 56px));
        padding-top: 72px;
    }

    .bbf-main-grid {
        grid-template-columns: 1.35fr .9fr .9fr .9fr 1.35fr;
        gap: 30px;
    }

    .bbf-newsletter {
        grid-template-columns: minmax(0, 1fr) 112px;
    }
}

@media (max-width: 1023px) {
    .bbf-container {
        width: min(880px, calc(100% - 44px));
        padding-top: 60px;
    }

    .bbf-main-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 50px 36px;
        min-height: 0;
    }

    .bbf-subscribe-column {
        grid-column: span 2;
    }

    .bbf-newsletter {
        max-width: 430px;
    }

    .bbf-bottom-row {
        margin-top: 48px;
    }

    .bbf-back-to-top {
        left: 24px;
        right: auto;
        bottom: 24px;
    }
}

@media (max-width: 767px) {
    .bbf-container {
        width: calc(100% - 32px);
        padding-top: 44px;
    }

    .bbf-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 24px;
    }

    .bbf-brand-column,
    .bbf-subscribe-column {
        grid-column: 1 / -1;
    }

    .bbf-brand-column {
        padding-bottom: 30px;
        border-bottom: 1px solid var(--bbf-line);
    }

    .bbf-contact-list {
        max-width: 520px;
    }

    .bbf-menu-column h3,
    .bbf-subscribe-column > h3 {
        margin-bottom: 17px;
        font-size: 16px;
    }

    .bbf-menu-column ul {
        gap: 10px;
    }

    .bbf-subscribe-column {
        padding-top: 4px;
    }

    .bbf-newsletter {
        max-width: 100%;
    }

    .bbf-bottom-row {
        min-height: 0;
        margin-top: 40px;
        padding: 22px 0 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .bbf-payment-images {
        order: -1;
    }

    .bbf-back-to-top {
        position: fixed;
        left: 16px;
        right: auto;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 479px) {
    .bbf-container {
        width: calc(100% - 28px);
        padding-top: 38px;
    }

    .bbf-main-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bbf-brand-column,
    .bbf-menu-column,
    .bbf-subscribe-column {
        grid-column: 1;
    }

    .bbf-brand-column {
        margin-bottom: 6px;
    }

    .bbf-menu-column {
        padding: 25px 0;
        border-bottom: 1px solid var(--bbf-line);
    }

    .bbf-menu-column h3 {
        margin-bottom: 15px;
    }

    .bbf-subscribe-column {
        padding-top: 30px;
    }

    .bbf-newsletter {
        grid-template-columns: minmax(0, 1fr) 108px;
        min-height: 52px;
    }

    .bbf-newsletter input,
    .bbf-newsletter button {
        height: 48px;
    }

    .bbf-newsletter input {
        padding-inline: 13px;
        font-size: 12px;
    }

    .bbf-newsletter button {
        padding-inline: 10px;
        font-size: 12px;
    }

    .bbf-socials a {
        width: 38px;
        height: 38px;
    }

    .bbf-bottom-row {
        align-items: stretch;
    }

    .bbf-copyright {
        max-width: calc(100% - 54px);
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbf-footer *,
    .bbf-footer *::before,
    .bbf-footer *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* v2: exact Bazarban footer-manager sync + dynamic Bazaro layout */
.bbf-main-grid {
    grid-template-columns: minmax(220px, 1.18fr) minmax(320px, 2.35fr) minmax(285px, 1.34fr);
    gap: clamp(46px, 5vw, 88px);
}

.bbf-link-columns {
    display: grid;
    grid-template-columns: repeat(var(--bbf-footer-column-count, 1), minmax(145px, 1fr));
    gap: clamp(34px, 4vw, 72px);
    min-width: 0;
}

.bbf-menu-column .bbf-static-item {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    color: #252321;
    font-size: 14px;
    line-height: 1.8;
}

.bbf-menu-column .bbf-static-item::before {
    content: '';
    flex: 0 0 3px;
    width: 3px;
    height: 3px;
    margin-top: .72em;
    margin-inline-end: 10px;
    border-radius: 50%;
    background: currentColor;
}

.bbf-custom-html {
    color: #252321;
    font-size: 14px;
    line-height: 1.85;
}

.bbf-custom-html ul,
.bbf-custom-html ol {
    margin: 0;
    padding-inline-start: 18px;
}

.bbf-custom-html a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
}

.bbf-custom-html a:hover {
    opacity: .65;
}

.bbf-backend-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.bbf-backend-badge {
    display: inline-flex;
    min-width: 48px;
    height: 34px;
    padding: 3px 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2dfdb;
    background: #fff;
    text-decoration: none;
}

.bbf-backend-badge img {
    display: block;
    width: auto;
    max-width: 74px;
    max-height: 26px;
    object-fit: contain;
}

.bbf-trust-text {
    display: inline-flex;
    min-height: 34px;
    padding: 6px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2dfdb;
    background: #fff;
    color: #24211f;
    font-size: 11px;
    line-height: 1.3;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.bbf-trust-text:hover {
    border-color: #111;
    color: #111;
}

@media (max-width: 1279px) {
    .bbf-main-grid {
        grid-template-columns: minmax(205px, 1.05fr) minmax(300px, 2fr) minmax(255px, 1.15fr);
        gap: 34px;
    }

    .bbf-link-columns {
        gap: 28px;
    }
}

@media (max-width: 1023px) {
    .bbf-main-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 46px 42px;
    }

    .bbf-brand-column {
        grid-column: 1;
        grid-row: 1;
    }

    .bbf-subscribe-column {
        grid-column: 2;
        grid-row: 1;
    }

    .bbf-link-columns {
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(var(--bbf-footer-column-count, 1), minmax(170px, 1fr));
        gap: 34px;
        padding-top: 8px;
    }

    .bbf-backend-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .bbf-main-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bbf-brand-column,
    .bbf-link-columns,
    .bbf-subscribe-column {
        grid-column: 1;
        grid-row: auto;
    }

    .bbf-brand-column {
        padding-bottom: 30px;
    }

    .bbf-link-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 28px;
        padding-top: 0;
    }

    .bbf-menu-column {
        padding: 27px 0;
        border-bottom: 1px solid var(--bbf-line);
    }

    .bbf-subscribe-column {
        padding-top: 32px;
    }

    .bbf-backend-badges {
        order: -1;
        justify-content: flex-start;
    }
}

@media (max-width: 479px) {
    .bbf-link-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bbf-menu-column {
        padding: 24px 0;
    }

    .bbf-backend-badges {
        gap: 5px;
    }

    .bbf-trust-text {
        font-size: 10px;
    }
}

/* v3: polished footer interactions, stable newsletter and global back-to-top */
.bbf-footer {
    border-top: 1px solid rgba(31, 28, 25, .06);
    background: linear-gradient(180deg, #f7f6f5 0%, var(--bbf-bg) 28%, var(--bbf-bg) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.bbf-brand-column,
.bbf-menu-column,
.bbf-subscribe-column {
    transition: transform .25s ease, opacity .25s ease;
}

.bbf-logo img {
    transition: transform .25s ease, opacity .25s ease;
}

.bbf-logo:hover img {
    transform: translateY(-1px);
    opacity: .88;
}

.bbf-menu-column h3,
.bbf-subscribe-column > h3 {
    position: relative;
    padding-bottom: 10px;
}

.bbf-menu-column h3::after,
.bbf-subscribe-column > h3::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: #171717;
    opacity: .18;
    transform-origin: center;
    transition: width .25s ease, opacity .25s ease;
}

/* One real list marker for every backend footer item, including custom HTML lists. */
.bbf-menu-column ul,
.bbf-custom-html ul {
    list-style: none !important;
    padding-inline-start: 0 !important;
}

.bbf-menu-column ul > li,
.bbf-custom-html ul > li {
    position: relative;
    padding-inline-start: 15px !important;
}

.bbf-menu-column ul > li::before,
.bbf-custom-html ul > li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: .78em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: .65;
    transform: translateY(-50%);
    transition: width .2s ease, height .2s ease, opacity .2s ease, transform .2s ease;
}

.bbf-menu-column ul > li:hover::before,
.bbf-custom-html ul > li:hover::before {
    width: 6px;
    height: 6px;
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

/* The marker belongs to LI now; disable the older per-link marker to prevent duplicates. */
.bbf-menu-column a::before,
.bbf-menu-column .bbf-static-item::before {
    display: none !important;
    content: none !important;
}

.bbf-menu-column a,
.bbf-menu-column .bbf-static-item,
.bbf-custom-html a {
    transition: color .22s ease, opacity .22s ease, transform .22s ease;
}

.bbf-menu-column a:hover,
.bbf-custom-html a:hover {
    color: #000;
    opacity: 1;
}

.bbf-contact-row,
.bbf-phone {
    transition: opacity .2s ease, transform .2s ease;
}

.bbf-contact-row:hover,
.bbf-phone:hover {
    transform: translateX(-2px);
}

[dir="ltr"] .bbf-contact-row:hover,
[dir="ltr"] .bbf-phone:hover {
    transform: translateX(2px);
}

/* Keep the email field and submit button locked together despite legacy theme rules. */
.bbf-footer .bbf-newsletter {
    display: flex !important;
    width: 100%;
    max-width: 365px;
    height: 56px;
    min-height: 56px;
    align-items: stretch;
    gap: 0 !important;
    padding: 2px !important;
    overflow: hidden;
    border: 1px solid #d8d5d1;
    border-radius: 2px;
    background: #fff;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.bbf-footer .bbf-newsletter:focus-within {
    border-color: #918a84;
    box-shadow: 0 8px 22px rgba(34, 30, 27, .08);
    transform: translateY(-1px);
}

.bbf-footer .bbf-newsletter input.input_SingUpNewsLetter {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 17px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bbf-footer .bbf-newsletter button.btn_SingUpNewsLetter {
    flex: 0 0 138px !important;
    width: 138px !important;
    min-width: 138px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.bbf-footer .bbf-newsletter button.btn_SingUpNewsLetter:hover {
    transform: none;
}

.bbf-socials a,
.bbf-backend-badge,
.bbf-trust-text {
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.bbf-backend-badge,
.bbf-trust-text {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.bbf-backend-badge:hover,
.bbf-trust-text:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, .42);
    box-shadow: 0 7px 16px rgba(28, 24, 21, .08);
}

/* Global sticky/fixed button: JS reveals it only after the home slider is passed. */
@supports (position: fixed) {
    .bbf-back-to-top {
        position: fixed;
    }
}

.bbf-back-to-top {
    left: clamp(16px, 2.6vw, 50px);
    right: auto;
    bottom: clamp(18px, 2.2vw, 32px);
    z-index: 1200;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(25, 22, 20, .16);
    transform: translateY(12px) scale(.96);
}

.bbf-back-to-top.is-visible {
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.bbf-back-to-top:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 11px 28px rgba(25, 22, 20, .2);
}

@media (max-width: 767px) {
    .bbf-footer .bbf-newsletter {
        max-width: 100%;
    }

    .bbf-back-to-top {
        position: fixed;
        left: 16px;
        right: auto;
        bottom: 18px;
    }
}

@media (max-width: 479px) {
    .bbf-footer .bbf-newsletter {
        height: 52px;
        min-height: 52px;
    }

    .bbf-footer .bbf-newsletter input.input_SingUpNewsLetter {
        height: 48px !important;
        padding-inline: 13px !important;
        font-size: 12px;
    }

    .bbf-footer .bbf-newsletter button.btn_SingUpNewsLetter {
        flex-basis: 108px !important;
        width: 108px !important;
        min-width: 108px !important;
        height: 48px !important;
        padding-inline: 9px !important;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbf-brand-column,
    .bbf-menu-column,
    .bbf-subscribe-column,
    .bbf-logo img,
    .bbf-menu-column h3::after,
    .bbf-subscribe-column > h3::after,
    .bbf-menu-column ul > li::before,
    .bbf-custom-html ul > li::before,
    .bbf-contact-row,
    .bbf-phone,
    .bbf-newsletter,
    .bbf-backend-badge,
    .bbf-trust-text,
    .bbf-back-to-top {
        transition: none !important;
    }
}

/* v4: professional, resilient newsletter control */
.bbf-footer .bbf-newsletter.SingUpNewsLetter {
    direction: rtl;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 126px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 390px;
    height: 56px;
    min-height: 56px;
    margin: 0 !important;
    padding: 4px !important;
    gap: 4px !important;
    overflow: hidden !important;
    border: 1px solid #d7d4d0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 18px rgba(25, 22, 20, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

[dir="ltr"] .bbf-footer .bbf-newsletter.SingUpNewsLetter {
    direction: ltr;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter:focus-within {
    border-color: #a9a39d !important;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .055), 0 8px 24px rgba(25, 22, 20, .075);
    transform: translateY(-1px);
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter .bbf-sr-only {
    position: absolute !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter input.input_SingUpNewsLetter,
.bbf-footer .bbf-newsletter.SingUpNewsLetter #mainNewsLetterId {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171514 !important;
    font: inherit !important;
    font-size: 13px !important;
    line-height: 46px !important;
    text-align: right;
}

[dir="ltr"] .bbf-footer .bbf-newsletter.SingUpNewsLetter input.input_SingUpNewsLetter,
[dir="ltr"] .bbf-footer .bbf-newsletter.SingUpNewsLetter #mainNewsLetterId {
    text-align: left;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter input.input_SingUpNewsLetter::placeholder,
.bbf-footer .bbf-newsletter.SingUpNewsLetter #mainNewsLetterId::placeholder {
    color: #8c8782 !important;
    opacity: 1 !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter {
    position: static !important;
    display: inline-flex !important;
    float: none !important;
    clear: none !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    flex: none !important;
    width: 126px !important;
    min-width: 0 !important;
    max-width: 126px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #111 !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: #111 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font: inherit !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter:hover {
    border-color: #2a2a2a !important;
    background: #2a2a2a !important;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .16) !important;
    transform: translateY(-1px) !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter:focus-visible {
    outline: 2px solid #111 !important;
    outline-offset: 2px !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12) !important;
}

.bbf-footer .bbf-newsletter.SingUpNewsLetter.is-loading button.btn_SingUpNewsLetter {
    opacity: .68 !important;
    cursor: wait;
}

@media (max-width: 479px) {
    .bbf-footer .bbf-newsletter.SingUpNewsLetter {
        grid-template-columns: minmax(0, 1fr) 108px !important;
        height: 54px;
        min-height: 54px;
        padding: 4px !important;
        border-radius: 11px !important;
    }

    .bbf-footer .bbf-newsletter.SingUpNewsLetter input.input_SingUpNewsLetter,
    .bbf-footer .bbf-newsletter.SingUpNewsLetter #mainNewsLetterId {
        height: 44px !important;
        min-height: 44px !important;
        padding-inline: 12px !important;
        font-size: 12px !important;
        line-height: 44px !important;
    }

    .bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter {
        width: 108px !important;
        max-width: 108px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding-inline: 9px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 359px) {
    .bbf-footer .bbf-newsletter.SingUpNewsLetter {
        grid-template-columns: minmax(0, 1fr) 96px !important;
    }

    .bbf-footer .bbf-newsletter.SingUpNewsLetter button.btn_SingUpNewsLetter {
        width: 96px !important;
        max-width: 96px !important;
        padding-inline: 7px !important;
        font-size: 11.5px !important;
    }
}

/* v5: professional backend-driven footer link presentation */
.bbf-menu-column,
.bbf-subscribe-column {
    position: relative;
}

.bbf-menu-column h3,
.bbf-subscribe-column > h3,
.bbf-social-wrap h4 {
    letter-spacing: -.01em;
}

.bbf-menu-column h3,
.bbf-subscribe-column > h3 {
    margin-bottom: 16px;
}

.bbf-menu-column h3::after,
.bbf-subscribe-column > h3::after {
    width: 32px;
    height: 2px;
    opacity: .28;
}

.bbf-menu-column ul,
.bbf-custom-html ul {
    gap: 4px;
}

.bbf-menu-column ul > li,
.bbf-custom-html ul > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9px;
    color: #33302d;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.bbf-menu-column ul > li::before,
.bbf-custom-html ul > li::before {
    inset-inline-start: 10px;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #4a4642;
    opacity: .48;
    transform: translateY(-50%);
}

.bbf-menu-column ul > li:hover,
.bbf-custom-html ul > li:hover {
    background: rgba(17, 17, 17, .045);
    color: #111;
}

.bbf-menu-column ul > li:hover::before,
.bbf-custom-html ul > li:hover::before {
    width: 6px;
    height: 6px;
    background: #111;
    opacity: .9;
    transform: translateY(-50%);
}

.bbf-menu-column ul > li > a,
.bbf-menu-column ul > li > .bbf-static-item,
.bbf-custom-html ul > li > a,
.bbf-custom-html ul > li > span {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    padding: 6px 24px 6px 9px;
    border-radius: 9px;
    color: inherit;
    line-height: 1.65;
    text-decoration: none;
    transform: none !important;
}

[dir="ltr"] .bbf-menu-column ul > li > a,
[dir="ltr"] .bbf-menu-column ul > li > .bbf-static-item,
[dir="ltr"] .bbf-custom-html ul > li > a,
[dir="ltr"] .bbf-custom-html ul > li > span {
    padding: 6px 9px 6px 24px;
}

.bbf-menu-column a:focus-visible,
.bbf-custom-html a:focus-visible,
.bbf-contact-row:focus-visible,
.bbf-phone:focus-visible,
.bbf-socials a:focus-visible,
.bbf-backend-badge:focus-visible,
.bbf-trust-text:focus-visible {
    outline: 2px solid #151515;
    outline-offset: 3px;
}

.bbf-custom-html p {
    margin: 0 0 9px;
    color: #4e4a46;
    line-height: 1.9;
}

.bbf-custom-html p:last-child {
    margin-bottom: 0;
}

.bbf-social-wrap {
    margin-top: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(31, 28, 25, .08);
}

.bbf-social-wrap h4 {
    margin-bottom: 11px;
    color: #393532;
    font-weight: 650;
}

.bbf-contact-row {
    padding: 3px 0;
    border-radius: 7px;
}

.bbf-contact-row:hover,
.bbf-phone:hover {
    opacity: 1;
    color: #000;
}

.bbf-bottom-row {
    margin-top: 44px;
}

@media (max-width: 767px) {
    .bbf-menu-column h3,
    .bbf-subscribe-column > h3 {
        margin-bottom: 13px;
    }

    .bbf-menu-column ul > li > a,
    .bbf-menu-column ul > li > .bbf-static-item,
    .bbf-custom-html ul > li > a,
    .bbf-custom-html ul > li > span {
        min-height: 38px;
        padding-block: 8px;
    }

    .bbf-bottom-row {
        margin-top: 34px;
    }
}

@media (hover: none) {
    .bbf-menu-column ul > li:active,
    .bbf-custom-html ul > li:active {
        background: rgba(17, 17, 17, .055);
    }
}

/* v6: footer layout is driven by actual backend sections */
.bbf-main-grid {
    grid-template-columns: none;
    gap: clamp(34px, 4.2vw, 72px);
    min-height: 0;
}

.bbf-main-grid--0 {
    display: none;
}

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

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

.bbf-main-grid--3 {
    grid-template-columns: minmax(235px, 1fr) minmax(320px, 2.15fr) minmax(290px, 1.15fr);
}

.bbf-link-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: clamp(24px, 2.6vw, 44px);
    align-items: start;
    min-width: 0;
}

.bbf-brand-column,
.bbf-menu-column,
.bbf-subscribe-column {
    align-self: start;
}

.bbf-menu-column,
.bbf-subscribe-column {
    padding: 14px 16px;
    margin: -14px -16px;
    border: 1px solid transparent;
    border-radius: 14px;
}

.bbf-menu-column h3,
.bbf-subscribe-column > h3 {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 10px;
    font-size: 16.5px;
    font-weight: 750;
    line-height: 1.55;
}

.bbf-menu-column h3::after,
.bbf-subscribe-column > h3::after {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: '';
    opacity: .24;
    transition: width .2s ease, opacity .2s ease;
}

.bbf-menu-column ul,
.bbf-custom-html ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bbf-menu-column ul > li,
.bbf-custom-html ul > li {
    position: relative;
    min-width: 0;
    border-radius: 9px;
}

.bbf-menu-column ul > li::before,
.bbf-custom-html ul > li::before {
    inset-inline-start: 9px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #37332f;
    content: '';
    opacity: .48;
    transform: translateY(-50%);
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.bbf-menu-column ul > li > a,
.bbf-menu-column ul > li > .bbf-static-item,
.bbf-custom-html ul > li > a,
.bbf-custom-html ul > li > span {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    padding: 7px 24px 7px 10px;
    border-radius: 9px;
    color: #34312e;
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.65;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, padding .18s ease;
}

[dir="ltr"] .bbf-menu-column ul > li > a,
[dir="ltr"] .bbf-menu-column ul > li > .bbf-static-item,
[dir="ltr"] .bbf-custom-html ul > li > a,
[dir="ltr"] .bbf-custom-html ul > li > span {
    padding: 7px 10px 7px 24px;
}

@media (hover: hover) and (pointer: fine) {
    .bbf-menu-column ul > li:hover,
    .bbf-custom-html ul > li:hover {
        background: rgba(17, 17, 17, .045);
    }

    .bbf-menu-column ul > li:hover::before,
    .bbf-custom-html ul > li:hover::before {
        background: #111;
        opacity: .95;
        transform: translateY(-50%) scale(1.12);
    }

    .bbf-menu-column ul > li:hover > a,
    .bbf-custom-html ul > li:hover > a {
        color: #0e0e0e;
        padding-inline-start: 28px;
    }
}

.bbf-brand-column {
    padding-inline-end: clamp(2px, 1vw, 14px);
}

.bbf-logo {
    margin-bottom: 20px;
}

.bbf-logo img {
    transition: transform .2s ease, opacity .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bbf-logo:hover img {
        transform: translateY(-1px);
        opacity: .86;
    }
}

.bbf-contact-list {
    gap: 10px;
}

.bbf-contact-row {
    width: fit-content;
    max-width: 100%;
    min-height: 31px;
    padding: 4px 6px;
    margin-inline-start: -6px;
    border-radius: 8px;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bbf-contact-row:hover {
        background: rgba(17, 17, 17, .045);
        transform: translateY(-1px);
    }
}

.bbf-contact-icon {
    color: #4a4642;
}

.bbf-phone {
    position: relative;
    width: fit-content;
    padding-bottom: 2px;
    font-weight: 600;
}

.bbf-phone::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    content: '';
    opacity: .14;
    transform: scaleX(.4);
    transition: opacity .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bbf-phone:hover::after {
        opacity: .45;
        transform: scaleX(1);
    }
}

.bbf-subscribe-column .bbf-newsletter {
    margin-top: 2px !important;
}

.bbf-social-wrap {
    margin-top: 17px;
    padding-top: 15px;
}

.bbf-socials {
    gap: 6px;
}

.bbf-socials a {
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(20, 18, 16, .025);
}

.bbf-bottom-row {
    margin-top: 50px;
    padding-block: 22px 25px;
}

@media (max-width: 1199px) {
    .bbf-main-grid--3 {
        grid-template-columns: minmax(210px, .95fr) minmax(280px, 1.65fr) minmax(250px, 1fr);
        gap: clamp(28px, 3vw, 44px);
    }

    .bbf-link-columns {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .bbf-main-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bbf-main-grid--3 > .bbf-brand-column {
        order: 1;
    }

    .bbf-main-grid--3 > .bbf-subscribe-column {
        order: 2;
    }

    .bbf-main-grid--3 > .bbf-link-columns {
        grid-column: 1 / -1;
        order: 3;
    }

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

    .bbf-link-columns {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    .bbf-container {
        width: min(100% - 32px, 680px);
        padding-top: 58px;
    }

    .bbf-main-grid,
    .bbf-main-grid--1,
    .bbf-main-grid--2,
    .bbf-main-grid--3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .bbf-main-grid--3 > .bbf-brand-column,
    .bbf-main-grid--3 > .bbf-link-columns,
    .bbf-main-grid--3 > .bbf-subscribe-column {
        grid-column: auto;
    }

    .bbf-main-grid > .bbf-brand-column {
        order: 1;
    }

    .bbf-main-grid > .bbf-link-columns {
        order: 2;
    }

    .bbf-main-grid > .bbf-subscribe-column {
        order: 3;
    }

    .bbf-link-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }

    .bbf-menu-column,
    .bbf-subscribe-column {
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .bbf-menu-column h3,
    .bbf-subscribe-column > h3 {
        margin-bottom: 14px;
    }

    .bbf-bottom-row {
        margin-top: 38px;
        padding-block: 20px 24px;
    }
}

@media (max-width: 520px) {
    .bbf-link-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .bbf-menu-column ul > li > a,
    .bbf-menu-column ul > li > .bbf-static-item,
    .bbf-custom-html ul > li > a,
    .bbf-custom-html ul > li > span {
        min-height: 39px;
        padding-block: 8px;
    }
}

/* ==================== CONTACT US / CKEDITOR - BAZARO REFERENCE ====================
 * Full-width contact layout intended for CKEditor content wrapped by .bbc-contact-page.
 * No per-page JS is required; FAQ uses native <details>.
 */
.bbc-contact-page,
.bbc-contact-page * {
    box-sizing: border-box;
}

.bbc-contact-page {
    --bbc-red: #e31b23;
    --bbc-black: #151515;
    --bbc-text: #343434;
    --bbc-muted: #777;
    --bbc-line: #e8e8e8;
    --bbc-soft: #f7f7f7;
    --bbc-white: #fff;
    width: 100%;
    direction: rtl;
    color: var(--bbc-text);
    background: #fff;
    font-family: inherit;
    line-height: 1.85;
    overflow: hidden;
}

.bbc-contact-page a {
    text-decoration: none !important;
}

.bbc-contact-intro {
    max-width: 980px;
    margin: 0 auto;
    padding: 76px 24px 46px;
    text-align: center;
}

.bbc-contact-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.bbc-contact-intro h1 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--bbc-black);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.7px;
}

.bbc-contact-methods {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

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

.bbc-contact-method {
    min-width: 0;
    min-height: 275px;
    padding: 36px 30px 30px;
    text-align: center;
    border-inline-start: 1px solid #eee;
    background: #fafafa;
    transition: background-color .18s ease, transform .18s ease;
}

.bbc-contact-method:first-child {
    border-inline-start: 0;
}

.bbc-contact-method:hover {
    background: #fff;
}

.bbc-contact-method-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 22px;
    display: inline-grid;
    place-items: center;
    color: var(--bbc-red);
    font-size: 24px;
    transition: transform .18s ease;
}

.bbc-contact-method:hover .bbc-contact-method-icon {
    transform: translateY(-3px);
}

.bbc-contact-method h3 {
    margin: 0 0 8px;
    color: var(--bbc-black);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.bbc-contact-method p {
    max-width: 235px;
    min-height: 48px;
    margin: 0 auto 15px;
    color: #666;
    font-size: 12px;
    line-height: 1.95;
}

.bbc-contact-method strong,
.bbc-contact-method-link,
.bbc-contact-inline-links,
.bbc-contact-inline-links a {
    color: var(--bbc-black) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 2;
}

.bbc-contact-method strong {
    display: block;
    font-weight: 500;
}

.bbc-contact-method a:hover,
.bbc-contact-method a:focus-visible {
    color: var(--bbc-red) !important;
    outline: none;
}

.bbc-contact-inline-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bbc-contact-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
}

.bbc-contact-socials a {
    position: relative;
    color: var(--bbc-black) !important;
    font-size: 12px;
    font-weight: 600;
}

.bbc-contact-socials a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.bbc-contact-socials a:hover::after,
.bbc-contact-socials a:focus-visible::after {
    transform: scaleX(1);
}

.bbc-contact-message-section {
    width: 100%;
    background: #f5f5f5;
    border-block: 1px solid #ededed;
}

.bbc-contact-message-inner {
    width: min(1280px, 100%);
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bbc-contact-form-panel {
    padding: 74px clamp(30px, 6vw, 90px) 70px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bbc-contact-form-heading {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bbc-contact-form-icon {
    margin-top: 5px;
    font-size: 24px;
    line-height: 1;
}

.bbc-contact-form-heading h2 {
    margin: 0 0 3px;
    color: var(--bbc-black);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.bbc-contact-form-heading p {
    margin: 0;
    color: #777;
    font-size: 12px;
}

.bbc-contact-form-status {
    width: min(1180px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 14px 18px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    font-size: 12px;
    text-align: center;
}

.bbc-contact-form-status--success {
    border-color: #b9ddc1;
    color: #28733a;
}

.bbc-contact-form-status--error {
    border-color: #efc1c1;
    color: #a52222;
}

.bbc-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.bbc-contact-field {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.bbc-contact-field--full,
.bbc-contact-submit-wrap {
    grid-column: 1 / -1;
}

.bbc-contact-field label {
    color: #313131;
    font-size: 11px;
    font-weight: 600;
}

.bbc-contact-field label span {
    color: var(--bbc-red);
}

.bbc-contact-field input,
.bbc-contact-field select,
.bbc-contact-field textarea {
    width: 100%;
    margin: 0 !important;
    border: 1px solid #dfdfdf !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #222 !important;
    font: inherit !important;
    font-size: 12px !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.bbc-contact-field input,
.bbc-contact-field select {
    height: 48px !important;
    padding: 0 15px !important;
}

.bbc-contact-field textarea {
    min-height: 126px;
    padding: 14px 15px !important;
    resize: vertical;
    line-height: 1.9 !important;
}

.bbc-contact-field input::placeholder,
.bbc-contact-field textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

.bbc-contact-field input:focus,
.bbc-contact-field select:focus,
.bbc-contact-field textarea:focus {
    border-color: #6f6f6f !important;
    box-shadow: 0 0 0 1px #6f6f6f !important;
}

.bbc-contact-submit-wrap {
    margin-top: 3px;
}

.bbc-contact-submit {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid var(--bbc-black) !important;
    border-radius: 0 !important;
    background: var(--bbc-black) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.bbc-contact-submit:hover,
.bbc-contact-submit:focus-visible {
    background: var(--bbc-red) !important;
    border-color: var(--bbc-red) !important;
    color: #fff !important;
    outline: none;
}

.bbc-contact-submit span {
    display: inline-block;
    transition: transform .18s ease;
}

.bbc-contact-submit:hover span {
    transform: translateX(-4px);
}

.bbc-contact-map-panel {
    position: relative;
    min-height: 620px;
    background: #e9e9e9;
    overflow: hidden;
}

.bbc-contact-map-panel iframe {
    width: 100%;
    height: 100%;
    min-height: 620px;
    display: block;
    border: 0;
    filter: saturate(.82) contrast(.96);
}

.bbc-contact-map-caption {
    position: absolute;
    inset-inline-end: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.94);
    color: var(--bbc-black) !important;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 8px 26px rgba(0,0,0,.10);
    backdrop-filter: blur(5px);
}

.bbc-contact-map-caption i {
    color: var(--bbc-red);
}

.bbc-contact-faq {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 82px 0 100px;
    display: grid;
    grid-template-columns: minmax(230px, .58fr) minmax(0, 1.42fr);
    gap: 76px;
    align-items: start;
}

.bbc-contact-faq-heading {
    text-align: right;
    position: sticky;
    top: 110px;
}

.bbc-contact-faq-heading h2 {
    margin: 0 0 24px;
    color: var(--bbc-black);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.5px;
}

.bbc-contact-faq-cta {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 18px;
    background: var(--bbc-black);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    transition: background-color .18s ease;
}

.bbc-contact-faq-cta:hover,
.bbc-contact-faq-cta:focus-visible {
    background: var(--bbc-red);
    color: #fff !important;
    outline: none;
}

.bbc-contact-faq-list {
    display: grid;
    gap: 8px;
}

.bbc-contact-faq-list details {
    border: 1px solid var(--bbc-line);
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease;
}

.bbc-contact-faq-list details[open] {
    background: #fdfdfd;
    border-color: #dadada;
}

.bbc-contact-faq-list summary {
    min-height: 58px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 58px 15px 20px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.bbc-contact-faq-list summary::-webkit-details-marker {
    display: none;
}

.bbc-contact-faq-list summary::before,
.bbc-contact-faq-list summary::after {
    content: "";
    position: absolute;
    inset-inline-start: 20px;
    top: 50%;
    width: 13px;
    height: 1px;
    background: #777;
    transform: translateY(-50%);
    transition: transform .18s ease, background-color .18s ease;
}

.bbc-contact-faq-list summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.bbc-contact-faq-list details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

.bbc-contact-faq-list details[open] summary::before,
.bbc-contact-faq-list details[open] summary::after {
    background: var(--bbc-red);
}

.bbc-contact-faq-list details p {
    margin: 0;
    padding: 0 58px 20px 20px;
    color: #707070;
    font-size: 12px;
    line-height: 2;
}

/* The contact layout intentionally escapes the generic single-page card/padding. */
.bbc-singlepage-main {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

@media (max-width: 1100px) {
    .bbc-contact-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .bbc-contact-method:nth-child(3) {
        border-inline-start: 0;
        border-top: 1px solid #eee;
    }

    .bbc-contact-method:nth-child(4) {
        border-top: 1px solid #eee;
    }

    .bbc-contact-message-inner {
        min-height: 560px;
    }

    .bbc-contact-map-panel,
    .bbc-contact-map-panel iframe {
        min-height: 560px;
    }
}

@media (max-width: 900px) {
    .bbc-contact-intro {
        padding-top: 58px;
    }

    .bbc-contact-message-inner {
        grid-template-columns: 1fr;
    }

    .bbc-contact-map-panel,
    .bbc-contact-map-panel iframe {
        min-height: 420px;
    }

    .bbc-contact-form-panel {
        padding: 54px 30px;
    }

    .bbc-contact-faq {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-block: 62px 78px;
    }

    .bbc-contact-faq-heading {
        position: static;
    }

    .bbc-contact-faq-heading h2 br {
        display: none;
    }
}

@media (max-width: 640px) {
    .bbc-contact-intro {
        padding: 48px 18px 32px;
    }

    .bbc-contact-intro h1 {
        font-size: 30px;
    }

    .bbc-contact-methods {
        width: calc(100% - 28px);
        margin-bottom: 48px;
        grid-template-columns: 1fr;
    }

    .bbc-contact-methods--three {
        grid-template-columns: 1fr;
    }

    .bbc-contact-method {
        min-height: 0;
        padding: 28px 22px;
        border-inline-start: 0 !important;
        border-top: 1px solid #eee;
    }

    .bbc-contact-method:first-child {
        border-top: 0;
    }

    .bbc-contact-method p {
        min-height: 0;
    }

    .bbc-contact-form-panel {
        padding: 44px 18px;
    }

    .bbc-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .bbc-contact-field--full,
    .bbc-contact-submit-wrap {
        grid-column: auto;
    }

    .bbc-contact-map-panel,
    .bbc-contact-map-panel iframe {
        min-height: 330px;
    }

    .bbc-contact-map-caption {
        inset-inline: 14px;
        bottom: 14px;
        max-width: none;
        justify-content: center;
    }

    .bbc-contact-faq {
        width: calc(100% - 28px);
    }

    .bbc-contact-faq-heading h2 {
        font-size: 36px;
    }

    .bbc-contact-faq-list summary {
        padding-inline: 48px 14px;
        font-size: 12px;
    }

    .bbc-contact-faq-list summary::before,
    .bbc-contact-faq-list summary::after {
        inset-inline-start: 16px;
    }

    .bbc-contact-faq-list details p {
        padding-inline: 48px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbc-contact-page *,
    .bbc-contact-page *::before,
    .bbc-contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ==================== ABOUT US / CKEDITOR - SURMALI ====================
 * Full-width, image-independent about page aligned with the Bazaro/Bazarban theme.
 * Content is authored in CKEditor and only uses scoped .bbc-about-* selectors.
 */
.bbc-about-page,
.bbc-about-page * {
    box-sizing: border-box;
}

.bbc-about-page {
    --bba-red: #e31b23;
    --bba-black: #151515;
    --bba-text: #3a3a3a;
    --bba-muted: #737373;
    --bba-line: #e9e9e9;
    --bba-soft: #f6f6f6;
    --bba-white: #fff;
    width: 100%;
    direction: rtl;
    color: var(--bba-text);
    background: var(--bba-white);
    font-family: inherit;
    line-height: 2;
    overflow: hidden;
}

.bbc-about-page a {
    text-decoration: none !important;
}

.bbc-about-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.bbc-about-hero {
    position: relative;
    padding: 88px 0 76px;
    background:
        linear-gradient(90deg, rgba(227, 27, 35, .035) 1px, transparent 1px),
        linear-gradient(rgba(227, 27, 35, .035) 1px, transparent 1px),
        #fff;
    background-size: 36px 36px;
    border-bottom: 1px solid #f0f0f0;
}

.bbc-about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 5px;
    height: 100%;
    background: var(--bba-red);
}

.bbc-about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 70px;
    align-items: center;
}

.bbc-about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--bba-muted);
    font-size: 13px;
    font-weight: 600;
}

.bbc-about-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--bba-red);
}

.bbc-about-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--bba-black);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.34;
    letter-spacing: -1.4px;
}

.bbc-about-hero h1 strong {
    color: var(--bba-red);
    font-weight: 800;
}

.bbc-about-lead {
    max-width: 700px;
    margin: 24px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 2.15;
}

.bbc-about-year-card {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 34px 32px;
    background: var(--bba-black);
    color: #fff;
    overflow: hidden;
}

.bbc-about-year-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    inset-inline-end: -92px;
    top: -78px;
    border: 42px solid rgba(227, 27, 35, .82);
    border-radius: 50%;
}

.bbc-about-year-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    inset-inline-start: -42px;
    bottom: -44px;
    border: 1px solid rgba(255, 255, 255, .18);
    transform: rotate(45deg);
}

.bbc-about-year-number {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
}

.bbc-about-year-label {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 190px;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.9;
}

.bbc-about-story {
    padding: 88px 0 78px;
}

.bbc-about-section-heading {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 42px;
}

.bbc-about-section-kicker {
    color: var(--bba-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.bbc-about-section-heading h2 {
    margin: -7px 0 0;
    color: var(--bba-black);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -.6px;
}

.bbc-about-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--bba-line);
    border-bottom: 1px solid var(--bba-line);
}

.bbc-about-story-block {
    position: relative;
    min-height: 330px;
    padding: 46px 42px 42px;
}

.bbc-about-story-block + .bbc-about-story-block {
    border-inline-start: 1px solid var(--bba-line);
}

.bbc-about-story-index {
    display: block;
    margin-bottom: 24px;
    color: var(--bba-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bbc-about-story-block p {
    margin: 0;
    color: #4e4e4e;
    font-size: 15px;
    line-height: 2.35;
    text-align: justify;
}

.bbc-about-story-block::after {
    content: "";
    position: absolute;
    inset-inline-start: 42px;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--bba-red);
    transition: width .26s ease;
}

.bbc-about-story-block:hover::after {
    width: 72px;
}

.bbc-about-values {
    padding: 0 0 92px;
}

.bbc-about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--bba-soft);
    border: 1px solid #efefef;
}

.bbc-about-value {
    min-height: 176px;
    padding: 30px 28px 28px;
    border-inline-start: 1px solid #e7e7e7;
    transition: background-color .18s ease, transform .18s ease;
}

.bbc-about-value:first-child {
    border-inline-start: 0;
}

.bbc-about-value:hover {
    background: #fff;
    transform: translateY(-3px);
}

.bbc-about-value-mark {
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #dcdcdc;
    color: var(--bba-red);
    font-size: 13px;
    font-weight: 800;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.bbc-about-value:hover .bbc-about-value-mark {
    background: var(--bba-red);
    border-color: var(--bba-red);
    color: #fff;
}

.bbc-about-value h3 {
    margin: 0 0 8px;
    color: var(--bba-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.bbc-about-value p {
    margin: 0;
    color: var(--bba-muted);
    font-size: 12px;
    line-height: 2;
}

.bbc-about-closing {
    position: relative;
    padding: 66px 0;
    background: var(--bba-black);
    color: #fff;
    overflow: hidden;
}

.bbc-about-closing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 64%, rgba(227, 27, 35, .93) 64% 72%, transparent 72%);
    opacity: .9;
    pointer-events: none;
}

.bbc-about-closing-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bbc-about-closing h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.6;
}

.bbc-about-closing p {
    max-width: 520px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 2.1;
}

@media (max-width: 980px) {
    .bbc-about-hero {
        padding: 66px 0 58px;
    }

    .bbc-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .bbc-about-year-card {
        min-height: 240px;
        max-width: 520px;
        width: 100%;
    }

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

    .bbc-about-value:nth-child(3) {
        border-inline-start: 0;
        border-top: 1px solid #e7e7e7;
    }

    .bbc-about-value:nth-child(4) {
        border-top: 1px solid #e7e7e7;
    }

    .bbc-about-closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .bbc-about-shell {
        width: min(100% - 30px, 1180px);
    }

    .bbc-about-hero {
        padding: 52px 0 46px;
    }

    .bbc-about-hero h1 {
        font-size: 36px;
        letter-spacing: -.6px;
    }

    .bbc-about-lead {
        font-size: 14px;
    }

    .bbc-about-year-card {
        min-height: 210px;
        padding: 28px;
    }

    .bbc-about-story {
        padding: 62px 0 56px;
    }

    .bbc-about-section-heading {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 28px;
    }

    .bbc-about-section-heading h2 {
        margin-top: 0;
        font-size: 30px;
    }

    .bbc-about-story-grid {
        grid-template-columns: 1fr;
    }

    .bbc-about-story-block {
        min-height: 0;
        padding: 34px 22px 36px;
    }

    .bbc-about-story-block + .bbc-about-story-block {
        border-inline-start: 0;
        border-top: 1px solid var(--bba-line);
    }

    .bbc-about-story-block::after {
        inset-inline-start: 22px;
    }

    .bbc-about-story-block p {
        font-size: 14px;
        line-height: 2.3;
        text-align: right;
    }

    .bbc-about-values {
        padding-bottom: 64px;
    }

    .bbc-about-values-grid {
        grid-template-columns: 1fr;
    }

    .bbc-about-value,
    .bbc-about-value:nth-child(2),
    .bbc-about-value:nth-child(3),
    .bbc-about-value:nth-child(4) {
        min-height: 0;
        border-inline-start: 0;
        border-top: 1px solid #e7e7e7;
    }

    .bbc-about-value:first-child {
        border-top: 0;
    }

    .bbc-about-closing {
        padding: 50px 0;
    }

    .bbc-about-closing::before {
        background: linear-gradient(145deg, transparent 0 72%, rgba(227, 27, 35, .9) 72% 84%, transparent 84%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbc-about-page *,
    .bbc-about-page *::before,
    .bbc-about-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* ==================== ABOUT US / CKEDITOR - SURMALI LIGHT REFERENCE ====================
 * CKEditor should contain only the HTML fragment using .surmali-about-* classes.
 * This block intentionally does not style body/html and is fully scoped.
 */
.surmali-about-page,
.surmali-about-page *,
.surmali-about-page *::before,
.surmali-about-page *::after {
    box-sizing: border-box;
}

.surmali-about-page {
    --sab-page-bg: #eef3f9;
    --sab-card-bg: #ffffff;
    --sab-text: #182236;
    --sab-muted: #5f6d82;
    --sab-line: #dce5f0;
    --sab-blue: #3f7ee8;
    --sab-blue-soft: #eaf2ff;
    --sab-orange: #f39a3c;
    --sab-shadow: 0 18px 55px rgba(30, 55, 88, .11);
    --sab-radius: 10px;
    width: 100%;
    margin: 0;
    padding: 28px;
    direction: rtl;
    color: var(--sab-text);
    background:
        radial-gradient(circle at 90% 0%, rgba(63,126,232,.08), transparent 26%),
        linear-gradient(180deg, #f7f9fc 0%, var(--sab-page-bg) 100%);
    line-height: 1.95;
    overflow: hidden;
}

.surmali-about-wrap {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.surmali-about-card {
    display: grid;
    grid-template-columns: minmax(320px, 36%) minmax(0, 1fr);
    grid-template-areas: "photo content";
    direction: ltr;
    min-height: 610px;
    background: var(--sab-card-bg);
    border: 1px solid var(--sab-line);
    border-radius: var(--sab-radius);
    overflow: hidden;
    box-shadow: var(--sab-shadow);
}

.surmali-about-photo {
    grid-area: photo;
    min-height: 610px;
    position: relative;
    overflow: hidden;
    background: #dce6f2;
}

.surmali-about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.85);
    pointer-events: none;
}

.surmali-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    object-position: center;
    filter: saturate(.94) contrast(1.02);
    transition: transform .35s ease, filter .35s ease;
}

.surmali-about-card:hover .surmali-about-photo img {
    transform: scale(1.015);
    filter: saturate(1) contrast(1.03);
}

.surmali-about-content {
    grid-area: content;
    min-width: 0;
    direction: rtl;
    padding: 44px 54px 34px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(248,251,255,.92), rgba(255,255,255,1) 38%);
}

.surmali-about-brand {
    text-align: right;
    margin: 0 0 22px;
}

.surmali-about-brand-title {
    margin: 0 !important;
    color: #2f67c8 !important;
    font-size: clamp(34px, 4.5vw, 54px) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -1px;
}

.surmali-about-brand-title span {
    color: var(--sab-orange) !important;
}

.surmali-about-brand-subtitle {
    margin-top: 8px;
    color: #8593a8;
    font-size: 13px;
    font-weight: 600;
}

.surmali-about-intro,
.surmali-about-vision {
    margin: 0 !important;
    color: #4b5a70 !important;
    font-size: 16px !important;
    line-height: 2.15 !important;
    text-align: justify;
}

.surmali-about-section {
    margin-top: 24px;
}

.surmali-about-section-title {
    position: relative;
    margin: 0 0 12px !important;
    padding-right: 16px;
    color: var(--sab-text) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

.surmali-about-section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: .38em;
    width: 5px;
    height: 1.05em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sab-blue), #77a3ff);
}

.surmali-about-goals {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 8px;
}

.surmali-about-goals li {
    position: relative;
    margin: 0 !important;
    padding: 11px 42px 11px 12px !important;
    border-radius: 12px;
    color: #526177;
    font-size: 15px;
    line-height: 1.85;
    transition: background-color .18s ease, transform .18s ease, color .18s ease;
}

.surmali-about-goals li::before {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sab-blue);
    box-shadow: 0 0 0 4px var(--sab-blue-soft);
    transform: translateY(-50%);
    transition: transform .18s ease, box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .surmali-about-goals li:hover {
        color: #2f405a;
        background: #f7faff;
        transform: translateX(-2px);
    }

    .surmali-about-goals li:hover::before {
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 0 0 5px var(--sab-blue-soft);
    }
}

.surmali-about-year {
    margin-top: auto;
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #718198;
    font-size: 13px;
    font-weight: 600;
}

.surmali-about-year::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ca5ff, #2b78e4);
    box-shadow: 0 0 0 4px rgba(63,126,232,.10);
}

/* Prevent generic single-page spacing from changing this custom layout. */
.bbc-singlepage-main:has(.surmali-about-page),
.singlePageContent:has(.surmali-about-page) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

@media (max-width: 900px) {
    .surmali-about-page {
        padding: 18px;
    }

    .surmali-about-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "content";
        min-height: 0;
    }

    .surmali-about-photo {
        min-height: 370px;
    }

    .surmali-about-photo img {
        min-height: 370px;
        max-height: 430px;
        object-position: center 44%;
    }

    .surmali-about-content {
        padding: 34px 30px 30px;
    }
}

@media (max-width: 560px) {
    .surmali-about-page {
        padding: 10px;
    }

    .surmali-about-card {
        border-radius: 8px;
    }

    .surmali-about-photo {
        min-height: 280px;
    }

    .surmali-about-photo img {
        min-height: 280px;
        max-height: 320px;
    }

    .surmali-about-content {
        padding: 26px 20px 24px;
    }

    .surmali-about-brand-title {
        font-size: 38px !important;
    }

    .surmali-about-intro,
    .surmali-about-vision {
        font-size: 14.5px !important;
        line-height: 2.05 !important;
        text-align: right;
    }

    .surmali-about-section-title {
        font-size: 19px !important;
    }

    .surmali-about-goals li {
        padding: 10px 38px 10px 8px !important;
        font-size: 14px;
    }

    .surmali-about-goals li::before {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .surmali-about-page *,
    .surmali-about-page *::before,
    .surmali-about-page *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}


/* ==================== SURMALI ABOUT / SINGLEPAGE FLOW ====================
 * surmali-about-page is rendered by singlepage.php through the dedicated
 * full-width branch. Therefore no viewport-height or footer-position hack
 * is needed here. The page height is its real content height.
 */
.bbc-singlepage-main:has(.surmali-about-page) {
    position: relative !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.bbc-singlepage-main:has(.surmali-about-page)::after {
    content: "";
    display: block;
    clear: both;
}

body:has(.surmali-about-page) .bbf-footer {
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin-top: 0 !important;
}
