/* ——— Panel: sidebar layout ——— */
.panel-body {
    overflow-x: hidden;
}

.panel-shell {
    width: 100%;
}

.panel-sidebar {
    width: 260px;
    flex-shrink: 0;
    background-color: #345ebf;
    color: #ffffff;
}

.panel-sidebar--desktop {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
}

.panel-sidebar__brand {
    display: block;
    padding: 1.25rem 1rem 1rem;
    text-decoration: none;
}

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

.panel-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0.75rem 1.25rem;
}

.panel-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.panel-sidebar__link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.panel-sidebar__link.active {
    background-color: #1f3f8f;
    color: #ffffff;
}

.panel-sidebar__link .ti {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.panel-sidebar__section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.panel-sidebar__section:first-of-type {
    margin-top: 0.35rem;
    padding-top: 0;
    border-top: 0;
}

.panel-sidebar__section-title {
    padding: 0.25rem 0.75rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.panel-sidebar__link--sub {
    font-size: 0.875rem;
    padding-left: 1.25rem;
}

.panel-sidebar-offcanvas {
    width: min(92vw, 300px);
    background-color: #345ebf;
    color: #ffffff;
}

.panel-main {
    background-color: #f8f9fa;
}

.panel-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.panel-topbar__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 56px;
    padding: 0.5rem 1rem;
}

.panel-topbar__menu-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.panel-topbar__logo img {
    display: block;
}

.panel-topbar__spacer {
    flex: 1;
}

.panel-topbar__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d2d2d;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.panel-topbar__nav-link:hover {
    background-color: #f2f2f2;
    color: #345ebf;
}

.panel-topbar__nav-link.active {
    background-color: rgba(52, 94, 191, 0.1);
    border-color: rgba(52, 94, 191, 0.25);
    color: #345ebf;
}

@media (max-width: 575.98px) {
    .panel-topbar__nav {
        order: 3;
        width: 100%;
        margin-top: 0.25rem;
        margin-right: 0 !important;
    }

    .panel-topbar__inner {
        flex-wrap: wrap;
    }

    .panel-topbar__nav-text {
        font-size: 0.8rem;
    }
}

.panel-content > .container-xl {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.panel-table-actions__toggle {
    background-color: #ffffff !important;
    color: #345ebf !important;
    border-color: #e0e0e0 !important;
}

.panel-table-actions__toggle:hover,
.panel-table-actions__toggle:focus-visible {
    background-color: #f2f2f2 !important;
    color: #345ebf !important;
}

.panel-table-actions .dropdown-item.delete-form-btn {
    width: 100%;
    text-align: left;
}

.bg-main-color {
    background-color: #345EBF !important;
    color: #ffffff !important;
}

.text-main-color {
    color: #38AEE4 !important;
}

.border-gray-color {
    border-color: #E0E0E0 !important;
}

.bg-gray-color {
    background-color: #F2F2F2 !important;
}

.bg-gray-color-breadcrumb {
    background-color: #F2F2F2 !important;
    padding-top: 1.5rem!important;
    padding-bottom: 1.5rem!important;
}

.active-link {
    background-color: #1F3F8F !important;
    border-radius: 5px !important;
    color: #ffffff !important;
}

.form-check-input:checked[type=checkbox] {
    background-color: #345EBF !important;
    border-color: #345EBF !important;
}

.active>.page-link,
.page-link.active {
    background-color: #345EBF !important;
    border-color: #345EBF !important;
    color: #ffffff !important;
}

.page-link {
    color: #345EBF !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    border-color: transparent !important;
}

.btn-icon {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background-color: #345EBF !important;
    color: #ffffff !important;
    border: none !important;
}

table tbody td {
    vertical-align: middle !important;
}

.btn-icon i {
    font-size: 18px !important;
    line-height: 1 !important;
}

.btn-icon.delete-form-btn {
    background-color: #DC3545 !important;
    color: #ffffff !important;
}

.swal2-confirm.swal2-styled {
    background-color: #345EBF !important;
    color: #ffffff !important;
}

.swal2-styled.swal2-cancel {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: black !important;
}

.btn-primary {
    background-color: #345EBF !important;
    border-color: #345EBF !important;
    color: #ffffff !important;
}

.btn-icon.btn-warning {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #ffffff !important;
}

.btn-icon.btn-dark {
    background-color: #343A40 !important;
    border-color: #343A40 !important;
    color: #ffffff !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #345EBF !important;
    color: #ffffff !important;
}

.required:after {
    content: "*";
    color: #DC3545;
}

.switch-links a {
    font-size: 14px;
    padding: 6px 24px;
    color: white !important;
}

.switch-links a.active {
    font-size: 14px;
    padding: 6px 24px;
    border-radius: 100px;
    background-color: #FFFFFF;
    color: #345EBF !important;
}

/* Переключатель на светлом фоне (как switch-links в шапке после прокрутки) */
.switch-links.switch-links--surface {
    border: 1px solid #E0E0E0;
    border-radius: 999px;
    background-color: white;
    overflow: hidden;
    padding: 6px;
}

.switch-links.switch-links--surface a {
    -webkit-tap-highlight-color: transparent;
    font-size: 14px;
    padding: 6px 20px;
    color: #2d2d2d !important;
}

.switch-links.switch-links--surface a svg {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.switch-links.switch-links--surface a.active {
    border-radius: 100px;
    background-color: #345ebf !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
}

.switch-links.switch-links--surface a:focus-visible {
    outline: 2px solid #345ebf;
    outline-offset: 2px;
}

/* Десктоп: внутри пилюли неактивная половина не должна совпадать с фоном шапки (#345ebf) */
.customer-header .navbar-collapse .switch-links {
    background-color: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
}

.customer-header .navbar-collapse .switch-links a {
    -webkit-tap-highlight-color: transparent;
}

.customer-header .navbar-collapse .switch-links a:focus-visible {
    outline: none;
}

.customer-header-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 100px !important;
    background-color: transparent;
}

.second-section-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
}

.second-section-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    min-width: 0;
}

.second-section-card {
    height: 320px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.second-section-card__text {
    margin-top: 0.50rem;
    font-size: 20px;
    font-weight: 600;
    color: inherit;
}

.second-section-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.second-section-card__img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
    transform: scale(1.1);
}

.second-section-card:hover .second-section-card__img {
    transform: scale(1);
}

@media (max-width: 991px) {
    .second-section-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .second-section-cards {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .second-section-card-wrap {
        flex: 0 0 255px;
        min-width: 255px;
        scroll-snap-align: start;
    }

    .second-section-card-wrap .second-section-card {
        width: 100%;
        height: 250px;
    }

    .second-section-card__text {
        font-size: 18px;
        line-height: 1.2;
    }
}

@media (min-width: 992px) {
    .second-section-cards {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        justify-content: space-between;
    }

    .second-section-card-wrap {
        flex: 1 1 0;
        transition: flex-grow 0.2s ease;
        height: 320px;
    }

    .second-section-card-wrap .second-section-card {
        width: 100%;
        height: 320px;
    }

    .transform-scale {
        transform: scale(1.9);
    }

    .second-section-cards:hover .second-section-card-wrap {
        flex-grow: 1;
    }

    .second-section-cards:hover .second-section-card-wrap .transform-scale-map {
        transform: scale(2.2) !important;
    }

    .second-section-cards:hover .second-section-card-wrap:hover {
        flex-grow: 1.5;
    }

    .second-section-cards:hover .transform-scale {
        transform: scale(1.4);
    }
}

.bg-gradient {
    background-color: rgba(52, 94, 191, 1) !important;
}

.bg-app-download {
    background: linear-gradient(180deg, #465EBB 0%, #212121 100%) !important;
}

.bg-loyalty-cards {
    background-color: #465EBB;
}

.bg-phone {
    background-color: #eaeaea;
}

.bg-where-we {
    background-color: #efddc1;
}

.new-customer-feature-card {
    position: relative;
    isolation: isolate;
}

.new-customer-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    transform-origin: center;
    transition: transform 0.2s ease;
    will-change: transform;
}

.new-customer-feature-card>* {
    position: relative;
    z-index: 1;
}

.new-customer-feature-card:hover::before {
    transform: none;
    transform: scale(2) !important;
}

.bg-app-download.new-customer-feature-card {
    background: transparent !important;
}

.bg-app-download.new-customer-feature-card::before {
    background: linear-gradient(180deg, #465EBB 0%, #212121 100%) !important;
}

.bg-loyalty-cards.new-customer-feature-card {
    background: transparent;
}

.bg-loyalty-cards.new-customer-feature-card::before {
    background-color: #465EBB;
}

.bg-phone.new-customer-feature-card {
    background: transparent;
}

.bg-phone.new-customer-feature-card::before {
    background-color: #eaeaea;
}

.bg-where-we.new-customer-feature-card {
    background: transparent;
}

.bg-where-we.new-customer-feature-card::before {
    background-color: #efddc1;
}

.second-section-card-bg-color {
    background: linear-gradient(180deg, #38AEE4 0%, #345EBF 100%) !important;
    border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
    .new-customer-feature-card::before {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .customer-header {
        position: relative;
        padding-bottom: 20px !important;
    }

    .customer-header .navbar-brand img {
        width: 120px;
        height: auto;
    }

    .customer-header .container-xl {
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        padding-bottom: 12px;
    }

    body:not(.buyers-home-overlay-header) .customer-header .container-xl,
    .customer-header-outer.is-scrolled .customer-header .container-xl {
        border-bottom-color: #e0e0e0;
    }

    .customer-header .navbar-collapse {
        margin-top: 16px;
    }

    .customer-header .navbar-nav {
        align-items: flex-start !important;
    }

    .customer-header .navbar-nav .nav-item {
        margin-left: 0 !important;
    }

    .customer-header .navbar-nav .nav-link,
    .customer-header .switch-links a {
        padding-left: 0;
        padding-right: 0;
    }

    .customer-header .switch-links {
        margin-bottom: 12px;
    }

    .customer-mobile-menu {
        width: min(92vw, 360px) !important;
        background-color: #f7f7f7;
    }

    .customer-mobile-menu .offcanvas-header {
        padding: 18px 20px;
        border-color: #e3e3e3 !important;
    }

    .customer-mobile-menu .offcanvas-body {
        padding: 16px 20px 20px;
    }

    .customer-mobile-menu .locale-switch {
        width: 100%;
    }

    .customer-mobile-close-btn {
        color: #345EBF;
        line-height: 1;
    }

    .customer-mobile-switch-links {
        display: flex;
        align-items: center;
        border-color: #d9d9d9 !important;
        background: #f7f7f7;
        overflow: hidden;
    }

    .customer-mobile-switch-links a {
        flex: 1 1 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        color: #2b2b2b !important;
        font-size: 14px;
        line-height: 1.2;
        padding: 8px 10px;
    }

    .customer-mobile-switch-links a.active {
        background-color: #345EBF;
        color: #ffffff !important;
        padding: 8px 10px !important;
    }

    .customer-mobile-nav .nav-link {
        font-weight: 500 !important;
        font-size: 16px !important;
        color: #2D2D2D !important;
        padding: 10px 0;
    }

    .customer-mobile-pill-btn {
        border: 1px solid #d9d9d9;
        border-radius: 999px;
        background: #f7f7f7;
        color: #2b2b2b;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
    }

    .customer-mobile-pill-btn:hover {
        border-color: #c6c6c6;
        background: #f2f2f2;
    }

    .customer-mobile-support small {
        display: block;
        color: #2D2D2D;
        opacity: 0.5;
        margin-bottom: 2px;
        font-size: 16px;
        font-weight: 400;
    }

    .customer-mobile-menu .border-top {
        border-color: #e3e3e3 !important;
    }

    .customer-mobile-support a {
        color: #2D2D2D;
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
        line-height: 130%;
    }

    .customer-header a {
        font-weight: 500 !important;
    }
}

/* ——— Customer header: hover + pointer для всей навигации ——— */
.customer-header .navbar-nav .nav-link,
.customer-header .navbar-collapse .switch-links a,
.customer-mobile-nav .nav-link,
.customer-mobile-switch-links a {
    transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.customer-header .navbar-nav .nav-link,
.customer-header .navbar-collapse .switch-links a,
.customer-mobile-nav .nav-link,
.customer-mobile-switch-links a {
    cursor: pointer;
}

/* Десктоп: hero поверх слайдера — белые ссылки */
body.buyers-home-overlay-header
    #customerHeaderOuter:not(.is-scrolled)
    .customer-header
    .navbar-nav
    .nav-link:hover,
body.buyers-home-overlay-header
    #customerHeaderOuter:not(.is-scrolled)
    .customer-header
    .navbar-collapse
    .switch-links
    a:not(.active):hover {
    color: rgba(255, 255, 255, 0.82) !important;
}

body.buyers-home-overlay-header
    #customerHeaderOuter:not(.is-scrolled)
    .customer-header
    .navbar-collapse
    .switch-links
    a.active:hover {
    background-color: #f0f3ff !important;
    color: #2d4d9f !important;
}

/* Десктоп: светлая шапка (скролл) или внутренние страницы */
#customerHeaderOuter.is-scrolled .customer-header .navbar-nav .nav-link:hover,
body:not(.buyers-home-overlay-header) .customer-header .navbar-nav .nav-link:hover {
    color: #345ebf !important;
}

#customerHeaderOuter.is-scrolled
    .customer-header
    .navbar-collapse
    .switch-links
    a:not(.active):hover,
body:not(.buyers-home-overlay-header)
    .customer-header
    .navbar-collapse
    .switch-links
    a:not(.active):hover {
    color: #345ebf !important;
}

#customerHeaderOuter.is-scrolled
    .customer-header
    .navbar-collapse
    .switch-links
    a.active:hover,
body:not(.buyers-home-overlay-header)
    .customer-header
    .navbar-collapse
    .switch-links
    a.active:hover {
    background-color: #2d52b0 !important;
    color: #ffffff !important;
}

/* Мобильное меню */
.customer-mobile-nav .nav-link:hover {
    color: #345ebf !important;
}

.customer-mobile-switch-links a:not(.active):hover {
    color: #345ebf !important;
}

.customer-mobile-switch-links a.active:hover {
    background-color: #2d52b0 !important;
    color: #ffffff !important;
}

.bg-fourth-section {
    background-color: rgba(242, 242, 242, 1);
}

/* ——— Customer header: sticky + white bar on scroll (логотип white → blue-red) ——— */
.customer-header-outer {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Inner pages (без hero-overlay): сразу «светлая» шапка как после прокрутки */
.customer-header-outer.is-scrolled,
body:not(.buyers-home-overlay-header) .customer-header-outer {
    background-color: #ffffff !important;
}

.customer-header-outer.is-scrolled nav.customer-header,
body:not(.buyers-home-overlay-header) .customer-header-outer nav.customer-header {
    background-color: #ffffff !important;
}

.customer-header-outer.is-scrolled .customer-header-inner,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-inner {
    border-color: #e0e0e0 !important;
    padding-bottom: 0 !important;
}

.customer-header-outer.is-scrolled .customer-header-logo--light,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-logo--light {
    display: none !important;
}

.customer-header-outer.is-scrolled .customer-header-logo--dark,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-logo--dark {
    display: block !important;
}

.customer-header-outer.is-scrolled .customer-header .nav-link,
.customer-header-outer.is-scrolled .customer-header .navbar-collapse .switch-links a:not(.active),
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header .nav-link,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header .navbar-collapse .switch-links a:not(.active) {
    color: #2d2d2d !important;
}

.customer-header-outer.is-scrolled .customer-header .navbar-collapse .switch-links,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header .navbar-collapse .switch-links {
    border-color: #d9d9d9 !important;
    background-color: #f0f0f0;
}

.customer-header-outer.is-scrolled .customer-header .navbar-collapse .switch-links a.active,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header .navbar-collapse .switch-links a.active {
    background-color: #345ebf !important;
    color: #ffffff !important;
}

.customer-header-outer.is-scrolled .customer-header-circle-btn,
.customer-header-outer.is-scrolled .customer-header-desktop-profile,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-circle-btn,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-desktop-profile {
    border-color: #d9d9d9 !important;
    color: #345ebf !important;
}

.customer-header-outer.is-scrolled .customer-header-desktop-profile svg path,
.customer-header-outer.is-scrolled .customer-header-mobile-actions .customer-header-circle-btn svg path,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-desktop-profile svg path,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-mobile-actions .customer-header-circle-btn svg path {
    fill: #345ebf !important;
}

.customer-header-outer.is-scrolled .customer-header-menu-icon,
body:not(.buyers-home-overlay-header) .customer-header-outer .customer-header-menu-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(65%) saturate(2000%) hue-rotate(210deg) brightness(0.92);
}

.customer-header-outer.is-scrolled .locale-switch .dropdown-toggle,
body:not(.buyers-home-overlay-header) .customer-header-outer .locale-switch .dropdown-toggle {
    color: #345ebf !important;
    border-color: #d9d9d9 !important;
}

.customer-header-outer.is-scrolled .locale-switch .dropdown-toggle svg path,
.customer-header-outer.is-scrolled .locale-switch .dropdown-toggle svg g path,
body:not(.buyers-home-overlay-header) .customer-header-outer .locale-switch .dropdown-toggle svg path,
body:not(.buyers-home-overlay-header) .customer-header-outer .locale-switch .dropdown-toggle svg g path {
    fill: #345ebf !important;
}

/* ——— Customer breadcrumb (<x-customer.breadcrumb>) ——— */
nav.customer-breadcrumb {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

nav.customer-breadcrumb .customer-breadcrumb-list {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav.customer-breadcrumb .customer-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #6b6b6b;
}

nav.customer-breadcrumb .customer-breadcrumb-item:not(:first-child)::before {
    content: "»";
    margin: 0 12px;
    letter-spacing: -1px;
    opacity: 0.45;
}

nav.customer-breadcrumb .customer-breadcrumb-item a {
    color: #2d2d2d;
    text-decoration: none;
}

nav.customer-breadcrumb .customer-breadcrumb-item a:hover {
    text-decoration: underline;
}

nav.customer-breadcrumb .customer-breadcrumb-item.is-active,
nav.customer-breadcrumb .customer-breadcrumb-item.is-active span {
    color: #2d2d2d;
    font-weight: 500;
}

/* Loyalty hero: theme="hero" → класс customer-breadcrumb--hero; белый текст (!important — перебить Bootstrap link) */
nav.customer-breadcrumb.customer-breadcrumb--hero {
    position: absolute;
    left: max(12px, calc((100vw - 1320px) / 2 + 12px));
    bottom: 60px;
    z-index: 3;
    font-size: 15px;
    font-weight: 400;
    color: #ffffff !important;
}

nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item {
    color: #ffffff !important;
}

nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item:not(:first-child)::before {
    margin: 0 25px;
    color: rgba(255, 255, 255, 0.55) !important;
    opacity: 1;
}

nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item a {
    color: #ffffff !important;
    text-decoration: none;
}

nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item.is-active,
nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item.is-active span {
    color: #ffffff !important;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    nav.customer-breadcrumb.customer-breadcrumb--hero {
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
        font-size: 13px;
    }

    nav.customer-breadcrumb.customer-breadcrumb--hero .customer-breadcrumb-item:not(:first-child)::before {
        margin: 0 9px;
    }
}

/* ——— Customer filter controls (search + select, e.g. loyalty cards) ——— */
.customer-filter-input,
.customer-filter-select {
    height: 48px!important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    font-size: 16px!important;
    font-weight: 500!important;
    color: #2d2d2d!important;
    box-shadow: none !important;
}

.customer-filter-input {
    padding-left: 16px;
    padding-right: 48px;
}

.customer-filter-input::placeholder {
    color: #bfbfbf !important;
}

.customer-filter-input:focus,
.customer-filter-select:focus {
    border-color: #c6c6c6 !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 94, 191, 0.12) !important;
}

.customer-filter-field--search .customer-filter-input__icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.85;
}

.customer-filter-select {
    padding-left: 16px;
    padding-right: 42px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%232d2d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
}

.customer-filter-select option[value=""] {
    color: #bfbfbf;
}

/* ——— Product cards + modal (products page) ——— */
.buyers-product-card--desktop {
    background-color: #f2f2f2 !important;
    border-radius: 20px !important;
    padding: 10px !important;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.buyers-product-card--desktop:hover {
    background-color: rgba(52, 94, 191, 0.1) !important;
    border: 1px solid #345ebf;
}

.buyers-product-card--desktop img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

.buyers-product-card__category {
    background-color: rgba(56, 174, 228, 1);
    padding: 8px 12px;
    border-radius: 100px;
    width: fit-content;
    font-weight: 600;
}

.buyers-product-card__text {
    color: rgba(45, 45, 45, 1);
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    height: calc(1.6em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buyers-product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.buyers-product-card__price {
    color: rgba(45, 45, 45, 1);
    font-size: 20px;
    font-weight: 700;
    line-height: 160%;
    margin-top: auto;
}

.js-product-modal-trigger {
    cursor: pointer;
}

.buyers-product-modal-content {
    border-radius: 18px;
    background: #f4f4f4;
}

.buyers-product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.buyers-product-modal-main-image {
    height: 320px;
    object-fit: contain;
}

.buyers-product-modal-thumb {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    padding: 2px;
    background: #fff;
}

.buyers-product-modal-thumb.is-active {
    border-color: #345ebf;
    box-shadow: 0 0 0 1px #345ebf inset;
}

.buyers-product-modal-title {
    color: #2d2d2d;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.buyers-product-modal-price {
    color: #2d2d2d;
    font-size: 48px;
    font-weight: 700;
}

.buyers-product-modal-price .currency {
    color: rgba(56, 174, 228, 1);
    font-size: 36px;
    font-weight: 700;
}

.buyers-product-modal-description {
    color: #575757;
    font-size: 18px;
    line-height: 1.5;
}

.buyers-product-modal-attribute-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    color: #7b7b7b;
    font-size: 16px;
}

.buyers-product-modal-attribute-name {
    flex: 0 0 auto;
    white-space: nowrap;
}

.buyers-product-modal-attribute-dots {
    flex: 1;
    border-bottom: 1px dashed #d9d9d9;
    transform: translateY(-4px);
}

.buyers-product-modal-attribute-value {
    flex: 0 0 auto;
    color: #4b4b4b;
    white-space: nowrap;
}

.products-sidebar h6 {
    color: #2d2d2d;
    font-size: 16px;
    font-weight: 600;
}

.products-sidebar .customer-filter-input,
.products-sidebar .customer-filter-select {
    height: 42px;
    font-size: 14px;
}

.product-name-highlight {
    background-color: #fff176;
    color: #2d2d2d;
    padding: 0 3px;
    border-radius: 3px;
}

@media (max-width: 767.98px) {
    .buyers-product-card img {
        height: 295px;
    }

    .buyers-product-modal-main-image {
        height: 220px;
    }

    .buyers-product-modal-title {
        font-size: 26px;
    }

    .buyers-product-modal-price {
        font-size: 34px;
    }

    .buyers-product-modal-price .currency {
        font-size: 26px;
    }
}

.text-dark-gray {
    color: #2d2d2d;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}