.shop-section {
    background-color: #d6d3c4;
    padding: 4rem 3rem 6rem;
    min-height: 100vh;
}

.shop-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #2c2c2c;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.shop-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
    width: 100%;
    min-width: 0;
}

.shop-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 2px;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.04);
}

.shop-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-card:hover .shop-card-overlay {
    opacity: 1;
}

.overlay-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #9ea894;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
}

.overlay-cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    transition: opacity 0.2s;
}

.overlay-cart-btn:hover {
    opacity: 0.5;
}

.shop-cart-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overlay-divider {
    color: #191919;
    font-size: 1rem;
    line-height: 1;
}

.overlay-story-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    color: #2c2c2c;
    text-decoration: none;
    padding: 0;
    transition: opacity 0.2s;
}

.overlay-story-btn:hover {
    opacity: 0.7;
}

.shop-card-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shop-card-name {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.4;
}

.shop-card-price {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .shop-section {
        padding: 3rem 1.5rem;
    }

    .shop-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .shop-title {
        font-size: 2rem;
    }

    /* Disable overlay on mobile — no cart icon or Read the Story button */
    .shop-card-overlay {
        display: none !important;
    }

    /* Remove tap highlight */
    .shop-card {
        -webkit-tap-highlight-color: transparent;
    }
}