/*
  Client layout: katalog modu + EN dilinde UI gizleri.
  Koşullar body üzerinde: data-catalog-mode, data-english-catalog-only, data-lang.
  Kaynak: ViewBag → _Layout.cshtml body attribute'ları (ControllerBase).
*/

/* İngilizce Katalog Modu — sepete/siparişe yönlendiren tüm UI gizli.
   Configuration.EnglishCatalogOnlyMode=true ve aktif dil EN → body[data-catalog-mode="true"] */
body[data-catalog-mode="true"] .add-to-cart,
body[data-catalog-mode="true"] .add-cart,
body[data-catalog-mode="true"] .btn-add-cart,
body[data-catalog-mode="true"] .button-add-to-cart,
body[data-catalog-mode="true"] .product-action a.add,
body[data-catalog-mode="true"] [data-action="add-to-cart"],
body[data-catalog-mode="true"] .product-add-to-cart,
body[data-catalog-mode="true"] .quick-add-to-cart,
body[data-catalog-mode="true"] .cart-icon-wrapper,
body[data-catalog-mode="true"] .header-cart,
body[data-catalog-mode="true"] .header-cart-icon,
body[data-catalog-mode="true"] .mini-cart,
body[data-catalog-mode="true"] .cart-count,
body[data-catalog-mode="true"] [data-quick-buy],
body[data-catalog-mode="true"] .product-buy-now,
body[data-catalog-mode="true"] .gift-suggestion-modal,
/* ----- Gerçek Sinoz/TBF class'ları (catalog mode'da gizle) ----- */
body[data-catalog-mode="true"] .add,
body[data-catalog-mode="true"] #addToCartButton,
body[data-catalog-mode="true"] .addText,
body[data-catalog-mode="true"] .product-price,
body[data-catalog-mode="true"] .product-price-action-row,
body[data-catalog-mode="true"] .product-price-cover,
body[data-catalog-mode="true"] .price-child,
body[data-catalog-mode="true"] .old-price,
body[data-catalog-mode="true"] .new-price,
body[data-catalog-mode="true"] .text-price,
body[data-catalog-mode="true"] [class*="urun-fiyat"],
body[data-catalog-mode="true"] [class*="-price"]:not(.product-cart-wrap) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* "Birlikte Al" kampanya bölümü */
body[data-catalog-mode="true"] .buy-together-title,
body[data-catalog-mode="true"] .buy-together-box,
body[data-catalog-mode="true"] .buy-together-product-price,
body[data-catalog-mode="true"] [class*="buy-together"] {
    display: none !important;
    visibility: hidden !important;
}

/* Promosyon rozetleri / kampanya etiketleri */
body[data-catalog-mode="true"] .campaign-badge,
body[data-catalog-mode="true"] .campaign-badge-text,
body[data-catalog-mode="true"] [class*="campaign-badge"],
body[data-catalog-mode="true"] .discount-badge,
body[data-catalog-mode="true"] .promo-badge,
body[data-catalog-mode="true"] [class*="discount-rate"],
body[data-catalog-mode="true"] [class*="indirim"],
body[data-catalog-mode="true"] .badge-campaign,
body[data-catalog-mode="true"] [class*="getxpayy"],
body[data-catalog-mode="true"] [class*="getDiscountOnSecond"],
body[data-catalog-mode="true"] [class*="discount-on-second"],
body[data-catalog-mode="true"] .product-badges,
body[data-catalog-mode="true"] .product-badges-position,
body[data-catalog-mode="true"] .product-badges-mrg,
body[data-catalog-mode="true"] [class*="product-badges"],
body[data-catalog-mode="true"] .hot,
body[data-catalog-mode="true"] .new-tag,
body[data-catalog-mode="true"] .sale-tag {
    display: none !important;
    visibility: hidden !important;
}

/* Header sepet, mini-cart, basket */
body[data-catalog-mode="true"] .shoppingCart,
body[data-catalog-mode="true"] .cart-link,
body[data-catalog-mode="true"] .mini-cart-icon,
body[data-catalog-mode="true"] .basketDropdown,
body[data-catalog-mode="true"] .basketIconCount,
body[data-catalog-mode="true"] .basket-fixed-btn,
body[data-catalog-mode="true"] .cart-overlay,
body[data-catalog-mode="true"] .header-action-icon-2.shoppingCart,
body[data-catalog-mode="true"] [class*="basket"]:not(input):not(textarea),
body[data-catalog-mode="true"] [class*="sepet"]:not(input):not(textarea) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-catalog-mode="true"] .mob-header-wrap .header-action-icon-2:has(> a.favorite-link),
body[data-catalog-mode="true"] .mob-header-wrap .header-action-icon-2:has(> a.cart-link) {
    display: none !important;
}

body[data-catalog-mode="true"] .mob-header-wrap .header-action-right {
    flex: 1 !important;
    min-width: 0 !important;
}
body[data-catalog-mode="true"] .mob-header-wrap .header-action {
    display: flex !important;
    flex: 1 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    gap: 6px;
}
body[data-catalog-mode="true"] .mob-header-wrap .header-action > .header-action-icon-2:not(.mob-header-lang-wrap) {
    order: 1 !important;
}
body[data-catalog-mode="true"] .mob-header-wrap .mob-header-lang-wrap {
    order: 2 !important;
    margin-left: auto !important;
}

body[data-catalog-mode="true"] a[href*="/Order"]:not(.order-track-link):not([href*="/Order/Track"]):not([href*="/Order/Return"]),
body[data-catalog-mode="true"] a[href*="/ShoppingCart"] {
    display: none !important;
    pointer-events: none !important;
}

body[data-catalog-mode="true"] a.button.button-add-to-cart.catalog-inquiry-btn {
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin-top: 40px;
}

body[data-catalog-mode="true"] .modern-login-message {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-catalog-mode="true"] .footer-values-section,
body[data-catalog-mode="true"] .footer-certifica-box,
body[data-catalog-mode="true"] .bottom-center-footer,
body[data-catalog-mode="true"] .mobile-header-top-actions,
body[data-catalog-mode="true"] .user-wrap,
body[data-catalog-mode="true"] .header-action-icon-2 .favorite-link,
body[data-catalog-mode="true"] a[href*="/Order/Track"],
body[data-catalog-mode="true"] a[href*="/Order/Return"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-catalog-mode="true"] li:has(> a[href*="/Order/Track"]),
body[data-catalog-mode="true"] li:has(> a[href*="/Order/Return"]) {
    display: none !important;
}

body[data-catalog-mode="true"] .header-action-icon-favori,
body[data-english-catalog-only="true"] .header-action-icon-favori,
body[data-catalog-mode="true"] .favorite-heart-container,
body[data-english-catalog-only="true"] .favorite-heart-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-lang="EN"] .support-chatbot-badge,
body[data-lang="EN"] .chatbot-container,
body[data-lang="EN"] #support-chatbot,
body[data-lang="EN"] [class*="chatbot"],
body[data-lang="EN"] [id*="chatbot"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-lang="EN"] .invalid-message-mask,
#order-form-unified[data-shipping-mode="international"] .invalid-message-mask,
form[data-shipping-mode="international"] .invalid-message-mask {
    display: none !important;
}

body[data-lang="EN"] .modern-top-header,
body[data-lang="EN"] .free-shipping-banner,
body[data-lang="EN"] .free-cargo-banner,
body[data-lang="EN"] [class*="cargoLimit"],
body[data-lang="EN"] [class*="kargo-bedava"] {
    display: none !important;
}

body[data-lang="EN"] .cart-summary-shipping-row {
    display: none !important;
}
