/* Dengex Luxe Frontend CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.luxe-magaza-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    color: #212121;
}

.luxe-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Kategori Başlık Alanı */
.luxe-category-header {
    padding: 32px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.luxe-category-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.luxe-category-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-family: 'Inter', sans-serif;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.luxe-layout {
    display: block;
}

/* Sidebar - Açılır/Kapanır Kategori Yapısı */
.luxe-sidebar {
    display: none;
    background: #ffffff;
    padding: 16px;
    margin: 0 12px 12px 12px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.luxe-sidebar.active {
    display: block;
}

.filter-toggle {
    background: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    margin: 12px 12px 0 12px;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.filter-toggle:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.filter-toggle.active {
    transform: scale(0.98);
}

.filter-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.filter-toggle.active .filter-toggle-icon {
    transform: rotate(180deg);
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h3 {
    font-size: 13px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* AÇILIR/KAPANIR KATEGORİ YAPISI */
.category-accordion-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}

.category-accordion-header {
    width: 100%;
    text-align: left;
    padding: 12px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.category-accordion-header:hover {
    background: #f8f9fa;
    border-radius: 8px;
}

.category-accordion-indicator {
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.category-accordion-header.expanded .category-accordion-indicator {
    transform: rotate(90deg);
}

.category-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
}

.category-accordion-content.expanded {
    max-height: 500px;
    padding-bottom: 8px;
}

.category-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: #424242;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.category-item-link:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.category-item-link.active {
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 600;
}

.category-count {
    font-size: 12px;
    color: #757575;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.category-item-link.active .category-count {
    background: #333;
    color: #fff;
}

.child-category {
    padding-left: 12px;
}

.filter-subcategory {
    padding-left: 18px;
    margin-top: 8px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-item:hover {
    padding-left: 4px;
}

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1a1a1a;
    flex-shrink: 0;
}

.filter-item label {
    cursor: pointer;
    font-size: 14px;
    color: #424242;
    font-weight: 500;
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.filter-count {
    font-size: 13px;
    color: #757575;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input-group {
    flex: 1;
}

.price-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.price-input-group input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.price-separator {
    font-weight: 600;
    color: #999;
}

.color-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-filter-item:hover {
    padding-left: 4px;
}

.color-filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1a1a1a;
    flex-shrink: 0;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-filter-item label {
    cursor: pointer;
    font-size: 14px;
    color: #424242;
    font-weight: 500;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.filter-reset {
    margin-top: 20px;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    display: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.filter-reset:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

.filter-reset.active {
    transform: translateY(0);
}

.luxe-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}

.luxe-product-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.luxe-product-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
    transform: translateY(-4px);
}

.luxe-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.luxe-product-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    background: #fdfdfd;
    margin-bottom: 12px;
    border-radius: 12px;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.luxe-product-item:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    font-family: 'Inter', sans-serif;
}

.badge-sale {
    background: rgba(220, 38, 38, 0.95);
    color: #fff;
}

.badge-new {
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
}

.luxe-product-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    font-family: 'Inter', sans-serif;
}

.luxe-product-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.price-wrapper {
    font-size: 18px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.price-wrapper del {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}


.section-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.color-options {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.color-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.color-dot.active-color {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a1a;
    border-color: transparent;
    z-index: 2;
}

.sizes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.size-option {
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #424242;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    min-width: 32px;
    text-align: center;
}

.size-option:hover {
    border-color: #bdbdbd;
    background: #f8f8f8;
}

.size-option.active-size {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.size-option.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    text-decoration: line-through;
}

.luxe-thumbnails {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.luxe-thumb {
    width: 40px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.luxe-thumb.active {
    border-color: #1a1a1a;
    opacity: 1;
}

.luxe-thumb:hover {
    opacity: 1;
}

.btn-add-cart {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-add-cart:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.luxe-stock-info {
    font-size: 11px;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.in-stock .stock-dot {
    background-color: #10b981;
}

.in-stock .stock-text {
    color: #10b981;
}

.low-stock .stock-dot {
    background-color: #f59e0b;
}

.low-stock .stock-text {
    color: #f59e0b;
}

.out-of-stock .stock-dot {
    background-color: #ef4444;
}

.out-of-stock .stock-text {
    color: #ef4444;
}

/* Responsive */
@media (min-width: 900px) {
    .luxe-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }

    .luxe-sidebar {
        display: block;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .filter-toggle {
        display: none;
    }

    .luxe-products-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 0 40px 0;
    }
}

@media (min-width: 1200px) {
    .luxe-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}