/* Premium Shop Design System - Allware Srl */

:root {
    --shop-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --accent-red: #e63946;
}

.shop-main {
    background-color: var(--shop-bg);
    padding: 60px 0 100px;
}

.catalogo-main {
    padding: 80px 0 100px;
}

/* Layout System */
.shop-layout {
    display: flex;
    gap: 40px;
}

.shop-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.shop-content {
    flex: 1;
}

/* Sidebar Styling */
.filter-group {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.filter-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: none;
}

.category-filter {
    accent-color: var(--primary);
}

/* Featured Banner */
.featured-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-image {
    aspect-ratio: 4/3;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
}

.details-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.details-link:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .shop-layout { flex-direction: column; }
    .shop-sidebar { flex: none; position: static; }
    .featured-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-info { padding: 20px; }
}
