.shop-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.shop-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.shop-filters input[type="search"] {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    flex: 1;
    min-width: 220px;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 999px;
    cursor: pointer;
    background: #fff;
    transition: all .2s ease;
    font-size: 14px;
}

.category-chip.active,
.category-chip:hover {
    background: #FFE4E1;
    border-color: #FFE4E1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 10px 12px;
}

.product-title {
    font-weight: 600;
}

.product-price {
    color: #555;
    margin-top: 4px;
}

.reset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: all .2s ease;
    user-select: none;
}

.reset-icon:hover {
    background: #FFE4E1;
    border-color: #FFE4E1;
    transform: rotate(-90deg);
}

/* Aktive Kategorie .active */

.shop-filters input[type="search"].active {
    border-color: #FFE4E1;
    box-shadow: 0 0 0 2px rgba(255, 228, 225, 0.6);
}

.reset-icon.active {
    background: #FFE4E1;
    border-color: #FFE4E1;
}

/* Popup modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    max-width: 800px;
    width: 90%;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 24px;
    cursor: pointer;
}

.modal-price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.modal-content button {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    background: #FFE4E1;
    cursor: pointer;
    font-weight: bold;
}

.modal-content.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    text-align: left;
}

.modal-left img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 8px;
    background: #fafafa;
}

.modal-right h3 {
    margin-top: 0;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 16px 0;
}

.qty-row input {
    width: 70px;
    padding: 6px 8px;
}

@media (max-width: 700px) {
    .modal-content.modal-grid {
        grid-template-columns: 1fr;
    }
}

