:root {


    --primary-green: #3ea635;


    --dark-green: #2d7a28;


    --light-gray: #f5f5f5;


    --text-dark: #333333;


}


/* Category Hero - Compact & Elegant */


.category-hero {


    background-size: cover;


    background-position: center;


    background-repeat: no-repeat;


    padding: 60px 0 50px;


    position: relative;


    overflow: hidden;


}


.category-hero::before {


    content: '';


    position: absolute;


    top: 0;


    left: 0;


    right: 0;


    bottom: 0;


    background: linear-gradient(135deg, rgba(62, 166, 53, 0.92), rgba(45, 122, 40, 0.88));


    backdrop-filter: blur(2px);


}


.category-hero::after {


    content: '';


    position: absolute;


    top: 0;


    left: 0;


    right: 0;


    bottom: 0;


    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),


                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);


    pointer-events: none;


}


.category-hero-content {


    position: relative;


    z-index: 1;


    max-width: 1200px;


    margin: 0 auto;


    padding: 0 40px;


    text-align: center;


}


.category-icon {


    width: 80px;


    height: 80px;


    margin: 0 auto 20px;


        border-radius: 50%;


}


.category-icon:hover {


    transform: scale(1.1) rotate(5deg);


    box-shadow: 0 12px 35px rgba(0,0,0,0.2);


}


.category-hero h1 {


    font-size: 42px;


    font-weight: 800;


    color: white;


    margin-bottom: 12px;


    letter-spacing: -0.5px;


    text-shadow: 0 3px 15px rgba(0,0,0,0.3);


}


.category-hero p {


    font-size: 17px;


    color: rgba(255,255,255,0.95);


    max-width: 500px;


    margin: 0 auto 30px;


    line-height: 1.5;


    text-shadow: 0 2px 8px rgba(0,0,0,0.2);


}


/* Hero Search - Compact */


.hero-search {


    max-width: 550px;


    margin: 0 auto;


    position: relative;


}


.hero-search input {


    width: 100%;


    padding: 15px 55px 15px 22px;


    border: none;


    border-radius: 50px;


    font-size: 15px;


    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);


    transition: all 0.3s ease;


    background: rgba(255,255,255,0.98);


    backdrop-filter: blur(10px);


}


.hero-search input:focus {


    outline: none;


    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);


    transform: translateY(-2px);


    background: white;


}


.hero-search button {


    position: absolute;


    right: 5px;


    top: 50%;


    transform: translateY(-50%);


    width: 45px;


    height: 45px;


    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));


    border: none;


    border-radius: 50%;


    color: white;


    cursor: pointer;


    display: flex;


    align-items: center;


    justify-content: center;


    transition: all 0.3s ease;


    box-shadow: 0 4px 15px rgba(62, 166, 53, 0.4);


}


.hero-search button:hover {


    transform: translateY(-50%) scale(1.1);


    box-shadow: 0 6px 20px rgba(62, 166, 53, 0.6);


}


.hero-search button {


    position: absolute;


    right: 8px;


    top: 50%;


    transform: translateY(-50%);


    width: 45px;


    height: 45px;


    background: var(--primary-green);


    border: none;


    border-radius: 50%;


    color: white;


    cursor: pointer;


    transition: all 0.3s ease;


    display: flex;


    align-items: center;


    justify-content: center;


}


.hero-search button:hover {


    background: var(--dark-green);


    transform: translateY(-50%) scale(1.1);


}


/* Sub Categories */


.sub-categories {


    background: white;


    padding: 40px 0;


    border-bottom: 1px solid #e0e0e0;


}


.sub-categories-container {


    max-width: 1200px;


    margin: 0 auto;


    padding: 0 40px;


}


.sub-categories-grid {


    display: grid;


    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));


    gap: 20px;


}


.sub-category-card {


    background: linear-gradient(135deg, #f8f9fa, #fff);


    padding: 25px;


    border-radius: 15px;


    text-align: center;


    text-decoration: none;


    color: var(--text-dark);


    border: 2px solid transparent;


    transition: all 0.3s ease;


}


.sub-category-card:hover {


    border-color: var(--primary-green);


    transform: translateY(-5px);


    box-shadow: 0 10px 30px rgba(62,166,53,0.15);


}


.sub-category-icon {


    font-size: 36px;


    margin-bottom: 15px;


}


.sub-category-name {


    font-size: 16px;


    font-weight: 600;


    margin-bottom: 5px;


}


.sub-category-count {


    font-size: 13px;


    color: #999;


}


/* Products Section */


.products-section {


    max-width: 1400px;


    margin: 0 auto;


    padding: 60px 40px;


}


.products-layout {


    display: grid;


    grid-template-columns: 300px 1fr;


    gap: 40px;


}


.products-content {


    min-width: 0;


}


/* Sidebar Filters */


.sidebar-filters {


    position: sticky;


    top: 20px;


    align-self: flex-start;


}


.sidebar-filters::-webkit-scrollbar {


    width: 6px;


}


.sidebar-filters::-webkit-scrollbar-track {


    background: #f1f1f1;


    border-radius: 10px;


}


.sidebar-filters::-webkit-scrollbar-thumb {


    background: var(--primary-green);


    border-radius: 10px;


}


.sidebar-filters::-webkit-scrollbar-thumb:hover {


    background: var(--dark-green);


}


.filter-section {


    background: white;


    padding: 25px;


    border-radius: 15px;


    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);


    margin-bottom: 20px;


}


.filter-title {


    font-size: 16px;


    font-weight: 700;


    color: var(--text-dark);


    margin-bottom: 20px;


    padding-bottom: 15px;


    border-bottom: 2px solid var(--light-gray);


}


.filter-option {


    display: flex;


    align-items: center;


    gap: 10px;


    padding: 10px 0;


    cursor: pointer;


    transition: all 0.3s ease;


}


.filter-option:hover {


    color: var(--primary-green);


}


.filter-option input[type="checkbox"] {


    width: 18px;


    height: 18px;


    cursor: pointer;


    accent-color: var(--primary-green);


}


.filter-option label {


    cursor: pointer;


    font-size: 14px;


    flex: 1;


}


.filter-count {


    font-size: 12px;


    color: #999;


}


.price-inputs {


    display: flex;


    gap: 8px;


    margin-bottom: 15px;


}


.price-inputs input {


    flex: 1;


    min-width: 0;


    padding: 10px 8px;


    border: 2px solid #e0e0e0;


    border-radius: 8px;


    font-size: 14px;


    box-sizing: border-box;


}


.price-inputs input:focus {


    outline: none;


    border-color: var(--primary-green);


}


.filter-apply-btn {


    width: 100%;


    padding: 12px;


    background: var(--primary-green);


    color: white;


    border: none;


    border-radius: 10px;


    font-size: 14px;


    font-weight: 600;


    cursor: pointer;


    transition: all 0.3s ease;


}


.filter-apply-btn:hover {


    background: var(--dark-green);


}


.filter-reset {


    display: block;


    width: 100%;


    padding: 12px;


    background: white;


    color: var(--text-dark);


    border: 2px solid #e0e0e0;


    border-radius: 10px;


    font-size: 14px;


    font-weight: 600;


    text-align: center;


    text-decoration: none;


    transition: all 0.3s ease;


}


.filter-reset:hover {


    border-color: var(--primary-green);


    color: var(--primary-green);


}


.section-header {


    display: flex;


    justify-content: space-between;


    align-items: center;


    margin-bottom: 40px;


    flex-wrap: wrap;


    gap: 20px;


}


.section-title {


    font-size: 28px;


    font-weight: 700;


    color: var(--text-dark);


}


.products-count {


    color: var(--primary-green);


    font-weight: 600;


}


.sort-select {


    /* padding: 12px 40px 12px 20px;


    border: 2px solid #e0e0e0;


    border-radius: 10px; */


    font-size: 14px;


    font-weight: 500;


    cursor: pointer;


    background: white;


    transition: all 0.3s ease;


    appearance: none;


    background-image: url('data:image/svg+xml,<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 15px center;


}


.sort-select:hover {


    border-color: var(--primary-green);


}


/* Products Grid */


.products-grid {


    display: grid;


    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));


    gap: 25px;


    margin-bottom: 60px;


}


.product-card {


    background: white;


    border-radius: 20px;


    overflow: hidden;


    box-shadow: 0 4px 20px rgba(0,0,0,0.08);


    transition: all 0.4s ease;


    position: relative;


    text-decoration: none;


    color: inherit;


    display: block;


}


.product-card:hover {


    transform: translateY(-10px);


    box-shadow: 0 15px 40px rgba(62,166,53,0.2);


}


.product-image {


    position: relative;


    padding-top: 100%;


    overflow: hidden;


    background: var(--light-gray);


}


.product-image img {


    position: absolute;


    top: 0;


    left: 0;


    width: 100%;


    height: 100%;


    object-fit: contain;


    transition: transform 0.5s ease;


}


.product-card:hover .product-image img {


    transform: scale(1.1);


}


.product-badge {


    position: absolute;


    top: 15px;


    left: 15px;


    background: #ff4444;


    color: white;


    padding: 6px 12px;


    border-radius: 20px;


    font-size: 12px;


    font-weight: 600;


    z-index: 1;


}


/* Favorite Button */


.product-card .favorite-btn {


    position: absolute;


    top: 15px;


    right: 15px;


    width: 36px;


    height: 36px;


    background: white;


    border: none;


    border-radius: 50%;


    display: flex;


    align-items: center;


    justify-content: center;


    cursor: pointer;


    z-index: 2;


    box-shadow: 0 2px 8px rgba(0,0,0,0.15);


    transition: all 0.2s ease;


    color: #666;


}


.product-card .favorite-btn:hover {


    transform: scale(1.1);


    color: #e91e63;


}


.product-card .favorite-btn.active {


    color: #e91e63;


    background: #fff0f5;


}


.product-card .favorite-btn.active svg {


    fill: #e91e63;


}


.product-info {


    padding: 20px;


}


.product-brand {


    font-size: 12px;


    color: var(--primary-green);


    font-weight: 600;


    text-transform: uppercase;


    letter-spacing: 0.5px;


    margin-bottom: 8px;


}


.product-name {


    font-size: 16px;


    font-weight: 600;


    color: var(--text-dark);


    margin-bottom: 10px;


    line-height: 1.4;


    display: -webkit-box;


    -webkit-line-clamp: 2;


    -webkit-box-orient: vertical;


    overflow: hidden;


}


.product-rating {


    display: flex;


    align-items: center;


    gap: 5px;


    margin-bottom: 12px;


}


.stars {


    color: #ffa500;


    font-size: 14px;


}


.rating-count {


    font-size: 12px;


    color: #999;


}


.product-price {


    display: flex;


    align-items: center;


    gap: 10px;


    margin-bottom: 15px;


}


.current-price {


    font-size: 24px;


    font-weight: 700;


    color: var(--primary-green);


}


.old-price {


    font-size: 16px;


    color: #999;


    text-decoration: line-through;


}


/* Toplu Satış İndirim Linki */


.bulk-discount-link {


    display: flex;


    align-items: center;


    gap: 6px;


    padding: 6px 10px;


    margin-bottom: 10px;


    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);


    border: 1px solid #667eea30;


    border-radius: 6px;


    font-size: 11px;


    color: #5a4fcf;


    text-decoration: none;


    transition: all 0.3s ease;


}


.bulk-discount-link:hover {


    background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);


    border-color: #667eea50;


    transform: scale(1.02);


}


.bulk-discount-link i {


    font-size: 12px;


    color: #3ea635;


}


.add-to-cart {


    width: 100%;


    padding: 12px;


    background: var(--primary-green);


    color: white;


    border: none;


    border-radius: 10px;


    font-size: 14px;


    font-weight: 600;


    cursor: pointer;


    transition: all 0.3s ease;


}


.add-to-cart:hover {


    background: var(--dark-green);


    transform: translateY(-2px);


}


/* Pagination */


.pagination {


    display: flex;


    justify-content: center;


    align-items: center;


    gap: 10px;


    margin-top: 60px;


}


.page-btn {


    width: 45px;


    height: 45px;


    border: 2px solid #e0e0e0;


    background: white;


    border-radius: 10px;


    font-size: 14px;


    font-weight: 600;


    cursor: pointer;


    transition: all 0.3s ease;


    color: var(--text-dark);


    text-decoration: none;


    display: flex;


    align-items: center;


    justify-content: center;


}


.page-btn:hover {


    border-color: var(--primary-green);


    color: var(--primary-green);


}


.page-btn.active {


    background: var(--primary-green);


    border-color: var(--primary-green);


    color: white;


}


/* Empty State */


.empty-state {


    text-align: center;


    padding: 80px 20px;


}


.empty-state h3 {


    font-size: 24px;


    color: var(--text-dark);


    margin-bottom: 10px;


}


.empty-state p {


    color: #999;


    font-size: 16px;


}


/* Responsive */


@media (max-width: 1024px) {


    .products-layout {


        grid-template-columns: 1fr;


    }


    .sidebar-filters {


        position: static;


        display: grid;


        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));


        gap: 20px;


    }


}


@media (max-width: 768px) {


    .category-hero {


        padding: 50px 0 40px;


    }


    .category-hero h1 {


        font-size: 36px;


    }


    .category-hero-content {


        padding: 0 20px;


    }


    .products-section {


        padding: 40px 20px;


    }


    .products-grid {


        grid-template-columns: repeat(2, 1fr);


        gap: 15px;


    }


    .sub-categories-grid {


        grid-template-columns: repeat(2, 1fr);


    }


    .sidebar-filters {


        grid-template-columns: 1fr;


    }


}


@media (max-width: 480px) {


    .category-hero h1 {


        font-size: 28px;


    }


    .stat-number {


        font-size: 28px;


    }


}


:root {


    --primary-green: #3ea635;


    --dark-green: #2d7a28;


    --light-green: #e8f5e6;


}


/* Kategori İkon Stilleri */


.category-icon img,


.sub-category-icon img {


    width: 100%;


    height: 100%;


    object-fit: contain;


    border-radius: 8px;


}


.icon-fallback {


    width: 100%;


    height: 100%;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: inherit;


    background: var(--primary-green);


    color: white;


    border-radius: 8px;


}


/* Product Warning Badge - Kategori Sayfası */


.product-image {


    position: relative;


}


.product-image .product-warning-badge {


    position: absolute;


    bottom: 8px;


    left: 10px;


    right: 10px;


    display: flex;


    align-items: flex-start;


    gap: 4px;


    background: rgba(220, 53, 69, 0.95);


    color: white;


    padding: 4px 8px;


    border-radius: 8px;


    font-size: 14px;


    font-weight: 600;


    z-index: 5;


    white-space: normal;


    text-align: left;


    line-height: 1.2;


    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);


}


.product-image .product-warning-badge svg {


    flex-shrink: 0;


    margin-top: 1px;


    width: 12px;


    height: 12px;


}


.product-image .product-warning-badge span {


    word-wrap: break-word;


}


@media (max-width: 768px) {


    .product-image .product-warning-badge {


        font-size: 12px;


        padding: 3px 6px;


        gap: 3px;


        left: 5px;


        right: 5px;


    }


    .product-image .product-warning-badge svg {


        width: 10px;


        height: 10px;


    }


}
