/* ============================================================
   Bonart Elementor Home Widgets
============================================================ */
.ba-home-widget {
    --ba-home-gold: #b8943a;
    --ba-home-brown: #8b7355;
    --ba-home-text: #191919;
    --ba-home-muted: #777;
    --ba-home-border: rgba(139, 115, 85, 0.22);
    background: #fff;
    direction: rtl;
    color: var(--ba-home-text);
}

.ba-home-section {
    padding: 3.5rem 1.5rem;
}

.ba-home-inner {
    width: min(1380px, 100%);
    margin-inline: auto;
}

.ba-home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.ba-home-section-title {
    margin: 0;
    color: var(--ba-home-gold);
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
    font-weight: 700;
    line-height: 1.8;
}

.ba-home-swiper {
    width: 100%;
    overflow: hidden;
}

.ba-home-swiper .swiper-slide {
    height: auto;
}

.ba-home-swiper-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ba-home-swiper-nav.is-hidden {
    display: none !important;
}

.ba-home-arrow {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    background: #fff;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    font-size: 0.78rem;
}

.ba-home-arrow:hover {
    background: var(--ba-home-brown);
    border-color: var(--ba-home-brown);
    color: #fff;
}

.ba-home-arrow.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Categories */
.ba-home-category-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    background: #eee;
}

.ba-home-category-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.ba-home-category-card::after,
.ba-home-product-card::after,
.ba-home-article-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0) 72%);
    z-index: 1;
    pointer-events: none;
}

.ba-home-category-card span {
    position: absolute;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.65rem;
    z-index: 2;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.6;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.ba-home-category-card:hover img {
    transform: scale(1.05);
}

/* Events */
.ba-home-events {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
}

.ba-home-events .ba-home-inner {
    max-width: 1180px;
}

.ba-home-events .ba-home-section-header {
    margin-bottom: 0.95rem;
    align-items: center;
}

.ba-home-events .ba-home-section-title {
    color: var(--ba-home-gold);
    font-size: 1.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.ba-home-event-card {
    display: grid;
    grid-template-columns: minmax(210px, 1.02fr) minmax(520px, 2.45fr) minmax(250px, 1.3fr);
    align-items: stretch;
    min-height: 328px;
    padding: 16px;
    gap: 14px;
    background: #c69a65;
    overflow: hidden;
}

.ba-home-event-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 1.6rem;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 2.28;
    text-align: right;
}

.ba-home-event-text p {
    margin: 0;
    width: 100%;
}

.ba-home-event-text p + p {
    margin-top: 0.35rem;
}

.ba-home-event-main,
.ba-home-event-side {
    position: relative;
    min-height: 294px;
    overflow: hidden;
    background: rgba(0,0,0,0.08);
}

.ba-home-event-main img,
.ba-home-event-side img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ba-home-event-side img {
    filter: grayscale(1);
}

.ba-home-event-artist {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3rem 1rem 1rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.46) 40%, rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    gap: 0.26rem;
    text-align: right;
}

.ba-home-event-artist strong {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.7;
    color: #fff;
}

.ba-home-event-artist span {
    font-size: 0.8rem;
    line-height: 1.95;
    color: #fff;
}

.ba-home-events .ba-home-pagination {
    margin-top: 0.9rem;
    text-align: center;
}

.ba-home-events .ba-home-swiper-nav {
    gap: 0.5rem;
}

.ba-home-events .ba-home-arrow {
    width: 34px;
    height: 34px;
    border-color: rgba(0,0,0,0.12);
    background: #fff;
    color: #444;
}

.ba-home-events .ba-home-arrow:hover {
    background: #f8f8f8;
}

.ba-home-pagination {
    margin-top: 0.85rem;
}

.ba-home-events .ba-home-swiper-nav {
    gap: 0.5rem;
}

.ba-home-events .ba-home-arrow {
    width: 34px;
    height: 34px;
    border-color: rgba(17,17,17,0.12);
    background: #fff;
    color: #444;
}

.ba-home-events .ba-home-arrow:hover {
    background: #f8f8f8;
}

.ba-home-pagination {
    margin-top: 1rem;
    text-align: center;
}

.ba-home-pagination .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    border-radius: 999px;
    background: #ddd;
    opacity: 1;
}

.ba-home-pagination .swiper-pagination-bullet-active {
    background: var(--ba-home-gold);
}

/* Artists */
.ba-home-artists .ba-home-swiper {
    overflow: hidden;
}

.ba-home-artist-stack {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.ba-home-artist-cell {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
}

.ba-home-artist-cell-empty {
    background: #f4f4f4;
    border: 1px dashed rgba(139, 115, 85, 0.28);
}

.ba-home-artist-empty-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(241,241,241,0.9));
}

.ba-home-artist-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1);
    transition: filter 0.45s ease, transform 0.45s ease;
}

.ba-home-artist-stack:hover .ba-home-artist-cell img {
    filter: grayscale(0);
    transform: scale(1.035);
}

.ba-home-artist-portrait::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    z-index: 1;
}

.ba-home-artist-portrait strong {
    position: absolute;
    right: 0.6rem;
    left: 0.6rem;
    bottom: 0.5rem;
    z-index: 2;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* Products */
.ba-home-product-card,
.ba-home-article-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    background: #eee;
    color: #fff;
}

.ba-home-product-card img,
.ba-home-article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.ba-home-product-card:hover img,
.ba-home-article-card:hover img {
    transform: scale(1.035);
}

.ba-home-product-info,
.ba-home-article-info {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 3.2rem 0.85rem 0.85rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0));
    text-align: right;
}

.ba-home-product-artist,
.ba-home-product-size,
.ba-home-product-price,
.ba-home-article-info p {
    display: block;
    color: rgba(255,255,255,0.82);
    font-size: 0.74rem;
    line-height: 1.6;
}

.ba-home-product-info h3,
.ba-home-article-info h3 {
    margin: 0 0 0.2rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ba-home-product-price {
    margin-top: 0.25rem;
    color: #fff;
    font-weight: 800;
}

.ba-home-product-price del {
    opacity: 0.72;
    margin-inline-start: 0.35rem;
}

.ba-home-product-price ins {
    text-decoration: none;
}

/* Benefits */
.ba-home-benefits {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
}

.ba-home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.ba-home-benefit-card {
    min-height: 120px;
    border: 1px solid var(--ba-home-border);
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ba-home-benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 115, 85, 0.44);
    box-shadow: 0 18px 35px rgba(0,0,0,0.07);
}

.ba-home-benefit-icon {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(184,148,58,0.32);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #fff;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.ba-home-benefit-icon i {
    font-size: 18px;
    line-height: 1;
}

.ba-home-benefit-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ba-home-benefit-icon img,
.ba-home-benefit-icon .ba-home-benefit-icon-img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.ba-home-benefit-card strong {
    color: #111;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.8;
}

/* Articles */
.ba-home-article-info p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .ba-home-event-card {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 12px;
        padding: 12px;
    }

    .ba-home-event-text {
        min-height: 170px;
        padding: 1.4rem 1.25rem;
    }

    .ba-home-event-main,
    .ba-home-event-side {
        min-height: 260px;
    }

    .ba-home-benefits .ba-home-inner {
        overflow: hidden;
    }

    .ba-home-benefits-grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 10px;
        scrollbar-width: none;
    }

    .ba-home-benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .ba-home-benefits-grid .ba-home-benefit-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ba-home-benefit-card {
        flex: 0 0 clamp(210px, 44vw, 280px);
        min-height: 148px;
        padding: 1.25rem 0.95rem;
        gap: 0.9rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .ba-home-benefit-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .ba-home-benefit-icon i {
        font-size: 28px !important;
    }

    .ba-home-benefit-icon svg,
    .ba-home-benefit-icon img,
    .ba-home-benefit-icon .ba-home-benefit-icon-img {
        width: 34px !important;
        height: 34px !important;
    }
}

@media (max-width: 767px) {
    .ba-home-section {
        padding: 2.6rem 1rem;
    }

    .ba-home-section-header {
        align-items: flex-start;
    }

    .ba-home-event-text {
        font-size: 0.9rem;
        line-height: 2.1;
    }

    .ba-home-event-main,
    .ba-home-event-side {
        min-height: 210px;
    }

    .ba-home-benefits-grid {
        gap: 12px;
        padding-inline: 2px;
    }

    .ba-home-benefits-grid .ba-home-benefit-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ba-home-benefit-card {
        flex-basis: min(76vw, 290px);
        min-height: 146px;
        padding: 1.15rem 0.85rem;
        gap: 0.85rem;
    }

    .ba-home-benefit-icon {
        width: 58px !important;
        height: 58px !important;
    }

    .ba-home-benefit-icon i {
        font-size: 27px !important;
    }

    .ba-home-benefit-icon svg,
    .ba-home-benefit-icon img,
    .ba-home-benefit-icon .ba-home-benefit-icon-img {
        width: 34px !important;
        height: 34px !important;
    }

    .ba-home-benefit-card strong {
        font-size: 0.82rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .ba-home-benefits-grid {
        gap: 10px;
    }

    .ba-home-benefits-grid .ba-home-benefit-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ba-home-benefit-card {
        flex-basis: min(82vw, 286px);
        min-height: 142px;
        padding: 1.05rem 0.75rem;
    }

    .ba-home-benefit-icon {
        width: 56px !important;
        height: 56px !important;
    }

    .ba-home-benefit-icon i {
        font-size: 26px !important;
    }

    .ba-home-benefit-icon svg,
    .ba-home-benefit-icon img,
    .ba-home-benefit-icon .ba-home-benefit-icon-img {
        width: 33px !important;
        height: 33px !important;
    }
}

/* ============================================================
   Main Home Hero Slider Widget
============================================================ */
.ba-home-main-slider {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 320px;
    max-height: 760px;
    margin-top: 0;
    overflow: hidden;
    direction: rtl;
    background: #111;
}

.ba-home-main-swiper,
.ba-home-main-swiper .swiper-wrapper,
.ba-main-slide,
.ba-main-slide-link {
    width: 100%;
    height: 100%;
}

.ba-main-slide-link {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.ba-main-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.045);
    transition: transform 6s cubic-bezier(.25,.46,.45,.94);
}

.ba-home-main-swiper .swiper-slide-active .ba-main-slide-bg {
    transform: scale(1);
}

.ba-main-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
    opacity: 0.08;
    pointer-events: none;
}

.ba-main-slide-textbox {
    position: absolute;
    right: 40px;
    bottom: 60px;
    z-index: 2;
    width: min(380px, calc(100% - 80px));
    max-width: 380px;
    padding: 1.6rem 1.8rem;
    border-radius: 3px;
    background: rgba(30, 25, 20, 0.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-align: right;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s .25s ease, transform .7s .25s ease;
}

.ba-home-main-swiper .swiper-slide-active .ba-main-slide-textbox {
    opacity: 1;
    transform: translateY(0);
}

.ba-main-slide-title {
    margin: 0 0 .6rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.55;
}

.ba-main-slide-desc {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: .88rem;
    font-weight: 300;
    line-height: 1.9;
}

.ba-main-slider-nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    pointer-events: none;
}

.ba-main-slider-nav.is-hidden {
    display: none !important;
}

.ba-main-slider-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.18);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.ba-main-slider-arrow:hover {
    background: rgba(255,255,255,.32);
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

.ba-main-prev { right: 16px; }
.ba-main-next { left: 16px; }

.ba-main-slider-dots {
    position: absolute;
    right: auto;
    left: 50%;
    bottom: 22px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 7px;
    line-height: 1;
}

.ba-main-slider-dots .swiper-pagination-bullet {
    width: 34px;
    height: 4px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    opacity: 1;
    transition: width .22s ease, background .22s ease;
}

.ba-main-slider-dots .swiper-pagination-bullet-active {
    width: 44px;
    background: #b8943a;
}

@media (max-width: 768px) {
    .ba-home-main-slider {
        height: 48vh;
        min-height: 300px;
        max-height: 440px;
        margin-top: 100px;
    }
    .ba-main-slide-textbox {
        right: 16px;
        left: 16px;
        bottom: 56px;
        width: auto;
        max-width: none;
        padding: 1.2rem;
    }
    .ba-main-slide-title { font-size: 1rem; }
    .ba-main-slide-desc { font-size: .82rem; }
    .ba-main-slider-arrow { width: 36px; height: 36px; font-size: .78rem; }
}

/* ============================================================
   Home Artwork Search Widget
============================================================ */
.ba-home-search {
    background: #fff;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.ba-home-search-form {
    display: grid;
    grid-template-columns: repeat(var(--ba-search-columns-desktop, 8), minmax(0, 1fr));
    align-items: end;
    gap: 0.75rem;
    direction: rtl;
}

.ba-home-search-field {
    min-width: 0;
    width: 100%;
}

.ba-home-search-field label {
    display: block;
    margin-bottom: 0.42rem;
    color: var(--ba-home-muted);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: right;
}

.ba-home-search-field select,
.ba-home-search-field input {
    width: 100%;
    height: 46px;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid rgba(139, 115, 85, 0.22);
    border-radius: 7px;
    background: #fff;
    color: #303030;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 0 0.85rem;
    outline: none;
    box-shadow: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ba-home-search-field select:focus,
.ba-home-search-field input:focus {
    border-color: rgba(184, 148, 58, 0.75);
    box-shadow: 0 0 0 3px rgba(184, 148, 58, 0.12);
}

.ba-home-search-field select:disabled {
    opacity: 1;
    cursor: not-allowed;
    border-color: rgba(139, 115, 85, 0.13);
    background: #f4f3f1;
    color: #aaa49c;
    box-shadow: none;
}

.ba-home-search-field.is-loading select:disabled {
    background-image: linear-gradient(90deg, #f4f3f1 0%, #fbfaf8 50%, #f4f3f1 100%);
    background-size: 200% 100%;
    animation: ba-home-filter-loading 1.2s linear infinite;
}

@keyframes ba-home-filter-loading {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.ba-home-search-field select {
    appearance: auto;
}

.ba-home-search-action {
    min-width: 0;
    width: 100%;
    align-self: end;
}

.ba-home-search-submit {
    width: 100%;
    height: 46px;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid #b8943a;
    border-radius: 7px;
    background: #c79a61;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.6;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ba-home-search-submit:hover {
    background: #a77c43;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(167, 124, 67, 0.22);
}

@media (max-width: 1200px) {
    .ba-home-search-form {
        grid-template-columns: repeat(var(--ba-search-columns-tablet, 4), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ba-home-search-form {
        grid-template-columns: repeat(var(--ba-search-columns-mobile, 2), minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ba-home-search-form {
        grid-template-columns: 1fr;
    }
}

/* Elementor homepage white template */
.bonart-homepage-white-template,
.bonart-homepage-white-template .bonart-homepage-white-content {
    background: #fff;
}

.bonart-homepage-white-template .bonart-homepage-white-content {
    min-height: 70vh;
}


/* Homepage hero: keep main slider flush below the site menu. */
body.home .bonart-front-page-template,
body.page-template-homepage-white .bonart-homepage-white-template {
    margin-top: 0 !important;
}

body.home .bonart-front-page-template .elementor,
body.page-template-homepage-white .bonart-homepage-white-template .elementor {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .bonart-front-page-template .elementor > .elementor-section:first-child,
body.home .bonart-front-page-template .elementor > .e-con:first-child,
body.page-template-homepage-white .bonart-homepage-white-template .elementor > .elementor-section:first-child,
body.page-template-homepage-white .bonart-homepage-white-template .elementor > .e-con:first-child,
body.home .ba-home-main-slider,
body.page-template-homepage-white .ba-home-main-slider {
    margin-top: 0 !important;
}


@media (max-width: 1024px) {
    .ba-home-event-card {
        grid-template-columns: 0.95fr 1.6fr 1.1fr;
        min-height: 300px;
    }

    .ba-home-event-text {
        padding: 1.15rem 1rem;
    }

    .ba-home-event-text-line {
        font-size: 0.88rem;
        line-height: 1.95;
    }
}

@media (max-width: 767px) {
    .ba-home-events .ba-home-section-title {
        font-size: 1.35rem;
    }

    .ba-home-event-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
        min-height: 0;
    }

    .ba-home-event-text,
    .ba-home-event-main,
    .ba-home-event-side {
        min-height: 220px;
    }

    .ba-home-event-text {
        order: 3;
        justify-content: flex-start;
        min-height: auto;
        padding: 0.5rem 0.35rem 0;
    }

    .ba-home-event-main {
        order: 2;
    }

    .ba-home-event-side {
        order: 1;
        min-height: 280px;
    }
}

@media (max-width: 1024px) {
    .ba-home-events .ba-home-section-title {
        font-size: 1.65rem;
    }

    .ba-home-event-card {
        grid-template-columns: minmax(170px, 0.95fr) minmax(340px, 1.7fr) minmax(220px, 1.08fr);
        min-height: 300px;
    }

    .ba-home-event-text {
        padding: 1rem 1.15rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 767px) {
    .ba-home-events .ba-home-section-title {
        font-size: 1.3rem;
    }

    .ba-home-event-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
        min-height: 0;
    }

    .ba-home-event-side,
    .ba-home-event-main {
        min-height: 240px;
    }

    .ba-home-event-text {
        order: 3;
        min-height: auto;
        padding: 0.25rem 0.35rem 0;
    }

    .ba-home-event-main {
        order: 2;
    }

    .ba-home-event-side {
        order: 1;
    }
}

/* Fix main hero slider pagination: keep bullets centered like the desktop reference, overriding Swiper/global pagination rules. */
.ba-home-main-swiper.swiper-horizontal > .ba-main-slider-dots.swiper-pagination-bullets,
.ba-home-main-swiper > .ba-main-slider-dots.swiper-pagination-horizontal,
.ba-home-main-slider .ba-main-slider-dots.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    z-index: 12 !important;
}

.ba-home-main-swiper.swiper-horizontal > .ba-main-slider-dots.swiper-pagination-bullets .swiper-pagination-bullet,
.ba-home-main-swiper > .ba-main-slider-dots.swiper-pagination-horizontal .swiper-pagination-bullet,
.ba-home-main-slider .ba-main-slider-dots.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
    width: 34px !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.70) !important;
    opacity: 1 !important;
}

.ba-home-main-swiper.swiper-horizontal > .ba-main-slider-dots.swiper-pagination-bullets .swiper-pagination-bullet-active,
.ba-home-main-swiper > .ba-main-slider-dots.swiper-pagination-horizontal .swiper-pagination-bullet-active,
.ba-home-main-slider .ba-main-slider-dots.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet-active {
    width: 38px !important;
    background: #b8943a !important;
}

@media (max-width: 768px) {
    .ba-home-main-swiper.swiper-horizontal > .ba-main-slider-dots.swiper-pagination-bullets,
    .ba-home-main-swiper > .ba-main-slider-dots.swiper-pagination-horizontal,
    .ba-home-main-slider .ba-main-slider-dots.swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 16px !important;
    }
}

/* ============================================================
   Bonart alignment fix — categories + artists column
   Keeps "اثر مورد نظر..." and "هنرمندان بن‌آرت اسپیس" in one
   clean centered column with matching right/left edges.
============================================================ */
.ba-home-widget.ba-home-categories > .ba-home-inner,
.ba-home-widget.ba-home-artists > .ba-home-inner {
    width: min(1120px, 100%);
    max-width: 1120px !important;
    margin-inline: auto;
}

.ba-home-widget.ba-home-categories .ba-home-section-header,
.ba-home-widget.ba-home-artists .ba-home-section-header {
    width: 100%;
    margin-inline: auto;
    align-items: center;
}

.ba-home-widget.ba-home-categories .ba-home-section-title,
.ba-home-widget.ba-home-artists .ba-home-section-title {
    text-align: right;
    margin: 0;
}

.ba-home-widget.ba-home-categories .ba-home-swiper,
.ba-home-widget.ba-home-artists .ba-home-swiper {
    width: 100%;
    margin-inline: auto;
}

.ba-home-widget.ba-home-artists .ba-home-artist-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    align-items: start;
}

.ba-home-widget.ba-home-artists .ba-home-artist-cell {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.ba-home-widget.ba-home-artists .swiper-slide {
    height: auto;
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: 100%;
        max-width: 100% !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-artists .ba-home-section-header {
        align-items: flex-start;
    }
}


/* ============================================================
   Bonart fix — equal-size three columns for Elementor events widget
============================================================ */
.ba-home-widget.ba-home-events .ba-home-event-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
}

.ba-home-widget.ba-home-events .ba-home-event-text,
.ba-home-widget.ba-home-events .ba-home-event-main,
.ba-home-widget.ba-home-events .ba-home-event-side {
    min-height: 294px;
}

.ba-home-widget.ba-home-events .ba-home-event-main,
.ba-home-widget.ba-home-events .ba-home-event-side {
    width: 100%;
}

@media (max-width: 1024px) {
    .ba-home-widget.ba-home-events .ba-home-event-card {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-events .ba-home-event-card {
        grid-template-columns: 1fr !important;
    }

    .ba-home-widget.ba-home-events .ba-home-event-text,
    .ba-home-widget.ba-home-events .ba-home-event-main,
    .ba-home-widget.ba-home-events .ba-home-event-side {
        min-height: 220px;
    }
}


/* ============================================================
   Bonart artists widget inset alignment fix
   Leaves one artwork-width empty on both left and right sides
   while keeping the title and the artist grid perfectly aligned.
============================================================ */
.ba-home-widget.ba-home-artists {
    --ba-artist-empty-columns: 1;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-artists .ba-home-section-header,
    .ba-home-widget.ba-home-artists .ba-home-swiper {
        width: calc(
            ((100% - ((var(--ba-artist-visible-desktop) + (var(--ba-artist-empty-columns) * 2) - 1) * var(--ba-artist-gap))) / (var(--ba-artist-visible-desktop) + (var(--ba-artist-empty-columns) * 2))) * var(--ba-artist-visible-desktop)
            + ((var(--ba-artist-visible-desktop) - 1) * var(--ba-artist-gap))
        );
        max-width: 100%;
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-artists .ba-home-section-header,
    .ba-home-widget.ba-home-artists .ba-home-swiper {
        width: calc(
            ((100% - ((var(--ba-artist-visible-tablet) + (var(--ba-artist-empty-columns) * 2) - 1) * var(--ba-artist-gap))) / (var(--ba-artist-visible-tablet) + (var(--ba-artist-empty-columns) * 2))) * var(--ba-artist-visible-tablet)
            + ((var(--ba-artist-visible-tablet) - 1) * var(--ba-artist-gap))
        );
        max-width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-artists .ba-home-section-header,
    .ba-home-widget.ba-home-artists .ba-home-swiper {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }
}


/* ============================================================
   Bonart categories widget inset alignment fix
   The top artwork/category strip keeps one artwork-width empty
   space on the left and right while the title stays aligned.
============================================================ */
.ba-home-widget.ba-home-categories {
    --ba-category-empty-columns: 1;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: calc(
            ((100% - ((var(--ba-category-visible-desktop) + (var(--ba-category-empty-columns) * 2) - 1) * var(--ba-category-gap))) / (var(--ba-category-visible-desktop) + (var(--ba-category-empty-columns) * 2))) * var(--ba-category-visible-desktop)
            + ((var(--ba-category-visible-desktop) - 1) * var(--ba-category-gap))
        );
        max-width: 100%;
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: calc(
            ((100% - ((var(--ba-category-visible-tablet) + (var(--ba-category-empty-columns) * 2) - 1) * var(--ba-category-gap))) / (var(--ba-category-visible-tablet) + (var(--ba-category-empty-columns) * 2))) * var(--ba-category-visible-tablet)
            + ((var(--ba-category-visible-tablet) - 1) * var(--ba-category-gap))
        );
        max-width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }
}

/* Undo the previous inset behavior on the lower artists section.
   The user only wanted this empty-column spacing on the top strip. */
.ba-home-widget.ba-home-artists .ba-home-section-header,
.ba-home-widget.ba-home-artists .ba-home-swiper {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}


/* ============================================================
   Bonart events widget square columns fix
   Makes the three desktop columns square instead of tall rectangles.
============================================================ */
.ba-home-widget.ba-home-events .ba-home-event-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 12px;
    min-height: 0 !important;
}

.ba-home-widget.ba-home-events .ba-home-event-text,
.ba-home-widget.ba-home-events .ba-home-event-main,
.ba-home-widget.ba-home-events .ba-home-event-side {
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    height: auto;
}

.ba-home-widget.ba-home-events .ba-home-event-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    text-align: right;
}

.ba-home-widget.ba-home-events .ba-home-event-text p {
    width: 100%;
}

.ba-home-widget.ba-home-events .ba-home-event-main,
.ba-home-widget.ba-home-events .ba-home-event-side {
    width: 100%;
}

.ba-home-widget.ba-home-events .ba-home-event-main img,
.ba-home-widget.ba-home-events .ba-home-event-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-events .ba-home-event-card {
        grid-template-columns: 1fr !important;
    }

    .ba-home-widget.ba-home-events .ba-home-event-text,
    .ba-home-widget.ba-home-events .ba-home-event-main,
    .ba-home-widget.ba-home-events .ba-home-event-side {
        aspect-ratio: auto;
        min-height: 220px !important;
    }
}


/* ============================================================
   Bonart categories widget final layout refinement
   - removes the white block behind the top categories strip
   - keeps the title flush to the right edge of the strip
   - preserves one artwork-width inset on left and right
============================================================ */
.ba-home-widget.ba-home-categories {
    background: transparent !important;
}

.ba-home-widget.ba-home-categories > .ba-home-inner {
    background: transparent !important;
}

.ba-home-widget.ba-home-categories .ba-home-section-header {
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}

.ba-home-widget.ba-home-categories .ba-home-section-title {
    text-align: right;
    margin: 0;
    margin-inline-start: auto;
}

.ba-home-widget.ba-home-categories .ba-home-swiper,
.ba-home-widget.ba-home-categories .ba-home-section-header {
    background: transparent !important;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        box-sizing: border-box;
        width: calc(
            ((100% - ((var(--ba-category-visible-desktop) + (var(--ba-category-empty-columns) * 2) - 1) * var(--ba-category-gap))) / (var(--ba-category-visible-desktop) + (var(--ba-category-empty-columns) * 2))) * var(--ba-category-visible-desktop)
            + ((var(--ba-category-visible-desktop) - 1) * var(--ba-category-gap))
        );
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        box-sizing: border-box;
        width: calc(
            ((100% - ((var(--ba-category-visible-tablet) + (var(--ba-category-empty-columns) * 2) - 1) * var(--ba-category-gap))) / (var(--ba-category-visible-tablet) + (var(--ba-category-empty-columns) * 2))) * var(--ba-category-visible-tablet)
            + ((var(--ba-category-visible-tablet) - 1) * var(--ba-category-gap))
        );
        margin-inline: auto;
    }
}


/* ============================================================
   Bonart categories widget — match artist item size
   Top category cards get the same square size as the lower artist items.
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories {
        --ba-match-gap: 12px;
        --ba-match-visible-width: 1120px;
        --ba-match-card-size: calc((var(--ba-match-visible-width) - (5 * var(--ba-match-gap))) / 6);
        --ba-match-side-space: calc(var(--ba-match-card-size) + var(--ba-match-gap));
    }

    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(calc(var(--ba-match-visible-width) + (2 * var(--ba-match-side-space))), 100%);
        max-width: calc(var(--ba-match-visible-width) + (2 * var(--ba-match-side-space))) !important;
        margin-inline: auto;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: min(var(--ba-match-visible-width), 100%);
        max-width: var(--ba-match-visible-width);
        margin-inline: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(100%, 1120px);
        max-width: 1120px !important;
        margin-inline: auto;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }
}


/* ============================================================
   Bonart categories widget — title flush right fix
   The title aligns to the right edge of the visible strip,
   while the strip keeps one card-width empty space left and right.
============================================================ */
.ba-home-widget.ba-home-categories .ba-home-section-header {
    justify-content: flex-start !important;
    align-items: center;
}

.ba-home-widget.ba-home-categories .ba-home-section-title {
    text-align: right !important;
    margin: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
}

.ba-home-widget.ba-home-categories .ba-home-swiper-nav {
    margin-inline-start: auto;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(calc(1120px + (2 * (((1120px - (5 * 12px)) / 6) + 12px))), 100%);
        max-width: calc(1120px + (2 * (((1120px - (5 * 12px)) / 6) + 12px))) !important;
        margin-inline: auto;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: min(1120px, 100%);
        max-width: 1120px;
        margin-inline: auto;
    }
}


/* ============================================================
   Bonart categories widget — exact one-card side spacing
   Leaves one category-card empty on both left and right sides.
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories {
        --ba-category-gap-fixed: 12px;
        --ba-category-cols-fixed: 6;
        --ba-category-content-width: 1120px;
        --ba-category-card-size: calc((var(--ba-category-content-width) - ((var(--ba-category-cols-fixed) - 1) * var(--ba-category-gap-fixed))) / var(--ba-category-cols-fixed));
    }

    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(calc(var(--ba-category-content-width) + (2 * var(--ba-category-card-size))), 100%);
        max-width: calc(var(--ba-category-content-width) + (2 * var(--ba-category-card-size))) !important;
        margin-inline: auto;
        padding-inline: 0;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: min(var(--ba-category-content-width), 100%);
        max-width: var(--ba-category-content-width);
        margin-inline: auto;
    }
}


/* ============================================================
   Bonart categories widget — true one-card empty columns
   Desktop layout becomes an 8-column grid:
   1 empty column + 6 category items + 1 empty column.
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(1284px, 100%);
        max-width: 1284px !important;
        margin-inline: auto;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header,
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: visible;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    .ba-home-widget.ba-home-categories .ba-home-pagination {
        display: none !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 12px;
        width: 100% !important;
        transform: none !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide {
        width: auto !important;
        margin: 0 !important;
        flex: unset !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2;
    }

    .ba-home-widget.ba-home-categories .ba-home-category-card {
        aspect-ratio: 1 / 1;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header {
        justify-content: flex-start !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-title {
        margin-inline-end: auto !important;
        margin-inline-start: 0 !important;
        text-align: right !important;
    }
}

/* Homepage templates stay full-width; only safe spacing from the fixed header/footer is kept. */
body:not(.elementor-editor-active).home .bonart-front-page-template,
body:not(.elementor-editor-active).page-template-homepage-white .bonart-homepage-white-template {
    margin-top: 0 !important;
    padding-top: calc(var(--navbar-h, 100px) + var(--bonart-page-vertical-gap, 50px)) !important;
    padding-bottom: var(--bonart-page-vertical-gap, 50px) !important;
}

body:not(.elementor-editor-active).home .bonart-front-page-template .elementor,
body:not(.elementor-editor-active).page-template-homepage-white .bonart-homepage-white-template .elementor {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
}

body:not(.elementor-editor-active).home .bonart-front-page-template .elementor > .elementor-section:first-child,
body:not(.elementor-editor-active).home .bonart-front-page-template .elementor > .e-con:first-child,
body:not(.elementor-editor-active).page-template-homepage-white .bonart-homepage-white-template .elementor > .elementor-section:first-child,
body:not(.elementor-editor-active).page-template-homepage-white .bonart-homepage-white-template .elementor > .e-con:first-child,
body:not(.elementor-editor-active).home .ba-home-main-slider,
body:not(.elementor-editor-active).page-template-homepage-white .ba-home-main-slider {
    margin-top: 0 !important;
}

/* ============================================================
   Bonart artists widget — align with products widget
   Aligns the right edge of "هنرمندان بن‌آرت اسپیس" with
   "بهترین خرید امروز در بن‌آرت اسپیس" by using the same inner
   container width as the products widget.
============================================================ */
.ba-home-widget.ba-home-artists > .ba-home-inner {
    width: min(1380px, 100%) !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
}

.ba-home-widget.ba-home-artists .ba-home-section-header,
.ba-home-widget.ba-home-artists .ba-home-swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
}

.ba-home-widget.ba-home-artists .ba-home-section-header {
    justify-content: space-between !important;
    align-items: center !important;
}

.ba-home-widget.ba-home-artists .ba-home-section-title {
    text-align: right !important;
    margin: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
}

.ba-home-widget.ba-home-artists .ba-home-swiper-nav {
    margin-inline-start: auto !important;
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   Bonart categories widget — final requested alignment
   Title uses the same right edge as the other home section titles.
   Category cards start from the second artist-column on desktop.
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(1380px, 100%) !important;
        max-width: 1380px !important;
        margin-inline: auto !important;
        padding-inline: 0 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
        direction: rtl !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-title {
        margin: 0 !important;
        text-align: right !important;
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper-nav {
        margin-inline-start: auto !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
        overflow: visible !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    .ba-home-widget.ba-home-categories .ba-home-pagination {
        display: none !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: var(--ba-category-gap, 12px) !important;
        width: 100% !important;
        transform: none !important;
        direction: rtl !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide {
        width: auto !important;
        margin: 0 !important;
        flex: initial !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-category-card {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }
}

/* ============================================================
   Bonart categories widget — title one-card right inset
   Keeps the category title in the same desktop column system as
   the artists/products sections, with one artwork-card empty space
   from the physical right side.
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: min(1284px, 100%) !important;
        max-width: 1284px !important;
        margin-inline: auto !important;
        padding-inline: 0 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-inline: auto !important;
        display: flex !important;
        direction: rtl !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-right: calc(((100% - (7 * 12px)) / 8) + 12px) !important;
        padding-left: 0 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-section-title {
        margin: 0 !important;
        margin-inline: 0 !important;
        text-align: right !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
        overflow: visible !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        transform: none !important;
        direction: rtl !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2 !important;
    }
}

/* ============================================================
   Bonart final fix — category title aligned with artists title,
   category cards start from the second artist column.
   Uses shared container + CSS Grid; no absolute positioning.
============================================================ */
.ba-home-widget.ba-home-categories,
.ba-home-widget.ba-home-artists {
    --ba-home-shared-max: 1380px;
    --ba-home-shared-gap: 12px;
}

.ba-home-widget.ba-home-categories > .ba-home-inner,
.ba-home-widget.ba-home-artists > .ba-home-inner {
    width: min(var(--ba-home-shared-max), calc(100% - 3rem)) !important;
    max-width: var(--ba-home-shared-max) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories .ba-home-section-header,
.ba-home-widget.ba-home-artists .ba-home-section-header {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-categories .ba-home-section-title,
.ba-home-widget.ba-home-artists .ba-home-section-title {
    margin: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    text-align: right !important;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories .ba-home-swiper,
    .ba-home-widget.ba-home-artists .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: visible !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    .ba-home-widget.ba-home-categories .ba-home-pagination {
        display: none !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: var(--ba-category-gap, var(--ba-home-shared-gap)) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        flex: initial !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-category-card {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: min(100%, calc(100% - 2rem)) !important;
        max-width: 100% !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: hidden !important;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: min(100%, calc(100% - 1rem)) !important;
        max-width: 100% !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: hidden !important;
    }
}

/* ============================================================
   Bonart realignment v2 — categories title + grid
   Requirement:
   - Category title shares the exact right edge/container with artists title.
   - Category cards start from the second artist column on desktop.
   - No absolute positioning; CSS Grid desktop, Swiper/flex on smaller screens.
============================================================ */
.ba-home-widget.ba-home-categories,
.ba-home-widget.ba-home-artists {
    --ba-home-align-max: 1380px;
    --ba-home-align-gap: 12px;
}

.ba-home-widget.ba-home-categories > .ba-home-inner,
.ba-home-widget.ba-home-artists > .ba-home-inner {
    width: min(var(--ba-home-align-max), calc(100% - 3rem)) !important;
    max-width: var(--ba-home-align-max) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
}

/* Category title must sit on the same right edge as the artists title. */
.ba-home-widget.ba-home-categories .ba-home-section-header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-categories .ba-home-section-title {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

.ba-home-widget.ba-home-categories .ba-home-swiper-nav {
    display: none !important;
}

@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-pagination {
        display: none !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: var(--ba-artist-gap, var(--ba-category-gap, var(--ba-home-align-gap))) !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide {
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    /* Empty one artist-card column on the physical right side. */
    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-category-card {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: min(100%, calc(100% - 2rem)) !important;
        max-width: 100% !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: hidden !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: flex !important;
        transform: none;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: auto !important;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-artists > .ba-home-inner {
        width: min(100%, calc(100% - 1rem)) !important;
        max-width: 100% !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper {
        overflow: hidden !important;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper {
        display: flex !important;
        transform: none;
    }

    .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
        grid-column: auto !important;
    }
}

/* ============================================================
   Bonart alignment v3 — measured categories/artists sync
   Desktop:
   - category title uses the artists section right edge
   - category first visible item starts on the second artist column
   - no absolute positioning; normal-flow margins + CSS Grid
============================================================ */
@media (min-width: 1025px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner {
        width: var(--ba-sync-category-width) !important;
        max-width: var(--ba-sync-category-width) !important;
        margin-left: var(--ba-sync-category-left) !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-pagination {
        display: none !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(var(--ba-sync-grid-columns), var(--ba-sync-card-width)) !important;
        grid-auto-columns: var(--ba-sync-card-width) !important;
        gap: var(--ba-sync-gap) !important;
        width: var(--ba-sync-category-width) !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide {
        width: var(--ba-sync-card-width) !important;
        max-width: var(--ba-sync-card-width) !important;
        height: auto !important;
        margin: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child {
        grid-column: 2 !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card {
        width: var(--ba-sync-card-width) !important;
        height: var(--ba-sync-card-width) !important;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 1024px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner {
        width: min(100%, calc(100% - 2rem)) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child {
        grid-column: auto !important;
    }
}

/* ============================================================
   Bonart alignment v4 — exact category/artist column sync
   Source of truth is the rendered artist grid. The category title
   takes the same right edge, and the first category card starts on
   the second artist column. No absolute positioning.
============================================================ */
.ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner {
    box-sizing: border-box !important;
    padding-inline: 0 !important;
    transform: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    direction: rtl !important;
    white-space: normal !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-pagination {
    display: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper {
    transform: none !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide {
    width: var(--ba-sync-card-width) !important;
    max-width: var(--ba-sync-card-width) !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card {
    width: var(--ba-sync-card-width) !important;
    height: var(--ba-sync-card-width) !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-swiper {
    overflow: visible !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(var(--ba-sync-grid-columns), var(--ba-sync-card-width)) !important;
    grid-auto-columns: var(--ba-sync-card-width) !important;
    gap: var(--ba-sync-gap) !important;
    width: var(--ba-sync-category-width) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide {
    flex: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide:first-child {
    grid-column: 2 !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper::-webkit-scrollbar {
    display: none;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--ba-sync-gap) !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 var(--ba-sync-offset) 0 0 !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide {
    flex: 0 0 var(--ba-sync-card-width) !important;
    grid-column: auto !important;
}


/* ============================================================
   Bonart alignment v5 — category row inset from BOTH sides
   Final rule:
   - Category title uses the exact same right edge as Artists title.
   - Category cards keep one artist-card empty space on the right and left.
   - First category item aligns with the second artist card below it.
   - Normal flow only: no absolute positioning.
============================================================ */
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
    box-sizing: border-box !important;
    width: var(--ba-sync-inner-width) !important;
    max-width: var(--ba-sync-inner-width) !important;
    margin-left: var(--ba-sync-inner-left) !important;
    margin-right: auto !important;
    padding: 0 !important;
    transform: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper-nav,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-pagination {
    display: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper::-webkit-scrollbar {
    display: none !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--ba-sync-gap) !important;
    width: max-content !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 var(--ba-sync-offset) !important;
    direction: rtl !important;
    transform: none !important;
    box-sizing: content-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide {
    flex: 0 0 var(--ba-sync-card-width) !important;
    width: var(--ba-sync-card-width) !important;
    max-width: var(--ba-sync-card-width) !important;
    height: auto !important;
    margin: 0 !important;
    grid-column: auto !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:first-child {
    grid-column: auto !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-category-card {
    display: block !important;
    width: var(--ba-sync-card-width) !important;
    height: var(--ba-sync-card-width) !important;
    max-width: var(--ba-sync-card-width) !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
        width: min(var(--ba-sync-inner-width), calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: max(var(--ba-sync-safe-edge), 12px) !important;
        margin-right: auto !important;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin-left: 10px !important;
        margin-right: auto !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper {
        padding-right: min(var(--ba-sync-offset), 28vw) !important;
        padding-left: min(var(--ba-sync-offset), 28vw) !important;
    }
}

/* ============================================================
   Bonart v6 — final category/artist column alignment
   - Section title uses the same right edge as the artists section.
   - Category cards are inset by one artist card on both sides.
   - The first category card aligns with the second artist card.
   - No absolute positioning.
============================================================ */
.elementor .e-11b2c06 {
    width: 73% !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner {
    box-sizing: border-box;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-inline: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: right !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title {
    margin: 0 !important;
    text-align: right !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
    width: calc(100% - (2 * var(--ba-sync-inset, 0px))) !important;
    max-width: calc(100% - (2 * var(--ba-sync-inset, 0px))) !important;
    margin-inline: auto !important;
    overflow: hidden !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-slide {
    width: var(--ba-sync-card-width, auto) !important;
    flex: 0 0 var(--ba-sync-card-width, auto) !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card {
    width: 100% !important;
}

.ba-home-widget.ba-home-artists .ba-home-section-header,
.ba-home-widget.ba-home-artists .ba-home-swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

@media (max-width: 1024px) {
    .elementor .e-11b2c06 {
        width: 90% !important;
    }
}

@media (max-width: 767px) {
    .elementor .e-11b2c06 {
        width: 100% !important;
    }

    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        width: calc(100% - (2 * min(var(--ba-sync-inset, 0px), 72px))) !important;
        max-width: calc(100% - (2 * min(var(--ba-sync-inset, 0px), 72px))) !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}


/* ============================================================
   Bonart v7 — responsive test for Elementor container e-11b2c06
   - desktop starts from 73% as requested
   - width increases on smaller screens so the row does not break
   - category items keep one-card inset from both left/right
   - title stays in normal flow and aligned with its lower section axis
============================================================ */
.elementor .e-11b2c06 {
    width: 73% !important;
    max-width: 1380px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
    --ba-v7-row-inset: min(var(--ba-sync-inset, 0px), 22vw);
    width: max(var(--ba-sync-card-width, 160px), calc(100% - (2 * var(--ba-v7-row-inset)))) !important;
    max-width: calc(100% - (2 * var(--ba-v7-row-inset))) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper::-webkit-scrollbar {
    display: none !important;
}

.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper {
    padding: 0 !important;
    gap: var(--ba-sync-gap, 12px) !important;
}

@media (max-width: 1600px) {
    .elementor .e-11b2c06 {
        width: 76% !important;
    }
}

@media (max-width: 1440px) {
    .elementor .e-11b2c06 {
        width: 80% !important;
    }
}

@media (max-width: 1280px) {
    .elementor .e-11b2c06 {
        width: 86% !important;
    }
}

@media (max-width: 1024px) {
    .elementor .e-11b2c06 {
        width: 92% !important;
    }

    .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        --ba-v7-row-inset: min(var(--ba-sync-inset, 0px), 16vw);
    }
}

@media (max-width: 767px) {
    .elementor .e-11b2c06 {
        width: 100% !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        --ba-v7-row-inset: min(var(--ba-sync-inset, 0px), 12vw);
    }
}

@media (max-width: 480px) {
    .elementor .e-11b2c06 {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* ============================================================
   Bonart fix — real Swiper behavior for homepage categories
   The older alignment rules changed category rows to grid/static rows
   and forced transform:none, which blocked sliding on mobile.
============================================================ */
.ba-home-widget.ba-home-categories .ba-home-swiper {
    overflow: hidden !important;
    touch-action: pan-y !important;
    cursor: grab;
}

.ba-home-widget.ba-home-categories .ba-home-swiper:active {
    cursor: grabbing;
}

.ba-home-widget.ba-home-categories .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-auto-columns: auto !important;
    gap: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: content-box !important;
}

.ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide {
    grid-column: auto !important;
    flex-shrink: 0 !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child {
    grid-column: auto !important;
}

.ba-home-widget.ba-home-categories .ba-home-category-card {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
}

.ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden) {
    display: flex !important;
}

.ba-home-widget.ba-home-categories .ba-home-pagination:not(:empty) {
    display: flex !important;
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories > .ba-home-inner,
    .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner,
    .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner,
    .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .ba-home-widget.ba-home-categories .ba-home-swiper,
    .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper,
    .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow: hidden !important;
    }
}

/* Force category widget back to Swiper across all synced/aligned states. */
.ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-swiper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-auto-columns: auto !important;
    gap: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: content-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide {
    grid-column: auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide:first-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide:first-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:first-child,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:first-child {
    grid-column: auto !important;
}

/* ============================================================
   Bonart desktop categories — final exact row layout
   Desktop matches the requested screenshot: centered one-row strip,
   six equal image cards, title aligned to the right edge of the strip.
   Tablet/mobile keep the Swiper behavior.
============================================================ */
@media (min-width: 1025px) {
    body .elementor .e-11b2c06:has(.ba-home-widget.ba-home-categories) {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body .ba-home-widget.ba-home-categories,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset {
        background: transparent !important;
        overflow: visible !important;
    }

    body .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner {
        width: min(1020px, calc(100vw - 48px)) !important;
        max-width: 1020px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-title {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        color: #a7833c !important;
        font-weight: 800 !important;
        line-height: 1.55 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-pagination,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-pagination {
        display: none !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(var(--ba-category-visible-desktop, 6), minmax(0, 1fr)) !important;
        grid-auto-columns: auto !important;
        grid-auto-flow: row !important;
        gap: var(--ba-category-gap, 12px) !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        direction: rtl !important;
        transform: none !important;
        transition-duration: 0s !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        flex-basis: auto !important;
        flex-shrink: 1 !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:first-child {
        grid-column: auto !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-category-card {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1.14 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        background: #e9e4db !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 52%, rgba(0,0,0,0) 78%) !important;
        pointer-events: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card span {
        position: absolute !important;
        right: 8px !important;
        left: auto !important;
        bottom: 8px !important;
        z-index: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        min-height: 24px !important;
        padding: 3px 7px !important;
        background: rgba(255,255,255,.92) !important;
        color: #111 !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: right !important;
        text-shadow: none !important;
        white-space: nowrap !important;
        box-decoration-break: clone !important;
        -webkit-box-decoration-break: clone !important;
    }
}

/* ============================================================
   Bonart v8 — desktop categories remain a real Swiper slider
   - Desktop keeps the same visual row as requested.
   - Six visible category cards are centered.
   - One empty card-width is kept on both physical sides.
   - Previous desktop grid/static rules are overridden.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset {
        --ba-cat-desktop-visible: 6;
        --ba-cat-desktop-empty: 1;
        --ba-cat-desktop-gap: var(--ba-category-gap, 12px);
        --ba-cat-desktop-stage: min(1380px, calc(100vw - 48px));
        --ba-cat-desktop-card: calc((var(--ba-cat-desktop-stage) - (((var(--ba-cat-desktop-visible) + (2 * var(--ba-cat-desktop-empty))) - 1) * var(--ba-cat-desktop-gap))) / (var(--ba-cat-desktop-visible) + (2 * var(--ba-cat-desktop-empty))));
        --ba-cat-desktop-track: calc((var(--ba-cat-desktop-visible) * var(--ba-cat-desktop-card)) + ((var(--ba-cat-desktop-visible) - 1) * var(--ba-cat-desktop-gap)));
        background: transparent !important;
        overflow: visible !important;
    }

    body .elementor .e-11b2c06:has(.ba-home-widget.ba-home-categories) {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset > .ba-home-inner {
        width: var(--ba-cat-desktop-stage) !important;
        max-width: var(--ba-cat-desktop-stage) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header {
        display: flex !important;
        width: var(--ba-cat-desktop-track) !important;
        max-width: var(--ba-cat-desktop-track) !important;
        margin: 0 auto 14px auto !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        direction: rtl !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-title {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        color: #a7833c !important;
        font-weight: 800 !important;
        line-height: 1.55 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper {
        display: block !important;
        width: var(--ba-cat-desktop-track) !important;
        max-width: var(--ba-cat-desktop-track) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        touch-action: pan-y !important;
        box-sizing: border-box !important;
        cursor: grab !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper:active {
        cursor: grabbing !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper-nav:not(.is-hidden) {
        display: flex !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-pagination,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-pagination,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-pagination {
        display: none !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        grid-auto-columns: auto !important;
        grid-auto-flow: initial !important;
        gap: 0 !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        direction: rtl !important;
        box-sizing: content-box !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide {
        display: block !important;
        width: var(--ba-cat-desktop-card) !important;
        max-width: var(--ba-cat-desktop-card) !important;
        flex: 0 0 var(--ba-cat-desktop-card) !important;
        flex-basis: var(--ba-cat-desktop-card) !important;
        flex-shrink: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:first-child,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:first-child,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:first-child {
        grid-column: auto !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-category-card {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1.14 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        background: #e9e4db !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 52%, rgba(0,0,0,0) 78%) !important;
        pointer-events: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card span {
        position: absolute !important;
        right: 8px !important;
        left: auto !important;
        bottom: 8px !important;
        z-index: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        min-height: 24px !important;
        padding: 3px 7px !important;
        background: rgba(255,255,255,.92) !important;
        color: #111 !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: right !important;
        text-shadow: none !important;
        white-space: nowrap !important;
        box-decoration-break: clone !important;
        -webkit-box-decoration-break: clone !important;
    }
}

/* ============================================================
   Bonart category item spacing — requested 12px left margin
   Keeps the homepage category slider spacing consistent between cards.
============================================================ */
.ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide {
    margin-left: 12px !important;
}

.ba-home-widget.ba-home-categories .swiper-wrapper > .swiper-slide:last-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:last-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .swiper-wrapper > .swiper-slide:last-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .swiper-wrapper > .swiper-slide:last-child,
.ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:last-child,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .swiper-wrapper > .swiper-slide:last-child,
.elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .swiper-wrapper > .swiper-slide:last-child {
    margin-left: 0 !important;
}

/* ============================================================
   Bonart final — category slider arrows aligned to left edge
   Match the category navigation position with the artists slider below.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        width: min(1020px, calc(100vw - 48px)) !important;
        max-width: 1020px !important;
        margin: 0 auto 14px auto !important;
        padding: 0 !important;
        direction: rtl !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-title {
        display: block !important;
        width: auto !important;
        max-width: calc(100% - 110px) !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        order: 1 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-grid .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-scroll .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper-nav:not(.is-hidden),
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-swiper-nav {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        order: 2 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
    }
}


/* ============================================================
   Bonart FINAL override — homepage category slider spacing
   This block intentionally comes last, after older grid/static rules.
   - Desktop remains a real Swiper slider.
   - Every category slide gets 12px left margin.
   - Six items fit in the visible desktop strip.
============================================================ */
:root {
    --ba-category-final-gap: 12px;
}

body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide {
    margin-left: var(--ba-category-final-gap) !important;
    margin-right: 0 !important;
}

@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories {
        --ba-category-final-strip: min(1020px, calc(100vw - 48px));
        --ba-category-final-card: calc((var(--ba-category-final-strip) - (5 * var(--ba-category-final-gap))) / 6);
        overflow: visible !important;
        background: transparent !important;
    }

    body .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid > .ba-home-inner,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll > .ba-home-inner,
    body .elementor .ba-home-widget.ba-home-categories > .ba-home-inner,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories > .ba-home-inner {
        width: var(--ba-category-final-strip) !important;
        max-width: var(--ba-category-final-strip) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-header,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header {
        width: var(--ba-category-final-strip) !important;
        max-width: var(--ba-category-final-strip) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        direction: rtl !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper {
        display: block !important;
        width: var(--ba-category-final-strip) !important;
        max-width: var(--ba-category-final-strip) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        cursor: grab !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper .swiper-wrapper,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper .swiper-wrapper,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        grid-auto-columns: auto !important;
        grid-auto-flow: initial !important;
        gap: 0 !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        direction: rtl !important;
        box-sizing: content-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide {
        display: block !important;
        width: var(--ba-category-final-card) !important;
        max-width: var(--ba-category-final-card) !important;
        flex: 0 0 var(--ba-category-final-card) !important;
        flex-basis: var(--ba-category-final-card) !important;
        flex-shrink: 0 !important;
        height: auto !important;
        margin-left: var(--ba-category-final-gap) !important;
        margin-right: 0 !important;
        opacity: 1 !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-category-card,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-category-card,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-category-card {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1.14 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper-nav,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper-nav {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-pagination {
        display: none !important;
    }
}

/* ============================================================
   Bonart FINAL v9 — category header aligned with artists header
   The category cards can stay inset, but the title and arrows use
   the same desktop header axis as the artists slider below.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories {
        --ba-category-header-align-width: min(1188px, calc(100vw - 48px));
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-header,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced.ba-home-category-sync-inset .ba-home-section-header {
        width: var(--ba-category-header-align-width) !important;
        max-width: var(--ba-category-header-align-width) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        direction: rtl !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-title,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title {
        order: 1 !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 116px) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        white-space: normal !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper-nav,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper-nav {
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
    }
}

/* Home search widget: keep search button exactly the same height as filter selects. */
.ba-home-search .ba-home-search-field select,
.ba-home-search .ba-home-search-field input,
.ba-home-search .ba-home-search-submit {
    height: 46px !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
}

.ba-home-search .ba-home-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}

/* ============================================================
   Bonart final — align category slider header with artists slider
   Desktop: arrows on the same left axis and title on the same right axis.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories {
        --ba-category-artists-align-width: min(1188px, calc(100vw - 48px));
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-header,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-header {
        width: var(--ba-category-artists-align-width) !important;
        max-width: var(--ba-category-artists-align-width) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 16px !important;
        direction: ltr !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper-nav,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper-nav {
        grid-column: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        order: initial !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        direction: rtl !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-title,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-title {
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: center !important;
        order: initial !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        white-space: normal !important;
    }
}

/* ============================================================
   Bonart final safe fix — category header horizontal alignment only
   Desktop only: keep the responsive/tablet/mobile rules untouched.
   The category title and arrows use the same horizontal axis as the
   artists slider below, while the category carousel remains inset.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll {
        --ba-category-header-final-width: min(1188px, calc(100vw - 48px));
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-header,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-header {
        width: var(--ba-category-header-final-width) !important;
        max-width: var(--ba-category-header-final-width) !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        position: relative !important;
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        direction: rtl !important;
        text-align: right !important;
        box-sizing: border-box !important;
        grid-template-columns: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-section-title,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-section-title,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-title {
        order: 1 !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 120px) !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-self: auto !important;
        align-self: center !important;
        text-align: right !important;
        direction: rtl !important;
        white-space: normal !important;
        transform: none !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper-nav:not(.is-hidden),
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper-nav,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper-nav,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper-nav,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper-nav {
        order: 2 !important;
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        justify-self: auto !important;
        align-self: center !important;
        direction: rtl !important;
    }
}

/* ============================================================
   Bonart final — mobile only category item left margin
   Keep desktop/tablet responsive rules untouched.
============================================================ */
@media (max-width: 767px) {
    body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide {
        margin-left: 12px !important;
    }
}

/* ============================================================
   Benefits widget responsive layout fix
   Tablet/Mobile: 2 + 2 + 1 grid, no horizontal slider
============================================================ */
@media (max-width: 1024px) {
    .ba-home-benefits .ba-home-inner {
        overflow: visible !important;
    }

    .ba-home-benefits-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .ba-home-benefits-grid::-webkit-scrollbar {
        display: none !important;
    }

    .ba-home-benefits-grid .ba-home-benefit-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: initial !important;
        flex-basis: auto !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        min-height: 148px !important;
    }

    .ba-home-benefits-grid .ba-home-benefit-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        width: calc(50% - 6px) !important;
        justify-self: center !important;
    }
}

@media (max-width: 767px) {
    .ba-home-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding-inline: 0 !important;
    }

    .ba-home-benefits-grid .ba-home-benefit-card {
        min-height: 142px !important;
        padding: 1.05rem 0.75rem !important;
    }

    .ba-home-benefits-grid .ba-home-benefit-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        width: calc(50% - 6px) !important;
        justify-self: center !important;
    }
}

@media (max-width: 390px) {
    .ba-home-benefit-card strong {
        font-size: 0.76rem !important;
        line-height: 1.75 !important;
    }
}

/* ============================================================
   Bonart final — smaller category title on mobile only
============================================================ */
@media (max-width: 767px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-title,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-title {
        font-size: 0.92rem !important;
        line-height: 1.7 !important;
    }
}


/* Bonart final — responsive desktop left offset for category header alignment. */
@media (min-width: 950px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-section-header.ba-category-header-js-aligned,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 1700px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        left: 177px !important;
    }
}

@media (min-width: 1400px) and (max-width: 1699.98px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        left: 120px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        left: 72px !important;
    }
}

@media (min-width: 950px) and (max-width: 1199.98px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        left: 24px !important;
    }
}

@media (max-width: 949.98px) {
    body .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-section-header.ba-category-header-js-aligned {
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* ============================================================
   Bonart final — mobile category items must use ONLY left margin
   Mobile only: no gap/right/top/bottom margins, only 12px margin-left.
============================================================ */
@media (max-width: 767px) {
    body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper {
        gap: 0 !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }

    body .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-categories-synced .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-inset .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-grid .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .ba-home-widget.ba-home-categories.ba-home-category-sync-scroll .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide,
    body .elementor .e-11b2c06 .ba-home-widget.ba-home-categories .ba-home-swiper .swiper-wrapper > .swiper-slide {
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 12px !important;
    }
}

/* ============================================================
   Bonart artists widget — static grid, no slider
   Requested: remove carousel arrows and show "view all artists".
============================================================ */
.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-section-header,
.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artists-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    margin-bottom: 1.4rem !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-section-title {
    margin: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    text-align: right !important;
    flex: 0 1 auto !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0.45rem 1.15rem !important;
    border: 1px solid var(--ba-home-gold) !important;
    background: var(--ba-home-gold) !important;
    color: #fff !important;
    border-radius: 2px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-view-all:hover {
    background: var(--ba-home-brown) !important;
    border-color: var(--ba-home-brown) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-swiper-nav,
.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-pagination {
    display: none !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artists-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--ba-artist-visible-desktop, 8), minmax(0, 1fr)) !important;
    gap: var(--ba-artist-gap, 12px) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    direction: rtl !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artist-stack {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: var(--ba-artist-gap, 12px) !important;
    align-items: start !important;
    text-decoration: none !important;
}

.ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artist-cell {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artists-grid {
        grid-template-columns: repeat(var(--ba-artist-visible-tablet, 5), minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artists-header {
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-view-all {
        min-height: 34px !important;
        padding-inline: 0.85rem !important;
        font-size: 0.76rem !important;
    }

    .ba-home-widget.ba-home-artists.ba-home-artists-static .ba-home-artists-grid {
        grid-template-columns: repeat(var(--ba-artist-visible-mobile, 2), minmax(0, 1fr)) !important;
    }
}

/* ============================================================
   Categories widget - static grid layout
============================================================ */
.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-section-header {
    justify-content: flex-end;
}

.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
    display: grid;
    grid-template-columns: repeat(var(--ba-category-visible-desktop, 6), minmax(0, 1fr));
    gap: var(--ba-category-gap, 12px);
}

.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.32) 100%);
    z-index: 1;
    pointer-events: none;
}

.ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card span {
    position: absolute;
    top: 50%;
    right: 14px;
    left: 14px;
    bottom: auto;
    z-index: 2;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.8;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    display: block;
    margin: 0;
}

@media (max-width: 1024px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        grid-template-columns: repeat(var(--ba-category-visible-tablet, 4), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        grid-template-columns: repeat(var(--ba-category-visible-mobile, 2), minmax(0, 1fr));
    }
}

/* ============================================================
   Categories widget - match artist cards (square + bottom centered white title)
============================================================ */
body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--ba-category-visible-desktop, 6), minmax(0, 1fr)) !important;
    gap: var(--ba-category-gap, 12px) !important;
    width: 100% !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #eee !important;
    text-decoration: none !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    transition: transform 0.45s ease !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card:hover img {
    transform: scale(1.035) !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 45% 0 0 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-category-card span {
    position: absolute !important;
    right: 0.6rem !important;
    left: 0.6rem !important;
    top: auto !important;
    bottom: 0.5rem !important;
    z-index: 2 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    color: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45) !important;
}

@media (max-width: 1024px) {
    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        grid-template-columns: repeat(var(--ba-category-visible-tablet, 4), minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        grid-template-columns: repeat(var(--ba-category-visible-mobile, 2), minmax(0, 1fr)) !important;
    }
}

/* Categories static grid title alignment: right aligned with next section */
body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-section-header {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    direction: rtl !important;
    text-align: right !important;
}

body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-section-title {
    width: 100% !important;
    display: block !important;
    text-align: right !important;
    margin: 0 !important;
}


/* ============================================================
   Bonart v6.0.45 — categories: 8 items in one desktop row
   Uses the same content width and edges as the artists section.
============================================================ */
@media (min-width: 1025px) {
    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static > .ba-home-inner,
    body .elementor .ba-home-widget.ba-home-categories.ba-home-categories-grid-static > .ba-home-inner {
        width: min(1380px, calc(100% - 3rem)) !important;
        max-width: 1380px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-section-header,
    body .elementor .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-section-header,
    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid,
    body .elementor .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    body .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid,
    body .elementor .ba-home-widget.ba-home-categories.ba-home-categories-grid-static .ba-home-categories-grid {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: var(--ba-category-gap, 12px) !important;
    }
}

/* Bonart v6.0.46 — seven artwork filters with category-dependent subject and technique */
