/* 
 * Al Cuadrado / Made for Love — Components CSS
 * Specific styles for product cards, cart, and complex UI elements
 */

/* Product Grid & Cards */
.product-card {
    transition: var(--transition-smooth);
}

.product-card .img-wrapper {
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
}

.product-card img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card .card-content {
    padding: 24px 0;
}

.product-card .price {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

/* Shop Filters */
.filters-bar {
    border-bottom: 1px solid var(--outline-variant);
    padding: 24px 0;
    margin-bottom: 48px;
}

.filter-group {
    display: flex;
    gap: 32px;
}

.filter-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.filter-link.active {
    opacity: 1;
    font-weight: 700;
    color: var(--primary);
}

/* Product Detail Page */
.product-gallery {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thumb-item {
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary);
}

/* Info Box */
.info-box {
    padding: 40px;
    background: white;
    border: 1px solid var(--outline-variant);
}

/* Cart & Checkout */
.cart-table th {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--outline-variant);
    text-align: left;
}

.cart-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--outline-variant);
}

/* Animations */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
