/**
 * Shop Page — Grid Layout
 * Hero uses tribute-grid.css; product grid matches front-page card style.
 */

/* Split nav: left seashellpink, right orange with black divider */
.post-type-archive-product .nav {
    background: linear-gradient(
        to right,
        var(--color-seashellpink) calc(50% - 1px),
        var(--color-black) calc(50% - 1px),
        var(--color-black) calc(50% + 1px),
        var(--color-orange) calc(50% + 1px)
    );
}

.shop-page {
    background-color: var(--color-black);
}

/* ───────────────────────────────
   Products Section (card grid)
   ─────────────────────────────── */

.shop-products {
    padding: 60px 40px;
    background-color: var(--color-orange);
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 56px 40px;
}

.shop-product-card {
    text-align: center;
    transition: transform 0.2s;
}

.shop-product-card:hover {
    transform: translateY(-4px);
}

.shop-product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.shop-product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #f5f5f5;
    margin-bottom: 16px;
}

.shop-product-name {
    font-family: 'Ano', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-black);
}

.shop-product-price {
    font-family: 'Ano', sans-serif;
    font-size: 16px;
    color: var(--color-black);
}

/* ───────────────────────────────
   Responsive — 1024px
   ─────────────────────────────── */

@media (max-width: 1024px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ───────────────────────────────
   Responsive — 768px (mobile)
   ─────────────────────────────── */

@media (max-width: 768px) {
    .shop-products {
        padding: 40px 20px;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
