/* Ensure mobile search sits right under the slider */
@media (max-width: 768px) {
    .hero-content { display: flex; flex-direction: column; }
    .slider-container { order: 1; }
    .mobile-search-section { order: 2; }
    .deals-sidebar { order: 3; }
}
/*
Theme Name: Oto Yedek Parça Ankara
Theme URI: https://www.otoyedekparcaankara.com
Description: Ankara'nın en güvenilir oto yedek parça mağazası için özel tasarlanmış WooCommerce uyumlu WordPress teması. Tam responsive tasarım, modern carousel sistemleri, AJAX sepet işlemleri ve WordPress Customizer entegrasyonu.
Author: Oto Yedek Parça Ankara
Author URI: https://www.otoyedekparcaankara.com
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: otoyedekparca
Domain Path: /languages
Tags: woocommerce, ecommerce, automotive, parts, responsive, customizer, ajax, carousel

Oto Yedek Parça Ankara WordPress Theme, Copyright 2024
Oto Yedek Parça Ankara is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* CSS Imports moved to proper wp_enqueue_style in functions.php to avoid render-blocking @import */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buradan sonra "woocommerce-style-complete" dosyasının devamını ekleyin */
    /* Hide by default (desktop/tablet) */
    .mobile-search-section { display: none !important; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #2a395a;
    color: #fff;
    font-size: 14px;
    width: 100%;
    padding: 8px 0;
}

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

.user-actions a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
    font-size: 15px;
}

.user-actions a:hover {
    color: #ffd700;
}

.user-actions i {
    margin-right: 5px;
}

.main-header {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo h1 {
    color: #2a395a;
    font-size: 24px;
    font-weight: bold;
}

.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    border: 2px solid #2a395a;
    border-radius: 5px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-form button {
    background: #2a395a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #1e2a3d;
}

/* Header polish: ensure the blue top bar has no white gaps/patches */
.top-bar { margin: 0; border: 0; }
.top-bar, .top-bar * { background: transparent; }
.top-bar { background-color: #2a395a; }
.top-bar .container { background: transparent; padding-top: 0; padding-bottom: 0; }
.top-bar .top-bar-content { background: transparent; }

.header-info {
    display: flex;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #2a395a;
}

.info-item i {
    font-size: 24px;
}

.info-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.info-item strong {
    font-size: 14px;
}

.info-item span {
    font-size: 12px;
    color: #666;
}

/* Mega Menu (Desktop) */
.mega-menu {
    background: #2a395a;
    border-top: 1px solid #1e2a3d;
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items > li {
    position: relative;
}

.menu-items > li > a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    transition: background 0.3s;
}

.menu-items > li > a:hover,
.menu-items > li:hover > a {
    background: #1e2a3d;
}

.menu-items > li > a i {
    margin-right: 8px;
}

.has-dropdown:hover .mega-dropdown {
    display: block;
}

.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 0 0 5px 5px;
    min-width: 800px;
    z-index: 1000;
}

.dropdown-content {
    display: flex;
    padding: 20px;
    gap: 30px;
}

.category-column {
    flex: 1;
}

.category-column h4 {
    color: #2a395a;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid #2a395a;
    padding-bottom: 5px;
}

.category-column ul {
    list-style: none;
}

.category-column ul li {
    margin-bottom: 8px;
}

.category-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.category-column ul li a:hover {
    color: #2a395a;
}

/* Hero Section */
.hero-section {
    padding: 20px 0 40px 0;
}

.hero-content {
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-height: 400px;
}

/* Hidden by default; shown on mobile */
.mobile-hero-search { display: none; }


/* Masaüstü slider boyutu */
.slider-container,
.main-slider .slide img {
    width: 796px;
    max-width: 100%;
    height: 470px;
    min-height: 470px;
    max-height: 470px;
    object-fit: cover;
}

.deals-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 400px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider-container {
    flex: 2 1 0%;
    min-width: 0;
}

.deals-sidebar {
    flex: 1 1 360px; /* Masaüstünde biraz genişlet */
    max-width: 400px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.main-slider .slide {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.main-slider .slide img {
    width: 796px;
    max-width: 100%;
    height: 470px;
    min-height: 470px;
    max-height: 470px;
    object-fit: cover;
}

@media (max-width: 768px) {
    /* Hide desktop search bar in header on mobile */
    .search-bar--desktop { display: none !important; }

    /* Ensure hero stack order on mobile */
    .hero-content { display: flex; flex-direction: column; }
    .slider-container { order: 1; }
    .deals-sidebar { order: 2; }
    .mobile-hero-search { order: 3; }

    /* Mobile search under slider */
    /* Hide legacy inline search block inside hero; we'll use standalone below */
    .hero-section .mobile-hero-search { display: none !important; }
    .mobile-hero-search__inner { 
        margin: 12px 0 0 0; 
        background: transparent !important; 
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .mobile-hero-search__title {
        font-size: 16px;
        font-weight: 700;
        color: #2a395a;
        text-align: center;
        margin: 8px 0 6px 0;
    }
    /* Ensure fibosearch stretches nicely */
    .mobile-hero-search .aws-container, /* FiboSearch wrapper */
    .mobile-hero-search form.search-form { width: 100%; }
    .mobile-hero-search .aws-search-form { max-width: 100%; }
    .mobile-hero-search .aws-search-field { width: 100% !important; }

    /* Make only the outer wrapper transparent; don't touch inner form paddings */
    .mobile-hero-search .aws-container,
    .mobile-hero-search .dgwt-wcas-search-wrapp {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* Ensure the FiboSearch container stretches full width */
    .mobile-hero-search .dgwt-wcas-search-wrapp,
    .mobile-hero-search .dgwt-wcas-search-form,
    .mobile-hero-search .dgwt-wcas-sf-wrapp { width: 100% !important; }

    /* Remove any white background/borders for a fully transparent look */
    .mobile-hero-search .dgwt-wcas-search-form,
    .mobile-hero-search .dgwt-wcas-sf-wrapp,
    .mobile-hero-search .dgwt-wcas-search-wrapp { background: transparent !important; border: 0 !important; box-shadow: none !important; }

    /* Input transparent too */
    .mobile-hero-search .dgwt-wcas-search-input { background: transparent !important; border: 0 !important; box-shadow: none !important; }

    /* Center placeholder text; keep typed text left for usability */
    .mobile-hero-search .dgwt-wcas-search-input { text-align: center; }
    .mobile-hero-search .dgwt-wcas-search-input:focus { text-align: left; }
    /* Restore input full-width so submit button aligns correctly */
    .mobile-hero-search .dgwt-wcas-search-input,
    .mobile-hero-search .aws-search-field { width: 100% !important; }
    .mobile-hero-search .aws-search-form { max-width: 100% !important; }

    /* Ensure the title always shows under deals */
    .hero-section .mobile-hero-search__title { display: block !important; margin-top: 10px; }

    .slider-container,
    .main-slider .slide img {
        width: 100vw;
        max-width: 100vw;
        height: 1024px;
        min-height: 320px;
        max-height: 1024px;
        object-fit: cover;
    }
}

/* Standalone mobile search section */
@media (max-width: 768px) {
    .mobile-search-section { display: block !important; padding: 8px 0 10px; margin: 6px 0 10px; background: transparent; }
    .mobile-search-card { background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); padding: 12px 12px 14px; max-width: 560px; margin: 0 auto; text-align: center; }
    .mobile-search-title { font-size: 18px; font-weight: 800; color: #2a395a; margin: 0 0 8px; }
    /* Yellow underline like section titles */
    .mobile-search-title { position: relative; display: inline-block; }
    .mobile-search-title::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -6px; width: 90px; height: 4px; background: #ffd700; border-radius: 2px; }
    /* Center the search and remove extra margins */
    .mobile-search-section .dgwt-wcas-search-wrapp,
    .mobile-search-section .dgwt-wcas-search-form,
    .mobile-search-section .dgwt-wcas-sf-wrapp { width: 100% !important; }
    .mobile-search-section .dgwt-wcas-search-form,
    .mobile-search-section .aws-search-form { margin: 0 !important; }
    .mobile-search-section .dgwt-wcas-search-wrapp { margin: 0 !important; }
    .mobile-search-section .dgwt-wcas-search-wrapp, .mobile-search-section .aws-container { background: transparent !important; box-shadow: none !important; border: 0 !important; }
    .mobile-search-section .dgwt-wcas-search-input { text-align: center; }
    .mobile-search-section .dgwt-wcas-search-input:focus { text-align: left; }

    /* Nudge best-sellers closer without collision */
    body.home .bestsellers-section { padding-top: 6px; }
}

/* Slightly reduce the gap under the best-sellers heading on the smallest screens */
@media (max-width: 576px) {
    .bestsellers-section .best-sellers-carousel { margin-top: 12px !important; }
}

/* Remove any residual bottom space from the deals card (Haftanın Fırsatları) */
.deals-box { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.deals-box > *:last-child { margin-bottom: 0 !important; }
.deals-sidebar .home-sidebar-promo { margin: 0 !important; padding: 0 !important; }
.deals-sidebar .home-sidebar-promo img { display: block; margin: 0 !important; }

.slide-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-content .btn {
    background: #ffd700;
    color: #2a395a;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.slide-content .btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
    }

    .slider-container,
    .deals-sidebar {
        max-width: 100%;
        min-width: 0;
    }

    .deals-sidebar {
        margin-top: 20px;
        max-height: 400px;
    }

    .deals-box {
        max-height: 400px;
    }
}

/* Category Grid */
.category-grid {
    padding: 60px 0 40px 0;
    background: #fff;
}

.grid-item {
    text-align: center;
    padding: 12px 5px 5px 5px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    min-width: 110px;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.grid-item img {
    width: 95px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.grid-item h3 {
    color: #2a395a;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Products Sections */
.new-products {
    padding: 40px 0;
}

.section-title {
    color: #2a395a;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px; /* Üst marjini azaltıldı */
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2a395a;
}

/* Ürün kartı stilleri birleştirilmiş CSS dosyasına taşındı */

/* Discount Badge (disabled globally as requested) */
.discount-badge { display: none !important; }

/* Ürün kartı stilleri birleştirilmiş CSS dosyasına taşındı */

/* Ürün kartı butonları ve fiyat stilleri birleştirilmiş CSS dosyasına taşındı */

/* Wishlist buttons (YITH/TI) inside showcase cards */
.showcase-favorites .yith-wcwl-add-to-wishlist,
.showcase-favorites .tinvwl,
.showcase-favorites .tinv-wrap { display: inline-block; }

/* YITH new button API: hide label and keep only heart (product cards) */
.showcase-favorites .yith-wcwl-add-to-wishlist-button__label { display: none !important; }
.showcase-favorites a.yith-wcwl-add-to-wishlist-button,
.showcase-favorites a.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #DFDFDF !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
}

.showcase-favorites .yith-wcwl-add-to-wishlist a,
.showcase-favorites .yith-wcwl-add-button a,
.showcase-favorites .yith-wcwl-wishlistaddedbrowse a,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse a,
.showcase-favorites .tinvwl_add_to_wishlist_button,
.showcase-favorites a.showcase-favorites-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #DFDFDF !important;
    color: #6D6D6D;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    text-decoration: none !important;
    font-size: 0 !important; /* hide any text nodes */
}

.showcase-favorites .yith-wcwl-add-to-wishlist a:hover,
.showcase-favorites .yith-wcwl-wishlistaddedbrowse a:hover,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse a:hover,
.showcase-favorites .tinvwl_add_to_wishlist_button:hover,
.showcase-favorites a.showcase-favorites-fallback:hover {
    border-color: #D9001C;
    color: #D9001C;
}

/* Remove textual labels inside buttons if any */
.showcase-favorites .yith-wcwl-add-to-wishlist a span,
.showcase-favorites .yith-wcwl-add-button a span,
.showcase-favorites .yith-wcwl-wishlistaddedbrowse a span,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse a span,
.showcase-favorites .tinvwl_add_to_wishlist_button span,
.showcase-favorites .tinvwl_add_to_wishlist_button .tinvwl-tooltip,
.showcase-favorites .tinvwl_add_to_wishlist_button .tinvwl_add_to_wishlist-text { display: none !important; }

/* Ensure YITH/TI default icons are centered */
.showcase-favorites .yith-wcwl-add-to-wishlist i,
.showcase-favorites .yith-wcwl-add-button i,
.showcase-favorites .yith-wcwl-wishlistaddedbrowse i,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse i,
.showcase-favorites .tinvwl_add_to_wishlist_button i { font-size: 18px; line-height: 1; }

/* Ensure added/exists states keep heart-only layout */
.showcase-favorites .yith-wcwl-wishlistaddedbrowse,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse { display: inline-flex !important; }
.showcase-favorites .yith-wcwl-wishlistaddedbrowse a,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse a {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #DFDFDF !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
}

/* Kill any leftover texts injected via pseudo-elements */
.showcase-favorites .yith-wcwl-add-to-wishlist a::after,
.showcase-favorites .yith-wcwl-wishlistaddedbrowse a::after,
.showcase-favorites .yith-wcwl-wishlistexistsbrowse a::after,
.showcase-favorites .tinvwl_add_to_wishlist_button::after { content: '' !important; }

/* Avoid layout shift: container around wishlist must not grow */
.showcase-cart-buttons { display: flex; align-items: center; justify-content: space-between; }
.showcase-cart-buttons .showcase-buttons { flex: 1 1 auto; }
.showcase-cart-buttons .showcase-favorites { flex: 0 0 auto; }

/* Single product heart (icon only) */
.single-wishlist { display: inline-block; margin-left: 12px; vertical-align: middle; }
.single-wishlist a,
.single-wishlist .yith-wcwl-add-to-wishlist-button,
.single-wishlist .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor,
.single-wishlist .tinvwl_add_to_wishlist_button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #DFDFDF !important;
    padding: 0 !important; margin: 0 !important;
    font-size: 0 !important; text-decoration: none !important;
}
.single-wishlist .yith-wcwl-add-to-wishlist-button__label, .single-wishlist span { display: none !important; }
.single-wishlist i, .single-wishlist svg { font-size: 18px; line-height: 1; }

/* Wishlist page notices (success/info) layout fix */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
    display: flex;
    align-items: center;
    gap: 10px;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
    margin-right: 8px;
}

/* TI buttons can have text via ::after; ensure it is hidden */
.showcase-favorites .tinvwl_add_to_wishlist_button::after,
.showcase-favorites .tinvwl_add_to_wishlist_button .tinvwl_add_to_wishlist-text { content: none !important; }

/* WooCommerce Specific Styles */

/* Shop page layout */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 350px;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(42,57,90,0.13);
    transform: translateY(-4px) scale(1.03);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    color: #2a395a;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.3;
    min-height: 40px;
}

.woocommerce ul.products li.product .price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button {
    background: #ffd700;
    color: #2a395a;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
    background: #2a395a;
    color: #fff;
    transform: translateY(-2px);
}

/* Single Product Page */
.woocommerce div.product {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 40px;
    margin: 40px 0;
}

.woocommerce div.product .product_title {
    color: #2a395a;
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.woocommerce div.product p.price {
    font-size: 24px;
    color: #d32f2f;
    font-weight: bold;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.woocommerce div.product form.cart {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 15px;
}

.woocommerce div.product form.cart .quantity input {
    width: 60px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background: #ffd700;
    color: #2a395a;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #2a395a;
    color: #fff;
    transform: translateY(-2px);
}

/* Product Images */
.woocommerce div.product .woocommerce-product-gallery {
    margin-bottom: 30px;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
    border-radius: 8px;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin: 60px 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    border-bottom: 2px solid #2a395a;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin-right: 30px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #2a395a;
    border-bottom-color: #2a395a;
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 30px 0;
    color: #666;
    line-height: 1.8;
}

/* Cart Page Styles */
.woocommerce table.shop_table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce table.shop_table th {
    background: #2a395a;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

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

.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce table.shop_table .product-name a {
    color: #2a395a;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce table.shop_table .product-name a:hover {
    color: #007cba;
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-weight: bold;
    color: #d32f2f;
    font-size: 16px;
}

.woocommerce table.shop_table .quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.woocommerce table.shop_table .product-remove a {
    color: #dc3545;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.woocommerce table.shop_table .product-remove a:hover {
    color: #a71d2a;
}

.woocommerce table.shop_table .actions {
    background: #f8f9fa;
    padding: 20px;
}

.woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.woocommerce .cart_totals {
    width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.woocommerce .cart_totals h2 {
    color: #2a395a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.woocommerce .cart_totals .order-total {
    font-size: 18px;
    font-weight: bold;
    color: #2a395a;
}

.woocommerce .checkout-button,
.woocommerce .wc-proceed-to-checkout a {
    width: 100%;
    background: #ffd700;
    color: #2a395a;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.woocommerce .checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a:hover {
    background: #2a395a;
    color: #fff;
    transform: translateY(-2px);
}

/* Checkout Page */
.woocommerce-checkout {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 40px 0;
}

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

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2a395a;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #2a395a;
    outline: none;
}

/* Account Pages */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 0;
    color: #2a395a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #007cba;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: #2a395a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #1e2a3d;
    transform: translateY(-1px);
}

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: #ffd700;
    color: #2a395a;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: #ffed4e;
}

/* Messages and Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    margin-top: 50px;
}

.footer-top {
    padding: 40px 0;
}

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

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2a395a;
    padding-bottom: 10px;
}

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

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

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

.footer-column ul li a:hover {
    color: #fff;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #2a395a;
    width: 20px;
}

.footer-bottom {
    background: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 25px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-info {
        display: none;
    }
    
    .search-bar {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .slider-container,
    .deals-sidebar {
        flex: 1;
    }
    
    .slide-content {
        left: 20px;
        right: 20px;
        text-align: center;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .deals-box {
        margin-top: 20px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .user-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .user-actions a {
        margin-left: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .category-carousel .grid-item img {
        height: 110px;
        max-width: 100%;
        object-fit: contain;
        margin-bottom: 8px;
        display: block;
    }

    /* WooCommerce Mobile Responsive */
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .woocommerce .cart-collaterals {
        justify-content: center;
    }

    .woocommerce .cart_totals {
        width: 100%;
        max-width: 400px;
    }

    .woocommerce table.shop_table,
    .woocommerce table.shop_table thead,
    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td,
    .woocommerce table.shop_table tr {
        display: block;
    }

    .woocommerce table.shop_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .woocommerce table.shop_table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 20px;
        border-radius: 8px;
    }

    .woocommerce table.shop_table td {
        border: none;
        padding: 10px 0;
        text-align: right;
    }

    .woocommerce table.shop_table td:before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: bold;
        color: #2a395a;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .woocommerce ul.products li.product {
        padding: 15px;
        height: 280px;
    }

    .woocommerce ul.products li.product img {
        height: 120px;
    }

    .woocommerce ul.products li.product h2 {
        font-size: 14px;
        min-height: 35px;
    }
}
*/ gemini düzeltme */

/* 
   Olası CSS çakışmalarını çözmek ve görselleri görünür kılmak için
   özellikle .product-image img seçicisi üzerinde yoğunlaşan kurallar.
*/

.product-image img {
    position: absolute !important; /* Görseli kapsayıcıya göre absolut konumlandırır */
    top: 0 !important;            /* Üst kenardan başla */
    left: 0 !important;           /* Sol kenardan başla */
    right: 0 !important;          /* Sağ kenara kadar yayıl */
    bottom: 0 !important;         /* Alt kenara kadar yayıl */
    
    width: 100% !important;       /* Kapsayıcının genişliğine tam uy */
    height: 100% !important;      /* Kapsayıcının yüksekliğine tam uy */
    
    object-fit: cover !important; /* Görselin en-boy oranını koruyarak kapsayıcıyı doldurur, fazlalıkları kırpar */
    
    display: block !important;    /* Görseli blok elemanı olarak göster */
    opacity: 1 !important;        /* Görseli tam şeffaf yap */
    visibility: visible !important; /* Görselin görünür olmasını zorla */
    
    /* max-width, max-height, min-width, min-height, height:auto gibi kuralları kaldırarak */
    /* veya geçersiz kılarak boyutlandırmayı serbest bırakıyoruz. */
    
    transition: transform 0.3s;   /* Varsayılan geçiş efekti */
}

/* .product-image kapsayıcısının kare orantısını korumak için */
.product-image {
    position: relative !important;
    overflow: hidden !important;
    padding-top: 100% !important; /* Görselin yerleşeceği alanı kare yapar */
    flex: 0 0 auto; /* Yüksekliğinin içeriğe göre değişmesini engeller */
    background-color: #f8f8f8; /* Görsel yüklenmezse gri bir arka plan */
}

/* Hover efektleri gibi diğer stiller korunuyor */
/* Bu stil de birleştirilmiş CSS dosyasına taşındı */

/* Görsel yoksa placeholder stilini de doğru hizalamak için */
.product-image img[src*="via.placeholder.com"] {
    object-fit: contain !important; /* Placeholder'lar için kırpma yerine sığdırma yapabiliriz */
}

/* Diğer CSS kurallarınız burada devam ediyor... */
/* ... (Yukarıda gönderdiğiniz tüm stil kodları buraya dahil olmalı) ... */

/* Payment Methods Logo - Responsive */
.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Responsive Payment Logo */
@media (max-width: 768px) {
    .payment-logo {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .payment-logo {
        max-width: 80px;
    }
}

/* -- Checkout notice icon overlap fix --
   On the checkout page WooCommerce notice icons (::before) were overlapping the text
   due to an earlier flex layout. Scope the override to checkout only. */
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error {
    display: block !important;           /* revert flex */
    position: relative !important;       /* anchor ::before */
    padding-left: 3.5em !important;      /* room for icon (WC default) */
}
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error::before {
    position: absolute !important;
    left: 1.5em !important;              /* WC default */
    top: 1em !important;                 /* WC default */
    transform: none !important;
    margin: 0 !important;
}

/* -- Product archive/category notice icon overlap fix -- */
body.tax-product_cat .woocommerce-message,
body.tax-product_cat .woocommerce-info,
body.tax-product_cat .woocommerce-error,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-message,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-info,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-error,
body.post-type-archive-product .woocommerce-message,
body.post-type-archive-product .woocommerce-info,
body.post-type-archive-product .woocommerce-error,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-message,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-info,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-error {
    display: block !important;
    position: relative !important;
    padding-left: 3.5em !important;
}
body.tax-product_cat .woocommerce-message::before,
body.tax-product_cat .woocommerce-info::before,
body.tax-product_cat .woocommerce-error::before,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-message::before,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-info::before,
body.tax-product_cat .woocommerce-notices-wrapper .woocommerce-error::before,
body.post-type-archive-product .woocommerce-message::before,
body.post-type-archive-product .woocommerce-info::before,
body.post-type-archive-product .woocommerce-error::before,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-message::before,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-info::before,
body.post-type-archive-product .woocommerce-notices-wrapper .woocommerce-error::before {
    position: absolute !important;
    left: 1.5em !important;
    top: 1em !important;
    transform: none !important;
    margin: 0 !important;
}

/* -- Category pages header spacing tweaks: bring shipping + cart slightly left -- */
body.tax-product_cat .header .header-content { gap: 14px; }
body.post-type-archive-product .header .header-content { gap: 14px; }
/* Slight left nudge of the right info cluster */
body.tax-product_cat .header .header-info,
body.post-type-archive-product .header .header-info { margin-left: 10px; }
/* Widen search a bit to reduce the void between search and right cluster */
body.tax-product_cat .search-bar.search-bar--desktop,
body.post-type-archive-product .search-bar.search-bar--desktop { max-width: 700px; }
@media (max-width: 992px) {
    body.tax-product_cat .header .header-info,
    body.post-type-archive-product .header .header-info { margin-left: 0; }
}