body .woocommerce span.onsale, 
body .ast-onsale-card, 
body span.onsale.ast-onsale-card,
.astra-shop-thumbnail-wrap .onsale,
body .ast-outofstock-badge,
body .outofstock-badge,
body span.ast-outofstock-badge,
body .ast-badge-outofstock,
.ast-shop-product-out-of-stock,
.woocommerce-badge.out-of-stock,
.ast-shop-product-category, 
.ast-shop-product-category-wrap,
.woocommerce-loop-category__title,
.ast-woo-shop-product-category,
.ast-loop-product__category,
.category-list
{ display: none !important; opacity: 0 !important; visibility: hidden !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }

.site-header, .ast-main-header-wrap, .main-header-bar-wrap { position: relative !important; z-index: 99999 !important; }
.ast-desktop .main-header-menu .sub-menu, .ast-site-header-cart .widget_shopping_cart, .ast-site-header-cart-wrap { z-index: 999999 !important; }

/* Mermak kurumsal kategori/mağaza arşiv başlığı - v9.3.14/v9.3.15
   Not: Yeni H1 üretmez; mevcut Woo/Astra başlığını tasarlar. SEO için tek başlık korunur. */
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_brand .woocommerce-products-header,
body.tax-yith_product_brand .woocommerce-products-header,
body.tax-pa_brand .woocommerce-products-header {
    max-width: 1420px !important;
    margin: 0 auto 18px auto !important;
    padding: 18px 16px 6px 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

body.tax-product_cat .woocommerce-products-header__title.page-title,
body.tax-product_cat h1.page-title,
body.tax-product_cat .ast-archive-title,
body.tax-product_cat .entry-title,
body.post-type-archive-product .woocommerce-products-header__title.page-title,
body.post-type-archive-product h1.page-title,
body.post-type-archive-product .ast-archive-title,
body.post-type-archive-product .entry-title,
body.tax-product_brand .woocommerce-products-header__title.page-title,
body.tax-product_brand h1.page-title,
body.tax-product_brand .ast-archive-title,
body.tax-product_brand .entry-title,
body.tax-yith_product_brand .woocommerce-products-header__title.page-title,
body.tax-yith_product_brand h1.page-title,
body.tax-yith_product_brand .ast-archive-title,
body.tax-yith_product_brand .entry-title,
body.tax-pa_brand .woocommerce-products-header__title.page-title,
body.tax-pa_brand h1.page-title,
body.tax-pa_brand .ast-archive-title,
body.tax-pa_brand .entry-title {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 14px 30px 13px 30px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
    font-size: clamp(23px, 1.8vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    position: relative !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

body.tax-product_cat .woocommerce-products-header__title.page-title::after,
body.tax-product_cat h1.page-title::after,
body.tax-product_cat .ast-archive-title::after,
body.tax-product_cat .entry-title::after,
body.post-type-archive-product .woocommerce-products-header__title.page-title::after,
body.post-type-archive-product h1.page-title::after,
body.post-type-archive-product .ast-archive-title::after,
body.post-type-archive-product .entry-title::after,
body.tax-product_brand .woocommerce-products-header__title.page-title::after,
body.tax-product_brand h1.page-title::after,
body.tax-product_brand .ast-archive-title::after,
body.tax-product_brand .entry-title::after,
body.tax-yith_product_brand .woocommerce-products-header__title.page-title::after,
body.tax-yith_product_brand h1.page-title::after,
body.tax-yith_product_brand .ast-archive-title::after,
body.tax-yith_product_brand .entry-title::after,
body.tax-pa_brand .woocommerce-products-header__title.page-title::after,
body.tax-pa_brand h1.page-title::after,
body.tax-pa_brand .ast-archive-title::after,
body.tax-pa_brand .entry-title::after {
    content: "" !important;
    display: block !important;
    width: 72px !important;
    height: 3px !important;
    margin: 10px auto 0 auto !important;
    background: #f97316 !important;
    border-radius: 999px !important;
}

@media (max-width: 768px) {
    body.tax-product_cat .woocommerce-products-header,
    body.post-type-archive-product .woocommerce-products-header,
    body.tax-product_brand .woocommerce-products-header,
    body.tax-yith_product_brand .woocommerce-products-header,
    body.tax-pa_brand .woocommerce-products-header {
        padding: 14px 10px 4px 10px !important;
        margin-bottom: 14px !important;
    }

    body.tax-product_cat .woocommerce-products-header__title.page-title,
    body.tax-product_cat h1.page-title,
    body.tax-product_cat .ast-archive-title,
    body.tax-product_cat .entry-title,
    body.post-type-archive-product .woocommerce-products-header__title.page-title,
    body.post-type-archive-product h1.page-title,
    body.post-type-archive-product .ast-archive-title,
    body.post-type-archive-product .entry-title,
    body.tax-product_brand .woocommerce-products-header__title.page-title,
    body.tax-product_brand h1.page-title,
    body.tax-product_brand .ast-archive-title,
    body.tax-product_brand .entry-title,
    body.tax-yith_product_brand .woocommerce-products-header__title.page-title,
    body.tax-yith_product_brand h1.page-title,
    body.tax-yith_product_brand .ast-archive-title,
    body.tax-yith_product_brand .entry-title,
    body.tax-pa_brand .woocommerce-products-header__title.page-title,
    body.tax-pa_brand h1.page-title,
    body.tax-pa_brand .ast-archive-title,
    body.tax-pa_brand .entry-title {
        padding: 12px 16px !important;
        font-size: 22px !important;
        border-radius: 14px !important;
        letter-spacing: -0.02em !important;
    }

    body.tax-product_cat .woocommerce-products-header__title.page-title::after,
    body.tax-product_cat h1.page-title::after,
    body.tax-product_cat .ast-archive-title::after,
    body.tax-product_cat .entry-title::after,
    body.post-type-archive-product .woocommerce-products-header__title.page-title::after,
    body.post-type-archive-product h1.page-title::after,
    body.post-type-archive-product .ast-archive-title::after,
    body.post-type-archive-product .entry-title::after {
        width: 56px !important;
        margin-top: 8px !important;
    }
}

body.woocommerce { background: #f4f7f9!important; }
body.tax-product_cat .site-main, body.post-type-archive-product .site-main { padding-top: var(--mk-top-d)!important; max-width: 1420px!important; margin: 0 auto!important; }

.mm-category-showcase { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; position:relative; }
ul.mm-cat-grid { display: grid; grid-template-columns: repeat(var(--mk-cd), 1fr); gap: 15px; list-style: none; margin: 0; padding: 0; }
ul.mm-cat-slider { display: flex; overflow-x: auto; gap: 15px; list-style: none; margin: 0; padding: 0 0 10px 0; cursor: grab; user-select: none; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
ul.mm-cat-slider::-webkit-scrollbar { display: none; }
ul.mm-cat-slider.is-dragging { cursor: grabbing; scroll-behavior: auto; }
ul.mm-cat-slider li { flex: 0 0 calc((100% / var(--mk-cd)) - 15px); }
.mm-category-showcase li a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--mk-c-bg); border: 1px solid #e2e8f0; border-radius: 14px; padding: 15px; text-align: center; box-sizing:border-box; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.mm-category-showcase li a:hover { border-color: var(--mk-btn); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.mm-cat-img { width: 100%; aspect-ratio: 1/1; background: #f8fafc; border-radius: 10px; margin-bottom: 12px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.mm-cat-img img { max-width: 90%; max-height: 90%; object-fit: contain; pointer-events: none; }
.mm-category-showcase h2, .mm-category-showcase h3, .mm-category-showcase h4, .mm-category-showcase span { font-size: var(--mk-c-sz)!important; color: #0f172a!important; font-weight: 800!important; margin: auto 0 0 0!important; line-height: 1.3!important; display:block; }
.mm-category-showcase h2 span, .mm-category-showcase h3 span, .mm-category-showcase h4 span { font-size: 0.85em; color: #64748b; font-weight: normal; display: block; margin-top:2px; }

ul.products { display: grid!important; grid-template-columns: repeat(var(--mk-gd), 1fr)!important; gap: var(--mk-gap)!important; list-style: none!important; padding:0!important; margin:0!important; align-items: stretch!important; }
ul.products::before, ul.products::after { display: none!important; }

ul.products li.product { width: auto!important; margin: 0!important; padding: 15px 15px 22px 15px!important; background: #fff!important; border-radius: 15px!important; border: 1px solid #e2e8f0!important; display: flex!important; flex-direction: column!important; height: 100%!important; justify-content: flex-start!important; transition: 0.3s; position: relative; }
ul.products > li { width: auto!important; max-width: none!important; float: none!important; clear: none!important; margin: 0!important; display: flex!important; flex-direction: column!important; height: 100%!important; align-self: stretch!important; box-sizing: border-box!important; }
ul.products li.product:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); transform: translateY(-3px); border-color: #cbd5e1!important; }

.mm-wholesale-loop-badge{position:absolute;z-index:12;left:9px;top:9px;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:999px;background:#ff4b4b;color:#fff;font-size:11px;font-weight:900;line-height:1;letter-spacing:.1px;box-shadow:0 3px 9px rgba(0,0,0,.16);pointer-events:none}
@media(max-width:767px){.mm-wholesale-loop-badge{left:6px;top:6px;min-height:24px;padding:5px 7px;font-size:9px}}
.mm-product-img-wrapper { position: relative; width: 100%; aspect-ratio: 1/1; background: #f8fafc; border-radius: 10px; padding: var(--mk-p-pad-d); margin-bottom: 12px; flex-shrink: 0; overflow: hidden; box-sizing: border-box; }
.mm-product-img-wrapper img { width: var(--mk-p-scale-d)!important; height: var(--mk-p-scale-d)!important; max-width: var(--mk-p-scale-d)!important; max-height: var(--mk-p-scale-d)!important; object-fit: contain; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: opacity 0.4s ease; padding: 0 !important; box-sizing: border-box; }
.mm-hover-img { opacity: 0; }
.mm-product-img-wrapper.has-hover-image:hover .mm-hover-img { opacity: 1; }
.mm-product-img-wrapper.has-hover-image:hover .mm-main-img { opacity: 0; }

/* =======================================================
   EVRENSEL (MASAÜSTÜ & MOBİL) TAM BOY (FULL WIDTH) TICKER 
   ======================================================= */
.mm-dynamic-ticker-wrapper { 
    position: relative !important; 
    top: auto !important; 
    left: auto !important; 
    display: block !important; 
    height: 26px !important; 
    margin-bottom: 8px !important; 
    width: 100%; 
}
.mm-ticker-item { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease; 
    font-size: 12px !important; 
    font-weight: 800;
    padding: 4px 8px !important; 
    border-radius: 6px !important; 
    box-shadow: none !important; 
    width: 100% !important; 
    text-align: center !important; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    box-sizing: border-box; 
    display: flex !important; 
    align-items: center; 
    justify-content: center; 
    height: 100%; 
}
.mm-ticker-item.active { opacity: 1 !important; visibility: visible !important; z-index: 2; }

.mm-ticker-item.mk-sale { background: var(--mk-sale-bg); color: var(--mk-sale-txt); }
.mm-ticker-item.mk-fs { background: var(--mk-fs-bg); color: var(--mk-fs-txt); }
.mm-ticker-item.mk-oos { background: var(--mk-oos-bg); color: var(--mk-oos-txt); text-transform: uppercase; }
.mm-ticker-item.mk-fomo { background: var(--mk-fomo-bg); color: var(--mk-fomo-txt); }
.mm-ticker-item.mk-brand { background: #f8fafc; color: #475569; border: 1px solid #cbd5e1; }
.mm-ticker-item.mk-custom { background: var(--mk-custom-bg); color: var(--mk-custom-txt); border: 1px solid #7c3aed; }
.mm-ticker-item.mk-attr { background: #e2e8f0; color: #0f172a; border: 1px solid #cbd5e1; }

.mm-product-img-wrapper > .mm-quick-view-btn { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); background: var(--mk-qv-bg); color: var(--mk-qv-txt); border: none; padding: 8px 20px; border-radius: 20px; font-weight: 800; font-size: 12px; cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0; z-index: 5; white-space: nowrap; }
ul.products li.product:hover .mm-product-img-wrapper > .mm-quick-view-btn { bottom: 15px; opacity: 1; }
.mm-product-img-wrapper > .mm-quick-view-btn:hover { filter: brightness(1.2); transform: translateX(-50%) scale(1.05); }
.mm-loop-atc-container .mm-quick-view-btn { position: static !important; left: auto !important; bottom: auto !important; transform: none !important; opacity: 1 !important; z-index: auto !important; display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 38px; border-radius: 8px !important; padding: 0 10px !important; white-space: normal !important; }
.mm-loop-atc-container .mm-quick-view-btn:hover { transform: none !important; }

.mm-wishlist-btn { position: absolute; top: 10px; right: 10px; background: #fff !important; border: none !important; width: 34px !important; min-width: 34px !important; max-width: 34px !important; height: 34px !important; min-height: 34px !important; padding: 0 !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; z-index: 5; color: #ef4444 !important; font-size: 22px !important; line-height: 1 !important; overflow: visible !important; }
.mm-wishlist-btn:hover { color: var(--mk-wl-clr) !important; transform: scale(1.1); }
.mm-wishlist-btn .mm-wishlist-heart { display: block !important; color: currentColor !important; font-family: Arial, Helvetica, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1 !important; transform: translateY(-1px); pointer-events: none; }
.mm-wishlist-btn svg { display: block !important; width: 20px !important; height: 20px !important; stroke: currentColor !important; color: currentColor !important; }
.mm-wishlist-btn.active { color: var(--mk-wl-clr) !important; fill: var(--mk-wl-clr); }
.mm-wishlist-btn.active svg { fill: currentColor !important; }
.mm-wishlist-btn.mm-wishlist-saving { opacity: .65; pointer-events: none; }
.woocommerce-account .mm-wishlist-account-remove { position: static !important; width: auto !important; height: auto !important; border-radius: 6px !important; padding: 8px 12px !important; gap: 6px; color: var(--mk-wl-clr); }

/* v9.3.28: Hesabım > Favorilerim sayfası katalog kart CSS'inden izole edilir.
   Amaç: tema/Woo ul.products kurallarıyla bozulmadan temiz favori grid'i göstermek. */
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin: 18px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products::before,
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products::after {
    content: none !important;
    display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.06) !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    text-align: left !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item > a {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: inherit !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin: 0 0 8px 0 !important;
    box-sizing: border-box !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item .woocommerce-loop-product__title {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    min-height: 40px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item .price {
    margin: 4px 0 12px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ea580c !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    display: block !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist li.product.mermak-account-wishlist-item .price del {
    display: block !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist .mm-wishlist-account-remove,
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist button.mm-wishlist-account-remove {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: auto 0 0 0 !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
}
.woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist .mm-wishlist-account-remove:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}
@media (max-width: 1200px) {
    .woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 921px) {
    .woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}
@media (max-width: 520px) {
    .woocommerce-account .woocommerce-MyAccount-content .mermak-account-wishlist ul.products {
        grid-template-columns: 1fr !important;
    }
}


.mm-cart-indicator { position: absolute; top: -10px; right: -10px; background: var(--mk-cart-ind-bg); color: var(--mk-cart-ind-txt); font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 10px; z-index: 20; box-shadow: 0 4px 10px rgba(0,0,0,0.2); border: 2px solid #fff; display: none; }

ul.products li.product .woocommerce-loop-product__title { font-size: 15px!important; font-weight: 800!important; color: #0f172a!important; margin-bottom: 8px!important; line-height: 1.3!important; display: -webkit-box; -webkit-line-clamp: var(--mk-p-line); -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }
.mm-card-flex-grow-wrapper { flex-grow: 1!important; display: flex!important; flex-direction: column!important; }
.mm-card-specs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.mm-spec-item { font-size: 11px; color: var(--mk-desc-clr); display: flex; justify-content: space-between; background: #f8fafc; padding: 4px 8px; border-radius: 4px; border: 1px solid #f1f5f9; }
.mm-spec-item strong { color: #334155; }

/* Masaüstünde ekstra bar kapatıldı, ticker da zaten dönüyor */
.mm-fomo-wrapper { display: none !important; }

ul.products li.product .price { margin-top: auto!important; padding: 12px!important; background: linear-gradient(180deg, var(--mk-bg1), var(--mk-bg2))!important; border-radius: 10px; color: var(--mk-txt); font-weight: 900; font-size: 18px; border: 1px solid var(--mk-brd); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; flex-shrink: 0; }
ul.products li.product .price del { font-size: 13px!important; color: #dc2626!important; font-weight: 600!important; width: 100%; opacity: 0.8; }
ul.products li.product .price ins { text-decoration: none; color: var(--mk-txt); }
ul.products li.product .price > .woocommerce-Price-amount::after, ul.products li.product .price ins .woocommerce-Price-amount::after { content: var(--mk-kdv-txt); display: var(--mk-kdv-vis)!important; font-size: var(--mk-kdv-sz-r)!important; font-weight: 800!important; margin-left: 5px!important; color: #64748b; }

.mm-loop-atc-container { display: flex; gap: 10px; margin-top: 12px; flex-shrink: 0; position: relative; flex-direction: var(--mk-atc-dir-d); }
.mm-loop-atc-container .button { flex: 1; background: var(--mk-btn)!important; color: var(--mk-btn-txt)!important; border-radius: 8px!important; font-weight: 800; text-transform: uppercase; font-size: 13px!important; height: 42px!important; display: flex!important; align-items: center; justify-content: center; margin: 0!important; padding: 0 10px!important; transition: 0.2s; }
.mm-loop-atc-container .button:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.mm-loop-atc-container .button.added { background: #16a34a!important; }
.mm-loop-atc-container .button.mm-btn-oos { background: var(--mk-oos-btn-bg)!important; color: var(--mk-oos-btn-txt)!important; cursor: not-allowed!important; opacity: 0.9; box-shadow: none!important; transform: none!important; }

/* KUSURSUZ MİKTAR HİZALAMASI (Masaüstü ve Mobil) */
.mm-loop-qty-wrapper { display: flex; background: var(--mk-qty-bg); border-radius: 8px; overflow: hidden; width: var(--mk-qty-w); min-width: 100px; flex: 0 0 auto; border: 2px solid var(--mk-qty-brd); height: 42px; box-sizing: border-box; align-items: stretch; }
.mm-loop-qty-wrapper button { border: none; background: var(--mk-qty-btn-bg); color: var(--mk-qty-btn-txt); width: 30px; min-width: 30px; flex: 0 0 30px; font-weight: 900; font-size: 18px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; padding: 0 !important; margin: 0 !important; line-height: normal !important; height: 100% !important; }
.mm-loop-qty-wrapper button:hover { filter: brightness(0.9); }
.mm-loop-qty-wrapper input { border: none; background: transparent; width: auto; min-width: 36px; flex: 1 1 36px; text-align: center; font-weight: 900; font-size: 15px; color: var(--mk-qty-txt); -moz-appearance: textfield; padding: 0 !important; outline: none; margin: 0 !important; height: 100% !important; display: flex; align-items: center; justify-content: center; line-height: normal !important; box-sizing: border-box !important; }
.mm-loop-qty-wrapper input::-webkit-inner-spin-button, .mm-loop-qty-wrapper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.mm-pop-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.7); z-index: 999999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.mm-pop-box { background: #fff; border-radius: 16px; width: 90%; max-width: 400px; padding: 25px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); transform: translateY(-20px); animation: popIn 0.3s forwards; }
@keyframes popIn { to { transform: translateY(0); } }
.mm-pop-header { font-weight: 800; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; display: flex; justify-content: space-between; color: #16a34a; font-size: 16px; }
.mm-pop-close { cursor: pointer; font-size: 24px; line-height: 1; color: #94a3b8; transition: 0.2s; }
.mm-pop-close:hover { color: #ef4444; }
.mm-pop-body { display: flex; gap: 15px; padding: 20px 0; align-items: center; }
.mm-pop-body img { width: 70px; height: 70px; object-fit: contain; border: 1px solid #f1f5f9; border-radius: 10px; padding: 5px; }
.mm-pop-title { font-weight: 800; font-size: 15px; color: #0f172a; margin-bottom: 5px; line-height: 1.3; }
.mm-pop-qty { font-size: 13px; color: #64748b; font-weight: 600; }
.mm-pop-total { padding: 0 0 20px 0; text-align: center; }
.mm-pop-total .price { justify-content: center; margin: 0 auto!important; max-width: max-content; }
.mm-pop-footer { display: flex; gap: 10px; }
.mm-pop-btn-continue { flex: 1; padding: 14px; background: #f1f5f9; color: #334155; border: none; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: 14px; transition: 0.2s; }
.mm-pop-btn-continue:hover { background: #e2e8f0; }
.mm-pop-btn-cart { flex: 1; padding: 14px; background: var(--mk-pop-btn); color: #fff; text-align: center; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 14px; transition: 0.2s; display: block; }
.mm-qv-box { background: #fff; border-radius: 20px; width: 90%; max-width: 900px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); transform: translateY(-20px); animation: popIn 0.3s forwards; }
.mm-qv-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px; }
.mm-qv-image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #f1f5f9; }
.mm-qv-title { font-size: 24px; font-weight: 900; color: #0f172a; margin-bottom: 15px; line-height: 1.2; }
.mm-qv-price { font-size: 24px; font-weight: 900; color: var(--mk-txt); margin-bottom: 20px; }

.mm-loader { display: none; text-align: center; padding: 20px; font-weight: bold; color: #64748b; }
.mm-loader.active { display: block; }
.mm-load-btn { display: none; width: 100%; max-width: 300px; margin: 20px auto; padding: 15px; background: #0f172a; color: #fff; border-radius: 8px; font-weight: bold; cursor: pointer; border: none; text-transform:uppercase; }
nav.woocommerce-pagination.mm-hidden, .woocommerce-pagination.mm-hidden { display: none!important; }


/* =======================================================
   V9.2.6 - SADECE MASAÜSTÜ: KATEGORİ/SHOP ÜRÜN KARTI CLS SABİTLEME
   Mobil CSS, SQL, JS, filtre, sepet ve ürün döngüsü mantığı değiştirilmedi.
   Amaç: Astra/Woo grid üzerinde ürün kartı alt bloklarının geç yerleşip satır yüksekliğini oynatmasını engellemek.
   ======================================================= */
@media (min-width: 993px) {
    body.tax-product_cat ul.products,
    body.post-type-archive-product ul.products {
        align-items: stretch !important;
    }

    body.tax-product_cat ul.products li.product,
    body.post-type-archive-product ul.products li.product {
        align-self: stretch !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat ul.products li.product > a.woocommerce-LoopProduct-link,
    body.tax-product_cat ul.products li.product > a.woocommerce-loop-product__link,
    body.post-type-archive-product ul.products li.product > a.woocommerce-LoopProduct-link,
    body.post-type-archive-product ul.products li.product > a.woocommerce-loop-product__link {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    body.tax-product_cat .mm-product-img-wrapper,
    body.post-type-archive-product .mm-product-img-wrapper {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-dynamic-ticker-wrapper,
    body.post-type-archive-product .mm-dynamic-ticker-wrapper {
        height: 26px !important;
        min-height: 26px !important;
        max-height: 26px !important;
        overflow: hidden !important;
    }

    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
        min-height: 40px !important;
        max-height: 40px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-card-flex-grow-wrapper,
    body.post-type-archive-product .mm-card-flex-grow-wrapper {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }

    body.tax-product_cat .mm-card-short-desc,
    body.post-type-archive-product .mm-card-short-desc {
        font-size: 13px !important;
        line-height: 1.35 !important;
        min-height: 36px !important;
        max-height: 36px !important;
        overflow: hidden !important;
        margin: 0 0 8px 0 !important;
        color: var(--mk-desc-clr) !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-card-specs,
    body.post-type-archive-product .mm-card-specs {
        min-height: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat ul.products li.product .price,
    body.post-type-archive-product ul.products li.product .price {
        min-height: 68px !important;
        align-content: center !important;
        box-sizing: border-box !important;
        margin-top: auto !important;
    }

    body.tax-product_cat .mm-loop-atc-container,
    body.post-type-archive-product .mm-loop-atc-container {
        min-height: 42px !important;
        height: 42px !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-loop-atc-container .button,
    body.tax-product_cat .mm-loop-qty-wrapper,
    body.post-type-archive-product .mm-loop-atc-container .button,
    body.post-type-archive-product .mm-loop-qty-wrapper {
        min-height: 42px !important;
        height: 42px !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-category-showcase .mm-cat-img,
    body.post-type-archive-product .mm-category-showcase .mm-cat-img {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .mm-category-showcase li > a > h2,
    body.tax-product_cat .mm-category-showcase li > a > h3,
    body.tax-product_cat .mm-category-showcase li > a > h4,
    body.tax-product_cat .mm-category-showcase li > a > span,
    body.post-type-archive-product .mm-category-showcase li > a > h2,
    body.post-type-archive-product .mm-category-showcase li > a > h3,
    body.post-type-archive-product .mm-category-showcase li > a > h4,
    body.post-type-archive-product .mm-category-showcase li > a > span {
        min-height: 38px !important;
        box-sizing: border-box !important;
    }
}

/* =======================================================
   V9.3.81 - MASAUSTU AKILLI 4/5/6 KOLON
   Panel/genislik durumuna gore kartlar gereksiz buyumesin. Mobil grid ayri kalir.
   ======================================================= */
@media (min-width: 993px) and (max-width: 1499px) {
    body.tax-product_cat ul.products,
    body.post-type-archive-product ul.products,
    body.search ul.products,
    body.tax-product_brand ul.products,
    body.tax-yith_product_brand ul.products,
    body.tax-pa_brand ul.products,
    body.woocommerce.archive ul.products { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
}
@media (min-width: 1500px) and (max-width: 2099px) {
    body.tax-product_cat ul.products,
    body.post-type-archive-product ul.products,
    body.search ul.products,
    body.tax-product_brand ul.products,
    body.tax-yith_product_brand ul.products,
    body.tax-pa_brand ul.products,
    body.woocommerce.archive ul.products { grid-template-columns: repeat(5, minmax(0,1fr)) !important; }
}
@media (min-width: 2100px) {
    body.tax-product_cat ul.products,
    body.post-type-archive-product ul.products,
    body.search ul.products,
    body.tax-product_brand ul.products,
    body.tax-yith_product_brand ul.products,
    body.tax-pa_brand ul.products,
    body.woocommerce.archive ul.products { grid-template-columns: repeat(6, minmax(0,1fr)) !important; }
}

/* =======================================================
   SADECE MOBİLE (VE YAN DÖNEN CİHAZLARA) ÖZEL DARALTMA
   ======================================================= */
@media (max-width: 992px) {
    body.tax-product_cat .site-main, body.post-type-archive-product .site-main { padding-top: var(--mk-top-m)!important; }
    ul.products { grid-template-columns: repeat(var(--mk-gm), 1fr)!important; gap: 18px 6px !important; padding: 0 1px !important; }

    ul.mm-cat-grid { grid-template-columns: repeat(var(--mk-cm), 1fr); }
    ul.mm-cat-slider li { flex: 0 0 calc((100% / var(--mk-cm)) - 15px); }

    ul.products li.product { padding: 4px 4px 12px 4px!important; border-radius: 6px!important; border: 1px solid rgba(15,23,42,0.38)!important; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
    ul.products > li { padding: 4px 4px 12px 4px!important; border-radius: 6px!important; width:auto!important; max-width:none!important; float:none!important; clear:none!important; box-sizing:border-box!important; }

    .mm-product-img-wrapper { aspect-ratio: 4/5 !important; border-radius: 6px !important; margin-bottom: 5px !important; background: transparent !important; padding: 0 !important; }
    .mm-product-img-wrapper img { object-fit: contain !important; padding: 0 !important; width: var(--mk-p-scale-m) !important; height: var(--mk-p-scale-m) !important; max-width: var(--mk-p-scale-m) !important; max-height: var(--mk-p-scale-m) !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }

    .mm-dynamic-ticker-wrapper { height: 24px !important; margin-bottom: 6px !important; }
    .mm-ticker-item { font-size: 11px !important; padding: 4px 6px !important; border-radius: 4px !important; }

    .woocommerce-product-rating { margin-bottom: 2px !important; }
    .star-rating { font-size: 12px !important; width: 60px !important; }

    ul.products li.product .woocommerce-loop-product__title { font-size: 12px!important; margin-bottom: 5px!important; }
    .mm-spec-item { font-size: 10px; padding: 3px 6px; }

    ul.products li.product .price { padding: 5px 6px!important; border-radius: 6px!important; font-size: 13px!important; background: #fffaf5 !important; }
    ul.products li.product .price del { font-size: 10px!important; }
    ul.products li.product .price > .woocommerce-Price-amount::after, ul.products li.product .price ins .woocommerce-Price-amount::after { font-size: 9px !important; margin-left: 2px!important; }

    .mm-loop-atc-container { flex-direction: row !important; height: 32px !important; margin-top: 5px !important; gap: 4px !important; }
    .mm-loop-qty-wrapper { width: 75px !important; min-width: 75px !important; flex: 0 0 75px !important; border-radius: 4px !important; border-width: 1px !important; }
    .mm-loop-qty-wrapper button { width: 24px !important; min-width: 24px !important; flex: 0 0 24px !important; font-size: 15px !important; }
    .mm-loop-qty-wrapper input { min-width: 25px !important; flex-basis: 25px !important; font-size: 13px !important; }
    .mm-loop-atc-container .button { font-size: 10px !important; border-radius: 4px !important; padding: 0 4px !important; }

    .mm-product-img-wrapper > .mm-quick-view-btn { display: none !important; }
    .mm-loop-atc-container .mm-quick-view-btn { display: flex !important; }
    .mm-wishlist-btn { width: 28px !important; min-width: 28px !important; max-width: 28px !important; height: 28px !important; min-height: 28px !important; top: 5px; right: 5px; font-size: 19px !important; }
    .mm-wishlist-btn .mm-wishlist-heart { font-size: 19px !important; }
    .mm-qv-container { grid-template-columns: 1fr; padding: 20px; gap: 15px; }

    /* V9.2.5 - SADECE MOBİL: ürün kartı hizalama + ayarlanabilir kontrollü görsel boşluğu + kart aralığı/çerçeve.
       Masaüstü CSS, sıralama, SQL, JS, infinite scroll, ticker ve sepet akışı değiştirilmedi. */
    ul.products {
        align-items: stretch !important;
        row-gap: 18px !important;
        column-gap: 6px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    ul.products li.product {
        align-self: stretch !important;
        overflow: hidden !important;
        border: 1px solid rgba(15,23,42,0.38) !important;
    }

    ul.products li.product > a.woocommerce-LoopProduct-link,
    ul.products li.product > a.woocommerce-loop-product__link {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    .mm-product-img-wrapper {
        aspect-ratio: 4 / 5 !important;
        background: #ffffff !important;
        border-radius: 7px !important;
        margin-bottom: 6px !important;
        padding: 0 !important;
    }

    .mm-product-img-wrapper img {
        top: 50% !important;
        left: 50% !important;
        width: var(--mk-p-scale-m) !important;
        height: var(--mk-p-scale-m) !important;
        max-width: var(--mk-p-scale-m) !important;
        max-height: var(--mk-p-scale-m) !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        padding: 0 !important;
    }

    .mm-card-short-desc {
        font-size: 11px !important;
        line-height: 1.25 !important;
        min-height: 28px !important;
        max-height: 28px !important;
        overflow: hidden !important;
        margin: 0 0 4px 0 !important;
        color: var(--mk-desc-clr) !important;
    }

    ul.products li.product .woocommerce-loop-product__title {
        line-height: 1.3 !important;
        min-height: 32px !important;
        max-height: 32px !important;
        overflow: hidden !important;
    }

    ul.products li.product .price {
        min-height: 47px !important;
        align-content: center !important;
        box-sizing: border-box !important;
        margin-top: auto !important;
    }

    .mm-loop-atc-container {
        min-height: 32px !important;
        height: 32px !important;
        align-items: stretch !important;
        margin-bottom: 2px !important;
    }

    .mm-loop-atc-container .button,
    .mm-loop-qty-wrapper {
        min-height: 32px !important;
        height: 32px !important;
        box-sizing: border-box !important;
    }

    .mm-loop-atc-container .button {
        line-height: 1 !important;
    }
}
