/* One full-width image frame for every card, including wrapped condition badges. */
body .card .card-image-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: auto;
  flex: none;
  background: #fff;
}
body .card .card-image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  grid-row: auto;
  flex: none;
  overflow: hidden;
  border-right: 0;
  background: #fff;
}
body .card .card-image img,
body .card .card-image:hover img,
body .card:hover .card-image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0;
  transform: none !important;
  background: #fff;
}
@media (max-width: 760px) {
  body[data-page] .card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}
/* Preserve the complete styling reference in the product viewer. */
body .main-media:has(img[src*="model-qa-20261028"]) > img,
body .px-product__gallery .main-media:has(img[src*="model-qa-20261028"]) > img,
body .thumb img[src*="model-qa-20261028"] {
  box-sizing: border-box;
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(12px, 2vw, 28px);
  background: #fff;
}

/* This square source has generous empty sides. Fill the portrait card while
   retaining its complete top-to-bottom pose; do not zoom other product photos. */
body .card .card-image img[src*="ae-curvy-dreamy-drape-5876-2short-26-view-35-white-background"],
body .card:hover .card-image img[src*="ae-curvy-dreamy-drape-5876-2short-26-view-35-white-background"] {
  object-fit: cover !important;
}

/* Approved price-first hierarchy. The only fill follows the savings copy. */
body .card .card-text .card-pricing--clear {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding-top: 16px;
  min-width: 0;
  text-align: left;
}
body .card .card-text .card-pricing--clear > * {
  flex-basis: auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  white-space: normal;
}
body .card .card-text .card-pricing--clear .your-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-weight: 700;
  line-height: 1.2;
}
body .card .card-text .card-pricing--clear .your-price .card-price-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: #555b50;
  margin: 0;
}
body .card .card-text .card-pricing--clear .your-price .card-price-amount {
  display: block;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-transform: none;
  color: #20221e;
  margin: 0;
  overflow-wrap: anywhere;
}
body .card .card-text .card-pricing--clear .retail-reference {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #62665b;
}
body .card .card-text .card-pricing--clear .savings-percent {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: #324832;
}
body .card .card-text .card-pricing--clear .savings-percent mark {
  padding: 2px 3px;
  background: #edf2e8;
  color: #324832;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Clear retail comparison, shared across product cards. */
body .card .card-text .card-pricing--clear{display:flex;flex-flow:row wrap;align-items:baseline;column-gap:12px;row-gap:4px}
body .card .card-text .card-pricing--clear .your-price{display:inline-flex;flex:0 0 auto;font-size:20px;font-weight:700;color:#20201e}
body .card .card-text .card-pricing--clear .your-price .card-price-amount{font-size:inherit;color:inherit;font-weight:inherit}
body .card .card-text .card-pricing--clear .retail-reference{display:inline-flex;flex:0 0 auto;font-size:17px;color:#666}
body .card .card-text .card-pricing--clear .savings-percent{display:block;flex-basis:100%;width:auto;padding:0;margin:0;background:transparent;color:#945843;font-size:15px}
body .card .card-text .card-pricing--clear .savings-percent mark{padding:0;background:transparent;color:#945843}
.sr-price-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* A reserved label row keeps condition badges clear of faces at every size. */
body .card .card-image-wrap{padding-top:36px!important}
body .card .card-image-wrap>.quality-badge{position:absolute!important;top:64px!important;right:6px!important;bottom:auto!important;left:auto!important;max-height:28px!important;overflow:hidden!important}
