/* =====================================================
   BRAND ARCHIVE — PREMIUM DARK PRODUCT GRID
   custom2.css içindeki kategori tasarım diliyle uyumludur.

   Desteklenen olası marka taxonomy sınıfları:
   - tax-product_brand
   - tax-pwb-brand
   - tax-yith_product_brand
   - tax-pa_brand
   - tax-brand
===================================================== */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) {
    --mbs-brand-bg: #050505;
    --mbs-brand-card: #111111;
    --mbs-brand-gold: #c89a4b;
    --mbs-brand-gold-light: #d7b477;
    --mbs-brand-text: #f4f1eb;
    --mbs-brand-muted: #8a847c;
    --mbs-brand-border: rgba(200, 154, 75, 0.40);

    background: var(--mbs-brand-bg) !important;
    color: var(--mbs-brand-text) !important;
}

/* -----------------------------------------------------
   SAYFA ARKA PLANI VE GENEL YAPI
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .site,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .site-content,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .content-area,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .site-main,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-woocommerce-container {
    background: var(--mbs-brand-bg) !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) #secondary,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .widget-area {
    display: none !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) #primary,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .site-content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px 90px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .site-main {
    width: 100% !important;
    max-width: 1200px !important;
    margin: -100px 0px 0px 0px !important;
    padding: 0 !important;
}

/* -----------------------------------------------------
   MARKA BAŞLIĞI
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-entry-banner,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-description,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-products-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 60px 20px 20px 0px !important;
    background: var(--mbs-brand-bg) !important;
    border: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-entry-banner .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-title,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-products-header__title,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-entry-banner h1 {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 52px) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    text-align: center !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-title::after,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-products-header__title::after,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-archive-entry-banner h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 22px auto 0;
    background: var(--mbs-brand-gold);
}

/* Marka açıklaması varsa */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .term-description {
    max-width: 760px !important;
    margin: 20px auto 0 !important;
    color: #aaa39a !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    text-align: center !important;
}

/* -----------------------------------------------------
   SONUÇ SAYISI VE SIRALAMA
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-result-count {
    float: left !important;
    margin: 0 0 34px !important;
    color: #d4cec5 !important;
    font-size: 16px !important;
    line-height: 44px !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-ordering {
    float: right !important;
    margin: 0 0 34px !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-ordering select {
    min-width: 236px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 42px 0 14px !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid var(--mbs-brand-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
}

/* -----------------------------------------------------
   ÜRÜN GRID
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products {
    clear: both !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products::before,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products::after {
    display: none !important;
    content: none !important;
}

/* -----------------------------------------------------
   ÜRÜN KARTI
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product {
    position: relative !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 505px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--mbs-brand-card) !important;
    border: 1px solid var(--mbs-brand-border) !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product:hover {
    transform: translateY(-5px) !important;
    border-color: var(--mbs-brand-gold) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38) !important;
}

/* Pinterest ve küçük Astra sepet ikonunu gizle */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .pinterest-for-woocommerce-image-wrapper,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) [data-pin-do="buttonPin"],
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) [data-pin-log],
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) iframe[src*="pinterest"],
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-on-card-button,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-select-options-trigger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* -----------------------------------------------------
   GÖRSEL ALANI
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-thumbnail-wrap {
    position: relative !important;
    flex: 0 0 275px !important;
    width: 100% !important;
    height: 275px !important;
    min-height: 275px !important;
    max-height: 275px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-thumbnail-wrap > a.woocommerce-loop-product__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 16px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product img,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-thumbnail-wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    transition: transform 0.35s ease !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product:hover .astra-shop-thumbnail-wrap img {
    transform: scale(1.025) !important;
}

/* -----------------------------------------------------
   ALT İÇERİK
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 230px !important;
    margin: 0 !important;
    padding: 15px 16px 18px !important;
    background: var(--mbs-brand-card) !important;
    box-sizing: border-box !important;
}

/* Ürün başlığı */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-loop-product__link {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    text-decoration: none !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-loop-product__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mbs-brand-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.1px !important;
    text-align: center !important;
    text-transform: none !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

/* Fiyat */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-summary-wrap .price {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: 32px !important;
    margin: auto 0 15px !important;
    padding: 0 !important;
    color: var(--mbs-brand-gold-light) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price del,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price del * {
    color: var(--mbs-brand-muted) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price ins {
    color: var(--mbs-brand-gold-light) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price .amount,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .price bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}

/* Add to cart */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-summary-wrap > a.button,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 11px 10px !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid var(--mbs-brand-gold) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.65px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .astra-shop-summary-wrap > a.button:hover,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) ul.products li.product a.button:hover {
    background: var(--mbs-brand-gold) !important;
    color: #050505 !important;
}

/* Sale etiketi */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) span.onsale,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-onsale-card {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 9 !important;
    min-width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    background: var(--mbs-brand-gold) !important;
    color: #050505 !important;
    border: 0 !important;
    border-radius: 2px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
}

/* Stok dışı */
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .ast-shop-product-out-of-stock {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 10 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    background: rgba(11, 11, 11, 0.94) !important;
    color: var(--mbs-brand-gold-light) !important;
    border: 1px solid var(--mbs-brand-gold) !important;
    border-radius: 2px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.35px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transform: none !important;
}

/* -----------------------------------------------------
   SAYFALAMA
----------------------------------------------------- */

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination {
    margin-top: 44px !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul li {
    border: 0 !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul li a,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul li span {
    margin: 0 4px !important;
    padding: 11px 15px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid var(--mbs-brand-border) !important;
}

body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul li span.current,
body:is(
    .tax-product_brand,
    .tax-pwb-brand,
    .tax-yith_product_brand,
    .tax-pa_brand,
    .tax-brand
) .woocommerce-pagination ul li a:hover {
    background: var(--mbs-brand-gold) !important;
    color: #050505 !important;
    border-color: var(--mbs-brand-gold) !important;
}

/* -----------------------------------------------------
   TABLET
----------------------------------------------------- */

@media screen and (max-width: 1024px) {
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .site-content > .ast-container {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-thumbnail-wrap {
        flex-basis: 260px !important;
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
    }
}

/* -----------------------------------------------------
   MOBİL
----------------------------------------------------- */

@media screen and (max-width: 767px) {
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .ast-archive-entry-banner,
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .ast-archive-description,
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-products-header {
        padding: 46px 14px 38px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .site-content > .ast-container {
        padding: 0 14px 64px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-result-count,
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin: 0 0 14px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-result-count {
        line-height: 1.4 !important;
        text-align: center !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-ordering select {
        width: 100% !important;
        min-width: 0 !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products li.product {
        min-height: 390px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-thumbnail-wrap {
        flex-basis: 175px !important;
        height: 175px !important;
        min-height: 175px !important;
        max-height: 175px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-thumbnail-wrap > a.woocommerce-loop-product__link {
        padding: 10px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-summary-wrap {
        min-height: 210px !important;
        padding: 11px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-loop-product__title {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        font-size: 9px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-summary-wrap .price,
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .price ins {
        font-size: 16px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products li.product a.button {
        min-height: 38px !important;
        padding: 9px 5px !important;
        font-size: 8px !important;
        letter-spacing: 0.3px !important;
    }
}

/* Çok dar telefonlarda tek kolon */
@media screen and (max-width: 480px) {
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) ul.products li.product {
        min-height: 470px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-thumbnail-wrap {
        flex-basis: 250px !important;
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .woocommerce-loop-product__title {
        font-size: 12px !important;
    }

    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .astra-shop-summary-wrap .price,
    body:is(
        .tax-product_brand,
        .tax-pwb-brand,
        .tax-yith_product_brand,
        .tax-pa_brand,
        .tax-brand
    ) .price ins {
        font-size: 19px !important;
    }
}
