/* ==========================================================================
   Product offer card — ONE reusable template used for EVERY product card.
   Fixed layout, top to bottom:

     .card-product-offer               (extends .card-default)
       .card-default__header           title + price badge
       .card-product-offer__body       bold lead headline (600 weight)
       .card-product-offer__text       supporting paragraph
       .card-product-offer__footer     image + button, pinned to the bottom
         .card-product-offer__media    product image
         .card-product-offer__cta      call-to-action button

   Every card shares identical padding, borders and vertical spacing. Cards in
   the same row are equal height; the image + button block bottom-aligns so all
   buttons line up regardless of how much copy a card has.
   ========================================================================== */

:root {
  --card-gap: 1.5rem;   /* single spacing token used throughout the card */
}

.card-product-offer {
  display: flex;
  flex-direction: column;
  height: 100%;                 /* fill grid column so rows are equal height */
  gap: var(--card-gap);         /* uniform gap between every section */
}

/* card-level gap handles header spacing */
.card-product-offer .card-default__header {
  margin-bottom: 0;
}

/* bold lead headline — semibold, no stray margins */
.card-product-offer__body {
  margin: 0;
}
.card-product-offer__body > *:last-child {
  margin-bottom: 0;
}
.card-product-offer__body strong {
  font-weight: 600;
}

/* supporting paragraph — lives INSIDE the body, one line below the bold
   headline. Fixed margin (not the flex gap) so the spacing is identical on
   every card regardless of content. */
.card-product-offer__text {
  margin: 0.5rem 0 0;
}

/* footer holds image + button and is pinned to the bottom of the card so the
   buttons align across a row; extra vertical space collects above it */
.card-product-offer__footer {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  margin-top: auto;
}

/* product image — centered and responsive */
.card-product-offer__media {
  margin: 0;
  text-align: center;
}
.card-product-offer__media img,
.card-product-offer__media-expand img {
  max-width: 100%;
  height: auto;
}
.card-product-offer__media-expand {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* call to action — centered, hug text with horizontal padding */
.card-product-offer__cta {
  text-align: center;
}
.card-product-offer__cta .btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
}
