/************************************************************/
/*  DEDICATED STYLES FOR THE STORE PAGE                     */
/************************************************************/

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.store-item-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.store-item-card .video-wrapper {
    width: 100%;
    background-color: #000;
}
.store-item-card video {
    width: 100%;
    height: auto;
    display: block;
}

.store-item-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This makes the content area fill the space */
}

.store-item-card h3 {
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.store-item-card .description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1; /* This pushes the button to the bottom */
    margin-bottom: 20px;
}

.affiliate-button {
    display: block;
    background-color: #28a745; /* A strong, green call-to-action color */
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom of the flex container */
}

.affiliate-button:hover {
    background-color: #218838;
    color: #fff;
}
/* Add this to your store-style.css file */

.image-wrapper {
    width: 100%;
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0; /* Match the card's top corners */
}
/* --- Spacing for the Checkout Button in the Cart Summary --- */
.cart-summary .button-primary {
    margin-top: 20px;
}