* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* SIDEBAR */
.filter-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .filter-group:last-child {
        border-bottom: none;
    }

.group-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    display: block;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

    .checkbox-item input {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        cursor: pointer;
        accent-color: #7c3aed;
    }

    .checkbox-item label {
        cursor: pointer;
        font-size: 14px;
        color: #555;
        flex: 1;
    }

.range-inputs {
    margin-top: 12px;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

    .range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #7c3aed;
        cursor: pointer;
    }

    .range-slider::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #7c3aed;
        cursor: pointer;
        border: none;
    }

.range-value {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .rating-item .star-icons {
        color: #ffc107;
        margin-right: 8px;
        font-size: 12px;
    }

    .rating-item label {
        font-size: 14px;
        color: #555;
        cursor: pointer;
    }

/* MAIN CONTENT */
.content-area {
    display: flex;
    flex-direction: column;
}

.toto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.result-count {
    font-size: 14px;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sort-wrapper label {
        font-size: 13px;
        color: #666;
        font-weight: 600;
    }

    .sort-wrapper select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13px;
        background: white;
        cursor: pointer;
    }

.filter-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge-item {
    background: #7c3aed;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .badge-item i {
        cursor: pointer;
    }

.remove-all {
    color: #7c3aed;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

/* PRODUCTS GRID */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.item-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .item-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

.item-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

    .item-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sale-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff69b4;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.favorite-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s;
}

    .favorite-icon:hover {
        background: #7c3aed;
        color: white;
    }

.item-details {
    padding: 15px;
}

.item-type {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.item-reviews {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

    .item-reviews .star-icons {
        color: #ffc107;
        font-size: 12px;
    }

    .item-reviews .review-score {
        font-size: 12px;
        color: #666;
    }

.price-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sale-price {
    font-size: 16px;
    font-weight: bold;
    color: black;
    -webkit-text-stroke: 0.5px #000;
}

.regular-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.quick-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

    .quick-actions a {
        font-size: 12px;
        color: #7c3aed;
        text-decoration: none;
        flex: 1;
        text-align: center;
        padding: 5px;
        border-radius: 4px;
        transition: all 0.3s;
    }

        .quick-actions a:hover {
            background: #7c3aed;
            color: white;
        }

/* PAGINATION */
.page-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-number {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

    .page-number:hover:not(.inactive) {
        border-color: #7c3aed;
        color: #7c3aed;
    }

    .page-number.current {
        background: #7c3aed;
        color: white;
        border-color: #7c3aed;
    }

    .page-number.inactive {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .page-number.nav-arrow {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .shop-wrapper {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .shop-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .filter-panel {
        display: none;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .item-thumbnail {
        height: 220px;
    }

    .item-title {
        font-size: 13px;
    }

    .sale-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .shop-wrapper {
        padding: 10px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .item-thumbnail {
        height: 180px;
    }

    .item-details {
        padding: 10px;
    }

    .sale-label {
        font-size: 10px;
        padding: 4px 8px;
    }

    .favorite-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .item-title {
        font-size: 12px;
    }

    .sale-price {
        font-size: 13px;
    }
}

.sale-price {
    text-decoration: line-through;
    font-weight: normal; 
}

