/* Stili per la pagina Shop */
.shop-hero {
    padding: 100px 20px 50px;
    text-align: center;
}

.shop-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.category-btn {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: rgba(255, 0, 60, 0.2);
    transform: translateY(-2px);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

/* Sezione prodotti */
.shop-products {
    padding: 0 20px 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.product-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

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

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Stili per il carrello */
.cart-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.cart-header {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr 50px;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 0, 85, 0.3);
    font-weight: bold;
    color: var(--neon-red);
}

.cart-items {
    margin-top: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr 50px;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

.cart-item-price {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 85, 0.3);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background-color: rgba(255, 0, 85, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.cart-item-total {
    font-weight: bold;
    color: var(--neon-red);
}

.remove-item {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.remove-item:hover {
    color: var(--neon-red);
    transform: scale(1.1);
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
}

.empty-cart i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.empty-cart p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.cart-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 85, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart-total {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.cart-total-value {
    font-weight: bold;
    color: var(--neon-red);
    font-size: 1.5rem;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.checkout-btn {
    background-color: var(--neon-red);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.checkout-btn:hover {
    background-color: #ff3366;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.7);
}

/* Responsive per il carrello */
@media (max-width: 768px) {
    .cart-header {
        grid-template-columns: 80px 2fr 1fr 50px;
    }
    
    .cart-header div:nth-child(3) {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 80px 2fr 1fr 50px;
    }
    
    .cart-item-total {
        display: none;
    }
}

@media (max-width: 576px) {
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
        padding: 15px;
        margin-bottom: 15px;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        position: relative;
    }
    
    .cart-item-image {
        grid-row: span 3;
    }
    
    .cart-item-details {
        grid-column: 2;
        grid-row: 1;
    }
    
    .cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
    }
    
    .cart-item-price {
        grid-column: 2;
        grid-row: 3;
    }
    
    .remove-item {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .cart-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cart-header {
        grid-template-columns: 60px 2fr 50px;
    }
    
    .cart-header div:nth-child(3),
    .cart-header div:nth-child(4) {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 60px 2fr 50px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        display: none;
    }
    
    .cart-item-details h3 {
        font-size: 16px;
    }
}