/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

@import url("../porto/style.css");

/* İade sayfası fiyat fontu */
.return-item .product-meta .quantity,
.return-item .product-meta .price {
    font-size: 16px;
    color: #777;
    font-weight: normal;
}

.return-item .product-meta .price {
    margin-top: 3px;
    display: inline-block;
}

.return-item .product-meta .price bdi {
    font-size: 16px;
    color: #777;
    font-weight: normal;
}

.return-item .product-meta .price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    margin-right: 1px;
    font-weight: normal;
}

/* Rating yıldızlarının rengi */
.star-rating::before {
    color: #FFB800 !important;
    opacity: 0.3 !important;
}

.star-rating span::before {
    color: #FFB800 !important;
}

/* Buton stilleri */
/* Üstteki favorilere ekle butonunu gizle */
.single-product .summary .yith-wcwl-add-to-wishlist {
    display: none !important;
}

/* Buton container */
.cart-buttons-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

/* Sepete ekle butonu */
.single-product .single_add_to_cart_button {
    background: #322e8a !important;
    border: none !important;
    color: #fff !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    flex-grow: 1;
    margin: 0 !important;
    width: calc(100% - 58px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #282473 !important;
}

/* Favoriye ekle butonu */
.yith-wcwl-add-to-wishlist {
    margin: 0 !important;
}

.wishlist-icon-button {
    position: relative !important;
}

.wishlist-icon-button .yith-wcwl-add-to-wishlist {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.wishlist-icon-button .yith-wcwl-add-to-wishlist * {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.wishlist-icon-button .yith-wcwl-add-button a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #666 !important;
    text-decoration: none !important;
}

.wishlist-icon-button .yith-wcwl-add-button a:before {
    content: "\f004" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

.wishlist-icon-button .yith-wcwl-wishlistaddedbrowse a:before,
.wishlist-icon-button .yith-wcwl-wishlistexistsbrowse a:before {
    content: "\f004" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #E74C3C !important;
}

.wishlist-icon-button {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

body.single-product div.product form.cart .wishlist-icon-button:hover {
    background: #f5f5f5 !important;
    border-color: #ccc !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-to-wishlist {
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-to-wishlist * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse {
    height: 100% !important;
    width: 100% !important;
    position: static !important;
    z-index: 1 !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button a,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse a,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse a {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    position: static !important;
    border: none !important;
    min-width: unset !important;
    min-height: unset !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button a:before,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse a:before,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse a:before {
    margin: 0 !important;
    font-family: "Font Awesome 5 Free" !important;
    content: "\f004" !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button a > *,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse a > *,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse a > * {
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button .delete_item:before,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse a:before,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse a:before {
    color: #E74C3C !important;
    font-weight: 900 !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button a span,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button .feedback,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button .separator,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button .view-wishlist,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistaddedbrowse span,
body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-wishlistexistsbrowse span {
    display: none !important;
}

body.single-product div.product form.cart .wishlist-icon-button .yith-wcwl-add-button .loading:before {
    animation: fa-spin 2s infinite linear !important;
    content: "\f1ce" !important;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* WhatsApp butonu */
.whatsapp-button-container {
    margin-top: 15px;
}

.whatsapp-order-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #F1F3FF !important;
    color: #333 !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    width: 100%;
    transition: all 0.3s ease;
}

.whatsapp-order-button:hover {
    background: #E4E7FF !important;
}

.whatsapp-order-button i {
    font-size: 22px;
    color: #25D366;
    margin-right: 10px;
}

/* Top Selling Badge CSS */
.top-selling-badge {
    background: linear-gradient(45deg, #FFD700, #FF8C00);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.top-selling-badge svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Yeni Top Selling Badge Tasarımı */
.top-selling-badge-v2 {
    display: inline-flex;
    align-items: center;
    background: #fff6ee;
    border-radius: 10px;
    padding: 6px 22px 6px 10px;
    font-size: 18px;
    font-weight: 400;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    gap: 12px;
}
.badge-medal {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}
.badge-rank {
    background: linear-gradient(135deg, #FFD700 60%, #FFA500 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255,193,7,0.15);
    border: 2px solid #fff3c0;
    z-index: 2;
}
.badge-ribbon {
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    width: 18px;
    height: 10px;
    background: transparent;
    z-index: 1;
}
.badge-ribbon:before, .badge-ribbon:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 10px;
    background: #3b82f6;
    border-radius: 2px;
    top: 0;
}
.badge-ribbon:before {
    left: 0;
}
.badge-ribbon:after {
    right: 0;
}
.badge-text {
    font-size: 14px;
    color: #222;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
}
.badge-text b {
    font-weight: 700;
    color: #222;
}
.badge-arrow {
    font-size: 22px;
    color: #bbb;
    margin-left: 2px;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

/* Sipariş onayı sayfası breadcrumb gizleme */
body.woocommerce-order-received .breadcrumb.text-center {
    display: none;
}

/* Hibrit Giriş/Kayıt Form Tasarımı */
#customer_login {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 30px;
    margin-top: 20px;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    background: #F1F3FF;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

#customer_login .col-lg-6 {
    padding: 0 15px;
}

#customer_login .row {
    margin: 0 -15px;
    align-items: stretch;
}

#customer_login .woocommerce-form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#customer_login .woocommerce-form-login,
#customer_login .woocommerce-form-register {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#customer_login .form-row:last-child {
    margin-top: auto;
}

#customer_login .heading-border {
    margin-top: auto;
    padding-top: 20px;
}

#customer_login h3.account-sub-title {
    color: #322e8a;
    font-size: 22px;
    margin-bottom: 20px;
}

#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    padding: 12px 15px;
    height: auto;
    background: #fff;
}

#customer_login label {
    color: #333;
    font-weight: 500;
}

#customer_login .button {
    background: #322e8a;
    border-radius: 6px;
    font-weight: 600;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

#customer_login .button:hover {
    background: #282473;
}

#customer_login .lost_password a {
    color: #322e8a;
    font-weight: 500;
}

#customer_login .porto-checkbox label {
    color: #666;
}

/* Sosyal Giriş Butonları */
.porto-social-login-section {
    margin: 20px 0;
}

.porto-social-login-section .social-button {
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 12px 20px;
}

.porto-social-login-section .facebook {
    background: #3b5998;
}

.porto-social-login-section .google-plus {
    background: #dd4b39;
}

.porto-social-login-section .twitter {
    background: #1da1f2;
}

/* WooCommerce Onsale Etiketi (Kısa Kod için) */
.onsale {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    margin: 8px 0 0 0;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255,77,79,0.08);
    vertical-align: middle;
}

/* Şifremi Unuttum Sayfası Stilleri */
.reset-password-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 30px;
    margin-top: 20px;
}

.reset-password-container .featured-box {
    background: #F1F3FF;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    border: none;
    box-shadow: none;
}

.reset-password-container .box-content {
    padding: 0;
    border: none;
}

.reset-password-container .account-sub-title {
    color: #322e8a;
    font-size: 22px;
    margin-bottom: 20px;
}

.reset-password-container .reset-password-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.reset-password-container input[type="text"] {
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    padding: 12px 15px;
    height: auto;
    background: #fff;
    width: 100%;
}

.reset-password-container label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.reset-password-container .button {
    background: #322e8a;
    border-radius: 6px;
    font-weight: 600;
    padding: 15px 25px;
    transition: all 0.3s ease;
    float: right;
}

.reset-password-container .button:hover {
    background: #282473;
}

.reset-password-container .back-login {
    color: #322e8a;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    float: left;
    padding: 15px 0;
}

.reset-password-container .back-login i {
    margin-right: 8px;
    font-size: 16px;
}

.reset-password-container .back-login:hover {
    color: #282473;
}

.reset-password-container .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.reset-password-container .woocommerce-error,
.reset-password-container .woocommerce-message,
.reset-password-container .woocommerce-info {
    margin: 0 0 20px;
    border-radius: 6px;
}

/* Cart sayfası checkout butonu */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-lg: 16px;
}

.checkout-button-wrapper .button.alt {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.checkout-button-wrapper .button.alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.checkout-button-wrapper .button.alt:active {
    transform: translateY(0);
}
