/* Google Translate CSS */
/* Hide Google Translate attribution */
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

/* Hide Google Translate toolbar */
.goog-te-banner-frame {
    display: none !important;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
} 
.goog-te-gadget-simple img {
    display: none !important;
}
iframe.goog-te-banner-frame {
    display: none !important;
}
body > div.skiptranslate {
    display: none !important;
}
body {
    top: 0 !important;
}
#google_translate_element > div > div {
    display: none !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Fix WooCommerce specific elements */
body {
    top: 0 !important;
}
.woocommerce-Price-amount, .amount, .price {
    white-space: nowrap;
}

/* WooCommerce ürün ve sayfa ayarları */
.entry-title, .woocommerce-product-title, .product_title {
    word-break: keep-all !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
}

/* Ürün değerlendirmeleri ve form alanları için düzeltmeler */
.comment-form label, .form-row label, .woocommerce-input-wrapper {
    display: inline-block !important;
}

/* Butonlar için gerekli düzeltmeler */
.button, .btn, [type="button"], [type="submit"] {
    white-space: nowrap !important;
}

/* Menü öğelerinin düzgün görüntülenmesi */
.menu-item a, nav a {
    white-space: nowrap !important;
}

/* AJAX ile yüklenen içerik için stil */
.woocommerce-tabs .wc-tabs-wrapper, 
.woocommerce-tabs .tabs,
.woocommerce-product-attributes,
.woocommerce-product-rating,
.woocommerce-notices-wrapper {
    opacity: 1 !important;
    transform: none !important;
}

/* Çeviriden korunacak öğeler için stil */
[data-notranslate] {
    white-space: nowrap !important;
}

/* Style the language switcher */
.language-switcher {
    position: relative;
    z-index: 100;
}
.language-switcher img {
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.language-switcher a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
} 