/* Approved P-Level artwork: show the complete 3:4 composition. */
.public-product-options {
  display: grid;
  gap: 18px;
}

.public-product-options [hidden] {
  display: none !important;
}

.public-product-options__note {
  margin: 0;
  color: var(--simple-muted);
  font-size: 13px;
  line-height: 1.7;
}

.is-branded-art .pc-media-link.am-product-media {
  aspect-ratio: 3 / 4 !important;
  background: #222a2e;
}

.is-branded-art .pc-img {
  padding: 0;
}

.is-branded-art .pc-img img {
  display: block;
  object-fit: contain;
  object-position: center;
}

.am-product-card.is-branded-art .am-product-tools {
  inset: 8px 8px auto;
  height: 32px;
}

.am-product-card.is-branded-art .am-product-tools .pc-heart {
  width: 32px;
  height: 32px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  color: #566b75;
  background: #f5f8f9;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.am-product-card.is-branded-art .am-product-tools .pc-heart.is-active,
.am-product-card.is-branded-art .am-product-tools .pc-heart:hover {
  color: var(--red);
  border-color: #f2c8c5;
  background: #fff2f0;
}

.product-purchase-shell--inline .product-purchase-media.is-branded-art {
  min-height: 0;
  aspect-ratio: 3 / 4;
  background: #222a2e;
}

.product-purchase-media.is-branded-art .product-purchase-media__backdrop {
  display: none;
}

.product-purchase-shell--inline .is-branded-art .product-purchase-media__foreground {
  padding: 0;
}

.product-purchase-shell--inline .is-branded-art .product-purchase-media__foreground img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 900px) {
  .am-product-card.is-branded-art .am-product-tools .pc-heart {
    width: 28px;
    height: 28px;
  }

  .product-purchase-overview:has(.product-purchase-media.is-branded-art) {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .product-purchase-shell--inline .product-purchase-media.is-branded-art {
    width: 112px;
  }
}

@media (max-width: 360px) {
  .product-purchase-overview:has(.product-purchase-media.is-branded-art) {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-purchase-shell--inline .product-purchase-media.is-branded-art {
    width: 96px;
  }
}

/* Compact product grids; category tiles and purchase forms keep their layout. */
.aussui-cms-site .product-grid:has(> .am-product-card) {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.product-grid > .pc-card.am-product-card {
  display: flex !important;
  min-height: 0 !important;
}

.product-grid > .am-product-card .pc-body.am-product-body {
  gap: 6px !important;
  min-height: 0 !important;
  padding: 10px !important;
}

.product-grid > .am-product-card .am-product-meta {
  min-height: 16px;
  gap: 4px;
}

.product-grid > .am-product-card .am-product-meta > span {
  gap: 3px;
  font-size: 10px;
}

.product-grid > .am-product-card .pc-kicker img {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.product-grid > .am-product-card .pc-title {
  min-height: 36px !important;
  margin: 0;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.product-grid > .am-product-card .pc-description {
  height: auto;
  min-height: 0;
  max-height: 32px;
  margin: 0;
  padding: 0 6px;
  font-size: 10px;
  line-height: 16px;
}

.product-grid > .am-product-card .am-product-purchase {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px !important;
  padding: 5px 0 0 !important;
  border-radius: 0 !important;
}

.product-grid > .am-product-card .pc-price {
  min-height: 28px;
  gap: 2px;
}

.product-grid > .am-product-card .pc-price small {
  font-size: 9px;
}

.product-grid > .am-product-card .pc-price strong {
  font-size: 17px !important;
  line-height: 1.2;
}

.product-grid > .am-product-card .pc-buy-button.btn {
  width: auto;
  min-width: 0;
  height: 34px;
  min-height: 34px !important;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 7px !important;
  box-shadow: none !important;
}

.product-grid > .am-product-card .pc-buy-button strong {
  font-size: 10px !important;
}

.product-grid > .am-product-card .pc-buy-button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .aussui-cms-site .product-grid:has(> .am-product-card) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 767px) {
  .aussui-cms-site .product-grid:has(> .am-product-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-grid > .am-product-card .pc-body.am-product-body {
    gap: 5px !important;
    padding: 8px !important;
  }

  .product-grid > .am-product-card .am-product-meta > span {
    font-size: 9px;
  }

  .product-grid > .am-product-card .pc-title {
    min-height: 34px !important;
    font-size: 12px !important;
  }

  .product-grid > .am-product-card .am-product-purchase {
    grid-template-columns: minmax(0, 1fr) 34px;
    padding-top: 3px !important;
  }

  .product-grid > .am-product-card .pc-price strong {
    font-size: 16px !important;
  }

  .product-grid > .am-product-card .pc-buy-button.btn {
    width: 34px;
    padding: 0;
  }
}

/* Keep the upper-left favorite inside the curve artwork safe area. */
@media (max-width: 767px) {
 .am-product-card.is-branded-art .am-product-tools .pc-heart { width: 28px !important; height: 28px !important; }
}
@media (max-width: 360px) {
 .am-product-card.is-branded-art .am-product-tools .pc-heart { width: 26px !important; height: 26px !important; }
}
