main {
    padding: 2rem 1rem;
    width: 67%;
    margin: 0 auto;
}

.shop-section {
    background-color: #0a0a0a;
    color: #eaeaea;
    text-align: center;
    padding: 3rem 1rem;

    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url('../images/texture_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-content {
    display: flex;
    flex-direction: column;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.product-card img {
    object-fit: cover;
    height: 260px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    color: #d4af37;
    margin: 0.5rem 0;
}

.product-card p {
    font-size: 0.95rem;
    color: #ccc;
}

.shop-button {
    display: inline-block;
    background-color: #28a745;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 1.2rem auto 0 auto;
    max-width: fit-content;
}

.shop-button:hover {
    background-color: #218838;
}

.product-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    margin: 0 auto;
    padding: 0.5rem;
    background-color: #000;
    overflow: hidden;
    text-align: center;
    border-radius: 4px;
    max-width: 95%;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


/* Reuse your scroll-banner styles if not already included */
.scroll-banner {
    background-color: #111;
    color: #0f0;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.75rem;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    border-bottom: 1px solid #333;
}

.scroll-banner a {
    color: #0f0;
    text-decoration: none;
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 37s linear infinite;
    animation-play-state: running;
}

.scroll-banner:hover a {
    animation-play-state: paused;
}

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

.product-card-link:hover .product-card {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

@keyframes scroll-text {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 600px) {
    main {
        width: 100%;
        padding: 0;
    }

    .shop-section {
        padding: 2rem 1rem;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-color: #0d0d0d;
    }

    .product-card-link {
        display: block;
        margin: 1.5rem auto;
    }

    .product-card {
        padding: 1.25rem;
        background-color: rgba(20, 20, 20, 0.92);
        border-radius: 10px;
        box-shadow: 0 0 8px rgba(255, 100, 0, 0.2);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        max-width: 90vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }


    .product-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: contain;
    }
}