/* 
Theme Name: Karınca Bilişim
Theme URI: https://karincabilisim.net
Description: Bu tema Karınca Bilişim ve Boran Karadeniz iş birliği ile geliştirilmiştir.
Author: Boran Karadeniz
Author URI: https://borankaradeniz.com
Template: karincabilisim-theme
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */
.elementor-menu-cart__toggle .elementor-button {
  border-radius: 5px; 
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  padding: 15px !important;
  border-radius: 5px !important;
  width: 100% !important;
  color: #001C40 !important;
  font-size: 16px !important;
  margin-bottom: 20px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 1em;
    color: #011c41!important;
    font-size: larger;
    font-weight: bolder;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #000000!important;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #000000!important;
    font-size: 1.25em;
}

a {
    color: #171c61;
}
[type=button],[type=submit],button {
    display: inline-block;
    font-weight: 400;
    color: #171c61;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid #171c61;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all .3s
}

[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover {
    color: #fff;
    background-color: #171c61;
    text-decoration: none
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
    background-color: #001c40!important;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    padding: 13px;
}

     
/* Ödeme Sayfası Genel Stilleri */
body.woocommerce-checkout {
    background-color: #f4f4f4;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    width: 100%;
    color: #001C40;
    font-size: 16px;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.woocommerce-checkout #payment {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-top: 20px;
}

.woocommerce input.button {
    background-color: #001C40;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.woocommerce input.button:hover {
    background-color: #003060;
}

/* Başlıklar */
h3 {
    color: #001C40;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Kupon Alanı */
.woocommerce-checkout .checkout_coupon {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.woocommerce-checkout .checkout_coupon input.input-text {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    width: 100%;
}

.woocommerce-checkout .checkout_coupon input.button {
    background-color: #001C40;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Ödeme Yöntemi */
#payment ul.payment_methods li {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

#payment ul.payment_methods li label {
    color: #001C40;
    font-size: 16px;
}

/* Sipariş Özeti */
.woocommerce-checkout-review-order-table thead {
    background-color: #001C40;
    color: #ffffff;
}

.woocommerce-checkout-review-order-table th {
    padding: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

.woocommerce-checkout-review-order-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout-review-order-table .order-total {
    background-color: #f4f4f4;
    color: #001C40;
    font-weight: 700;
    font-size: 18px;
}

.woocommerce .quantity .qty {
    width: 5em !important;
 
}


.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword .button {
    background: #011c41 !important;
}


/* Giriş Yap buton stili */
.custom-login-button.login-button {
    background-color: #001C40; /* Ana renk */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease; /* Geçiş efektleri */
    display: inline-flex;
    align-items: center;
    gap: 8px; /* İkon ile metin arasında boşluk */
    border: 2px solid transparent; /* İlk durumda outline gizli */
}

/* Giriş Yap butonu hover durumu */
.custom-login-button.login-button:hover {
    background-color: transparent; /* Arkaplanı kaldır */
    color: #333333; /* Daha parlak siyah renk */
    border: 2px solid #001C40; /* Outline buton kenarlığı */
    box-shadow: 0 0 5px rgba(0, 28, 64, 0.5); /* Hafif bir gölge efekti */
}

/* Hesabım buton stili (outline olmadan) */
.custom-login-button.account-button {
    background-color: #001C40; /* Belirttiğin ana renk */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* İkon ile metin arasında boşluk */
}

.custom-login-button.account-button:hover {
    background-color: #002b5e; /* Hesabım butonu için hover durumunda sadece arkaplan değişikliği */
}

/* Hesabım menüsü */
.account-menu {
    position: relative;
    display: inline-block;
}

.account-submenu {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 9999; /* Açılır menü için en yüksek öncelik */
    border: 1px solid #001C40; /* Menü kenarlığı */
}

/* Alt menü öğeleri */
.account-submenu li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.account-submenu li a {
    color: #001C40;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: 500;
}

.account-submenu li a:hover {
    background-color: #f4f4f4; /* Hover durumu */
    color: #001C40;
}

/* Hover durumunda menüyü gösterme */
.account-menu:hover .account-submenu {
    display: block; /* Hesabım düğmesine gelindiğinde menüyü göster */
    z-index: 9999; /* Hover sırasında menüye yüksek öncelik tanı */
}







.custom-mobile-menu-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa; /* Arkaplan rengi */
    text-align: left; /* Butonları sola hizala */
    padding: 5px 15px; /* Daha küçük padding */
    border-top: 1px solid #001C40; /* Kenarlık inceltildi */
    z-index: 9998; /* İletişim butonunun altına al */
}

.custom-mobile-menu-buttons .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px; /* Daha küçük buton */
    font-size: 14px; /* Daha küçük font */
    font-weight: 500; /* Font ağırlığını düşürdüm */
    color: #001C40; /* Varsayılan yazı rengi */
    text-decoration: none;
    border: 1px solid #001C40; /* Daha ince kenar */
    border-radius: 4px; /* Köşeleri hafif yuvarladım */
    margin-right: 8px; /* Butonlar arasındaki boşluğu azalttım */
    transition: all 0.3s ease;
}

.custom-mobile-menu-buttons .mobile-menu-button:hover {
    background-color: #001C40;
    color: #f8f9fa; /* Hover durumunda yazı rengi beyaz yapılacak */
}

.custom-mobile-menu-buttons .mobile-menu-button i {
    margin-right: 6px; /* İkon ile metin arası boşluğu azalttım */
}

/* İletişim butonuyla uyumlu tasarım */
.contact-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #001C40;
    color: #ffffff;
    width: 50px;
    height: 50px; /* Butonu küçülttüm */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 8px rgba(0, 28, 64, 0.5);
    z-index: 9999;
}

/* Mobil cihazlar için görünüm */
@media only screen and (min-width: 768px) {
    .custom-mobile-menu-buttons {
        display: none; /* Masaüstü görünümde gizle */
    }
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  width: 36px;
  height: 36px;
  background: #fff; /* Arkaplan rengi */
  border: none;
  border-radius: 4px; /* Kare yapmak için */
  cursor: pointer;
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  z-index: 99;
  text-indent: 0; /* Varsayılan metin kaybolmasın */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000; /* İkon rengi */
  font-family: "Font Awesome 6 Free"; /* FontAwesome kullanımı */
  font-weight: 900;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
  content: "\f065"!important; /* FontAwesome 'maximize' ikonu */
  font-size: 18px;
}


