* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #000;
}

/* ============= SHOP SECTION ============= */
.shop-section {
    padding: 50px 0 10px;
    background-color: #fafafa;
}

/* ============= SIDEBAR LUXURY ============= */
.sidebar {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.sidebar-section {
    padding: 24px 28px;
    border-bottom: 1px solid #ededed;
}

    .sidebar-section:last-child {
        border-bottom: none;
    }

.sidebar-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #000;
    position: relative;
    padding-bottom: 12px;
}

    .sidebar-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: #000;
    }

/* ============= CATEGORIES FILTER ============= */
.sidebar-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-filter-item {
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

    .sidebar-filter-item:last-child {
        margin-bottom: 0;
    }

.sidebar-filter-input {
    display: none;
}

.sidebar-filter-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 12px;
    border-radius: 6px;
    position: relative;
    user-select: none;
}

    .sidebar-filter-label:hover {
        background-color: #fafafa;
        color: #000;
    }

    .sidebar-filter-label::before {
        content: '';
        display: inline-block;
        width: 18px;
        height: 18px;
        border: 2px solid #ededed;
        border-radius: 4px;
        margin-right: 12px;
        transition: all 0.3s ease;
    }

.sidebar-filter-input:checked + .sidebar-filter-label::before {
    background-color: #000;
    border-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.sidebar-filter-input:checked + .sidebar-filter-label {
    color: #000;
    font-weight: 500;
    background-color: #fafafa;
}

/* ============= SIZE FILTER ============= */
.size-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-filter-input {
    display: none;
}

.size-filter-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid #ededed;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

    .size-filter-label:hover {
        border-color: #000;
        color: #000;
        background-color: #fafafa;
    }

.size-filter-input:checked + .size-filter-label {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* ============= COLOR FILTER ============= */
.color-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-filter-input {
    display: none;
}

.color-filter-label {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

    .color-filter-label:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.color-filter-input:checked + .color-filter-label {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.color-filter-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    transition: transform 0.3s ease;
}

.color-filter-input:checked + .color-filter-label::after {
    transform: translate(-50%, -50%) scale(1);
}

.color-black {
    background-color: #000;
}

.color-white {
    background-color: #fff;
    border: 2px solid #ededed;
}

.color-gray {
    background-color: #999;
}

.color-beige {
    background-color: #E8D5C4;
}

.color-navy {
    background-color: #001f3f;
}

/* ============= SHOP HEADER ============= */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shop-result {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

    .shop-result strong {
        color: #000;
        font-weight: 600;
    }

.shop-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-select {
    border: 1px solid #ededed;
    padding: 10px 40px 10px 16px;
    font-size: 13px;
    color: #000;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

    .shop-select:hover {
        border-color: #000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .shop-select:focus {
        border-color: #000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    }

/* ============= PRODUCTS GRID ============= */
.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
}

.product-card-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: auto;
}

.product-card-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

/* ============= RESPONSIVE STYLES ============= */

/* Large devices (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Medium devices (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .sidebar-section {
        padding: 20px 24px;
    }

    .product-card-img {
        height: 350px;
    }
}

/* Tablets (576px - 991px) */
@media (min-width: 576px) and (max-width: 991px) {
    .shop-section {
        padding: 40px 0 60px;
    }

    .sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .sidebar-section {
        padding: 20px 24px;
    }

    .shop-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .shop-controls {
        width: 100%;
    }

    .shop-select {
        width: 100%;
    }

    .product-card-img {
        height: 380px;
    }
}

/* Mobile (below 576px) */
@media (max-width: 575px) {
    .shop-section {
        padding: 30px 0 50px;
    }

    .sidebar {
        position: static;
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .sidebar-section {
        padding: 18px 20px;
    }

    .sidebar-title {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .shop-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 20px;
    }

    .shop-result {
        font-size: 13px;
    }

    .shop-controls {
        width: 100%;
    }

    .shop-select {
        width: 100%;
        font-size: 13px;
        padding: 10px 36px 10px 14px;
    }

    .product-card-img {
        height: 320px;
    }

    .product-card-body {
        padding: 16px;
    }

    .size-filter-label {
        width: 44px;
        height: 44px;
    }

    .color-filter-label {
        width: 36px;
        height: 36px;
    }
}

/* Mobile landscape */
@media (max-width: 767px) and (orientation: landscape) {
    .product-card-img {
        height: 280px;
    }
}
