/* Every builder promotion starts its image at the card's top edge. */
.builder-promo-card > .builder-promo-card__image > img {
  display: block !important;
  margin: 0 !important;
  vertical-align: top !important;
}

.builder-promo-card--basic,
.builder-promo-card--merchant {
  position: relative !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

.builder-promo-card--basic:hover,
.builder-promo-card--merchant:hover {
  transform: none !important;
}

.builder-promo-card--basic > .builder-promo-card__image,
.builder-promo-card--merchant > .builder-promo-card__image {
  position: relative !important;
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: stretch !important;
  order: 0 !important;
  transform: none !important;
}

.builder-promo-card--basic > .builder-promo-card__image > img,
.builder-promo-card--merchant > .builder-promo-card__image > img,
.builder-promo-card--basic:hover > .builder-promo-card__image > img,
.builder-promo-card--merchant:hover > .builder-promo-card__image > img {
  position: relative !important;
  inset: auto !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
  object-position: left top !important;
  transform: none !important;
}

.builder-promo-card--basic > .builder-promo-card__body,
.builder-promo-card--merchant > .builder-promo-card__body {
  order: 1 !important;
}

/* Merchant artwork often contains text on its very top edge. Keep it clear of
   the card's rounded clipping edge without changing the basic-card layout. */
.builder-promo-card--merchant > .builder-promo-card__image {
  box-sizing: border-box !important;
  padding-top: 0px !important;
  background: #fff !important;
}

.builder-promo-card--merchant > .builder-promo-card__image > img {
  height: 100% !important;
  object-position: left top !important;
}

/* PC merchant CTA typography is independent of every site theme. */
@media (min-width: 761px) {
  .builder-page .builder-content .builder-promo-card--merchant .builder-promo-card__body b,
  .builder-page .builder-promo-sidebar .builder-promo-card--merchant .builder-promo-card__body b {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}

/* Checklist banners use the same card shell as the other promotion banners. */
.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line, #ded8d2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(33, 30, 36, .08);
  transform: none;
}

.builder-page--shop .builder-promo-sidebar--checklist {
  gap: 50px;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: #eee8e1;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 15px;
  border-bottom: 0;
  background: #fff;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__body small {
  font-size: 12px;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__body strong {
  font-size: 16px;
  line-height: 1.45;
}

.builder-page--shop .builder-promo-sidebar--checklist .builder-promo-card__body b {
  margin-top: auto !important;
  font-size: 16px;
}
/* Category list header final override: keep the dedicated list image only. */
.builder-page--category .builder-hero--category{height:auto!important;min-height:0!important;max-height:none!important;box-shadow:none!important}
.builder-page--category .builder-hero--category>.hero__visual{height:470px!important;min-height:470px!important;max-height:470px!important;box-shadow:none!important}
.builder-page--category .builder-hero--category::before,.builder-page--category .builder-hero--category::after{box-shadow:none!important}
@media (max-width:760px){
  .builder-page--category .builder-hero--category{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important;min-height:0!important;height:auto!important;padding:32px 28px!important;overflow:hidden!important}
  .builder-page--category .builder-hero--category>div:first-child{width:100%!important;min-width:0!important;order:1!important}
  .builder-page--category .builder-hero--category>.hero__visual{order:2!important;width:100%!important;height:260px!important;min-height:260px!important;max-height:260px!important;margin:0!important;background-position:center!important;background-size:cover!important;border-radius:20px!important}
}
