/** Shopify CDN: Minification failed

Line 210:0 Unexpected "}"

**/
/**
 * Shared product card styles — used everywhere product-card.liquid renders:
 * collections, featured carousels, recently viewed, search, BYOB, search drawer.
 *
 * Override per context with CSS variables on a parent:
 *   --product-card-padding
 *   --product-card-image-bg
 *   --product-card-badge-bg / --product-card-badge-text / --product-card-badge-size
 *   --product-card-title-size / --product-card-price-size / --product-card-compare-size
 *   --product-card-price-color / --product-card-compare-color
 *   --product-card-info-gap / --product-card-meta-gap / --product-card-swatch-gap
 */
.product-card {
  --pc-padding: var(--product-card-padding, 0px);
  --pc-image-bg: var(--product-card-image-bg, #fafaf8);
  --pc-badge-bg: var(--product-card-badge-bg, #050d37);
  --pc-badge-text: var(--product-card-badge-text, #fff);
  --pc-badge-size: var(--product-card-badge-size, 16px);
  --pc-title-size: var(--product-card-title-size, 22px);
  --pc-price-size: var(--product-card-price-size, 22px);
  --pc-compare-size: var(--product-card-compare-size, 20px);
  --pc-price-color: var(--product-card-price-color, #1f264d);
  --pc-compare-color: var(--product-card-compare-color, #888ca2);
  --pc-info-gap: var(--product-card-info-gap, 16px);
  --pc-meta-gap: var(--product-card-meta-gap, 8px);
  --pc-swatch-gap: var(--product-card-swatch-gap, 8px);

  width: 100%;
  max-width: none;
  padding: var(--pc-padding);
  background: #fff;
  position: relative;
  align-self: flex-start;
  box-sizing: border-box;
  /* Beat Aurora index.css `.product-card { overflow: hidden }` — that clips the
     swatch-ring negative margin and draws a hairline under cards with taller
     (wrapping) titles, e.g. Wine Glasses / Individual & Matching Pieces. */
  overflow: visible;
}

.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--pc-image-bg);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 0;
}

/* Let parent Swiper own horizontal swipes on the image area (mobile). */
@media (max-width: 768px) {
  .swiper .product-card__media,
  [data-featured-swiper] .product-card__media {
    touch-action: pan-x pan-y;
    cursor: default;
  }
}

.product-card__media:active {
  cursor: grabbing;
}

.product-card__image-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
  cursor: pointer;
  /* Sit above gallery track so clicks always hit the product URL. */
  pointer-events: auto;
}

.product-card__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  /* Kill subpixel bleed from the next gallery slide */
  clip-path: inset(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.product-card__gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 100%;
  transform: translate3d(calc((var(--slide, 0) + var(--drag, 0)) * -100%), 0, 0);
  /* Match header hamburger + cart drawer motion */
  transition: transform 500ms cubic-bezier(0.05, 0.95, 0.12, 1);
  will-change: transform;
}

.product-card__gallery-track.is-dragging,
.product-card__gallery-track.is-instant {
  transition: none;
}

.product-card__picture {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0;
}

.product-card__picture[hidden] {
  display: none !important;
}

/* Control-parity hover target: product.images[1], outside the gallery track. */
.product-card__picture--hover-secondary {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Idle: only the active slide paints — prevents the next slide's edge from
   anti-aliasing into the card (e.g. Cheese Knives brown line). */
.product-card__gallery-track:not(.is-dragging):not(.is-animating) .product-card__picture:not(.is-active) {
  visibility: hidden;
}

/* Desktop hover: crossfade to control secondary (product.images[1]).
   Use a keyframe fade-in so the alt image always animates from 0 → 1
   even when it was visibility:hidden at opacity 1 (avoids blank flash). */
.product-card__media.is-hover-fade .product-card__picture.is-active {
  opacity: 0;
  visibility: visible;
}

.product-card__media.is-hover-fade .product-card__picture.is-hover-alt {
  position: absolute;
  top: 0;
  left: 0;
  flex: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  opacity: 1;
  visibility: visible !important;
  z-index: 2;
  pointer-events: none;
  animation: product-card-hover-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes product-card-hover-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card__picture,
  .product-card__media.is-hover-fade .product-card__picture.is-active,
  .product-card__media.is-hover-fade .product-card__picture.is-hover-alt {
    transition: none;
    animation: none;
  }
}

.product-card__image,
.product-card__media .product-card__picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  border-radius: 0 !important;
}
}

.product-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-card__badge {
  position: absolute;
  top: 20px;
  left: 19px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  height: 32px;
  padding: 0 28px;
  border-radius: 4px;
  background: var(--pc-badge-bg);
  color: var(--pc-badge-text);
  font-family: 'Afacad Flux', 'Afacad Flux Fallback', sans-serif;
  font-weight: 400;
  font-size: var(--pc-badge-size);
  line-height: normal;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
}

.product-card__media-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-card__media-controls:not([hidden]) {
  opacity: 1;
}

.product-card:hover .product-card__media-controls:not([hidden]) .product-card__nav {
  pointer-events: auto;
}

.product-card__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #050d37;
  cursor: pointer;
}

.product-card__nav img {
  width: 24px;
  height: 24px;
  display: block;
}

.product-card__quick-add {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: var(--pc-badge-bg);
  color: var(--pc-badge-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.product-card__quick-add.is-loading {
  position: absolute;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: none !important;
  cursor: wait;
}

.product-card__quick-add.is-loading svg {
  opacity: 0;
}

/* Same spinner language as quick-view ATC (.quick-add-modal__submit.is-loading). */
.product-card__quick-add.is-loading::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  box-sizing: border-box;
  animation: qa-submit-spin 0.65s linear infinite;
  pointer-events: none;
}

@keyframes qa-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Desktop: hover only — do not use :focus-within (swatch clicks would leave + stuck). */
.product-card:hover .product-card__quick-add {
  opacity: 1;
  pointer-events: auto;
}

.product-card__quick-add:hover {
  transform: scale(1.06);
  background: #0a1a5c;
}

/* Keyboard a11y without sticking after mouse swatch clicks. */
.product-card__quick-add:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.06);
  background: #0a1a5c;
}

.product-card__quick-add svg {
  width: 17px;
  height: 17px;
}

/* Desktop Figma 1252:7610 — 2×2 grid:
   [ title    ] [ sale price ]
   [ swatches ] [ compare    ]
   `display: contents` promotes children into the grid so rows can't drift.
   Beats Aurora `.product-card__info { flex-flow: column }`. */
.product-card__info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: var(--pc-meta-gap);
  align-items: start;
  justify-content: stretch;
  width: 100%;
  margin-top: var(--pc-info-gap);
  box-sizing: border-box;
  flex-flow: unset;
  flex-direction: unset;
}

.product-card__meta {
  display: contents;
}

/* One right-hand column so compare stays under the price when the title wraps. */
.product-card__pricing {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--pc-meta-gap);
}

.product-card__title {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Afacad Flux', 'Afacad Flux Fallback', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--pc-title-size);
  line-height: 24px;
  min-height: 24px;
  color: #363636;
  text-decoration: none;
  word-break: break-word;
}

.product-card__swatches {
  grid-column: 1;
  grid-row: 2;
  gap: var(--pc-swatch-gap);
}

/* Beat Aurora index.css `.product-card__price { margin: 0.8rem 0 0; display:flex }` */
.product-card .product-card__pricing .product-card__price,
.product-card__info > .product-card__pricing .product-card__price,
.product-card__price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: block !important;
  flex: none;
  align-items: unset;
  gap: 0;
  margin: 0 !important;
  padding: 0;
  font-family: 'Afacad Flux', 'Afacad Flux Fallback', sans-serif;
  font-weight: 500;
  font-size: var(--pc-price-size);
  line-height: 24px;
  color: var(--pc-price-color);
  white-space: nowrap;
  text-align: right;
}

.product-card .product-card__pricing .product-card__compare,
.product-card__info > .product-card__pricing .product-card__compare,
.product-card__compare {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  display: block;
  margin: 0 !important;
  padding: 0;
  font-family: 'Afacad Flux', 'Afacad Flux Fallback', sans-serif;
  font-weight: 500;
  font-size: var(--pc-compare-size);
  line-height: 24px;
  color: var(--pc-compare-color);
  text-decoration: line-through;
  white-space: nowrap;
  text-align: right;
}

.product-card__compare[hidden] {
  display: none !important;
}

@media screen and (min-width: 769px) {
  .product-card .product-card__pricing > .product-card__price,
  .product-card .product-card__pricing > .product-card__compare {
    align-self: flex-end;
  }
}

@media screen and (max-width: 768px) {
  .product-card__badge {
    top: 12px;
    left: 11px;
    min-height: 28px;
    height: 28px;
    padding: 0 16px;
    font-size: 14px;
  }

  .product-card__media-controls {
    display: none !important;
  }

  .product-card__quick-add {
    opacity: 1;
    pointer-events: auto;
    width: 28px;
    height: 28px;
    padding: 6px;
    right: 6px;
    bottom: 6px;
  }

  .product-card__quick-add svg {
    width: 14px;
    height: 14px;
  }

  .product-card__quick-add.is-loading::after {
    width: 13px;
    height: 13px;
    margin: -6.5px 0 0 -6.5px;
  }

  .product-card__title {
    line-height: 1.25;
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .product-card__swatches {
    grid-column: auto;
    grid-row: auto;
  }

  /* Mobile: title → swatches → price | compare */
  .product-card__info {
    display: flex !important;
    flex-direction: column !important;
    flex-flow: column nowrap !important;
    align-items: stretch;
    gap: 8px;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .product-card__meta {
    display: flex;
    flex-direction: column;
    gap: var(--pc-meta-gap);
    min-width: 0;
  }

  .product-card__pricing {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
  }

  .product-card .product-card__pricing .product-card__price,
  .product-card__price {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .product-card .product-card__pricing .product-card__compare,
  .product-card__compare {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    line-height: normal;
  }
}

/* Homepage / featured collection: smooth fade-up on enter */
@media (prefers-reduced-motion: no-preference) {
  .product-card.product-card--fade-in {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .product-card.product-card--fade-in[data-fade-index='1'] {
    transition-delay: 0.06s;
  }
  .product-card.product-card--fade-in[data-fade-index='2'] {
    transition-delay: 0.12s;
  }
  .product-card.product-card--fade-in[data-fade-index='3'] {
    transition-delay: 0.18s;
  }
  .product-card.product-card--fade-in[data-fade-index='4'] {
    transition-delay: 0.24s;
  }
  .product-card.product-card--fade-in[data-fade-index='5'] {
    transition-delay: 0.3s;
  }
  .product-card.product-card--fade-in[data-fade-index='6'] {
    transition-delay: 0.36s;
  }
  .product-card.product-card--fade-in[data-fade-index='7'] {
    transition-delay: 0.42s;
  }

  .product-card.product-card--fade-in.is-inview {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card.product-card--fade-in {
    opacity: 1;
    transform: none;
  }
}
