/* --- CATEGORY GENEL --- */
.ecom-breadcrumb {
    background: transparent;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}
.ecom-breadcrumb a {
    color: #2ba40a;
    text-decoration: none;
}
.ecom-breadcrumb a:hover {
    color: #52fb46;
}
.ecom-breadcrumb span.active {
    color: #2e8500;
    font-weight: 700;
}
.ecom-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ecom-sidebar::-webkit-scrollbar {
    display: none;
}
.ecom-filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}
.ecom-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.ecom-filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.ecom-filter-toggle i {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s;
}
.ecom-filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ecom-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: color 0.3s;
}
.ecom-filter-option:hover {
    color: #ff6b35;
}
.ecom-filter-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.ecom-filter-option input[type="checkbox"] {
    display: none;
}
.ecom-filter-option input[type="checkbox"]:checked + .ecom-filter-checkbox {
    background: #ff6b35;
    border-color: #ff6b35;
}
.ecom-filter-option input[type="checkbox"]:checked + .ecom-filter-checkbox::after {
    content: ✓;
    position: absolute;
    color: #fff;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ecom-color-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 0fr);
    gap: 12px;
    padding: 5px 0;
}
.ecom-color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}
.ecom-color-option:hover {
    transform: scale(1.05);
}
.ecom-color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ecom-color-option input[type="radio"] {
    display: none;
}
.ecom-color-option input[type="radio"]:checked + .ecom-color-circle {
    border: 3px solid #ff6b35;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff6b35;
}
.ecom-color-option input[type="checkbox"] {
    display: none;
}
.ecom-color-option input[type="checkbox"]:checked + .ecom-color-circle {
    border: 3px solid #ff6b35;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff6b35;
}
.ecom-color-option input[type="checkbox"]:checked + .ecom-color-circle::after {
    content: ✓;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}
.ecom-color-name {
    font-size: 11px;
    color: #666;
    text-align: center;
}
.ecom-price-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ecom-price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}
.ecom-price-input-wrapper {
    flex: 1;
    position: relative;
}
.ecom-price-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.ecom-price-input:focus {
    outline: none;
    border-color: #ff6b35;
}
.ecom-price-input::placeholder {
    color: #999;
}
.ecom-price-separator {
    color: #999;
    font-weight: 500;
}
.ecom-no-products {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ecom-no-products.show {
    display: block;
}
.ecom-no-products-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}
.ecom-no-products-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.ecom-no-products-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}
.ecom-no-products-suggestions {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.ecom-no-products-suggestions-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.ecom-no-products-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ecom-no-products-suggestions li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}
.ecom-no-products-suggestions li:before {
    content: •;
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 18px;
}
.ecom-clear-filters-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ecom-clear-filters-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.ecom-clear-filters-btn:active {
    transform: translateY(0);
}
.ecom-load-more-container {
    text-align: center;
    padding: 40px 20px;
    margin-top: 20px;
}
.ecom-load-more-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}
.ecom-load-more-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,107,53,0.3);
}
.ecom-load-more-btn:active {
    transform: translateY(0);
}
.ecom-load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}
.ecom-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.ecom-loading-overlay.show {
    display: flex;
}
.ecom-loading-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.ecom-loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}
.ecom-loading-circle {
    width: 100%;
    height: 100%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: ecomSpin 1s linear infinite;
}
.ecom-loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes ecomSpin {
    0%: { transform: rotate(0deg); };
    100%: { transform: rotate(360deg); };
}
.ecom-loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.ecom-loading-subtext {
    font-size: 14px;
    color: #666;
}
@keyframes ecomPulse {
    0%, 100%: { opacity: 1; };
    50%: { opacity: 0.5; };
}
.ecom-loading-text {
    animation: ecomPulse 1.5s ease-in-out infinite;
}
.ecom-products-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ecom-products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.ecom-sort-select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    color: #333;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23666" stroke-width="2" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.ecom-product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ecom-product-wishlist:hover {
    background: #ff6b35;
    color: #fff;
    transform: scale(1.1);
}
.ecom-product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 12px;
}
.ecom-mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff6b35;
    color: #fff;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255,107,53,0.4);
    z-index: 1000;
}
.ecom-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

@media (max-width: 768px) {
    .ecom-products-wrapper {
        border-radius: 0px;
    }
    .ecom-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        max-height: none;
        z-index: 1502;
        transition: left 0.3s;
        overflow-y: auto;
    }
    .ecom-sidebar.active {
        left: 0;
    }
    .ecom-sidebar-overlay.active {
        display: block;
    }
    .ecom-mobile-filter-btn {
        display: block;
    }
    .ecom-products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
