@import url('roboto.css');

/* custom css */

:root {
    --ag-z-base: 1;
    --ag-z-dropdown: 1000;
    --ag-z-sticky: 1020;
    --ag-z-fixed: 1030;
    --ag-z-offcanvas-backdrop: 1040;
    --ag-z-offcanvas: 1045;
    --ag-z-modal-backdrop: 1050;
    --ag-z-modal: 1055;
    --ag-z-popover: 1070;
    --ag-z-tooltip: 1080;
    --ag-z-toast: 1090;
    --ag-z-loader: 1095;

    --bs-dropdown-zindex: var(--ag-z-dropdown);
    --bs-sticky-zindex: var(--ag-z-sticky);
    --bs-fixed-zindex: var(--ag-z-fixed);
    --bs-offcanvas-backdrop-zindex: var(--ag-z-offcanvas-backdrop);
    --bs-offcanvas-zindex: var(--ag-z-offcanvas);
    --bs-modal-backdrop-zindex: var(--ag-z-modal-backdrop);
    --bs-modal-zindex: var(--ag-z-modal);
    --bs-popover-zindex: var(--ag-z-popover);
    --bs-tooltip-zindex: var(--ag-z-tooltip);
    --bs-toast-zindex: var(--ag-z-toast);
    --bs-btn-box-shadow: none;
    --bs-btn-focus-box-shadow: none;
}

.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.show {
    box-shadow: none !important;
}

.btn:focus-visible {
    outline: 2px solid rgba(47, 158, 68, 0.35);
    outline-offset: 2px;
    box-shadow: none !important;
}

html {
    scrollbar-gutter: stable;
    background-color: #fff !important;
}

body {
    background-color: #fff !important;
    color: #111;
}

body.bg-light {
    background-color: #fff !important;
}

.bg-body-tertiary {
    background-color: #fff !important;
}

.ag-site-footer {
    background: #f5f5f5;
    color: #41566d;
    border-top: 1px solid #e5e5e5;
}

.ag-site-footer > .container,
.ag-site-footer-bottom > .container {
    padding-left: clamp(1rem, 2.2vw, 2.25rem);
    padding-right: clamp(1rem, 2.2vw, 2.25rem);
}

.ag-footer-title {
    color: #1f344c;
    font-size: 0.79rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-height: 1.2rem;
}

.ag-footer-about {
    color: #5c6a7f;
    line-height: 1.55;
    max-width: 28rem;
}

.ag-footer-logo img {
    width: 100%;
    max-width: 190px;
    height: auto;
    opacity: 0.94;
}

.ag-footer-about p:last-child {
    margin-bottom: 0;
}

.ag-footer-col {
    display: flex;
    align-items: flex-start;
}

.ag-footer-links li {
    margin-bottom: 0 !important;
}

.ag-footer-links {
    display: block;
}

.ag-footer-links-minimal {
    margin-left: 0;
}

.ag-footer-link {
    color: #2f465f;
    font-size: 0.86rem;
    line-height: 1.3;
    display: inline-block;
    transition: color 0.18s ease;
    font-weight: 500;
}

.ag-footer-link:hover {
    color: #16324f;
}

.ag-footer-link:focus-visible {
    outline: 2px solid #8ab6e0;
    outline-offset: 2px;
    border-radius: 3px;
}

.ag-site-footer-bottom {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    color: #5b6c82;
    padding: 0.45rem 0 !important;
}

.ag-site-footer-bottom .container {
    line-height: 1.2;
    min-height: 1.5rem;
}

.ag-footer-bottom-title {
    display: inline-block;
}

.ag-footer-rss-link {
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid #d5d5d5;
    border-radius: 999px;
    color: #5b6c82;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.ag-footer-rss-link:hover,
.ag-footer-rss-link:focus-visible {
    color: #2f9e44;
    border-color: #2f9e44;
    background: #eef8f1;
}

/* Product offers list */
.ag-offer-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
}

.ag-offer-main {
    min-width: 0;
}

.ag-offer-title {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ag-offer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.ag-offer-host {
    overflow-wrap: anywhere;
}

.ag-offer-pack {
    max-width: 100%;
    font-weight: 500;
    white-space: nowrap;
}

.ag-offer-price {
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ag-offer-currency {
    font-size: 0.78rem;
}

.ag-offer-buy-btn {
    min-width: 88px;
}

@media (min-width: 992px) {
    .ag-offer-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .ag-offer-main {
        flex: 1 1 auto;
        padding-right: 1rem;
    }

    .ag-offer-side {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 0 0 auto;
        margin-left: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .ag-offer-side {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        width: 100%;
    }

    .ag-offer-buy-btn {
        flex: 0 0 auto;
    }

    .ag-offer-pack {
        white-space: normal;
    }
}

.ag-footer-bottom-note {
    color: #64758a;
}

@media (max-width: 991.98px) {
    .ag-site-footer .container.py-5 {
        padding-top: 1.2rem !important;
        padding-bottom: 1.2rem !important;
    }
}

@media (max-width: 767.98px) {
    .ag-site-footer .container.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .ag-footer-col {
        justify-content: flex-start;
    }

    .ag-footer-link {
        font-size: 0.82rem;
        line-height: 1.3;
    }
}

.ag-catalog-trigger {
    --bs-btn-focus-box-shadow: none;
    border: 1px solid #1f9d54;
    background: linear-gradient(135deg, #2faa57 0%, #248e49 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    padding: 0.42rem 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.ag-catalog-trigger:hover,
.ag-catalog-trigger:focus,
.ag-catalog-trigger:active,
.ag-catalog-trigger.show {
    color: #fff;
    border-color: #1f9d54;
    filter: brightness(1.06);
}

.ag-catalog-trigger-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1;
}

.ag-catalog-mega-menu {
    width: 100%;
    min-width: 100%;
    left: 0 !important;
    right: 0;
    margin-top: 0.75rem !important;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
    z-index: var(--ag-z-dropdown);
}

.ag-catalog-mega-scroll {
    max-height: min(76vh, 780px);
    overflow: auto;
    padding: 0.75rem;
}

.ag-catalog-mobile-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.35rem 0.15rem 0.55rem;
    background: #fff;
    border-bottom: 1px solid #e7eef7;
    margin-bottom: 0.45rem;
}

.ag-catalog-mobile-title {
    color: #183452;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.ag-catalog-close {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d7e3f3;
    border-radius: 9px;
    background: #fff;
    color: #48627e;
    font-size: 1.3rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ag-catalog-close:hover {
    background: #f6faff;
    border-color: #c4d6eb;
    color: #2e4d6b;
}

.ag-catalog-mega-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 0.8rem;
    min-height: 420px;
}

.ag-catalog-side {
    border: 1px solid #e5edf7;
    border-radius: 12px;
    background: #fff;
    padding: 0.35rem;
    overflow: auto;
}

.ag-catalog-side-item {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: #2f455c;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.56rem 0.64rem;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
}

.ag-catalog-side-item:hover {
    background: #f5f9ff;
    border-color: #dce8f7;
    color: #162c45;
}

.ag-catalog-side-item.active,
.ag-catalog-side-item.is-active {
    background: #eef8f1;
    border-color: #b9dfc4;
    color: #133521;
}

.ag-catalog-side-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ag-catalog-side-arrow {
    flex: 0 0 auto;
    color: #9bb0c6;
    font-size: 1rem;
}

.ag-catalog-content {
    border: 1px solid #e5edf7;
    border-radius: 12px;
    background: #fff;
    padding: 0.7rem;
    overflow: auto;
}

.ag-catalog-panel {
    display: none;
}

.ag-catalog-panel.active,
.ag-catalog-panel.is-active {
    display: block;
}

.ag-catalog-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.2rem 0.2rem 0.6rem;
    border-bottom: 1px solid #edf3fb;
    margin-bottom: 0.35rem;
}

.ag-catalog-panel-title {
    color: #17324f;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.ag-catalog-panel-title:hover {
    color: #0f2741;
}

.ag-catalog-panel-go {
    color: #2f6ebd;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ag-catalog-panel-go:hover {
    color: #1e5aa5;
}

.ag-catalog-panel-list {
    list-style: none;
    margin: 0;
    padding: 0.1rem;
    columns: 2;
    column-gap: 1rem;
}

.ag-catalog-sub-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 360px;
}

.ag-catalog-sub-side {
    border: 1px solid #e8eff8;
    border-radius: 10px;
    padding: 0.35rem;
    overflow: auto;
}

.ag-catalog-sub-side-item {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: #334b62;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.46rem 0.56rem;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.22;
}

.ag-catalog-sub-side-item:hover {
    background: #f5f9ff;
    border-color: #dce8f7;
    color: #162c45;
}

.ag-catalog-sub-side-item.active,
.ag-catalog-sub-side-item.is-active {
    background: #eef8f1;
    border-color: #b9dfc4;
    color: #133521;
}

.ag-catalog-sub-side-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ag-catalog-sub-side-arrow {
    flex: 0 0 auto;
    color: #9bb0c6;
    font-size: 0.95rem;
}

.ag-catalog-sub-content {
    border: 1px solid #e8eff8;
    border-radius: 10px;
    padding: 0.55rem;
    overflow: auto;
}

.ag-catalog-sub-panel {
    display: none;
}

.ag-catalog-sub-panel.active,
.ag-catalog-sub-panel.is-active {
    display: block;
}

.ag-catalog-sub-panel-head {
    padding: 0.1rem 0.2rem 0.45rem;
    border-bottom: 1px solid #edf3fb;
    margin-bottom: 0.3rem;
}

.ag-catalog-sub-panel-title {
    color: #1d3856;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.ag-catalog-sub-panel-title:hover {
    color: #102841;
}

.ag-catalog-panel-list-inner {
    columns: 2;
}

@media (min-width: 1400px) {
    .ag-catalog-panel-list {
        columns: 3;
        column-gap: 1.2rem;
    }
}

@media (min-width: 1800px) {
    .ag-catalog-panel-list {
        columns: 4;
        column-gap: 1.3rem;
    }
}

@media (max-width: 1199.98px) {
    .ag-catalog-mega-layout {
        grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    }

    .ag-catalog-sub-layout {
        grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    }

    .ag-catalog-panel-list {
        columns: 2;
    }
}

@media (min-width: 1200px) {
    .ag-header-main-row .ag-catalog-mega-menu,
    .ag-header-main-row .ag-catalog-mega-menu[data-bs-popper],
    .ag-header-main-row .ag-catalog-mega-menu[data-popper-placement] {
        top: auto !important;
        left: calc(var(--bs-gutter-x, 0rem) * 0.5) !important;
        right: calc(var(--bs-gutter-x, 0rem) * 0.5) !important;
        transform: none !important;
        margin-top: 0 !important;
        inset: calc(100% + 0.75rem) calc(var(--bs-gutter-x, 0rem) * 0.5) auto calc(var(--bs-gutter-x, 0rem) * 0.5) !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

.ag-catalog-tree-item {
    margin: 0;
    break-inside: avoid;
}

.ag-catalog-branch {
    margin: 0;
}

.ag-catalog-branch > summary {
    list-style: none;
}

.ag-catalog-branch > summary::-webkit-details-marker {
    display: none;
}

.ag-catalog-tree-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
    color: #324861;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.36rem 0.5rem;
    padding-left: calc(0.5rem + (var(--ag-depth, 1) - 1) * 0.55rem);
    font-size: 0.84rem;
    line-height: 1.25;
}

.ag-catalog-tree-toggle {
    cursor: pointer;
}

.ag-catalog-tree-expand {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #d7e3f3;
    border-radius: 7px;
    background: #fff;
    color: #6f879f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.ag-catalog-tree-expand:hover {
    border-color: #c4d6eb;
    background: #f6faff;
    color: #3b5978;
}

.ag-catalog-tree-direct-link {
    min-width: 0;
    flex: 1 1 auto;
    color: inherit;
    text-decoration: none;
}

.ag-catalog-tree-direct-link:hover {
    color: inherit;
    text-decoration: underline;
}

.ag-catalog-tree-label {
    min-width: 0;
}

.ag-catalog-tree-mobile-go {
    display: none;
    margin: 0.08rem 0 0.34rem calc(0.5rem + (var(--ag-depth, 1) * 0.55rem));
    color: #2f6ebd;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.ag-catalog-tree-mobile-go:hover {
    color: #1e5aa5;
}

.ag-catalog-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ag-catalog-tree-link:hover {
    background: #f7faff;
    color: #172b42;
}

.ag-catalog-tree-link.active,
.ag-catalog-tree-link.is-active {
    background: #eef8f1;
    border-color: #b9dfc4;
    color: #133521;
    font-weight: 600;
}

.ag-catalog-tree-mobile-go.active,
.ag-catalog-tree-mobile-go.is-active {
    color: #133521;
}

.ag-catalog-branch.is-path > .ag-catalog-tree-toggle {
    background: transparent;
}

.ag-catalog-caret {
    color: #9aa9bb;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.08rem;
    transition: transform 0.15s ease;
}

.ag-catalog-branch[open] > .ag-catalog-tree-toggle .ag-catalog-caret {
    transform: rotate(45deg);
}

.ag-catalog-quick {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.35rem;
    overflow: hidden;
}

.ag-catalog-quick-link {
    display: inline-block;
    min-width: 0;
    max-width: 210px;
    border-radius: 999px;
    border: 1px solid #dce7f3;
    background: #fff;
    color: #33485f;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.36rem 0.7rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ag-catalog-quick-link:hover {
    border-color: #bfd3eb;
    background: #f7fbff;
    color: #172b42;
}

.ag-catalog-caret {
    color: #99a8ba;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .ag-header-main-row {
        justify-content: flex-start;
    }

    .ag-catalog-trigger {
        width: 100%;
        justify-content: center;
        font-size: 0.88rem;
    }

    .ag-catalog-mega-menu {
        position: fixed !important;
        inset: 0.7rem;
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0 !important;
        left: auto !important;
        right: auto;
        border-radius: 14px;
    }

    .ag-catalog-mega-scroll {
        max-height: calc(100vh - 1.8rem);
        padding: 0.6rem;
    }

    .ag-catalog-mega-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0.55rem;
    }

    .ag-catalog-sub-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0.55rem;
    }

    .ag-catalog-side,
    .ag-catalog-sub-side,
    .ag-catalog-content,
    .ag-catalog-sub-content {
        max-height: none;
        overflow: visible;
    }

    .ag-catalog-side-item,
    .ag-catalog-sub-side-item {
        min-height: 42px;
        font-size: 0.86rem;
    }

    .ag-catalog-panel-head {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.35rem 0.6rem;
    }

    .ag-catalog-tree-link {
        font-size: 0.86rem;
        min-height: 40px;
        align-items: center;
    }

    .ag-catalog-tree-expand {
        width: 1.85rem;
        height: 1.85rem;
        border-radius: 9px;
    }

    .ag-catalog-caret {
        font-size: 1rem;
    }

    .ag-catalog-panel-list {
        columns: 1;
        padding: 0;
    }

    .ag-catalog-panel-list-inner {
        columns: 1;
        padding: 0;
    }

    .ag-catalog-tree-mobile-go {
        display: inline-block;
    }
}

@media (max-width: 767.98px) {
    .ag-catalog-mega-menu {
        inset: 0;
        border-radius: 0;
    }

    .ag-catalog-mega-scroll {
        max-height: 100vh;
        padding: 0.45rem;
    }

    .ag-catalog-trigger {
        font-size: 0.84rem;
    }

    .ag-catalog-side-item,
    .ag-catalog-sub-side-item,
    .ag-catalog-tree-link {
        border-radius: 8px;
    }

    .ag-catalog-sub-panel-head {
        padding: 0.1rem 0 0.35rem;
    }
}

@media (max-width: 1199.98px) {
    .ag-catalog-mega-menu,
    .ag-catalog-mega-menu[data-bs-popper],
    .ag-catalog-mega-menu[data-popper-placement] {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: none !important;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: var(--ag-z-offcanvas);
    }

    .ag-catalog-mega-scroll {
        height: 100dvh;
        max-height: 100dvh;
        overflow: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .ag-catalog-mobile-head {
        display: flex;
    }
}

html.ag-catalog-open,
body.ag-catalog-open {
    overflow: hidden !important;
}

.ag-catalog-shell {
    max-width: 1820px;
    margin-left: auto;
    margin-right: auto;
}

.ag-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.18rem 0;
    position: relative;
    z-index: 0;
}

.ag-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f5f5;
    z-index: -1;
    pointer-events: none;
}

.ag-topbar-categories {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    white-space: nowrap;
}

.ag-topbar-link,
.ag-topbar-more-btn {
    border: 1px solid #dde7f2;
    border-radius: 999px;
    background: #fff;
    color: #2b3c50;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.32rem 0.7rem;
    white-space: nowrap;
}

.ag-topbar-link:hover,
.ag-topbar-more-btn:hover {
    border-color: #cad9ea;
    background: #f7fbff;
    color: #1d2f43;
}

.ag-topbar-link.active,
.ag-topbar-link.is-active,
.ag-topbar-more-btn.active,
.ag-topbar-more-btn.is-active {
    border-color: #2faa57;
    background: #eef8f1;
    color: #153722;
}

.ag-topbar-more .dropdown-menu {
    border-radius: 0.45rem;
    border-color: #dce7f2;
    padding: 0.45rem;
    min-width: 220px;
}

.ag-topbar-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.ag-locale-trigger {
    border: 1px solid #d1deeb;
    border-radius: 999px;
    background: #fff;
    color: #223548;
    box-shadow: none !important;
    min-height: 2rem;
    padding: 0.3rem 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    white-space: nowrap;
}

.ag-locale-trigger:hover,
.ag-locale-trigger:focus,
.ag-locale-trigger.show {
    border-color: #bdd0e3;
    background: #f7fbff;
    color: #192c40;
}

.ag-locale-trigger-label {
    font-size: 0.77rem;
    color: #60768f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ag-locale-trigger-value {
    font-size: 0.83rem;
    font-weight: 700;
    color: #223548;
}

.ag-locale-separator {
    margin: 0 0.2rem;
    color: #92a8c0;
}

.ag-locale-menu {
    min-width: 360px;
    border: 1px solid #dce7f2;
    border-radius: 0.5rem;
    padding: 0.65rem;
}

.ag-locale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.ag-locale-col {
    border: 1px solid #e5edf6;
    border-radius: 0.42rem;
    padding: 0.55rem;
    background: #fff;
}

.ag-locale-title {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #627891;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.ag-locale-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.24rem;
}

.ag-locale-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    border: 1px solid transparent;
    border-radius: 0.36rem;
    padding: 0.34rem 0.45rem;
    color: #2b3f56;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}

.ag-locale-option:hover {
    background: #f7fbff;
    border-color: #d4e3f3;
    color: #17314b;
}

.ag-locale-option.active,
.ag-locale-option.is-active {
    background: #eef8f1;
    border-color: #b9dfc4;
    color: #153722;
}

@media (max-width: 991.98px) {
    .ag-topbar {
        display: block !important;
        gap: 0.35rem;
        overflow: hidden;
    }

    .ag-topbar-link,
    .ag-topbar-more-btn {
        font-size: 0.79rem;
        padding: 0.28rem 0.62rem;
    }

    .ag-topbar-categories {
        max-width: 100%;
        gap: 0.24rem;
        padding-bottom: 0.08rem;
    }

    .ag-topbar-controls {
        display: block;
        text-align: left;
        width: 100%;
        margin-top: 0.2rem;
    }

    .ag-locale-switcher {
        display: inline-block;
    }

    .ag-locale-trigger-label {
        display: none;
    }

    .ag-locale-menu {
        min-width: min(320px, calc(100vw - 1rem));
    }

    .ag-locale-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --ag-header-vpad: 0.62rem;
    --ag-header-hpad: 0.9rem;
    --ag-logo-max: 224px;
    --ag-header-control-h: 2.75rem;
    --ag-header-actions-gap: 0.45rem;
    --ag-mobile-trigger-size: 2.5rem;
    --ag-header-col-gap: 0.55rem;
}

.ag-header-main-row {
    row-gap: 0.5rem;
    column-gap: var(--ag-header-col-gap);
    align-items: center !important;
    padding-top: var(--ag-header-vpad);
    padding-bottom: var(--ag-header-vpad);
    padding-left: var(--ag-header-hpad);
    padding-right: var(--ag-header-hpad);
    position: relative;
    z-index: auto;
    isolation: auto;
    overflow: visible;
}

.ag-header-main-row.ag-header-panel--flat {
    background: #fff;
    border: 1px solid #e2eaf3;
    border-radius: 10px;
    box-shadow: none;
}

.ag-header-main-row.ag-header-panel--premium {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ag-header-main-row.ag-header-panel--premium::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    border-bottom: 1px solid #e5edf6;
    pointer-events: none;
}

.ag-header-main-row::before {
    display: none;
}

.ag-header-main-row.ag-header-panel--premium::before {
    display: none;
}

.ag-header-main-row .mm-50 {
    display: inline-flex;
    align-items: center;
}

@media (min-width: 992px) {
    .ag-header-user-col {
        margin-left: 0.65rem;
    }

    .ag-header-logo-col {
        max-width: 260px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: center;
    }

    .ag-header-search-col .ag-search-form {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .ag-header-logo-col img {
        max-width: var(--ag-logo-max) !important;
    }
}

.ag-header-logo-col img {
    width: 100%;
    height: auto;
    max-width: var(--ag-logo-max) !important;
}

.ag-header-catalog-col,
.ag-header-search-col,
.ag-header-user-col {
    min-width: 0;
    display: flex;
    align-items: center;
}

.ag-header-catalog-col,
.ag-header-user-col {
    z-index: auto;
}

.ag-header-catalog-col {
    justify-content: center !important;
}

.ag-header-search-col .ag-search-form {
    width: 100%;
}

.ag-header-catalog-col .ag-catalog-wrap,
.ag-header-catalog-col .ag-catalog-mega,
.ag-header-catalog-col .ag-catalog-trigger {
    width: auto !important;
}

.ag-header-catalog-col .ag-catalog-wrap,
.ag-header-catalog-col .ag-catalog-mega {
    z-index: auto;
}

.ag-catalog-wrap {
    padding-top: 0.5rem;
}

.ag-header-catalog-col .ag-catalog-wrap {
    padding-top: 0;
}

.ag-search-form .input-group > .form-control,
.ag-search-form .input-group > .btn {
    min-height: var(--ag-header-control-h);
}

.ag-search-form .form-control {
    border-radius: 0.6rem 0 0 0.6rem;
    background: #fff;
}

.ag-search-form .btn {
    border-radius: 0 0.6rem 0.6rem 0;
}

.ag-header-user-dropdown .dropdown-menu {
    min-width: 220px;
    padding: 0.45rem;
    z-index: var(--ag-z-dropdown);
}

.ag-header-user-btn,
.ag-locale-switcher .ag-locale-icon-btn {
    --bs-btn-focus-box-shadow: none;
    --bs-btn-color: #243548;
    --bs-btn-hover-color: #1f3144;
    --bs-btn-active-color: #1f3144;
    --bs-btn-bg: #fff;
    --bs-btn-hover-bg: #f6f8fa;
    --bs-btn-active-bg: #f6f8fa;
    --bs-btn-border-color: #c9d8e8;
    --bs-btn-hover-border-color: #c2cedb;
    --bs-btn-active-border-color: #c2cedb;
}

.ag-header-user-btn {
    min-height: var(--ag-header-control-h);
}

.ag-header-user-avatar {
    width: 2rem;
    height: 2rem;
}

.ag-header-user-dropdown .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.92rem;
}

.ag-header-user-dropdown .dropdown-item i {
    width: 1rem;
    text-align: center;
}

.ag-user-lang-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c8198;
}

.ag-header-user-col .ag-header-user-btn {
    justify-content: center;
    white-space: nowrap;
}

.ag-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: var(--ag-z-fixed);
}

.ag-locale-switcher .ag-locale-icon-btn {
    min-height: var(--ag-header-control-h);
    min-width: var(--ag-header-control-h);
    padding: 0 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ag-locale-switcher .ag-locale-icon-btn::after {
    margin-left: 0.4rem;
}

.ag-header-user-btn:hover,
.ag-header-user-btn:focus,
.ag-header-user-btn.show,
.ag-locale-switcher .ag-locale-icon-btn:hover,
.ag-locale-switcher .ag-locale-icon-btn:focus,
.ag-locale-switcher .ag-locale-icon-btn.show {
    background: #f6f8fa;
    border-color: #c2cedb;
    color: #1f3144;
    box-shadow: none !important;
}

.ag-locale-switcher .dropdown-menu {
    z-index: var(--ag-z-dropdown);
}

.ag-locale-switcher,
.ag-header-user-dropdown {
    position: relative;
    z-index: var(--ag-z-fixed);
}

@media (min-width: 992px) {
    .ag-header-user-dropdown .dropdown-menu,
    .ag-locale-switcher .dropdown-menu {
        max-width: calc(100vw - 2rem);
    }

    .ag-header-user-dropdown .dropdown-menu[data-bs-popper],
    .ag-header-user-dropdown .dropdown-menu[data-popper-placement],
    .ag-locale-switcher .dropdown-menu[data-bs-popper],
    .ag-locale-switcher .dropdown-menu[data-popper-placement] {
        left: auto !important;
        right: 0 !important;
        inset: auto 0 auto auto !important;
        transform: none !important;
        margin-top: 0.45rem !important;
    }
}

@media (max-width: 991.98px) {
    .ag-header-main-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 0.4rem;
        padding-top: 0.48rem;
        padding-bottom: 0.68rem;
        padding-left: 0;
        padding-right: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        z-index: 10;
    }

    .ag-header-main-row > [class*='col-'] {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    .ag-header-main-row.ag-header-panel--premium::before {
        display: none;
    }

    .ag-header-logo-col {
        order: 1;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        text-align: left !important;
        padding-right: 0.35rem !important;
    }

    .ag-header-mobile-col {
        order: 2;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
    }

    .ag-header-catalog-col {
        order: 2;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: auto;
        margin-right: 0.28rem;
        justify-content: flex-end !important;
        padding-right: 0 !important;
    }

    .ag-header-user-col {
        order: 3;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: 0.28rem;
        justify-content: flex-end !important;
        padding-left: 0 !important;
    }

    .ag-header-search-col {
        order: 4;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ag-header-search-col .ag-search-form {
        margin-top: 0.18rem;
    }

    .ag-header-user-label {
        display: none;
    }

    .ag-header-actions {
        gap: var(--ag-header-actions-gap);
    }

    .ag-header-catalog-col .ag-catalog-trigger,
    .ag-locale-switcher .ag-locale-icon-btn,
    .ag-header-user-btn {
        width: var(--ag-header-control-h) !important;
        min-width: var(--ag-header-control-h);
        height: var(--ag-header-control-h);
        min-height: var(--ag-header-control-h);
        padding: 0 !important;
        border-radius: 0.6rem;
        border: 1px solid #c9d8e8 !important;
        background: #fff !important;
        color: #243548 !important;
        box-shadow: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .ag-header-catalog-col .ag-catalog-trigger:hover,
    .ag-header-catalog-col .ag-catalog-trigger:focus,
    .ag-header-catalog-col .ag-catalog-trigger:active,
    .ag-header-catalog-col .ag-catalog-trigger.show,
    .ag-locale-switcher .ag-locale-icon-btn:hover,
    .ag-locale-switcher .ag-locale-icon-btn:focus,
    .ag-locale-switcher .ag-locale-icon-btn.show,
    .ag-header-user-btn:hover,
    .ag-header-user-btn:focus,
    .ag-header-user-btn.show {
        background: #f6f8fa !important;
        border-color: #c2cedb !important;
        color: #1f3144 !important;
        box-shadow: none !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger .text-nowrap {
        display: none !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger::after {
        display: none !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger .ag-catalog-trigger-icon {
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        color: inherit;
        font-size: 0.9rem;
        margin: 0;
    }

    .ag-header-user-dropdown .dropdown-menu {
        min-width: 250px;
        width: auto;
    }

    .ag-header-user-dropdown .dropdown-menu {
        right: 0;
        left: auto;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .ag-header-main-row {
        row-gap: 0.45rem;
        padding-top: var(--ag-header-vpad);
        padding-bottom: var(--ag-header-vpad);
    }

    .ag-header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 280px !important;
        text-align: left !important;
        padding-top: 0.2rem !important;
        padding-bottom: 0.1rem !important;
    }

    .ag-header-logo-col img {
        max-width: var(--ag-logo-max) !important;
    }

    .ag-header-logo-col {
        max-width: 320px !important;
    }
}

@media (max-width: 575.98px) {
    html,
    body {
        overflow-x: hidden;
    }

    .ag-catalog-shell {
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }

    .ag-header-main-row {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        row-gap: 0.2rem;
        column-gap: 0.35rem;
        padding-top: 0.25rem;
    }

    .ag-header-main-row > [class*='col-'] {
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
    }

    .ag-header-logo-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        text-align: left !important;
    }

    .ag-header-logo-col img {
        max-width: var(--ag-logo-max) !important;
    }

    .ag-header-mobile-col {
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center;
        margin-left: auto !important;
        padding-left: 0 !important;
    }

    .ag-breadcrumbs {
        overflow-x: visible;
    }

    .ag-breadcrumbs .breadcrumb {
        min-width: 0 !important;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .ag-header-main-row {
        row-gap: 0;
        flex-wrap: nowrap !important;
        column-gap: var(--ag-header-col-gap);
    }

    .ag-header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 200px !important;
        display: flex;
        align-items: center;
        text-align: left !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-width: 170px !important;
    }

    .ag-header-logo-col .mm-50 {
        display: inline-flex;
        align-items: center;
        margin: 0;
    }

    .ag-header-logo-col img {
        max-width: var(--ag-logo-max) !important;
        display: block;
        transform: none;
    }

    .ag-header-catalog-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }

    .ag-header-search-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .ag-header-user-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        justify-content: flex-end !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger {
        min-height: var(--ag-header-control-h);
        width: var(--ag-header-control-h) !important;
        min-width: var(--ag-header-control-h) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger .text-nowrap {
        display: none !important;
    }

    .ag-header-catalog-col .ag-catalog-trigger::after {
        display: none !important;
    }

    .ag-header-user-label {
        display: none !important;
    }

    .ag-header-actions {
        gap: var(--ag-header-actions-gap);
    }
}

@media (min-width: 1200px) {
    :root {
        --ag-header-vpad: 0.85rem;
        --ag-header-hpad: 1rem;
        --ag-header-actions-gap: 0.52rem;
        --ag-header-col-gap: 0.75rem;
    }

    .ag-header-logo-col .mm-50 {
        transform: translateY(3px);
    }
}

.ag-category-card {
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 39, 68, 0.08) !important;
}

.ag-category-header {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%) !important;
    color: #1b2f47;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid #e5edf7 !important;
    padding: 0.85rem 1rem;
}

.ag-category-list {
    padding: 0.5rem;
    max-height: min(62vh, 760px);
    overflow-y: auto;
}

.ag-category-item {
    position: relative;
    gap: 0.75rem;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.62rem 0.75rem;
    margin-bottom: 0.35rem;
    background: transparent;
    color: #334155;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.ag-category-item:last-child {
    margin-bottom: 0;
}

.ag-category-item:hover {
    background-color: #f8fbff;
    border-color: #d8e5f5;
    color: #0f172a;
}

.ag-category-item.active,
.ag-category-item.is-active,
.ag-category-item.active:hover {
    background: linear-gradient(135deg, #2faa57 0%, #248e49 100%);
    border-color: #248e49;
    color: #fff;
    box-shadow: 0 8px 18px rgba(47, 170, 87, 0.28);
}

.ag-category-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9fb2c8;
    flex: 0 0 auto;
}

.ag-category-item.active .ag-category-dot,
.ag-category-item.is-active .ag-category-dot {
    background: rgba(255, 255, 255, 0.88);
}

.ag-category-label {
    display: inline-block;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.94rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ag-category-count {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 0.72rem;
    background: #e6edf7;
    color: #334155;
}

.ag-category-item.active .ag-category-count,
.ag-category-item.is-active .ag-category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (min-width: 768px) {
    .ag-category-card-news,
    .ag-category-card-articles {
        position: sticky;
        top: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .ag-category-list {
        max-height: 320px;
    }
}

.catalog-sub {
    color: #64748b !important;
    display: inline-flex;
    align-items: baseline;
    gap: 0.32rem;
    flex-wrap: wrap;
    font-size: 0.96rem;
    line-height: 1.35;
}

.products_list .header-pager {
    width: 100%;
    clear: both;
    margin-top: 0.9rem !important;
}

.products_list .header-pager .pagination {
    gap: 0.32rem;
}

.products_list .header-pager .page-link {
    min-width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.72rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .products_list .header-pager {
        margin-top: 0.7rem !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.2rem;
    }

    .products_list .header-pager .pagination {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .products_list .header-pager .page-item,
    .product_pager2 .page-item {
        display: none;
    }

    .products_list .header-pager .page-item:nth-child(2),
    .products_list .header-pager .page-item:nth-last-child(2),
    .products_list .header-pager .page-item.active,
    .product_pager2 .page-item:nth-child(2),
    .product_pager2 .page-item:nth-last-child(2),
    .product_pager2 .page-item.active {
        display: list-item;
    }

    .products_list .header-pager .page-link,
    .product_pager2 .page-link {
        min-width: 2rem;
        height: 2rem;
        padding: 0.35rem 0.58rem;
        font-size: 0.88rem;
        border-radius: 9px;
    }

    .products_list .header-pager .page-item:nth-child(2) .page-link,
    .products_list .header-pager .page-item:nth-last-child(2) .page-link,
    .product_pager2 .page-item:nth-child(2) .page-link,
    .product_pager2 .page-item:nth-last-child(2) .page-link {
        background: #2f9e44;
        border-color: #2f9e44;
        color: #fff;
        font-weight: 700;
    }

    .products_list .header-pager .page-item:nth-child(2).disabled .page-link,
    .products_list .header-pager .page-item:nth-last-child(2).disabled .page-link,
    .product_pager2 .page-item:nth-child(2).disabled .page-link,
    .product_pager2 .page-item:nth-last-child(2).disabled .page-link {
        background: #9fcfaf;
        border-color: #9fcfaf;
        color: #fff;
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .products_list .header-pager {
        justify-content: flex-end !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.15rem;
    }

    .products_list .header-pager .pagination {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .products_list .header-pager .page-item {
        display: none;
    }

    .products_list .header-pager .page-item:nth-child(2),
    .products_list .header-pager .page-item:nth-last-child(2),
    .products_list .header-pager .page-item.active {
        display: list-item;
    }

    .products_list .header-pager .page-link {
        min-width: 2.1rem;
        height: 2.1rem;
        padding: 0.38rem 0.65rem;
        font-size: 0.9rem;
        border-radius: 9px;
    }

    .products_list .header-pager .page-item:nth-child(2) .page-link,
    .products_list .header-pager .page-item:nth-last-child(2) .page-link {
        background: #2f9e44;
        border-color: #2f9e44;
        color: #fff;
        font-weight: 700;
    }

    .products_list .header-pager .page-item:nth-child(2).disabled .page-link,
    .products_list .header-pager .page-item:nth-last-child(2).disabled .page-link {
        background: #9fcfaf;
        border-color: #9fcfaf;
        color: #fff;
        opacity: 1;
    }
}

.ag-product-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #dbe5ef;
    border-radius: 10px;
    background: #fff;
    padding: 0.2rem;
}

.ag-product-sort,
.ag-product-sort .btn-group,
.ag-product-sort .dropdown {
    box-shadow: none !important;
    background: transparent;
}

.ag-product-sort .ag-sort-btn,
.ag-product-sort .ag-sort-arrow {
    --bs-btn-focus-box-shadow: none;
    height: 36px;
    border-color: transparent;
    background: transparent;
    color: #1f2a37;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: none;
}

.ag-product-sort .ag-sort-btn {
    min-width: 250px;
    text-align: left;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0.78rem;
    padding-right: 0.78rem;
}

.ag-product-sort .ag-sort-btn::after {
    margin-left: 0.65rem;
    opacity: 0.75;
}

.ag-product-sort .ag-sort-btn:hover,
.ag-product-sort .ag-sort-btn:focus,
.ag-product-sort .ag-sort-btn:active,
.ag-product-sort .ag-sort-btn.show,
.ag-product-sort .ag-sort-arrow:hover,
.ag-product-sort .ag-sort-arrow:focus,
.ag-product-sort .ag-sort-arrow:active {
    border-color: transparent;
    background: #eef6f2;
    color: #12202d;
    box-shadow: none !important;
    outline: 0;
}

.ag-product-sort .ag-sort-arrow {
    width: 36px;
    min-width: 36px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.ag-product-sort .ag-sort-arrow i {
    font-size: 1rem;
    line-height: 1;
}

.ag-product-sort .ag-sort-arrow.active {
    background: #2f9e44;
    color: #fff;
}

.ag-sort-menu {
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
    padding: 0.35rem;
    min-width: 260px;
}

.ag-sort-item {
    border-radius: 8px;
    font-size: 0.92rem;
    color: #334155;
    padding: 0.5rem 0.65rem;
}

.ag-sort-item:hover,
.ag-sort-item:focus {
    background: #eef6f2;
    color: #10212e;
}

.ag-sort-menu li.active .ag-sort-item {
    background: #2f9e44;
    color: #fff;
}

.product_pager2 {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.product_pager2 .pagination {
    gap: 0.3rem;
}

.product_pager2 .page-link {
    min-width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 10px;
}

.ag-list-pager {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.ag-list-pager .pagination {
    gap: 0.3rem;
}

.ag-list-pager .page-link {
    min-width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .ag-product-sort {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }

    .ag-product-sort .ag-sort-btn {
        min-width: 0;
        width: calc(100% - 82px);
    }
}

.ag-product-layout {
    margin-top: 0.25rem;
}

.ag-product-hero {
    margin-bottom: 0.25rem;
}

.ag-product-desktop-title {
    padding: 0.2rem 0.1rem 0.35rem;
}

.ag-product-hero__inner {
    padding: 0.85rem 1rem;
    border: 1px solid #e5ecf4;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbf9 0%, #ffffff 70%);
}

.ag-product-hero__title {
    min-width: 0;
}

.ag-product-hero__cta {
    width: min(100%, 320px);
    padding: 0.75rem 0.85rem;
    border: 1px solid #dce9df;
    border-radius: 16px;
    background: #ffffff;
}

.ag-product-hero__cta .btn {
    width: 100%;
}

.ag-product-hero__hint {
    line-height: 1.35;
    max-width: 28ch;
}

@media (max-width: 767.98px) {
    .ag-product-hero__inner {
        padding: 0.7rem 0.8rem;
        border-radius: 14px;
    }

    .ag-product-hero__cta {
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .ag-product-hero__hint {
        max-width: none;
    }

    .products_list > .col-12:first-child .card-body {
        padding: 0.5rem 0 0.3rem !important;
    }

    .products_list .ag-products-head-row {
        --bs-gutter-y: 0.45rem;
    }

    .products_list .ag-products-head-title-col h1 {
        margin-top: 0.15rem !important;
        margin-bottom: 0.15rem !important;
        font-size: 1.95rem;
        line-height: 1.15;
    }

    .products_list .ag-products-head-title-col .catalog-sub {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .products_list .ag-products-head-toolbar {
        align-items: stretch !important;
        gap: 0.35rem;
    }

    .products_list .ag-products-head-toolbar .ag-products-sort-wrap {
        margin-top: 0 !important;
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: center;
        gap: 0.35rem;
    }

    .products_list .ag-products-head-toolbar .ag-products-sort-wrap > .text-muted {
        margin: 0 !important;
        font-size: 0.8rem !important;
        line-height: 1.15;
        white-space: normal !important;
    }

    .products_list .ag-products-head-toolbar .ag-product-sort {
        width: 100%;
    }

    .products_list .ag-products-head-toolbar .ag-product-sort .ag-sort-btn {
        width: calc(100% - 82px);
        min-width: 0;
        font-size: 0.83rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .products_list .ag-products-head-pager {
        margin-top: 0.3rem !important;
        justify-content: flex-start !important;
    }

    .products_list .ag-products-head-pager,
    .products_list .header-pager {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .ag-product-layout {
        align-items: start;
        --bs-gutter-x: 1.1rem;
    }

    .ag-product-layout.ag-product-sheet > .gallery.ag-gallery-sticky-ready {
        height: var(--ag-gallery-stop-height, auto);
    }

    .ag-product-layout.ag-product-sheet > .gallery.ag-gallery-sticky-ready .ag-product-gallery-wrap {
        position: sticky;
        top: var(--ag-gallery-sticky-top, 12px);
        z-index: 2;
    }

    .ag-product-layout.ag-product-sheet {
        border: 0;
        border-radius: 0;
        padding: 0.35rem 0 0;
        background: transparent;
    }

    .ag-product-layout.ag-product-sheet > .gallery {
        border-right: 0;
        padding-right: 0.85rem;
    }

    .ag-product-layout .gallery .ag-product-gallery-main-image {
        max-height: 520px;
    }

    .ag-product-layout .gallery .ag-product-gallery-main {
        padding: 0.3rem 0 0.1rem;
    }

    .ag-product-layout > #product_about .card-body {
        padding-top: 0.6rem;
    }

    .ag-product-layout > #product_about .card {
        border-radius: 12px;
        border: 0 !important;
        background: transparent;
    }

    .ag-product-layout > #product_about .card-header {
        padding-top: 0.2rem !important;
        padding-bottom: 0.55rem !important;
        background: transparent !important;
    }

    .ag-product-layout > #product_about .card-body > .row > .col-sm-12 > .border.rounded-4 {
        border-radius: 12px !important;
        margin-top: 0.75rem !important;
    }
}

.ag-scorebox--gallery {
    display: flex;
    justify-content: center;
    padding: 0.45rem 0 0.1rem;
    border-top: 1px solid #edf2f7;
    background: transparent;
}

.ag-scorebox--gallery .ag-scorebox-progress {
    margin-left: 0;
    margin-right: 0;
}

.ag-scorebox--gallery [data-role='rating-value'],
.ag-scorebox--gallery [data-role='like-value'],
.ag-scorebox--gallery [data-role='dislike-value'] {
    min-width: 1.5rem;
    text-align: center;
}

.ag-products-context-card {
    border: 1px solid #dfe8f2;
    border-radius: 12px;
    box-shadow: none;
}

.ag-products-context-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem;
}

.ag-products-context-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.45rem;
}

.ag-products-context-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8e5f3;
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
    color: #2f455c;
    text-decoration: none;
    background: #fff;
    min-height: 30px;
    max-width: 100%;
}

.ag-products-context-link:hover {
    border-color: #bfd8c7;
    background: #f5fbf7;
    color: #173a27;
}

.ag-products-context-link.active,
.ag-products-context-link.is-active {
    background: #eef8f1;
    border-color: #2f9e44;
    color: #143824;
}

.ag-products-context-more {
    flex: 0 0 auto;
}

.ag-products-context-more-btn {
    border-radius: 999px;
    min-height: 30px;
    padding: 0.32rem 0.62rem;
    border-color: #d8e5f3;
    color: #334155;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: none !important;
}

.ag-products-context-more-btn:hover,
.ag-products-context-more-btn:focus,
.ag-products-context-more-btn:active,
.ag-products-context-more-btn.show {
    border-color: #bfd8c7;
    background: #f5fbf7;
    color: #173a27;
}

.ag-products-context-more-menu {
    border: 1px solid #dbe5ef;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    max-height: 300px;
    overflow: auto;
    padding: 0.3rem;
}

.ag-products-context-more-menu .dropdown-item {
    border-radius: 8px;
    font-size: 0.86rem;
    padding: 0.44rem 0.56rem;
}

.ag-products-context-more-menu .dropdown-item.active,
.ag-products-context-more-menu .dropdown-item.is-active {
    background: #eef8f1;
    color: #143824;
}

.ag-products-context-label {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ag-breadcrumbs {
    border: 1px solid #e5ecf4;
    border-radius: 12px;
    background: #fff;
    padding: 0.55rem 0.85rem;
}

.ag-breadcrumbs .breadcrumb {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    flex-wrap: wrap;
}

.ag-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    color: #9aa8b8;
}

.ag-breadcrumbs .breadcrumb-item a {
    color: #34495e !important;
    text-decoration: none !important;
    font-weight: 500;
}

.ag-breadcrumbs .breadcrumb-item a:hover {
    color: #2f9e44 !important;
}

.ag-breadcrumbs .breadcrumb-item.active {
    color: #111827;
    font-weight: 600;
}

.ag-breadcrumbs .breadcrumb-item.ag-bc-item {
    position: relative;
}

.ag-breadcrumbs .breadcrumb-item.ag-bc-item > a::after,
.ag-breadcrumbs .breadcrumb-item.ag-bc-item > [data-bc-slug]::after {
    content: "▾";
    font-size: 0.68rem;
    color: #8ba0b5;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.ag-breadcrumbs .ag-bc-toggle {
    display: none;
}

.ag-breadcrumbs .ag-bc-current {
    cursor: default;
}

.ag-bc-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    min-width: 240px;
    max-width: 320px;
    max-height: 320px;
    overflow: auto;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    padding: 0.35rem;
    z-index: var(--ag-z-dropdown);
    display: none;
}

.ag-bc-menu.is-open {
    display: block;
}

.ag-bc-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ag-bc-menu-item {
    margin: 0;
    padding: 0;
}

.ag-bc-menu-link {
    display: block;
    width: 100%;
    color: #27384a;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
    line-height: 1.25;
}

.ag-bc-menu-item.is-active .ag-bc-menu-link {
    background: #eef8f1;
    border-color: #b9dfc4;
    color: #1b5f31;
    font-weight: 600;
}

.ag-bc-menu-item:not(.is-active) .ag-bc-menu-link:hover {
    background: #f7fafc;
    border-color: #dce7f2;
    color: #1e2e3e;
}

.ag-bc-menu-loading,
.ag-bc-menu-empty {
    color: #66788b;
    font-size: 0.84rem;
    padding: 0.35rem 0.5rem;
}

.ag-bc-mobile-sheet {
    position: fixed;
    inset: 0;
    z-index: var(--ag-z-offcanvas);
    display: none;
}

.ag-bc-mobile-sheet.is-open {
    display: block;
}

.ag-bc-mobile-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.ag-bc-mobile-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 78vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    border-top: 1px solid #dbe7f3;
    box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
}

.ag-bc-mobile-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #ecf1f7;
}

.ag-bc-mobile-sheet__title {
    font-size: 0.94rem;
    font-weight: 700;
    color: #1f2937;
}

.ag-bc-mobile-sheet__close {
    width: 34px;
    height: 34px;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    background: #fff;
    color: #44576b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ag-bc-mobile-sheet__body {
    overflow: auto;
    padding: 0.55rem 0.65rem 0.85rem;
}

@media (max-width: 991.98px) {
    .ag-breadcrumbs {
        overflow: visible;
        padding: 0.48rem 0.62rem;
    }

    .ag-breadcrumbs .breadcrumb {
        flex-wrap: wrap;
        min-width: 0;
        row-gap: 0.2rem;
    }

    .ag-breadcrumbs .breadcrumb-item.ag-bc-item > a::after,
    .ag-breadcrumbs .breadcrumb-item.ag-bc-item > [data-bc-slug]::after {
        content: none;
    }

    .ag-breadcrumbs .breadcrumb-item {
        max-width: 100%;
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .ag-breadcrumbs .breadcrumb-item > a,
    .ag-breadcrumbs .breadcrumb-item > span {
        max-width: calc(100vw - 130px);
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.25;
    }

    .ag-breadcrumbs .ag-bc-toggle {
        border: 0;
        background: #eef3f8;
        color: #5c7187;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        margin-left: 0.3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        vertical-align: middle;
        padding: 0;
        flex: 0 0 auto;
        touch-action: manipulation;
    }

    .ag-bc-menu {
        display: none !important;
    }
}

.ag-product-gallery-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.ag-product-gallery-main {
    background: transparent;
}

.ag-product-gallery-main img {
    border-radius: 10px;
}

.ag-product-gallery-main-preview {
    margin-bottom: 10px;
}

.ag-product-gallery-main-link {
    display: block;
}

.ag-product-gallery-main-image {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
}

.ag-product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    padding: 2px 2px 4px;
}

.ag-product-gallery-thumbs img {
    flex: 0 0 84px;
    width: 84px !important;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e1e9f2;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease;
}

.ag-product-gallery-thumbs img:hover {
    border-color: #9fc4ae;
}

.ag-product-gallery-thumbs img.is-active {
    border-color: #1c7d3a;
}

.ag-like-btn {
    border-radius: 999px !important;
    border: 1px solid #dbe5ef !important;
    background: #fff !important;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f3e4f !important;
    opacity: 1 !important;
    margin: 0.12rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ag-like-btn:hover {
    border-color: #9fc4ae !important;
    background: #eef6f2 !important;
    color: #1c7d3a !important;
}

.ag-like-btn--star {
    color: #f3a71a !important;
}

.ag-like-btn.is-active {
    border-color: #2f9e44 !important;
    background: #2f9e44 !important;
    color: #fff !important;
}

.ag-score-progress {
    border-radius: 999px;
    background: #e5ecf4;
    overflow: hidden;
}

.ag-score-like {
    background-color: #2f9e44 !important;
}

.ag-score-dislike {
    background-color: #d64545 !important;
}

.ag-score-empty {
    background-color: #d3d9e1 !important;
}

.ag-product-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    color: #0f172a;
}

.ag-product-page-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
}

.ag-product-divider {
    margin: 0.9rem 0 1rem;
    border-color: #e9eff6;
}

.ag-product-meta-row {
    color: #334155;
    margin-bottom: 0.45rem;
}

.ag-product-meta-row span {
    color: #64748b;
}

.ag-product-shortdescr {
    color: #1f2a37;
    line-height: 1.65;
}

.ag-specs-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#product_param.card {
    border-color: #e2e2e2 !important;
}

#product_param.card .card-header {
    border-bottom-color: #e5e5e5 !important;
}

#product_param .ag-specs-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

#product_param .ag-specs-table > tbody > tr > th,
#product_param .ag-specs-table > tbody > tr > td {
    border-color: #e7e7e7 !important;
    border-top-width: 1px;
    padding: 0.74rem 0.72rem;
    vertical-align: top;
}

#product_param .ag-specs-table > tbody > tr:first-child > th,
#product_param .ag-specs-table > tbody > tr:first-child > td {
    border-top-width: 0;
}

#product_param .ag-specs-table > tbody > tr:nth-child(odd) > th,
#product_param .ag-specs-table > tbody > tr:nth-child(odd) > td {
    background: #fbfbfc;
}

#product_param .ag-specs-table > tbody > tr:nth-child(even) > th,
#product_param .ag-specs-table > tbody > tr:nth-child(even) > td {
    background: #ffffff;
}

.ag-spec-name {
    width: 34%;
    min-width: 220px;
    font-weight: 700;
    color: #2f3f52;
    letter-spacing: 0.01em;
    font-size: 0.87rem;
}

.ag-spec-value {
    color: #1a2939;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.ag-spec-item,
.ag-spec-group-value {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    line-height: 1.45;
}

.ag-spec-item + .ag-spec-item,
.ag-spec-group-title + .ag-spec-group-value,
.ag-spec-group-value + .ag-spec-group-value {
    margin-top: 0.3rem;
}

.ag-spec-group-title {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.52rem;
    margin-bottom: 0.24rem;
    font-weight: 600;
    color: #3f5368;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ag-spec-group-title:first-child {
    margin-top: 0;
}

.ag-spec-group-value {
    padding-left: 0.85rem;
    color: #1f2937;
}

.ag-spec-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-top: -2px;
    margin-left: 0.35rem;
    width: 1rem;
    height: 1rem;
    color: #5f7186;
    text-decoration: none !important;
    line-height: 1;
    border-radius: 999px;
    transition: color 0.16s ease, background-color 0.16s ease;
}

.ag-spec-help i {
    font-size: 0.78rem;
}

.ag-spec-help:hover,
.ag-spec-help:focus {
    color: #22763a;
    background-color: rgba(47, 158, 68, 0.12);
}

#modal_help_body {
    line-height: 1.6;
    color: #1f2937;
}

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

@media (max-width: 575.98px) {
    .ag-spec-name {
        width: auto;
        min-width: 0;
        font-size: 0.81rem;
        padding-bottom: 0.12rem !important;
    }

    #product_param .ag-specs-table {
        border: 0;
        border-radius: 0;
    }

    #product_param .ag-specs-table > tbody > tr > th,
    #product_param .ag-specs-table > tbody > tr > td {
        display: block;
        width: 100%;
        padding: 0.5rem 0.4rem;
    }

    #product_param .ag-specs-table > tbody > tr > td {
        padding-top: 0;
        border-top: 0;
        border-bottom: 1px solid #ecf2f8;
    }

    #product_param .ag-specs-table > tbody > tr:nth-child(odd) > th,
    #product_param .ag-specs-table > tbody > tr:nth-child(odd) > td,
    #product_param .ag-specs-table > tbody > tr:nth-child(even) > th,
    #product_param .ag-specs-table > tbody > tr:nth-child(even) > td {
        background: transparent;
    }
}

.ag-product-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.ag-product-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #51657a;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.22rem 0.42rem;
}

.ag-product-card-stat i {
    color: #6b7f93;
    font-size: 0.72rem;
}

.ag-product-card-stat-value {
    color: #1f2a37;
    font-weight: 700;
}

.ag-product-card-price {
    min-height: 1.35em;
    margin-bottom: 0.36rem;
    color: #12202d;
}

.ag-product-card-cta {
    border-radius: 10px;
}

.productitem_container .card {
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.productitem_container .card:hover {
    border-color: #bfd8c7;
}

.ag-product-card-image {
    background: transparent;
}

.ag-product-card-image-link {
    display: block;
    background: transparent;
}

.ag-product-card-image-media {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    object-fit: contain;
}

.ag-product-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.28;
    min-height: 2.56em;
}

.ag-product-card-title,
.ag-product-card-title:visited {
    color: #1a2b3d !important;
    text-decoration: none;
    transition: color 0.18s ease;
}

.ag-product-card-title:hover,
.ag-product-card-title:focus-visible {
    color: #2f9e44 !important;
    text-decoration: none;
}

.ag-product-card-meta {
    line-height: 1.25;
    min-height: 1.25em;
    margin-bottom: 0.12rem;
}

.products_list .ag-product-card-title {
    margin-bottom: 0.4rem !important;
}

.products_list .ag-product-card-meta-wrap {
    min-height: 2.6em;
    margin-bottom: 0.2rem;
}

.ag-product-card-title:focus-visible,
.ag-product-card-cta:focus-visible,
.ag-product-card-image-link:focus-visible {
    outline: 2px solid #2f9e44;
    outline-offset: 2px;
}

/* Homepage cleanup: reduce excessive gray separators in content blocks */
.ag-homepage .list-group-item {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    margin-bottom: 0.2rem;
    background: #fff;
}

.ag-homepage .list-group-item:hover {
    background: #f9fcfa;
}

.ag-homepage .list-group-item:last-child {
    margin-bottom: 0;
}

.ag-homepage a.d-block.text-dark,
.ag-homepage a.h5.d-block.text-dark,
.ag-homepage .list-group-item .fw-semibold.text-dark {
    transition: color 0.18s ease;
}

.ag-homepage a.d-block.text-dark:hover,
.ag-homepage a.h5.d-block.text-dark:hover,
.ag-homepage a.d-block.text-dark:focus-visible,
.ag-homepage a.h5.d-block.text-dark:focus-visible,
.ag-homepage .list-group-item:hover .fw-semibold.text-dark,
.ag-homepage .list-group-item:focus-visible .fw-semibold.text-dark,
.ag-homepage a.d-block.text-decoration-none.border-bottom:hover .fw-semibold.text-dark,
.ag-homepage a.d-block.text-decoration-none.border-bottom:focus-visible .fw-semibold.text-dark {
    color: #2f9e44 !important;
}

.ag-homepage .ag-home-section-head {
    position: relative;
}

.ag-homepage .ag-home-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #12202d;
    font-size: 1.03rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.ag-homepage .ag-home-section-title::before {
    content: '↗';
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #2faa57 0%, #248e49 100%);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(36, 142, 73, 0.24);
    flex: 0 0 auto;
}

.ag-articles-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ag-articles-title {
    font-size: clamp(1.25rem, 2.3vw, 1.9rem);
    line-height: 1.2;
    color: #172635;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.ag-articles-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0;
    overflow: visible;
    padding-bottom: 0;
}

.ag-articles-filterbar {
    display: block;
    margin-bottom: 0.75rem;
}

.ag-articles-filterbar-label {
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.ag-articles-filterbar .dropdown-toggle {
    min-width: 86px;
    text-align: left;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    white-space: nowrap;
}

.ag-articles-filter-dropdown {
    max-height: min(65vh, 420px);
    overflow-y: auto;
    z-index: var(--ag-z-popover);
}

.ag-articles-chips .dropdown {
    flex: 0 0 auto;
}

.ag-articles-list-wrap {
    background: #fff;
}

.ag-article-view-page {
    max-width: 1280px;
    margin: 0 auto;
}

.ag-article-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 276px;
    gap: 1.1rem;
    align-items: start;
}

.ag-article-view-main {
    min-width: 0;
}

.ag-article-view-aside {
    position: sticky;
    top: 0.95rem;
}

.ag-article-aside-card {
    border: 1px solid #dbe5ef;
    background: #fff;
    border-radius: 10px;
    padding: 0.62rem;
}

.ag-article-aside-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.ag-article-aside-cat {
    color: #2f9e44;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.24rem;
}

.ag-article-aside-title {
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 700;
}

.ag-article-aside-actions {
    margin-top: 0.56rem;
    display: flex;
    gap: 0.38rem;
    flex-wrap: wrap;
}

.ag-article-aside-current {
    display: block;
}

.ag-article-aside-related {
    margin-top: 0.65rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e8eef5;
}

.ag-article-aside-related-head {
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ag-article-aside-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ag-article-aside-related-item {
    display: block;
    text-decoration: none;
    border: 1px solid #e6edf5;
    border-radius: 6px;
    padding: 0.42rem 0.5rem;
}

.ag-article-aside-related-item:hover {
    border-color: #c7d9ea;
    background: #f9fcff;
}

.ag-article-aside-related-date {
    display: block;
    margin-bottom: 0.14rem;
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.2;
}

.ag-article-aside-related-title {
    display: block;
    color: #0f172a;
    font-size: 0.8rem;
    line-height: 1.28;
    font-weight: 600;
}

.ag-article-view {
    background: #fff;
}

.ag-article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 39%;
    gap: 0.95rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.4rem 0 1.25rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.ag-article-view-head {
    margin-bottom: 0;
}

.ag-article-hero-copy {
    min-width: 0;
}

.ag-article-hero-actions {
    margin-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ag-article-hero-media {
    margin: 0;
    min-width: 0;
}

.ag-article-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    border-radius: 10px;
}

.ag-article-view-category {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    color: #2f9e44;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.33rem 0.58rem;
    margin-bottom: 0.62rem;
}

.ag-article-view-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.14;
    font-weight: 800;
}

.ag-article-view-meta {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ag-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.ag-article-view-announce {
    margin: 0.8rem 0 0;
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.5;
}

.ag-article-view-figure {
    margin: 0.95rem 0 1.25rem;
}

.ag-article-view-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.ag-article-view-body {
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.78;
    margin-top: 0.15rem;
}

.ag-article-view-body h2,
.ag-article-view-body h3,
.ag-article-view-body h4 {
    color: #0f172a;
    line-height: 1.26;
    margin: 1.5em 0 0.55em;
    font-weight: 700;
}

.ag-article-view-body p {
    margin: 0 0 1.05rem;
}

.ag-article-view-body ul,
.ag-article-view-body ol {
    padding-left: 1.3rem;
    margin: 0 0 1.05rem;
}

.ag-article-view-body li + li {
    margin-top: 0.45rem;
}

.ag-article-view-body a {
    color: #1f8d42;
    text-decoration-color: rgba(31, 141, 66, 0.45);
    text-underline-offset: 2px;
}

.ag-article-view-body a:hover {
    color: #166b31;
    text-decoration-color: rgba(22, 107, 49, 0.65);
}

.ag-comments .ag-comments-brief {
    margin-bottom: 0.85rem;
}

.ag-comments .ag-comments-form {
    margin-bottom: 0.9rem;
}

.ag-comments .ag-comment-item {
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.ag-comments .ag-comment-avatar {
    width: 40px;
    height: 40px;
}

.ag-comments .btn.btn-link.btn-sm {
    text-decoration: none;
}

.ag-articles-featured {
    margin-bottom: 1rem;
}

.ag-articles-topcard {
    display: block;
}

.ag-articles-topcard-image {
    display: block;
    background: #f3f7fb;
    overflow: hidden;
    border-radius: 0;
}

.ag-articles-topcard-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ag-articles-topcard-body {
    padding-top: 0.45rem;
}

.ag-articles-topcard-title {
    color: #112336;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

.ag-articles-topcard-title:hover {
    color: #2f9e44;
}

.ag-articles-hero-image,
.ag-articles-tile-image {
    display: block;
    background: #f3f7fb;
    overflow: hidden;
    border-radius: 8px;
}

.ag-articles-hero-image img,
.ag-articles-tile-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ag-articles-hero-body {
    padding-top: 0.6rem;
}

.ag-articles-hero-title {
    color: #132638;
    text-decoration: none;
    font-size: clamp(1.2rem, 1.65vw, 1.55rem);
    line-height: 1.18;
    font-weight: 700;
}

.ag-articles-hero-title:hover {
    color: #2f9e44;
}

.ag-articles-hero-announce {
    margin-top: 0.48rem;
    color: #4b5f73;
    line-height: 1.42;
    font-size: 0.94rem;
}

.ag-articles-tile-body {
    padding-top: 0.45rem;
}

.ag-articles-tile-title {
    color: #16293b;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.25;
    font-size: 0.98rem;
}

.ag-articles-tile-title:hover {
    color: #2f9e44;
}

.ag-article-list-item {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.ag-article-list-item:first-child {
    padding-top: 0.15rem;
}

.ag-article-list-thumb {
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: #f3f7fb;
}

.ag-article-list-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

/* Unified image-link hover zoom effect (homepage, products, articles) */
.ag-homepage a.bg-image.hover-overlay.ripple,
.ag-product-card-image-link,
.ag-articles-topcard-image,
.ag-articles-hero-image,
.ag-articles-tile-image,
.ag-article-list-thumb {
    overflow: hidden;
}

.ag-homepage a.bg-image.hover-overlay.ripple {
    display: block;
    line-height: 0;
}

.ag-homepage .list-group-item .flex-shrink-0 {
    overflow: hidden;
    border-radius: 0.375rem;
}

.ag-homepage .list-group-item .flex-shrink-0 .rounded-2 {
    display: block;
}

.ag-homepage a.bg-image.hover-overlay.ripple img,
.ag-homepage .list-group-item .rounded-2,
.ag-product-card-image-media,
.ag-articles-topcard-image img,
.ag-articles-hero-image img,
.ag-articles-tile-image img,
.ag-article-list-thumb img {
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.24s ease-out;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ag-homepage a.bg-image.hover-overlay.ripple:hover img,
    .ag-homepage a.bg-image.hover-overlay.ripple:focus-visible img,
    .ag-homepage .list-group-item:hover .rounded-2,
    .ag-homepage .list-group-item:focus-visible .rounded-2,
    .ag-product-card-image-link:hover .ag-product-card-image-media,
    .ag-product-card-image-link:focus-visible .ag-product-card-image-media,
    .ag-articles-topcard-image:hover img,
    .ag-articles-topcard-image:focus-visible img,
    .ag-articles-hero-image:hover img,
    .ag-articles-hero-image:focus-visible img,
    .ag-articles-tile-image:hover img,
    .ag-articles-tile-image:focus-visible img,
    .ag-article-list-thumb:hover img,
    .ag-article-list-thumb:focus-visible img {
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ag-homepage a.bg-image.hover-overlay.ripple img,
    .ag-homepage .list-group-item .rounded-2,
    .ag-product-card-image-media,
    .ag-articles-topcard-image img,
    .ag-articles-hero-image img,
    .ag-articles-tile-image img,
    .ag-article-list-thumb img {
        transition: none !important;
        transform: none !important;
    }
}

.ag-article-list-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ag-article-list-date {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.ag-article-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
}

.ag-article-list-main {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
}

.ag-article-list-title {
    color: #192b3d;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.2;
}

.ag-article-list-title:hover {
    color: #2f9e44;
}

.ag-article-list-announce {
    margin-top: 0.34rem;
    color: #5a6877;
    line-height: 1.4;
    font-size: 0.91rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ag-article-list-actions {
    margin-top: 0.55rem;
}

.ag-article-list-actions .btn {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.72rem;
}

.ag-article-meta-cat {
    display: inline-block;
    color: #2a8f50;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.ag-articles-chips .btn {
    border-radius: 0 !important;
    font-weight: 600;
    font-size: 0.76rem;
    padding: 0.26rem 0.55rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

@media (max-width: 1199.98px) {
    .ag-article-list-item {
        grid-template-columns: 290px minmax(0, 1fr);
    }

    .ag-article-hero {
        display: block;
    }

    .ag-article-hero-media {
        margin-top: 0.68rem;
    }

    .ag-article-hero-media img {
        min-height: 0;
        max-height: 320px;
    }

    .ag-article-aside-current {
        display: none;
    }

    .ag-article-aside-related {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }
}

@media (min-width: 1200px) {
    .ag-article-view-title {
        font-size: clamp(1.5rem, 2.2vw, 2.2rem);
        line-height: 1.12;
    }

    .ag-article-view-meta {
        margin-top: 0.42rem;
        font-size: 0.88rem;
    }

    .ag-article-view-announce {
        margin-top: 0.64rem;
        font-size: 0.98rem;
        line-height: 1.42;
    }

    .ag-article-view-body {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 767.98px) {
    .ag-article-view-page {
        max-width: 100%;
    }

    .ag-article-view-layout {
        display: block;
    }

    .ag-article-hero {
        display: block;
        padding-top: 0.2rem;
        padding-bottom: 0.95rem;
        margin-bottom: 1.05rem;
    }

    .ag-article-hero-media {
        margin-top: 0.72rem;
    }

    .ag-article-view-head {
        margin-bottom: 0.8rem;
    }

    .ag-article-view-title {
        font-size: clamp(1.4rem, 7vw, 1.9rem);
    }

    .ag-article-view-meta {
        margin-top: 0.45rem;
        font-size: 0.86rem;
    }

    .ag-article-view-announce {
        margin-top: 0.68rem;
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .ag-article-hero-media img {
        min-height: 0;
        max-height: 320px;
        border-radius: 10px;
    }

    .ag-article-view-body {
        font-size: 0.97rem;
        line-height: 1.68;
    }

    .ag-article-view-body h2,
    .ag-article-view-body h3,
    .ag-article-view-body h4 {
        margin-top: 1.25em;
    }

    .ag-articles-filterbar .dropdown-toggle {
        min-width: 78px;
    }

    .ag-articles-featured {
        margin-bottom: 0.7rem;
    }

    .ag-articles-topcard-title {
        font-size: 1.02rem;
    }

    .ag-articles-tile {
        margin-bottom: 0.15rem;
    }

    .ag-articles-tile-title {
        font-size: 0.95rem;
    }

    .ag-article-list-item {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.65rem 0;
    }

    .ag-article-list-thumb {
        border-radius: 6px;
    }

    .ag-article-list-title {
        font-size: 1.01rem;
    }

    .ag-article-list-announce {
        font-size: 0.89rem;
    }

    .ag-article-list-actions {
        margin-top: 0.48rem;
    }
}

.ag-home-right-column .ag-home-right-block {
    background: #f5f5f5 !important;
    padding: 0.75rem;
}

.ag-home-right-column .ag-home-right-block + .ag-home-right-block {
    margin-top: 0.5rem;
}

.ag-home-right-column .list-group-item {
    background: #f5f5f5 !important;
    border-radius: 0 !important;
}

.ag-home-right-column .ag-home-news-block {
    background: #f8f9fa !important;
}

.ag-home-right-column .ag-home-news-block .ag-home-news-item {
    background: #f8f9fa !important;
    margin-bottom: 0.1rem;
}

.ag-home-right-column .ag-home-news-block .ag-home-news-item:hover,
.ag-home-right-column .ag-home-news-block .ag-home-news-item:focus-visible {
    background: #f1f3f5 !important;
}

.ag-homepage .ag-home-main-row {
    --bs-gutter-x: 1.05rem;
}

@media (min-width: 1200px) {
    .ag-homepage .ag-home-main-row {
        --bs-gutter-x: 1.8rem;
    }
}

/* Homepage popular products slider (groups by 8 on desktop) */
.ag-popular-slider {
    display: block;
}

.ag-popular-viewport {
    overflow: hidden;
    flex: 1 1 auto;
}

.ag-popular-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.25s ease;
    will-change: transform;
}

.ag-popular-track > .productitem_container {
    margin: 0;
    padding: 0;
    flex: 0 0 calc((100% - (7 * 0.5rem)) / 8);
    max-width: calc((100% - (7 * 0.5rem)) / 8);
}

.card.ag-home-products .ag-popular-track > .productitem_container {
    flex: 0 0 calc((100% - (5 * 0.5rem)) / 6);
    max-width: calc((100% - (5 * 0.5rem)) / 6);
}

.ag-related-head-title {
    color: #364b63;
    line-height: 1.2;
}

.ag-related-head-meta {
    line-height: 1.2;
}

.ag-home-products .productitem_container .card-body {
    padding: 0.62rem;
}

.ag-home-products .ag-product-card-title {
    font-size: 0.9rem;
    margin-bottom: 0.35rem !important;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    min-height: 1.28em;
}

.ag-home-products .ag-product-card-meta:nth-of-type(2) {
    display: none;
}

.ag-home-products .ag-product-card-meta {
    font-size: 0.72rem;
}

.ag-home-products .ag-product-card-stats {
    display: none;
}

.ag-home-products .ag-product-card-price {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.ag-home-products .ag-product-card-cta {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-size: 0.72rem;
}

.ag-popular-nav {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;
}

.ag-popular-nav[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    .ag-popular-track > .productitem_container {
        flex: 0 0 calc((100% - (3 * 0.5rem)) / 4);
        max-width: calc((100% - (3 * 0.5rem)) / 4);
    }

    .card.ag-home-products .ag-popular-track > .productitem_container {
        flex: 0 0 calc((100% - (3 * 0.5rem)) / 4);
        max-width: calc((100% - (3 * 0.5rem)) / 4);
    }
}

@media (max-width: 767.98px) {
    .ag-popular-track > .productitem_container {
        flex: 0 0 calc((100% - 0.5rem) / 2);
        max-width: calc((100% - 0.5rem) / 2);
    }

    .card.ag-home-products .ag-popular-track > .productitem_container {
        flex: 0 0 calc((100% - 0.5rem) / 2);
        max-width: calc((100% - 0.5rem) / 2);
    }

    .ag-popular-nav {
        width: 1.8rem;
        height: 1.8rem;
    }
}

/* Product filters (MDB-first): keep only behavior-critical customizations */
#filters_body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#product_filters_form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.btn-mobile-filter-open {
    position: static;
    z-index: auto;
    border-radius: 0.6rem;
    box-shadow: none !important;
    width: 100%;
    min-height: 2.5rem;
}

@media (max-width: 991.98px) {
    .ag-products-mobile-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.5rem;
        width: 100%;
        max-width: 32rem;
    }

    .btn-mobile-filter-open {
        align-self: stretch;
    }

    .ag-mobile-sort-btn {
        min-height: 2.5rem;
        border-radius: 0.6rem;
        box-shadow: none !important;
    }

    .ag-mobile-sort-label {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .ag-products-mobile-toolbar {
        gap: 0.35rem;
    }

    .ag-products-mobile-toolbar .btn {
        font-size: 0.78rem;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .products_list #product_list .productitem_container .card > .row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .products_list #product_list .productitem_container .card > .row > .ag-product-card-image,
    .products_list #product_list .productitem_container .card > .row > .col-8.col-sm-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        grid-column: 1 !important;
    }

    .products_list #product_list .ag-product-card-image-link {
        aspect-ratio: 4 / 3;
        background: #f6f9fc;
        border-radius: 10px 10px 0 0;
    }

    .products_list #product_list .ag-product-card-image-media {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0.55rem;
        object-fit: contain;
        object-position: center;
    }

    .products_list #product_list .productitem_container .card .card-body {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }
}

.pf-options {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.pf-options .list-group-item {
    min-width: 0;
}

.pf-options .filter_name {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pf-options .badge {
    flex-shrink: 0;
}

.pf-options .list-group-item.pf-option-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pf-options .list-group-item.pf-option-disabled input[type="checkbox"] {
    pointer-events: none;
}

.pf-live-loading {
    opacity: 0.92;
}

.pf-group[data-group-key="114"] .pf-options {
    max-height: 720px;
}

.pf-chip-value {
    font-weight: 600;
}

#filters_apply_bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

/* Fallback for environments where responsive offcanvas classes are unavailable */
@media (min-width: 992px) {
    #pf-offcanvas {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        transform: none;
        visibility: visible !important;
        background: transparent;
        border: 0;
    }

    #pf-offcanvas .offcanvas-body {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    #pf-offcanvas .offcanvas-header {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .pf-group[data-group-key="114"] .pf-options {
        max-height: 56vh;
    }
}

/* Mobile header v3: logo + hamburger, everything else in offcanvas */
.ag-header-mobile-btn {
    width: var(--ag-mobile-trigger-size);
    height: var(--ag-mobile-trigger-size);
    border-radius: 0.6rem;
    border: 1px solid #2ca856;
    background: #2ca856;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.ag-header-mobile-btn-icon {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
}

.ag-header-mobile-btn:hover,
.ag-header-mobile-btn:focus,
.ag-header-mobile-btn.show {
    border-color: #27954d;
    background: #27954d;
    color: #fff;
}

.ag-mobile-header-trigger-wrap {
    position: fixed;
    top: 0.55rem;
    right: 0.2rem;
    left: auto;
    width: fit-content !important;
    height: auto !important;
    margin-left: 0;
    flex: 0 0 auto;
    display: none;
    align-items: center;
    justify-content: flex-end;
    transform: none !important;
    z-index: var(--ag-z-fixed);
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}

.ag-mobile-header-fab-wrap {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    display: none;
}

.ag-header-mobile-fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .ag-mobile-header-trigger-wrap { display: inline-flex !important; }
    .ag-mobile-header-fab-wrap { display: none !important; }
}

.ag-mobile-menu {
    width: 100vw;
    max-width: 100vw;
    z-index: var(--ag-z-offcanvas);
}

.offcanvas-backdrop,
.offcanvas-backdrop.fade,
.offcanvas-backdrop.show {
    z-index: var(--ag-z-offcanvas-backdrop) !important;
}

/* Keep admin page-toolbar sidebar above overlay when MDB sidenav/offcanvas modes switch. */
[data-role="page-toolbar-sidebar"] {
    z-index: var(--ag-z-offcanvas) !important;
    --mdb-sidenav-zindex: var(--ag-z-offcanvas);
    --bs-offcanvas-zindex: var(--ag-z-offcanvas);
}

.sidenav-backdrop {
    z-index: var(--ag-z-offcanvas-backdrop) !important;
}

[data-role="sidebar-frame-wrapper"] {
    position: relative;
    z-index: 1;
}

[data-role="sidebar-frame"] {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.ag-mobile-menu .offcanvas-header {
    border-bottom: 1px solid #e5edf6;
}

.ag-mobile-menu .offcanvas-body {
    padding: 0.85rem;
}

.ag-mobile-menu .ag-mobile-menu-search .form-control {
    border-color: #d1ddea;
}

.ag-mobile-menu .ag-mobile-menu-links .list-group-item {
    border-color: #e3ebf5;
    font-weight: 600;
    color: #25384d;
}

.ag-mobile-menu .ag-mobile-menu-links .list-group-item.active,
.ag-mobile-menu .ag-mobile-menu-links .list-group-item.is-active {
    background: #eaf6ee !important;
    border-color: #c7e6d1 !important;
    color: #1f4d33 !important;
}

.ag-mobile-menu .ag-mobile-menu-links .list-group-item.active i,
.ag-mobile-menu .ag-mobile-menu-links .list-group-item.is-active i {
    color: #2f6b46 !important;
}

.ag-mobile-menu .ag-mobile-menu-toggle[aria-expanded="true"] {
    background: #eaf6ee !important;
    border-color: #c7e6d1 !important;
    color: #1f4d33 !important;
}

.ag-mobile-menu .ag-mobile-menu-toggle[aria-expanded="true"] .ag-mobile-menu-toggle-icon {
    color: #2f6b46 !important;
}

.ag-mobile-menu .ag-mobile-menu-toggle {
    cursor: pointer;
}

.ag-mobile-menu .ag-mobile-menu-toggle .ag-mobile-menu-toggle-icon {
    font-size: 0.8rem;
    color: #6b8198;
}

.ag-mobile-menu .ag-mobile-menu-sublist {
    margin: 0.2rem 0 0.5rem;
    border: 1px solid #e3ebf5;
    border-radius: 0.6rem;
    overflow: hidden;
}

.ag-mobile-menu .ag-mobile-menu-subitem {
    padding-left: 1.1rem;
    font-weight: 500;
}

.ag-mobile-menu .ag-mobile-menu-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b8198;
    font-weight: 700;
    margin: 0 0 0.4rem;
}

@media (max-width: 991.98px) {
    :root {
        --ag-header-vpad: 0.5rem;
        --ag-header-hpad: 0.65rem;
        --ag-logo-max: 180px;
        --ag-header-control-h: 2.5rem;
        --ag-header-actions-gap: 0.32rem;
        --ag-mobile-trigger-size: 2.5rem;
    }

    .ag-topbar {
        display: none !important;
    }

    .ag-catalog-shell.mt-2 {
        margin-top: 0 !important;
        position: sticky;
        top: 0;
        z-index: var(--ag-z-sticky);
        background: #fff;
        box-shadow: 0 8px 18px -14px rgba(17, 32, 53, 0.45);
    }

    .ag-header-main-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: var(--ag-header-vpad) var(--ag-header-hpad) !important;
        background: #fff;
        border: 1px solid #e5edf6;
        border-radius: 0.75rem;
        box-shadow: 0 3px 8px -7px rgba(17, 32, 53, 0.28);
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        column-gap: 0.5rem;
        min-height: 60px;
    }

    .ag-header-main-row.ag-header-panel--premium::before {
        display: none !important;
    }

    .ag-header-main-row > [class*='col-'] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ag-header-logo-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .ag-header-logo-col .mm-50 {
        display: inline-flex !important;
        margin: 0 !important;
    }

    .ag-mobile-header-trigger-wrap {
        order: 2;
    }

    .ag-header-mobile-col {
        position: absolute !important;
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        z-index: 2;
    }

    .ag-header-logo-col {
        padding-right: 0.25rem !important;
    }

}

@media (max-width: 575.98px) {
    :root {
        --ag-header-vpad: 0.4rem;
        --ag-header-hpad: 0.45rem;
        --ag-logo-max: 140px;
        --ag-header-control-h: 2.4rem;
        --ag-header-actions-gap: 0.28rem;
        --ag-mobile-trigger-size: 2.4rem;
    }

    .ag-catalog-shell {
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ag-header-main-row {
        width: calc(100vw - 0.9rem) !important;
        max-width: calc(100vw - 0.9rem) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ag-header-logo-col img {
        max-width: var(--ag-logo-max) !important;
    }

    .ag-mobile-header-trigger-wrap {
        display: inline-flex !important;
        position: fixed !important;
        top: 0.45rem !important;
        right: 0.15rem !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    :root {
        --ag-header-vpad: 0.45rem;
        --ag-header-hpad: 0.55rem;
        --ag-logo-max: 160px;
        --ag-header-control-h: 2.45rem;
        --ag-header-actions-gap: 0.3rem;
        --ag-mobile-trigger-size: 2.45rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    :root {
        --ag-header-vpad: 0.5rem;
        --ag-header-hpad: 0.65rem;
        --ag-logo-max: 180px;
        --ag-header-control-h: 2.5rem;
        --ag-header-actions-gap: 0.42rem;
        --ag-mobile-trigger-size: 2.5rem;
        --ag-header-col-gap: 0.6rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --ag-header-vpad: 0.75rem;
        --ag-header-hpad: 0.9rem;
        --ag-logo-max: 190px;
        --ag-header-control-h: 2.62rem;
        --ag-header-actions-gap: 0.5rem;
        --ag-mobile-trigger-size: 2.5rem;
        --ag-header-col-gap: 0.7rem;
    }
}

/* News list page */
.ag-news-page .ag-news-title {
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    color: #172635;
    font-weight: 800;
}

.ag-news-page .ag-news-categories .btn {
    border-radius: 0 !important;
    font-weight: 600;
}

.ag-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.ag-news-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 0.9rem;
    min-height: 100%;
}

.ag-news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.ag-news-card-title {
    margin: 0 0 0.5rem;
    font-size: 0.98rem;
    line-height: 1.28;
    font-weight: 700;
}

.ag-news-card-title a {
    color: #192b3d;
    text-decoration: none;
    transition: color 0.18s ease;
}

.ag-news-card-title a:hover,
.ag-news-card-title a:focus-visible {
    color: #2f9e44 !important;
}

.ag-news-card-announce {
    color: #4b5563;
    font-size: 0.89rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.ag-news-card-actions .btn {
    border-radius: 0 !important;
}

.ag-news-side .ag-home-right-block {
    background: #f5f5f5 !important;
    padding: 0.75rem;
}

@media (min-width: 1200px) {
    .ag-news-side {
        position: sticky;
        top: 92px;
        align-self: flex-start;
    }
}

.ag-news-side .list-group-item {
    background: #f5f5f5 !important;
    border-radius: 0 !important;
}

.ag-news-side-title {
    line-height: 1.28;
}

.ag-news-pagination .pager {
    margin-bottom: 0 !important;
}

@media (max-width: 1199.98px) {
    .ag-news-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}

/* Static text pages */
.ag-static-page {
    margin-bottom: 2.5rem;
}

.ag-error-main {
    padding: 0.75rem 0 2rem;
    background: #fff;
}

.ag-error-card {
    background: transparent;
    border: 0;
    padding: 1.2rem 0;
    box-shadow: none;
}

.ag-error-card-inner {
    display: block;
}

.ag-error-code {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 800;
    color: #2f9e44;
    margin: 0.65rem 0 0.45rem;
}

.ag-error-title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ag-error-text {
    max-width: 680px;
    margin: 0 auto 1rem;
    color: #4b5563;
    font-size: 1.06rem;
}

.ag-error-actions .btn {
    border-radius: 0 !important;
}

.ag-error-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1.1rem auto 0.9rem;
    max-width: 780px;
}

.ag-static-head {
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #2f9e44;
    padding: 1.1rem 1.25rem;
    margin: 0.9rem 0 1rem;
}

.ag-static-title {
    color: #172635;
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
    line-height: 1.14;
    font-weight: 800;
}

.ag-static-article {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 1.35rem 1.25rem;
    color: #263238;
    font-size: 1.08rem;
    line-height: 1.72;
}

.ag-static-article h2,
.ag-static-article h3,
.ag-static-article h4 {
    margin: 1.2rem 0 0.65rem;
    color: #172635;
    line-height: 1.3;
    font-weight: 700;
}

.ag-static-article p {
    margin: 0 0 0.95rem;
}

.ag-static-article ul,
.ag-static-article ol {
    padding-left: 1.3rem;
    margin: 0.2rem 0 1rem;
}

.ag-static-article li + li {
    margin-top: 0.3rem;
}

.ag-static-article a {
    color: #2f9e44;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 158, 68, 0.35);
}

.ag-static-article a:hover {
    color: #22773a;
    border-bottom-color: rgba(34, 119, 58, 0.6);
}

.ag-static-article strong,
.ag-static-article b {
    color: #172635;
    font-weight: 700;
}

.ag-static-article table {
    width: 100%;
    margin: 0.4rem 0 1rem;
    border-collapse: collapse;
}

.ag-static-article table td,
.ag-static-article table th {
    border: 1px solid #dbe3e8;
    padding: 0.45rem 0.55rem;
    vertical-align: top;
}

@media (max-width: 767.98px) {
    .ag-error-main {
        padding: 0.5rem 0 1.25rem;
    }

    .ag-error-card {
        padding: 0.8rem 0;
    }

    .ag-error-code {
        font-size: 2.35rem;
    }

    .ag-error-text {
        font-size: 1rem;
    }

    .ag-static-head {
        padding: 0.8rem 0.9rem;
        margin: 0.65rem 0 0.8rem;
    }

    .ag-static-article {
        padding: 0.95rem 0.9rem;
        font-size: 1rem;
        line-height: 1.62;
    }
}

/* Auth page */
.ag-auth-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f4f4;
}

.ag-auth-shell {
    min-height: 100vh;
    background: #f4f4f4;
}

.ag-auth-panel {
    background: #f4f4f4;
}

.ag-auth-panel-inner {
    max-width: 540px;
    margin: 0 auto;
    padding: 2.75rem 1.5rem;
}

.ag-auth-logo-wrap {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    padding: 2.75rem 1.5rem 0;
    text-align: center;
}

.ag-auth-logo-link {
    display: inline-flex;
}

@media (min-width: 992px) {
    .ag-auth-panel {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 100vh;
    }

    .ag-auth-logo-wrap {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        z-index: 5;
        padding-top: 1.75rem;
        text-align: center;
    }

    .ag-auth-panel-inner {
        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
}

.ag-auth-logo {
    display: block;
    width: 280px;
    max-width: 280px;
    height: auto;
    margin: 0 0 1.75rem;
}

.ag-auth-logo-text {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.ag-auth-form-card {
    border: 1px solid #d8d8d8 !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ag-auth-lang {
    display: flex;
    margin-bottom: 1.15rem;
}

.ag-auth-lang-on-image {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    margin-bottom: 0;
}

.ag-auth-lang-toggle {
    min-width: 180px;
    background: #fff !important;
    border-color: #cfd4da !important;
    color: #374151 !important;
    border-radius: 0 !important;
    font-weight: 700;
    text-transform: none;
}

.ag-auth-lang-toggle:hover,
.ag-auth-lang-toggle:focus {
    background: #fff !important;
    border-color: #aeb6bf !important;
    color: #1f2937 !important;
}

.ag-auth-lang-toggle:focus-visible,
.ag-auth-lang-toggle.show,
.ag-auth-lang-toggle.active,
.ag-auth-lang-toggle:active {
    background: #fff !important;
    color: #1f2937 !important;
    border-color: #aeb6bf !important;
}

.ag-auth-lang-menu {
    max-height: min(65vh, 320px);
    overflow-y: auto;
}

.ag-auth-title-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ededed;
}

.ag-auth-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-weight: 700;
}

.ag-auth-form-card,
.ag-auth-user-actions {
    --ag-auth-color-primary: #2f9e44;
    --ag-auth-color-primary-strong: #25823a;
    --ag-auth-control-radius: 0;
}

.ag-auth-form-card .form-control {
    min-height: 50px;
    border-radius: var(--ag-auth-control-radius) !important;
    border-color: #c8c8c8;
}

.ag-auth-form-card .form-control:focus {
    border-color: var(--ag-auth-color-primary);
    box-shadow: 0 0 0 0.1rem rgba(47, 158, 68, 0.15);
}

.ag-auth-link {
    color: var(--ag-auth-color-primary);
    text-decoration: none;
}

.ag-auth-link:hover {
    color: var(--ag-auth-color-primary-strong);
    text-decoration: underline;
}

.ag-auth-submit,
.ag-auth-register-btn,
.ag-auth-user-toggle {
    min-height: 46px;
    border-radius: var(--ag-auth-control-radius) !important;
}

.ag-auth-register-btn {
    font-weight: 700;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.ag-auth-divider {
    margin: 1rem 0 1rem;
    border-top: 1px solid #e6e6e6;
}

.ag-auth-google-btn {
    border-radius: var(--ag-auth-control-radius) !important;
    min-width: 220px;
    border-color: #cfd4da;
}

.ag-auth-user-menu {
    border-radius: var(--ag-auth-control-radius) !important;
}

.ag-auth-user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.ag-auth-user-menu-head .dropdown-item-text {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    word-break: break-word;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.ag-auth-user-mini {
    border-radius: var(--ag-auth-control-radius) !important;
    border-color: transparent !important;
    background: #fff;
    box-shadow: none;
}

.ag-auth-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2f9e44;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    font-size: 1.02rem;
}

.ag-auth-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.ag-auth-user-email {
    margin-top: 0.1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.ag-auth-user-actions .btn {
    border-radius: var(--ag-auth-control-radius) !important;
    min-height: 34px;
    font-weight: 500;
    letter-spacing: 0;
}

.ag-auth-user-actions .btn.btn-success {
    background-color: var(--ag-auth-color-primary);
    border-color: var(--ag-auth-color-primary);
}

.ag-auth-user-actions .btn.btn-success:hover,
.ag-auth-user-actions .btn.btn-success:focus {
    background-color: var(--ag-auth-color-primary-strong);
    border-color: var(--ag-auth-color-primary-strong);
}

.ag-auth-success-modal .modal-content {
    border-radius: 12px !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.ag-auth-success-modal .modal-body {
    animation: agAuthModalFadeIn 0.22s ease-out;
}

.ag-auth-success-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 158, 68, 0.12);
    color: #2f9e44;
    font-size: 1.9rem;
    transform: translateY(0);
}

@keyframes agAuthModalFadeIn {
    from {
        transform: translateY(8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ag-auth-aside {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(0deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.2)),
        linear-gradient(125deg, #95a4b8 0%, #5f6b7b 100%);
}

.ag-auth-aside {
    border-left: 1px solid #dedede;
}

.ag-auth-aside.has-photo {
    background-image:
        linear-gradient(0deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.16)),
        var(--ag-auth-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ag-auth-aside-content {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    max-width: 520px;
    background: rgba(15, 23, 42, 0.46);
    color: #fff;
    padding: 1rem 1.15rem;
    backdrop-filter: blur(2px);
}

.ag-auth-aside-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ag-auth-aside-text {
    font-size: 0.94rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
    .ag-auth-page,
    .ag-auth-shell {
        min-height: auto;
    }

    .ag-auth-panel-inner {
        max-width: 640px;
        padding: 1.25rem 1rem 2rem;
    }

    .ag-auth-logo-wrap {
        max-width: 640px;
        padding: 1.25rem 1rem 0;
    }

    .ag-auth-logo {
        width: 240px;
        margin: 0 auto 1rem;
    }

    .ag-auth-lang {
        justify-content: center;
    }

    .ag-auth-logo-text {
        text-align: center;
    }
}

/* Account menu: neutral active state without bright primary fill */
.ag-account-menu .ag-account-menu-item {
    color: #1f2933;
    border: 1px solid transparent;
    background-color: transparent;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ag-account-menu .ag-account-menu-item:hover {
    color: #111827;
    background-color: #f7f7f7;
}

.ag-account-menu .ag-account-menu-item.is-active {
    color: #111827;
    background-color: #f1f3f5;
    border-color: #d9dde2;
    font-weight: 600;
}

.ag-search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1085;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
}

.ag-search-suggest-item {
    --mdb-list-group-active-bg: #f1f3f5;
    --mdb-list-group-active-color: #1f2937;
    --mdb-list-group-active-border-color: #edf2f7;
    --mdb-list-group-action-hover-bg: #f1f3f5;
    --mdb-list-group-action-hover-color: #1f2937;
    --mdb-list-group-action-active-bg: #f1f3f5;
    --mdb-list-group-action-active-color: #1f2937;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    padding: 0.55rem 0.65rem;
    box-shadow: none !important;
    outline: 0 !important;
}

.ag-search-suggest-item:last-child {
    border-bottom: 0;
}

.ag-search-suggest-item.active,
.ag-search-suggest-item:focus,
.ag-search-suggest-item:hover {
    background: #f1f3f5;
    color: #1f2937;
    border-color: #edf2f7 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.ag-search-suggest-line {
    display: block;
    min-width: 0;
    font-size: 0.89rem;
    line-height: 1.22;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ag-search-suggest-main {
    color: #1f2937;
}

.ag-search-suggest-tail {
    color: #91a0b2;
}

.ag-search-suggest-item.active .ag-search-suggest-tail,
.ag-search-suggest-item:focus .ag-search-suggest-tail,
.ag-search-suggest-item:hover .ag-search-suggest-tail {
    color: #6b7280;
}

.ag-search-suggest-categories {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.2rem;
    padding-top: 0.2rem;
}

.ag-search-suggest-categories-title {
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.45rem 0.65rem 0.3rem;
}

.ag-search-suggest-category-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Comments editor grid: compact moderation layout */
[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] th:nth-child(2),
[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] td:nth-child(2) {
    min-width: 24rem;
    max-width: 42rem;
    white-space: normal;
    word-break: break-word;
}

[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] th:nth-child(3),
[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] td:nth-child(3) {
    white-space: nowrap;
    width: 11rem;
    min-width: 11rem;
}

[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] th:nth-child(4),
[data-role="pane"][data-e-template*="/my/comments-editor/"] [data-role="grid-table"] td:nth-child(4) {
    white-space: nowrap;
    text-align: center;
    width: 6.5rem;
    min-width: 6.5rem;
}
