/* Pixel-reference luxury product card. Scoped to the reusable WooCommerce card. */
.abc-luxury-product-card {
  --abc-night: #050704;
  --abc-night-soft: #101109;
  --abc-gold: #efbd6a;
  --abc-gold-bright: #ffd894;
  --abc-gold-deep: #b9792e;
  --abc-ivory: #fff5e4;
  --abc-muted: #d8bd85;
  --abc-red: #971111;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  aspect-ratio: 941 / 1672;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid rgba(239, 189, 106, .82);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(198, 145, 66, .16), transparent 24%),
    linear-gradient(180deg, #1d1b12 0%, var(--abc-night) 48%, #030402 100%);
  color: var(--abc-ivory);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.abc-luxury-product-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 5;
  border: 1px solid rgba(255, 217, 145, .46);
  border-radius: 14px;
  pointer-events: none;
}

.abc-luxury-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--abc-gold-bright);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .48);
}

.abc-luxury-product-card__media {
  position: relative;
  flex: 0 0 58%;
  min-height: 0;
  overflow: hidden;
  background: #17140f;
}

.abc-luxury-product-card__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 10%;
  background: linear-gradient(180deg, rgba(5, 7, 4, 0), rgba(5, 7, 4, .08) 52%, rgba(5, 7, 4, .16) 100%);
  pointer-events: none;
}

.abc-luxury-product-card__image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.abc-luxury-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f3ed;
  opacity: 0;
  transform: scale(1);
  transition: opacity .24s ease, transform .5s ease;
}

.abc-luxury-product-card__image.is-active {
  opacity: 1;
}

.abc-luxury-product-card:hover .abc-luxury-product-card__image.is-active {
  transform: scale(1.025);
}

.abc-luxury-product-card__sale {
  position: absolute;
  top: clamp(20px, 6%, 34px);
  left: clamp(18px, 7%, 38px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(96px, 29%, 132px);
  min-height: clamp(46px, 8%, 62px);
  padding: 5px 18px 8px;
  border: 1px solid rgba(255, 214, 150, .9);
  border-radius: 17px;
  background: linear-gradient(160deg, #b11818, #771010);
  color: #fff1d5;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 8.2cqw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.abc-luxury-product-card__actions {
  position: absolute;
  top: clamp(18px, 5%, 34px);
  right: clamp(17px, 6%, 34px);
  z-index: 4;
}

.abc-luxury-product-card__action {
  display: none !important;
}

.abc-luxury-product-card__wishlist .yith-wcwl-add-to-wishlist {
  margin: 0;
}

.abc-luxury-product-card__wishlist a {
  position: relative;
  display: grid !important;
  place-items: center;
  width: clamp(58px, 14cqw, 78px) !important;
  height: clamp(58px, 14cqw, 78px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(239, 189, 106, .92) !important;
  border-radius: 999px !important;
  background: rgba(10, 11, 8, .92) !important;
  color: var(--abc-gold-bright) !important;
  box-shadow: 0 11px 24px rgba(0, 0, 0, .42);
  font-size: 0 !important;
  text-decoration: none !important;
}

.abc-luxury-product-card__wishlist a::before {
  content: "";
  width: 48%;
  height: 48%;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M12 21 3.8 12.8C-.1 8.6 2 3.2 6.7 3.2c2.2 0 4.2 1.2 5.3 3.1 1.1-1.9 3.1-3.1 5.3-3.1 4.7 0 6.8 5.4 2.9 9.6L12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M12 21 3.8 12.8C-.1 8.6 2 3.2 6.7 3.2c2.2 0 4.2 1.2 5.3 3.1 1.1-1.9 3.1-3.1 5.3-3.1 4.7 0 6.8 5.4 2.9 9.6L12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.abc-luxury-product-card__wishlist a i,
.abc-luxury-product-card__wishlist a span,
.abc-luxury-product-card__wishlist .feedback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.abc-luxury-product-card__atelier,
.abc-luxury-product-card__handmade,
.abc-luxury-product-card__rating,
.abc-luxury-product-card__category,
.abc-luxury-product-card__description,
.abc-luxury-product-card__colours {
  display: none !important;
}

.abc-luxury-product-card__gallery-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.abc-luxury-product-card:hover .abc-luxury-product-card__gallery-nav,
.abc-luxury-product-card:focus-within .abc-luxury-product-card__gallery-nav {
  opacity: 1;
  visibility: visible;
}

.abc-luxury-product-card__gallery-nav button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--abc-gold);
  border-radius: 999px;
  background: rgba(8, 9, 6, .88);
  color: var(--abc-gold-bright);
  pointer-events: auto;
}

.abc-luxury-product-card__gallery-nav button:first-child svg {
  transform: rotate(180deg);
}

.abc-luxury-product-card__gallery-nav svg {
  width: 18px;
  height: 18px;
}

.abc-luxury-product-card__dots {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
}

.abc-luxury-product-card:hover .abc-luxury-product-card__dots,
.abc-luxury-product-card:focus-within .abc-luxury-product-card__dots {
  opacity: 1;
  visibility: visible;
}

.abc-luxury-product-card__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--abc-gold);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}

.abc-luxury-product-card__dots button.is-active {
  background: var(--abc-gold);
}

.abc-luxury-product-card__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: -1px;
  padding: clamp(16px, 5.2cqw, 24px) clamp(18px, 6.8cqw, 34px) clamp(10px, 3.4cqw, 18px);
  background:
    radial-gradient(circle at 50% -20%, rgba(203, 148, 70, .18), transparent 28%),
    linear-gradient(180deg, var(--abc-night) 0%, #050604 100%);
}

.abc-luxury-product-card__brand {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(10px, 4cqw, 22px);
  margin: 0 2% clamp(14px, 4.2cqw, 26px);
  color: var(--abc-gold-bright);
  text-align: center;
}

.abc-luxury-product-card__brand span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 189, 106, .7), transparent);
}

.abc-luxury-product-card__brand strong {
  color: #f4d28a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 6.2cqw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .28em;
  white-space: nowrap;
}

.abc-luxury-product-card__brand small {
  grid-column: 1 / -1;
  margin-top: 7px;
  color: rgba(255, 245, 228, .85);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(8px, 2.5cqw, 13px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .34em;
}

.abc-luxury-product-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: clamp(67px, 21cqw, 122px);
  color: var(--abc-ivory);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 10.7cqw, 62px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: 0;
  text-align: center;
}

.abc-luxury-product-card__title a {
  display: -webkit-box;
  width: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.abc-luxury-product-card__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(12px, 3.9cqw, 22px) 0 0;
  min-height: clamp(28px, 8.7cqw, 49px);
  color: var(--abc-gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 3.75cqw, 21px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .35em;
  text-align: center;
  text-transform: uppercase;
}

.abc-luxury-product-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(12px, 5cqw, 28px);
  min-height: clamp(44px, 12cqw, 74px);
  margin: clamp(14px, 5.4cqw, 28px) 0 clamp(14px, 5.4cqw, 28px);
  color: var(--abc-gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(43px, 13.5cqw, 78px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}

.abc-luxury-product-card__price del {
  color: rgba(255, 245, 228, .56);
  font-size: .48em;
  font-weight: 400;
  text-decoration-color: rgba(255, 245, 228, .75);
  text-decoration-thickness: 1px;
}

.abc-luxury-product-card__price ins {
  color: var(--abc-gold-bright);
  background: none;
  text-decoration: none;
}

.abc-luxury-product-card__price .woocommerce-Price-currencySymbol {
  margin-left: .08em;
  font-size: .72em;
}

.abc-luxury-product-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(62px, 17cqw, 86px);
  gap: clamp(10px, 4cqw, 22px);
  align-items: stretch;
}

.abc-luxury-product-card__cart {
  display: grid;
  grid-template-columns: clamp(22px, 6cqw, 30px) minmax(0, 1fr) clamp(24px, 7cqw, 34px);
  align-items: center;
  min-width: 0;
  min-height: clamp(58px, 15cqw, 80px);
  padding: 0 clamp(15px, 5cqw, 27px);
  border: 1px solid rgba(255, 224, 157, .82);
  border-radius: 10px;
  background: linear-gradient(105deg, #ffdc91 0%, #d99b45 74%, #bd7930 100%);
  color: #11100b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 24px rgba(0, 0, 0, .22);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(11px, 3.3cqw, 21px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .17em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.abc-luxury-product-card__cart span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.abc-luxury-product-card__cart svg {
  width: 100%;
  height: auto;
}

.abc-luxury-product-card__cart:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.abc-luxury-product-card__quickshop {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(239, 189, 106, .9);
  border-radius: 999px;
  background: rgba(9, 10, 7, .88);
  color: var(--abc-ivory);
  text-decoration: none;
}

.abc-luxury-product-card__quickshop svg {
  width: 48%;
  height: 48%;
  color: var(--abc-ivory);
}

.abc-luxury-product-card__quickshop span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.abc-luxury-product-card__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(18px, 6.6cqw, 34px) 0 clamp(14px, 4.8cqw, 26px);
  color: rgba(255, 230, 185, .93);
}

.abc-luxury-product-card__benefits span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(7px, 2.4cqw, 13px);
  min-width: 0;
  padding: 0 clamp(4px, 2cqw, 12px);
  text-align: center;
}

.abc-luxury-product-card__benefits span + span::before {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(239, 189, 106, .76), transparent);
}

.abc-luxury-product-card__benefits svg {
  width: clamp(24px, 7cqw, 39px);
  height: clamp(24px, 7cqw, 39px);
  color: var(--abc-gold);
}

.abc-luxury-product-card__benefits b {
  color: rgba(255, 245, 228, .92);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 3.2cqw, 16px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: .22em;
}

.abc-luxury-product-card__ornament {
  display: grid;
  grid-template-columns: 1fr clamp(24px, 7cqw, 38px) 1fr;
  gap: clamp(10px, 4cqw, 24px);
  align-items: center;
  margin-top: auto;
  color: var(--abc-gold);
}

.abc-luxury-product-card__ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 189, 106, .72), transparent);
}

.abc-luxury-product-card__ornament svg {
  width: 100%;
  height: auto;
}

.abc-luxury-product-card :is(a, button):focus-visible {
  outline: 2px solid #fff2ba;
  outline-offset: 3px;
}

#main-content .abc-shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
}

.abc-shop-grid .abc-luxury-product-card {
  height: auto;
}

.abc-luxury-product-card--home {
  min-height: 0;
}

#selection.abc-selection .abc-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

#selection.abc-selection .abc-luxury-product-card {
  min-height: 0;
}

#selection.abc-selection .abc-luxury-product-card__media {
  flex-basis: 58%;
}

#selection.abc-selection .abc-luxury-product-card__media::before {
  height: 10%;
  background: linear-gradient(180deg, rgba(5, 7, 4, 0), rgba(5, 7, 4, .08) 52%, rgba(5, 7, 4, .16) 100%);
}

.abc-luxury-product-card--home .abc-luxury-product-card__brand {
  margin-bottom: clamp(10px, 3.2cqw, 18px);
}

.abc-luxury-product-card--home .abc-luxury-product-card__benefits b {
  letter-spacing: .16em;
}

#selection.abc-selection .abc-luxury-product-card__body {
  padding: clamp(12px, 4.2cqw, 18px) clamp(13px, 5cqw, 22px) clamp(8px, 2.8cqw, 12px);
}

@media (max-width: 1100px) {
  #main-content .abc-shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .abc-luxury-product-card {
    border-radius: 16px;
    min-height: min(178vw, 710px);
  }

  .abc-luxury-product-card::before {
    inset: 7px;
    border-radius: 12px;
  }

  .abc-luxury-product-card__subtitle {
    letter-spacing: .27em;
  }
}

@container (max-width: 390px) {
  .abc-luxury-product-card__body {
    padding: clamp(12px, 4.3cqw, 16px) clamp(13px, 4.8cqw, 18px) clamp(12px, 4cqw, 16px);
  }

  .abc-luxury-product-card__brand {
    column-gap: 8px;
    margin-bottom: clamp(8px, 2.8cqw, 12px);
  }

  .abc-luxury-product-card__brand strong {
    font-size: clamp(15px, 5.2cqw, 20px);
    letter-spacing: .22em;
  }

  .abc-luxury-product-card__brand small {
    margin-top: 5px;
    font-size: clamp(7px, 2.2cqw, 9px);
    letter-spacing: .26em;
  }

  .abc-luxury-product-card__title {
    min-height: clamp(54px, 17.9cqw, 70px);
    font-size: clamp(28px, 9.3cqw, 36px);
    line-height: .96;
  }

  .abc-luxury-product-card__subtitle {
    margin-top: clamp(7px, 2.4cqw, 10px);
    min-height: clamp(21px, 6.8cqw, 28px);
    font-size: clamp(9px, 2.95cqw, 12px);
    letter-spacing: .22em;
  }

  .abc-luxury-product-card__price {
    min-height: clamp(34px, 10cqw, 42px);
    margin: clamp(8px, 3cqw, 12px) 0 clamp(9px, 3.2cqw, 13px);
    font-size: clamp(34px, 11.2cqw, 43px);
  }

  .abc-luxury-product-card__footer {
    grid-template-columns: minmax(0, 1fr) clamp(50px, 15cqw, 60px);
    gap: 8px;
  }

  .abc-luxury-product-card__cart {
    grid-template-columns: clamp(17px, 5cqw, 22px) minmax(0, 1fr) clamp(18px, 5.4cqw, 24px);
    min-height: clamp(44px, 13cqw, 52px);
    padding: 0 clamp(9px, 3.2cqw, 12px);
    border-radius: 8px;
    font-size: clamp(9px, 2.85cqw, 11px);
    letter-spacing: .11em;
  }

  .abc-luxury-product-card__benefits {
    margin: clamp(10px, 3.4cqw, 14px) 0 clamp(7px, 2.6cqw, 10px);
  }

  .abc-luxury-product-card__benefits span {
    gap: 5px;
    padding: 0 3px;
  }

  .abc-luxury-product-card__benefits svg {
    width: clamp(18px, 5.7cqw, 23px);
    height: clamp(18px, 5.7cqw, 23px);
  }

  .abc-luxury-product-card__benefits b {
    font-size: clamp(7px, 2.45cqw, 9px);
    line-height: 1.25;
    letter-spacing: .13em;
  }

  .abc-luxury-product-card__ornament {
    grid-template-columns: 1fr clamp(18px, 5.6cqw, 24px) 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  #main-content .abc-shop-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .abc-luxury-product-card {
    min-height: min(133vw, 1020px);
  }
}

@media (max-width: 390px) {
  .abc-luxury-product-card__footer {
    grid-template-columns: minmax(0, 1fr) clamp(54px, 16cqw, 64px);
    gap: 10px;
  }

  .abc-luxury-product-card__cart {
    letter-spacing: .08em;
  }

  .abc-luxury-product-card__benefits b {
    letter-spacing: .15em;
  }
}

@media (hover: none) {
  .abc-luxury-product-card__gallery-nav,
  .abc-luxury-product-card__dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abc-luxury-product-card,
  .abc-luxury-product-card__image {
    transition: none;
  }

  .abc-luxury-product-card:hover {
    transform: none;
  }
}

.abc-luxury-product-card__brand,
.abc-luxury-product-card__benefits,
.abc-luxury-product-card__ornament {
  display: none !important;
}
