/*
Theme Name: ProVendor
Theme URI: https://www.vedatardil.com.tr/themes/provendor
Author: Vedat Ardil
Author URI: https://www.vedatardil.com.tr
Description: Professional e-commerce WordPress theme designed for wholesale and retail businesses. Features admin-approved customer registration, mobile-first responsive design, complete WooCommerce integration, and conversion-optimized layouts for maximum sales performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
WooCommerce Compatible: yes
Text Domain: provendor
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

/* Geliştirici olarak Vedat Ardil - www.vedatardil.com.tr */

:root {
    --primary-color: #ff8126;
    --secondary-color: #4CAF50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --footer-bg: #333333;
    --footer-text: #ffffff;
}

/* Ürün değerlendirme sistemini gizlemek için CSS */
.woocommerce-product-rating,
.star-rating,
.woocommerce-review-link,
.woocommerce-tabs .reviews_tab,
.woocommerce-tabs #tab-reviews,
#review_form_wrapper,
#reviews,
.comment-form-rating,
.product-rating,
.woocommerce ul.products li.product .star-rating,
.star-rating-wrapper,
#comments {
    display: none !important;
}
/* Ürün değerlendirme sistemini gizlemek için CSS son */

/* Kategori sayfası stil düzeltmeleri */
.products-container {
    padding: 0 !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.mr-0 {
    margin-right: 0 !important;
}

/* Container kenar boşluklarını düzelt */
.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Kategori sayfası stil düzeltmeleri son */

/* Sağ üstteki X işaretini kaldır */
.close-modal-button,
.woocommerce-notices-wrapper .woocommerce-message .button.wc-forward,
.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward,
button.mfp-close,
.mfp-close,
.mfp-close-btn-in .mfp-close,
.single-product div.product .woocommerce-message .button,
.single-product div.product .woocommerce-message .restore-item,
.woocommerce-error .button, 
.woocommerce-info .button, 
.woocommerce-message .button,
.wp-block-woocommerce-store-notices .wc-block-components-notice-banner__content .wc-block-components-notice-banner__actions,
.wc-block-components-notice-banner__actions button,
.wc-block-components-notice-banner__content .wc-block-components-notice-banner__actions,
.wc-block-components-notice-banner__actions,
.wc-block-components-notice-banner__content button,
.wc-block-components-notice-banner .wc-forward,
.wc-forward {
    display: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
}

/* Body menu-open durumu için global stil */
body.menu-open {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Üst Çubuk Stilleri */
.top-bar {
    background-color: #f0b430;
    padding: 10px 0;
    color: #fff;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    font-size: 0.9rem;
}

.top-contact a {
    color: #fff;
    margin-right: 15px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-contact a:hover {
    opacity: 0.8;
}

.top-contact i {
    margin-right: 6px;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo img {
    max-height: 60px;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.header-search .woocommerce-product-search {
    position: relative;
}

.header-search .search-field {
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #eee;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.header-search .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(255, 129, 38, 0.15);
}

.header-search .input-group-append button {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.header-search .input-group-append button:hover {
    background: #e57218;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    position: relative;
}

.action-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.action-item a:hover {
    color: var(--primary-color);
}

.action-item i {
    font-size: 1.4rem;
    margin-bottom: 3px;
}

.wishlist-count, 
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.main-navigation {
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    margin-bottom: 15px;
}

.main-navigation .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-navigation > .container > ul,
.main-navigation > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    margin: 0 15px;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    font-size: 14px;
    display: block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover::after {
    width: 70%;
}

.main-navigation li.current-menu-item a {
    color: var(--primary-color);
}

.main-navigation li.current-menu-item a::after {
    width: 70%;
}

/* Dropdown Menu Styles - Desktop */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children > a::after {
    display: none;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    list-style: none;
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: block;
    float: none;
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-color);
    display: block;
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.main-navigation .sub-menu a::after {
    display: none;
}

/* Multi-level dropdown support */
.main-navigation .sub-menu .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu .menu-item-has-children > a::after {
    display: none;
}

.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
    display: flex;
    flex-direction: column;
}

.main-navigation .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Product Categories */
.product-categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 17px;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: rgba(240, 180, 48, 0.3);
}

.category-image {
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-image::before {
    opacity: 0.9;
}

.category-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px 15px;
    z-index: 2;
    transition: all 0.3s ease;
}

.category-card:hover .category-name {
    padding-bottom: 25px;
}

.category-name h3 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.category-name h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.category-card:hover .category-name h3::after {
    width: 50%;
}

.placeholder-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
    font-size: 16px;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Ürün Kartları Genel Stilleri */
.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-card .product-image-link {
    display: block;
    overflow: hidden;
    max-height: 200px;
}

.product-card .product-image-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.product-card .product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-title {
    margin-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
}

.product-card .product-title a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
}

.product-card .product-title a:hover {
    color: #f0b430;
}

.product-card .product-rating {
    margin-bottom: 12px;
    text-align: center;
}

.product-card .product-price {
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
    text-align: center;
}

.product-card .sale-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card .product-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: auto;
}

.product-card .product-buttons .button {
    flex: 1;
    padding: 10px 15px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: #333;
    border: none;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-buttons .button:hover {
    background-color: #f0b430;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-card .product-buttons .button.add_to_cart_button {
    background-color: #f0b430;
    color: #fff;
}

.product-card .product-buttons .button.add_to_cart_button:hover {
    background-color: #e0a420;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-card .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 50px;
    min-width: 50px;
    min-height: auto;
    text-align: center;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    border: 2px solid #fff;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    z-index: 10;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-author a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.testimonial-author a:hover {
    text-decoration: underline;
}

.rating {
    color: gold;
    margin-bottom: 10px;
}

/* Features */
.features {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-widgets {
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-about p, 
.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 20px;
}

.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.payment-methods img {
    max-height: 30px;
}

@media (max-width: 767px) {
    .footer-bottom .text-md-right {
        text-align: left !important;
        margin-top: 15px;
    }
    
    .footer-widgets {
        margin-bottom: 20px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid,
    .category-grid,
    .testimonial-grid,
    .feature-grid,
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid,
    .category-grid,
    .testimonial-grid,
    .feature-grid,
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .main-navigation {
        display: none;
    }
}

/* WooCommerce Compatibility */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none;
    margin: 0;
    width: 100%;
}

/* Kategori Başlığı Stilleri */
.woocommerce .woocommerce-products-header {
    margin-bottom: 30px;
    text-align: center;
}

.woocommerce .woocommerce-products-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce .woocommerce-products-header .term-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.woocommerce ul.products li.product a img {
    border-radius: 6px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 0;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .price {
    font-size: 18px;
    font-weight: 700;
    color: #f0b430;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.woocommerce ul.products li.product .price del {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
    text-decoration: line-through;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #f0b430;
    font-weight: 700;
    font-size: 18px;
}

/* İndirimli fiyat düzenlemesi */

.woocommerce ul.products li.product .price .amount {
    color: #f0b430;
    font-weight: 700;
}

/* Eski fiyat için özel stil */
.woocommerce ul.products li.product .price del .amount {
    color: #999 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.woocommerce ul.products li.product .star-rating {
    margin: 0 auto 10px;
}

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 50px;
    min-width: 50px;
    min-height: auto;
    text-align: center;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    border: 2px solid #fff;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.woocommerce ul.products li.product .product-buttons .button {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
}

.woocommerce ul.products li.product .product-buttons .button:hover {
    background-color: #f0b430;
    color: #fff;
}

.woocommerce ul.products li.product .product-buttons .button.add_to_cart_button,
.woocommerce ul.products li.product .product-buttons .added_to_cart {
    background-color: #f0b430;
    color: #fff;
}

.woocommerce ul.products li.product .product-buttons .button.add_to_cart_button:hover,
.woocommerce ul.products li.product .product-buttons .added_to_cart:hover {
    background-color: #e0a420;
}

.woocommerce ul.products li.product .price-wrap {
    margin-bottom: 15px;
}

/* Cart and Mini Cart Styles */
.cart-link {
    position: relative;
    display: block;
}

.cart-contents {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
}

.cart-contents:hover {
    color: var(--primary-color);
}

.cart-contents i {
    font-size: 1.4rem;
    margin-right: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-total {
    display: none;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2px;
}

.mini-cart-wrapper {
    position: relative;
}

.site-header-cart {
    position: relative;
}

.cart-dropdown {
    position: fixed;
    top: 0;
    right: -380px; /* Başlangıçta ekranın dışında */
    width: 380px;
    background: white;
    box-shadow: -3px 0 15px rgba(0,0,0,0.1);
    height: 100vh;
    overflow-y: auto;
    z-index: 9999;
    padding: 20px;
    transition: right 0.3s ease;
}

.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.cart-dropdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.cart-close-button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    cursor: pointer;
    color: #666;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.cart-close-button:hover {
    background-color: #f5f5f5;
    color: #e44;
}

.cart-close-button .dashicons {
    margin-right: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.cart-dropdown-active {
    right: 0; /* Aktif olduğunda ekrana gelir */
}

.cart-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

/* Mini Sepet İçindeki Ürün Listesi */
.widget_shopping_cart .cart_list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: calc(100vh - 230px);
    overflow-y: auto;
}

.widget_shopping_cart .cart_list li {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.widget_shopping_cart .cart_list li:last-child {
    border-bottom: none;
}

/* Ürün Silme Butonu */
.widget_shopping_cart .cart_list li a.remove {
    position: absolute;
    top: 15px;
    right: 0;
    color: #999 !important;
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
}

.widget_shopping_cart .cart_list li a.remove:hover {
    color: white !important;
    background: #e44;
}

/* Ürün Görseli - Daha küçük ve zarif */
.widget_shopping_cart .cart_list li img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

/* Ürün Adı */
.widget_shopping_cart .cart_list li a:not(.remove) {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
    padding-right: 25px;
}

.widget_shopping_cart .cart_list li a:not(.remove):hover {
    color: var(--primary-color);
}

/* Ürün Miktarı ve Fiyatı */
.widget_shopping_cart .cart_list li .quantity {
    font-size: 0.85rem;
    color: #666;
}

/* Sepet Toplamı */
.widget_shopping_cart .total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin: 10px 0;
    border-top: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 1rem;
}

/* Sepet Butonları */
.widget_shopping_cart .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.widget_shopping_cart .buttons .button {
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    text-transform: none;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.widget_shopping_cart .buttons .button:first-child {
    background-color: #f5f5f5;
    color: #333;
}

.widget_shopping_cart .buttons .button:first-child:hover {
    background-color: #e9e9e9;
}

.widget_shopping_cart .buttons .button.checkout {
    background-color: var(--primary-color);
    color: white;
}

.widget_shopping_cart .buttons .button.checkout:hover {
    background-color: #e57218;
}

/* Boş Sepet Mesajı */
.widget_shopping_cart .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 1rem;
}

.widget_shopping_cart .woocommerce-mini-cart__empty-message::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: block;
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

/* Mobil Sepet Düzenlemeleri */
@media (max-width: 767px) {
    .cart-dropdown {
        width: 100%;
        right: -100%;
    }
    
    .widget_shopping_cart .buttons {
        grid-template-columns: 1fr;
    }
}

/* Cart Page Styles */
.woocommerce-cart table.cart {
    border: none;
    margin-bottom: 30px;
}

.woocommerce-cart table.cart th {
    background-color: #f9f9f9;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #555;
    padding: 12px 15px;
}

.woocommerce-cart table.cart td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-cart table.cart img {
    width: 80px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.woocommerce-cart table.cart td.product-remove a.remove {
    display: inline-block;
    font-size: 1.4rem;
    text-align: center;
    line-height: 20px;
    color: #e44 !important;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.woocommerce-cart table.cart td.product-remove a.remove:hover {
    background: transparent;
    opacity: 1;
}

.woocommerce-cart table.cart td.product-name a {
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.woocommerce-cart table.cart td.product-name a:hover {
    color: var(--primary-color);
}

.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal {
    font-weight: 600;
    color: var(--primary-color);
}

.woocommerce-cart table.cart td.product-quantity .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.woocommerce-cart table.cart td.product-quantity .quantity input {
    border: none;
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.woocommerce-cart table.cart td.product-quantity .quantity button {
    background: #f5f5f5;
    border: none;
    width: 30px;
    font-size: 1.2rem;
    cursor: pointer;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

.woocommerce-cart .cart-collaterals h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.woocommerce-cart .cart-collaterals table {
    border: none;
}

.woocommerce-cart .cart-collaterals table th,
.woocommerce-cart .cart-collaterals table td {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #eee;
}

.woocommerce-cart .cart-collaterals table tr:last-child th,
.woocommerce-cart .cart-collaterals table tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding-top: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #e57218;
}

/* Empty Cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .woocommerce-cart table.cart td {
        padding: 10px;
    }
    
    .woocommerce-cart table.cart img {
        width: 60px;
    }
    
    .action-text {
        display: none;
    }
    
    .cart-contents i {
        font-size: 1.6rem;
    }
    
    .cart-count {
        top: -6px;
        right: -6px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

/* Tam genişlik içerik */
.site-main {
    padding: 40px 0;
}

.posts-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .posts-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .posts-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

.search-results-wrapper {
    margin-bottom: 40px;
}

.search-results-wrapper article {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.search-results-wrapper article:last-child {
    border-bottom: none;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* WooCommerce Hesabım Sayfası Stilleri */
.woocommerce-account-wrapper {
    margin-bottom: 60px;
}

.customer-welcome {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #fff8f2 0%, #fff 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.customer-avatar {
    margin-right: 20px;
}

.customer-avatar img {
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(255, 129, 38, 0.2);
}

.customer-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.customer-since {
    color: #777;
    margin: 0;
    font-size: 0.9rem;
}

.account-dashboard {
    display: flex;
    gap: 30px;
}

.dashboard-menu {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
}

.dashboard-content {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Hesap Menüsü İyileştirmeleri */
.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    width: 100%;
}

.woocommerce-MyAccount-navigation a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.woocommerce-MyAccount-navigation li.is-active a {
    background-color: var(--primary-color);
    color: white;
}

.woocommerce-MyAccount-navigation i {
    width: 30px;
    margin-right: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.woocommerce-MyAccount-navigation li.is-active i {
    color: white;
}

.woocommerce-MyAccount-navigation span {
    font-size: 1rem;
}

/* Pano İçeriği */
.woocommerce-dashboard {
    margin-bottom: 30px;
}

.dashboard-welcome {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.dashboard-welcome p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.dashboard-welcome a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.dashboard-welcome a:hover {
    text-decoration: underline;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 129, 38, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    font-size: 1.5rem;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #333;
}

.card-content p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.dashboard-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.dashboard-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.dashboard-link:hover i {
    transform: translateX(3px);
}

/* Sipariş Sayfası */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.woocommerce-orders-table th {
    background-color: #f9f9f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.woocommerce-orders-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table .button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}

.woocommerce-orders-table .button:hover {
    background-color: #e57218;
}

.woocommerce-orders-table .order-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
}

.woocommerce-orders-table .order-status.status-completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.woocommerce-orders-table .order-status.status-processing {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.woocommerce-orders-table .order-status.status-on-hold {
    background-color: #fff8e1;
    color: #ff8f00;
}

.woocommerce-orders-table .order-status.status-cancelled {
    background-color: #ffebee;
    color: #c62828;
}

/* Form Stilleri */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    max-width: 600px;
}

.woocommerce-EditAccountForm fieldset {
    margin-top: 30px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

.woocommerce-EditAccountForm legend {
    padding: 0 10px;
    font-weight: 600;
}

.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.woocommerce-form-row input,
.woocommerce-form-row textarea,
.woocommerce-form-row select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.woocommerce-form-row input:focus,
.woocommerce-form-row textarea:focus,
.woocommerce-form-row select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 129, 38, 0.2);
}

.woocommerce-form-row .button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.woocommerce-form-row .button:hover {
    background-color: #e57218;
}

/* Adresler Sayfası */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-Address {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 1.1rem;
}

.woocommerce-Address-title a {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.woocommerce-Address-title a:hover {
    background-color: var(--primary-color);
    color: white;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .account-dashboard {
        flex-direction: column;
    }
    
    .dashboard-menu {
        flex: 0 0 auto;
        width: 100%;
        min-width: auto;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .customer-welcome {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .customer-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    .woocommerce-MyAccount-navigation li {
        width: 50%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-right: 1px solid rgba(0,0,0,0.05);
    }
    
    .woocommerce-MyAccount-navigation a {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        height: 100%;
    }
    
    .woocommerce-MyAccount-navigation i {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 1.2rem;
        width: auto;
    }
}

.woocommerce-MyAccount-navigation a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.woocommerce-MyAccount-navigation li.is-active a {
    background-color: var(--primary-color);
    color: white;
}

.woocommerce-MyAccount-navigation span {
    font-size: 0.95rem;
}

.woocommerce-Addresses {
    grid-template-columns: 1fr;
}

@media (max-width: 767px) {
    .woocommerce-MyAccount-navigation span {
        font-size: 0.85rem;
    }
}

/* Avatar Bölümü */
.avatar-section {
    background: linear-gradient(135deg, rgba(255, 129, 38, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 129, 38, 0.1);
}

.avatar-section img {
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 3px 15px rgba(255, 129, 38, 0.2);
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.avatar-section .user-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.avatar-section .user-since {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobil Menü Stilleri */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
    position: relative;
    z-index: 1000;
}

.toggle-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.toggle-icon::before {
    top: -8px;
}

.toggle-icon::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .toggle-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    /* Mobil görünüm sınıfları */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Üst çubuk düzenlemeleri */
    .top-bar {
        padding: 8px 0;
        background-color: #f0b430;
    }
    
    .top-bar-inner {
        justify-content: center;
        padding: 0;
    }
    
    .mobile-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Mobil menü butonu gösterimi */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .toggle-icon, 
    .toggle-icon::before, 
    .toggle-icon::after {
        width: 22px;
    }
    
    /* Header düzenlemeleri */
    .site-header {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .site-branding {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    /* Mobil header */
    .mobile-header {
        display: flex;
    }
    
    .desktop-header {
        display: none;
    }
    
    /* Arama kutusu */
    .mobile-search {
        display: none;
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-search .search-field {
        border-radius: 20px;
        padding: 8px 15px;
        background-color: #f9f9f9;
    }
    
    /* Sepet ikonu stilleri */
    .mobile-actions .cart-contents {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
    }
    
    .mobile-actions .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background-color: #f0b430;
        color: white;
        border-radius: 50%;
        font-size: 10px;
        font-weight: bold;
    }
    
    /* Mobil menü */
    .main-navigation {
        position: fixed;
        top: 0;
        left: -280px;
        width: 270px;
        height: 100vh;
        background-color: #fff;
        z-index: 9999;
        padding: 20px 0;
        overflow-y: auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hem active sınıfı hem de body.menu-open durumunda menüyü göster */
    .main-navigation.active,
    body.menu-open .main-navigation {
        left: 0;
        transform: translateX(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin-top: 50px;
    }
    
    .main-navigation li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation a {
        padding: 15px 25px;
        font-size: 1rem;
        display: block;
    }
    
    .main-navigation .sub-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 25px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        display: none;
    }
    
    .main-navigation .submenu-open > a::after {
        display: none;
    }
    
    .main-navigation .sub-menu a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobil menü overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active,
    body.menu-open .menu-overlay {
        display: block;
        opacity: 1;
    }
    
    /* body.menu-open durumunda scroll'u engelle */
    body.menu-open {
        overflow: hidden;
    }
}

/* Desktop ve Mobil Görünüm Sınıfları */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobil Sosyal Medya İkonları */
.mobile-social-icons {
    display: none;
    text-align: center;
    width: 100%;
}

.mobile-social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    margin: 0 8px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-social-icons .social-icon:hover {
    opacity: 0.7;
}

.mobile-social-icons .instagram i,
.mobile-social-icons .whatsapp i {
    color: #fff;
}

/* Mobil Header Stilleri */
.mobile-header {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mobile-header .logo {
    text-align: center;
    flex-grow: 1;
    margin: 0;
}

.mobile-header .logo img {
    max-height: 50px;
    width: auto;
}

.mobile-header .mobile-menu-toggle {
    margin-right: 10px;
    margin-left: 0;
}

.mobile-actions {
    display: flex;
    align-items: center;
}

.mobile-search {
    display: none;
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    padding: 15px;
    position: relative;
    z-index: 9995;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-search .search-form,
.mobile-search .woocommerce-product-search {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.mobile-search .search-field {
    border-radius: 20px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    flex-grow: 1;
    height: 42px;
    width: 100%;
    font-size: 14px;
}

.mobile-search .search-field:focus {
    outline: none;
    border-color: #f0b430;
    box-shadow: 0 0 5px rgba(240, 180, 48, 0.3);
}

.desktop-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Mobil Menü Stilleri */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
    position: relative;
    z-index: 1000;
}

.toggle-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.toggle-icon::before {
    top: -8px;
}

.toggle-icon::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .toggle-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobil Cihaz Stilleri */
.is-mobile .top-bar {
    background-color: #f0b430;
}

.is-mobile .top-bar-inner {
    justify-content: center;
}

.is-mobile .mobile-social-icons {
    display: flex;
}

@media (max-width: 768px) {
    /* Mobil görünüm sınıfları */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Üst çubuk düzenlemeleri */
    .top-bar {
        padding: 8px 0;
        background-color: #f0b430;
    }
    
    .top-bar-inner {
        justify-content: center;
        padding: 0;
    }
    
    .mobile-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Mobil menü butonu gösterimi */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .toggle-icon, 
    .toggle-icon::before, 
    .toggle-icon::after {
        width: 22px;
    }
    
    /* Header düzenlemeleri */
    .site-header {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .site-branding {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    /* Mobil header */
    .mobile-header {
        display: flex;
    }
    
    .desktop-header {
        display: none;
    }
    
    /* Arama kutusu */
    .mobile-search {
        display: block;
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-search .search-field {
        border-radius: 20px;
        padding: 8px 15px;
        background-color: #f9f9f9;
    }
    
    /* Sepet ikonu stilleri */
    .mobile-actions .cart-contents {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
    }
    
    .mobile-actions .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background-color: #f0b430;
        color: white;
        border-radius: 50%;
        font-size: 10px;
        font-weight: bold;
    }
    
    /* Mobil menü */
    .main-navigation {
        position: fixed;
        top: 0;
        left: -280px;
        width: 270px;
        height: 100vh;
        background-color: #fff;
        z-index: 9999;
        padding: 20px 0;
        overflow-y: auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hem active sınıfı hem de body.menu-open durumunda menüyü göster */
    .main-navigation.active,
    body.menu-open .main-navigation {
        left: 0;
        transform: translateX(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin-top: 50px;
    }
    
    .main-navigation li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation a {
        padding: 15px 25px;
        font-size: 1rem;
        display: block;
    }
    
    .main-navigation .sub-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 25px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        display: none;
    }
    
    .main-navigation .submenu-open > a::after {
        display: none;
    }
    
    .main-navigation .sub-menu a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobil menü overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active,
    body.menu-open .menu-overlay {
        display: block;
        opacity: 1;
    }
    
    /* body.menu-open durumunda scroll'u engelle */
    body.menu-open {
        overflow: hidden;
    }
}

/* Mobil Arama Butonu */
.mobile-search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 1.3rem;
    padding: 8px;
    margin-right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-toggle.active {
    color: #f0b430;
}

@media (max-width: 768px) {
    /* Mobil görünüm sınıfları */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Üst çubuk düzenlemeleri */
    .top-bar {
        padding: 8px 0;
        background-color: #f0b430;
    }
    
    .top-bar-inner {
        justify-content: center;
        padding: 0;
    }
    
    .mobile-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Mobil menü butonu gösterimi */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .toggle-icon, 
    .toggle-icon::before, 
    .toggle-icon::after {
        width: 22px;
    }
    
    /* Header düzenlemeleri */
    .site-header {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .site-branding {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    /* Mobil header */
    .mobile-header {
        display: flex;
    }
    
    .desktop-header {
        display: none;
    }
    
    /* Arama kutusu */
    .mobile-search {
        display: none;
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-search .search-field {
        border-radius: 20px;
        padding: 8px 15px;
        background-color: #f9f9f9;
    }
    
    /* Sepet ikonu stilleri */
    .mobile-actions .cart-contents {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
    }
    
    .mobile-actions .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background-color: #f0b430;
        color: white;
        border-radius: 50%;
        font-size: 10px;
        font-weight: bold;
    }
}

/* Mobil menü stili burada başlıyor */

/* Mobil Alt Menü - 3 Öğeli Basit Tasarım */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
    border-top: 1px solid #f0f0f0;
}

.mobile-menu-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.mobile-menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-item i {
    font-size: 24px;
    margin-bottom: 3px;
    color: #333;
}

.mobile-menu-item span {
    font-size: 11px;
    color: #333;
}

.mobile-menu-item.active a {
    color: #ff8126;
}

.mobile-menu-item.active i {
    color: #ff8126;
}

.mobile-menu-item .cart-count {
    position: absolute;
    top: -5px;
    right: calc(50% - 10px);
    background-color: #e74c3c;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 56px;
    }
    .mobile-bottom-menu {
        display: flex;
    }
}

/* WooCommerce Sepet Sayfası için Mobil Alt Menü Düzeltmesi */
.woocommerce-cart .mobile-bottom-menu,
.woocommerce-checkout .mobile-bottom-menu {
    display: flex !important;
    z-index: 9999;
}

/* WooCommerce sepet sayfasında alt boşluk */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
    padding-bottom: 70px;
}

@media (max-width: 768px) {
    .woocommerce-cart,
    .woocommerce-checkout {
        padding-bottom: 56px;
    }
    
    .woocommerce-cart .site-content,
    .woocommerce-checkout .site-content {
        overflow-x: hidden;
    }
}

/* Ürün detay sayfasındaki sepete ekle butonu stilini kategori sayfalarındaki buton stiliyle eşleştirme */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button.alt {
    background-color: #f0b430;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    text-align: center;
    text-transform: none;
    line-height: 1.5;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button.alt:hover {
    background-color: #e0a420;
    color: #fff;
}

/* Ürün detay sayfasındaki adet seçici kısmını modernleştirme */
.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0 0 15px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.woocommerce .quantity .qty {
    width: 100% !important;
    text-align: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    height: 45px;
    background-color: #f9f9f9;
    color: #333;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
    margin: 0;
    position: relative;
    z-index: 1;
}

.woocommerce .quantity .qty:hover,
.woocommerce .quantity .qty:focus {
    border-color: #f0b430;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(240, 180, 48, 0.2);
}

/* Adet seçici için artı/eksi butonlarını kaldırma */
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Modern adet seçici için özel stil */
.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
}

/* Artırma ve azaltma butonları için özel stil */
.woocommerce div.product form.cart div.quantity::before,
.woocommerce div.product form.cart div.quantity::after {
    display: none;
}

.woocommerce div.product form.cart div.quantity .qty {
    padding-left: 50px;
    padding-right: 50px;
}

/* JavaScript ile artırma/azaltma işlevselliği için */
.quantity-button {
    position: absolute;
    width: 45px;
    height: 45px;
    background-color: #f0b430;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
    user-select: none;
    top: 0;
}

.quantity-button:hover {
    background-color: #e0a420;
}

.quantity-button.minus {
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quantity-button.plus {
    right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Mobil Dropdown Menu Override */
@media (max-width: 768px) {
    /* Ana mobil menü öğeleri arasındaki boşlukları azalt */
    .main-navigation ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .main-navigation ul li {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.08) !important;
        background: #fff !important;
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none !important;
    }
    
    .main-navigation ul li:hover {
        background: rgba(240, 180, 48, 0.05) !important;
    }
    
    .main-navigation ul li a:hover {
        color: #f0b430 !important;
    }
    
    .main-navigation ul li a {
        padding: 15px 20px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        color: #333 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        position: relative !important;
    }
    
    /* JavaScript ile eklenen ikonlar için stil */
    .main-navigation ul li a .menu-icon {
        font-size: 16px !important;
        margin-right: 15px !important;
        display: inline-block !important;
        width: 20px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        font-weight: normal !important;
        color: #666 !important;
    }
    
    /* Ana sayfa ikonu için özel stil */
    .main-navigation ul li:first-child a .menu-icon {
        font-size: 18px !important;
        color: #f0b430 !important;
    }
    
    /* Liste ikonu (☰) için özel stil */
    .main-navigation ul li.menu-item-has-children > a .menu-icon {
        font-size: 14px !important;
        font-weight: bold !important;
        color: #333 !important;
    }
    
    /* Sub menü öğeleri */
    .main-navigation .sub-menu li {
        border-bottom: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .main-navigation .sub-menu a {
        padding: 8px 20px 8px 45px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        color: #666 !important;
        font-weight: 400 !important;
        display: block !important;
    }
    
    /* Sub menü öğelerinin ikonlarını kaldır */
    .main-navigation .sub-menu a .menu-icon {
        display: none !important;
    }
    
    /* Mobil menü sub menü stilleri */
    
    /* Sub menüleri başlangıçta gizle */
    .main-navigation .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f8f9fa !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 5px 0 5px 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        border: none !important;
        min-width: auto !important;
        margin-left: 10px !important;
        margin-top: 2px !important;
    }
    
    /* Açık sub menüleri göster */
    .main-navigation .menu-item-has-children.submenu-open .sub-menu {
        display: flex !important;
        flex-direction: column !important;
        animation: none !important;
    }
    
    /* Alt menü ok işareti kaldırıldı */
    .main-navigation .menu-item-has-children > a {
        position: relative !important;
        padding-right: 20px !important;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        display: none !important;
    }
    
    /* Açık menü ok işareti de kaldırıldı */
    .main-navigation .menu-item-has-children.submenu-open > a::after {
        display: none !important;
        animation: none !important;
    }
    
    .main-navigation .menu-item-has-children > a:before,
    .main-navigation .menu-item-has-children > a:after {
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        animation: none !important;
    }
    
    /* Tüm spinner/loading animasyonlarını devre dışı bırak */
    .main-navigation * {
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        animation: none !important;
    }
    
    /* CSS spinner'ları kaldır */
    .spinner,
    .loading-spinner,
    .fa-spin,
    .fas.fa-spinner {
        animation: none !important;
        -webkit-animation: none !important;
    }
    
    /* Mobil menüde sarı çizgileri ve border'ları kaldır */
    .main-navigation li {
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }
    
    .main-navigation a {
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }
    
    .main-navigation a:before,
    .main-navigation a:after {
        display: none !important;
        content: none !important;
        border: none !important;
        background: none !important;
    }
    
    /* Active ve hover durumlarında da border olmasın */
    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-parent > a,
    .main-navigation a:hover,
    .main-navigation a:focus,
    .main-navigation a:active {
        border: none !important;
        box-shadow: none !important;
    }
    
    .main-navigation .sub-menu a {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        font-weight: 400 !important;
    }
    
    .main-navigation .sub-menu a:hover {
        background-color: rgba(240, 180, 48, 0.1) !important;
        padding-left: 25px !important;
    }
}

/* Kategori sayfası ve genel WooCommerce fiyat düzeltmeleri */
.woocommerce .price del,
.woocommerce-page .price del,
.woocommerce .products .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
}

.woocommerce .price ins,
.woocommerce-page .price ins,
.woocommerce .products .price ins {
    text-decoration: none !important;
    color: #f0b430 !important;
    font-weight: 700 !important;
}

.woocommerce .price,
.woocommerce-page .price,
.woocommerce .products .price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.woocommerce .price .amount,
.woocommerce-page .price .amount {
    color: #f0b430;
    font-weight: 700;
}

.woocommerce .price del .amount,
.woocommerce-page .price del .amount {
    color: #999 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* İndirim baloncuğu hover efekti */
.woocommerce ul.products li.product .onsale:hover,
.product-card .onsale:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.5);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .onsale,
.product-card .onsale {
    transition: all 0.3s ease;
}

/* Ek kategori sayfası fiyat düzeltmeleri */
.archive .woocommerce .price del,
.tax-product_cat .price del,
.post-type-archive-product .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
}

.archive .woocommerce .price,
.tax-product_cat .price,
.post-type-archive-product .price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* Tüm WooCommerce sayfalarında fiyat tutarlılığı */
body.woocommerce .price del,
body.woocommerce-page .price del {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

body.woocommerce .price ins,
body.woocommerce-page .price ins {
    text-decoration: none !important;
    color: #f0b430 !important;
    font-weight: 700 !important;
}

/* Kategori sayfası fiyat zorlaması - Özel CSS */
.woocommerce .products .product .price del,
.woocommerce .products .product .price del .woocommerce-Price-amount,
.woocommerce .products .product .price del .amount,
.woocommerce-page .products .product .price del,
.archive.woocommerce .products .product .price del,
.tax-product_cat .products .product .price del {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

/* Price container düzeni */
.woocommerce .products .product .price,
.woocommerce-page .products .product .price,
.archive.woocommerce .products .product .price,
.tax-product_cat .products .product .price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* İndirimli fiyat vurgusu */
.woocommerce .products .product .price ins,
.woocommerce .products .product .price ins .woocommerce-Price-amount,
.woocommerce .products .product .price ins .amount,
.woocommerce-page .products .product .price ins,
.archive.woocommerce .products .product .price ins,
.tax-product_cat .products .product .price ins {
    text-decoration: none !important;
    color: #f0b430 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* WooCommerce Price Amount özel düzeltme */
.woocommerce .woocommerce-Price-amount del,
.woocommerce del .woocommerce-Price-amount,
del.woocommerce-Price-amount {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7 !important;
}

/* Son çare - tüm del elementleri */
.woocommerce del,
.woocommerce-page del,
.archive.woocommerce del,
.tax-product_cat del {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7 !important;
    font-weight: 400 !important;
}

/* ZORLAMALI FİYAT DÜZELTMESİ - EN GÜÇLÜ KURALLAR */
* del,
*[class*="price"] del,
*[class*="woocommerce"] del,
del[class*="amount"],
del[class*="Price"],
.price del,
.woocommerce .price del,
.woocommerce-page .price del,
.products .price del,
.product .price del,
.woocommerce .products .price del,
.woocommerce .products .product .price del,
.archive .price del,
.tax-product_cat .price del,
.post-type-archive-product .price del,
span.price del,
p.price del,
div.price del {
    text-decoration: line-through !important;
    color: #999999 !important;
    opacity: 0.7 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

/* Fiyat konteynerları */
* .price,
*[class*="price"],
.woocommerce .price,
.woocommerce-page .price,
.products .price,
.product .price,
span.price,
p.price,
div.price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* İndirimli fiyat vurgusu */
* ins,
*[class*="price"] ins,
.price ins,
.woocommerce .price ins,
.woocommerce-page .price ins,
.products .price ins,
.product .price ins,
span.price ins,
p.price ins,
div.price ins {
    text-decoration: none !important;
    color: #f0b430 !important;
    font-weight: 700 !important;
}

/* HTML attribute zorlaması */
del[style] {
    text-decoration: line-through !important;
    color: #999999 !important;
    opacity: 0.7 !important;
}

/* JavaScript ile eklenen özel sınıflar */
.carote-old-price {
    text-decoration: line-through !important;
    color: #999999 !important;
    opacity: 0.7 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

.carote-new-price {
    text-decoration: none !important;
    color: #f0b430 !important;
    font-weight: 700 !important;
}

.carote-price-container {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* İncele butonunu gizle - Güçlü kurallar */
.woocommerce .products .product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a[href*="product"]:not(.add_to_cart_button),
.woocommerce .products .product a.button[href*="product"],
.products .product a.button[href*="product"],
.product a.button[href*="product"],
a.button[href*="product"]:not(.add_to_cart_button) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Adet seçimi için güçlü stil */
.carote-quantity-wrapper {
    margin: 10px 0 5px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 99 !important;
}

.carote-quantity-wrapper .quantity-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    margin-bottom: 5px !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white !important;
    border: none !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(240, 180, 48, 0.15) !important;
}

.carote-quantity-wrapper .qty-minus,
.carote-quantity-wrapper .qty-plus {
    background: #f0b430 !important;
    color: white !important;
    border: none !important;
    width: 35px !important;
    height: 35px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
}

.carote-quantity-wrapper .qty-minus {
    border-radius: 25px 0 0 25px !important;
}

.carote-quantity-wrapper .qty-plus {
    border-radius: 0 25px 25px 0 !important;
}

.carote-quantity-wrapper .qty-minus:hover,
.carote-quantity-wrapper .qty-plus:hover {
    background: #e6a428 !important;
    transform: scale(1.05) !important;
}

.carote-quantity-wrapper .qty-input {
    width: 50px !important;
    text-align: center !important;
    border: none !important;
    border-top: 1px solid rgba(240, 180, 48, 0.3) !important;
    border-bottom: 1px solid rgba(240, 180, 48, 0.3) !important;
    border-radius: 0 !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    position: relative !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Sepete Ekle butonunu adet seçiminin altına yerleştir */
.product-card .carote-quantity-wrapper + .product-buttons,
.product-card .carote-quantity-wrapper ~ .product-buttons {
    margin-top: 5px !important;
    order: 2 !important;
}

/* Ürün kartı düzeni */
.product-card .product-details {
    display: flex !important;
    flex-direction: column !important;
}

.product-card .carote-quantity-wrapper {
    order: 1 !important;
}

.product-card .product-buttons {
    order: 2 !important;
    margin-top: 5px !important;
}

/* Kategori Sayfası Adet Seçimi ve Sepete Ekle */
.carote-loop-add-to-cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.quantity-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px solid #e5e5e5 !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 8px !important;
}

.qty-minus,
.qty-plus {
    background-color: #f0b430 !important;
    color: #fff !important;
    border: none !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.qty-minus:hover,
.qty-plus:hover {
    background-color: #e0a420;
    transform: scale(1.05);
}

.qty-input {
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    width: 50px !important;
    height: 35px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #333 !important;
    outline: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.carote-add-to-cart-btn {
    background: linear-gradient(135deg, #f0b430 0%, #e0a420 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(240, 180, 48, 0.3);
}

.carote-add-to-cart-btn:hover {
    background: linear-gradient(135deg, #e0a420 0%, #d09420 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 180, 48, 0.4);
}

.carote-add-to-cart-btn:active {
    transform: translateY(0);
}

.carote-add-to-cart-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.carote-add-to-cart-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* İncele butonu (stokta olmayan ürünler için) */
.carote-product-actions {
    margin-top: 15px;
}

.carote-view-product-btn {
    background-color: #6c757d;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.carote-view-product-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Spinner animasyonu */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast mesajı */
.carote-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.carote-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.carote-toast.error {
    background-color: #dc3545;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .carote-loop-add-to-cart {
        gap: 8px;
        margin-top: 10px;
    }
    
    .quantity-controls {
        max-width: 150px;
        margin: 0 auto;
    }
    
    .carote-add-to-cart-btn,
    .carote-view-product-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Geliştirici bilgisi */
/* Geliştirici: Vedat Ardil - www.vedatardil.com.tr */