/* ==========================================================
   Zeppa custom styles
   Lives in the Zeppa child theme so Quark updates can't erase it.
   ========================================================== */

/* ---------- Buy It page: two-column product block ---------- */

/* Left column: photo, price, shipping note.
   Right column: PayPal checkout. */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0 2.5rem;
}

.product-info {
    text-align: center;
}

.product-info img {
    display: block;
    max-width: 100%;
    max-height: 320px;
    height: auto;
    margin: 0 auto 1rem;
}

.product-info h2 {
    margin: 0 0 0.25rem;
}

.product-info p {
    margin: 0;
}

/* PayPal renders its own buttons; just give them room. */
.product-purchase {
    min-width: 0;
    width: 100%;
}

/* Phones and narrow tablets: stack the columns,
   photo and price on top, checkout underneath. */
@media (max-width: 840px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ---------- Buy It page: "Why the Zeppa Is Different" ----------
   Text on the left, photo on the right. */
.feature-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0 2.5rem;
}

.feature-text h2 {
    margin-top: 0;
}

.feature-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Phones and narrow tablets: text first, photo underneath. */
@media (max-width: 840px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ---------- Photos placed in page text ---------- */

#body-wrapper img {
    max-width: 100%;
    height: auto;
}
