/* One product card for the homepage, catalogue, sliders and saved products. */
body.gz-gameshop-site {
  --gzs-card-glass: rgba(20, 30, 37, .78);
  --gzs-card-border: rgba(132, 162, 182, .22);
  --gzs-card-control: rgba(51, 69, 83, .55);
  --gzs-card-text: #f4f5f7;
  --gzs-card-green: #25e667;
  --gzs-card-heart: #f04454;
}
body.gz-gameshop-site .gzs-product-tile { min-width: 0; }
body.gz-gameshop-site .wd-product.gzs-product-tile > .product-wrapper.gzs-glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 18px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gzs-card-border) !important;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(151, 184, 205, .035), transparent 48%, rgba(81, 117, 141, .035)), var(--gzs-card-glass) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 10px 28px rgba(0,0,0,.12) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--gzs-card-text);
  text-align: center;
  transform: none;
  transition: border-color .2s, box-shadow .2s;
}
body.gz-gameshop-site .wd-product.gzs-product-tile > .gzs-glass-card:hover {
  border-color: rgba(151,184,205,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 30px rgba(0,0,0,.18) !important;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 14px;
  padding: 12px 12px 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #f5f6f7 !important;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  mix-blend-mode: normal;
  transform: none !important;
  filter: none;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 3.8em;
  max-height: 3.8em;
  flex-shrink: 0;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 1.03vw, 18px);
  line-height: 1.9;
  font-weight: 500;
  text-align: center;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-title a { color: var(--gzs-card-text) !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-controls { margin-top: auto; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-purchase-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  direction: ltr;
  min-height: 66px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(132,162,182,.09);
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  direction: rtl;
  padding: 6px 9px;
  border: 1px solid rgba(37,230,103,.15);
  border-radius: 10px;
  background: rgba(37,230,103,.14);
  color: var(--gzs-card-green);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock i { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock.is-unavailable { color: #ff8b94; background: rgba(240,68,84,.12); border-color: rgba(240,68,84,.18); }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock.is-backorder { color: #f3c77a; background: rgba(243,199,122,.1); border-color: rgba(243,199,122,.18); }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-price {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  direction: rtl;
  color: var(--gzs-card-text) !important;
  font-size: clamp(11px, .88vw, 15px);
  font-weight: 500;
  line-height: 1.7;
  background: transparent !important;
  border: 0;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-price :is(.amount,ins,bdi,.woocommerce-Price-currencySymbol) { color: var(--gzs-card-text) !important; background: transparent; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-price :is(del,del .amount,del bdi) { color: #929da7 !important; font-size: .82em; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-price ins { padding: 0; text-decoration: none; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-price :is(bdi,.amount) { white-space: normal; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart { position: relative; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > :is(a,button).button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 0;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--gzs-card-border) !important;
  border-radius: 10px;
  color: var(--gzs-card-text) !important;
  background: linear-gradient(135deg,rgba(132,162,182,.08),transparent),var(--gzs-card-control) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > :is(a,button).button:hover { border-color: rgba(151,184,205,.55) !important; background: rgba(65,85,101,.65) !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-icon { display: block; width: 25px; height: 25px; flex-shrink: 0; transition: fill .15s,color .15s,transform .15s; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > .button::before,
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart a::before { display: none !important; }
/* Own the shared card's loading/completed states instead of the theme's text-button effects. */
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > .button:not(.loading) > .gzs-tile-icon {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > .button:not(.loading)::after { display: none !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > .button.loading > .gzs-tile-icon { opacity: 0 !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > .button.loading::after {
  content: "";
  position: absolute;
  display: block !important;
  top: calc(50% - 9px);
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid rgba(244,245,247,.2);
  border-top-color: var(--gzs-card-text);
  border-radius: 50%;
  background: none;
  opacity: 1;
  animation: wd-rotate .6s linear infinite;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart .added_to_cart { display: none !important; }
body.gz-gameshop-site .gzs-glass-card :is(.gzs-tile-cart .button,.gzs-card-heart a) > span {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; border: 0 !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 4;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0;
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  color: var(--gzs-card-heart) !important;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart .gzs-tile-icon { width: 27px; height: 27px; fill: #fff; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart a.added .gzs-tile-icon { color: var(--gzs-card-heart); fill: var(--gzs-card-heart); }
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart a:hover .gzs-tile-icon { color: var(--gzs-card-heart); transform: scale(1.1); }
body.gz-gameshop-site .gzs-glass-card .gzs-card-heart a.added:is(:hover,:focus-visible) .gzs-tile-icon { fill: var(--gzs-card-heart); color: #ff8b94; transform: scale(1.1); }
/* Leave a dedicated slot for the heart beside the wishlist's native selection controls. */
body.gz-gameshop-site .gzs-glass-card > .wd-wishlist-product-actions {
  box-sizing: border-box;
  flex-shrink: 0;
  min-height: 36px;
  height: auto;
  gap: 8px;
  margin: 0 0 10px !important;
  padding-left: 48px;
}
body.gz-gameshop-site .gzs-glass-card .wd-wishlist-product-checkbox { min-width: 0; }
body.gz-gameshop-site .gzs-glass-card .wd-wishlist-checkbox { margin: 0; vertical-align: middle; }
body.gz-gameshop-site .gzs-glass-card a.loading > .gzs-tile-icon { opacity: 0; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-controls > :is(.quantity,.gzs-tile-fixed-quantity) {
  display: flex;
  align-items: stretch;
  justify-content: center;
  direction: ltr;
  width: max-content;
  max-width: 100%;
  height: 42px;
  margin: 14px auto 0;
  overflow: hidden;
  border: 1px solid var(--gzs-card-border);
  border-radius: 9px;
  background: rgba(5,14,21,.3);
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-controls > .quantity.hidden { display: none; }
body.gz-gameshop-site .gzs-glass-card .quantity input,
body.gz-gameshop-site .gzs-glass-card .gzs-tile-fixed-quantity :is(button,span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 0;
  height: 40px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--gzs-card-text) !important;
  background: var(--gzs-card-control) !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
}
body.gz-gameshop-site .gzs-glass-card .quantity input.qty,
body.gz-gameshop-site .gzs-glass-card .gzs-tile-fixed-quantity span { width: 48px; background: transparent !important; font-size: 15px; appearance: textfield; -moz-appearance: textfield; }
body.gz-gameshop-site .gzs-glass-card .quantity input.qty::-webkit-inner-spin-button,
body.gz-gameshop-site .gzs-glass-card .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.gz-gameshop-site .gzs-glass-card .quantity :is(.minus,.plus):hover { background: rgba(65,85,101,.7) !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-fixed-quantity button:disabled { opacity: .4; cursor: not-allowed; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-quantity-space { height: 56px; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-options { display: inline-flex; align-items: center; min-height: 42px; margin-top: 14px; color: var(--gzs-card-text); font-size: 13px; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-variations { margin-top: 14px; text-align: right; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-variations > summary {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 42px; padding: 8px 12px;
  border: 1px solid var(--gzs-card-border); border-radius: 9px;
  color: var(--gzs-card-text); background: var(--gzs-card-control);
  font-size: 13px; line-height: 1.7; list-style: none; cursor: pointer;
}
body.gz-gameshop-site .gzs-glass-card .gzs-tile-variations > summary::-webkit-details-marker { display: none; }
body.gz-gameshop-site .gzs-glass-card .gzs-tile-variations[open] > summary span { transform: rotate(180deg); }
body.gz-gameshop-site .gzs-glass-card form.gzs-card-variation-form {
  display: block !important; width: 100%; min-width: 0;
  margin: 14px 0 0 !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; text-align: right;
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .variations { display: block; margin: 0; padding: 0; }
body.gz-gameshop-site .gzs-glass-card .gzs-variation-field { margin-bottom: 12px; }
body.gz-gameshop-site .gzs-glass-card .gzs-variation-field label { display: block; margin-bottom: 5px; color: var(--gzs-card-text); font-size: 12px; }
body.gz-gameshop-site .gzs-glass-card .gzs-variation-field select {
  display: block !important; width: 100%; max-width: 100%; min-width: 0;
  height: 42px; margin: 0; padding: 4px 10px;
  border: 1px solid var(--gzs-card-border) !important; border-radius: 8px;
  background-color: rgba(21,31,39,.95) !important;
  color: var(--gzs-card-text) !important; font: inherit; font-size: 12px;
}
body.gz-gameshop-site .gzs-glass-card .gzs-variation-field select option { background: #18232c; color: var(--gzs-card-text); }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .reset_variations { color: #c2d2df; font-size: 11px; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .single_variation_wrap { width: 100%; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .single_variation { font-size: 12px; line-height: 1.8; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .woocommerce-variation-price { display: none; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .variations_button { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .quantity {
  display: flex; direction: ltr; width: max-content; max-width: 100%; height: 42px;
  margin: 0; overflow: hidden; border: 1px solid var(--gzs-card-border);
  border-radius: 9px; background: rgba(5,14,21,.3);
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .quantity.hidden { display: none !important; }
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .single_add_to_cart_button {
  width: 100%; min-height: 42px; margin: 0; padding: 9px 12px;
  border: 1px solid var(--gzs-card-border) !important; border-radius: 9px;
  color: var(--gzs-card-text) !important; background: var(--gzs-card-control) !important;
  font-size: 12px; line-height: 1.8;
}
body.gz-gameshop-site .gzs-glass-card .gzs-card-variation-form .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }
body.gz-gameshop-site .gzs-card-message { margin: 10px 0 0; color: #ff9ca5; font-size: 12px; line-height: 1.8; }
body.gz-gameshop-site :is(.wd-compare-btn,.wd-header-compare,.wd-quick-view-btn,.quick-view) { display: none !important; }
body.gz-gameshop-site .gzs-glass-card :is(a,input,button):focus-visible { outline: 2px solid #adc9dd; outline-offset: 3px; }
@media(min-width:768px) {
  body.gz-gameshop-site .product-list-item.gzs-product-tile > .gzs-glass-card { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(180px,1fr); gap: 0 24px; }
  body.gz-gameshop-site .product-list-item .gzs-tile-media { grid-row: span 2; margin: 0; max-height: 300px; }
}
@media(max-width:767px) {
  body.gz-gameshop-site .wd-product.gzs-product-tile > .product-wrapper.gzs-glass-card { padding: 10px; border-radius: 12px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-media { padding: 12px 4px 0; margin-bottom: 10px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-title { font-size: 12px; margin-bottom: 10px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-card-heart { top: 5px; left: 5px; }
  body.gz-gameshop-site .gzs-glass-card > .wd-wishlist-product-actions { padding-left: 44px; gap: 6px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-card-heart .gzs-tile-icon { width: 23px; height: 23px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-purchase-row { gap: 5px; min-height: 62px; padding-bottom: 12px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock { gap: 4px; padding: 5px; border-radius: 7px; font-size: 9px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-stock i { width: 6px; height: 6px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-price { font-size: 10px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart > :is(a,button).button { width: 34px; height: 36px; border-radius: 8px; }
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-cart .gzs-tile-icon { width: 21px; height: 21px; }
  body.gz-gameshop-site .gzs-glass-card .quantity input { width: 34px; }
  body.gz-gameshop-site .gzs-glass-card .quantity input.qty { width: 38px; }
}
@media(prefers-reduced-motion:reduce) {
  body.gz-gameshop-site .gzs-glass-card,
  body.gz-gameshop-site .gzs-glass-card .gzs-tile-icon { transition: none; }
}
/* Keep the option trigger in the card flow and float only its opened form. */
body.gz-gameshop-site .wd-product.gzs-product-tile,
body.gz-gameshop-site .gzs-product-tile > .product-wrapper.gzs-glass-card {
    position: relative !important;
}

body.gz-gameshop-site .gzs-tile-variations {
    position: relative !important;
    z-index: 40;
    width: 100% !important;
    margin-top: 14px !important;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.gz-gameshop-site .gzs-tile-variations[open] > .gzs-card-variation-form {
    position: absolute !important;
    z-index: 40 !important;
    inset-inline-end: 0 !important;
    bottom: calc(100% + 8px) !important;
    width: min(300px, 100%) !important;
    max-height: min(420px, 70vh);
    margin: 0 !important;
    padding: 14px;
    overflow: auto;
    border: 1px solid rgba(250, 250, 250, .16);
    border-radius: 12px;
    background: rgba(32, 33, 36, .94);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

body.gz-gameshop-site .gzs-tile-variations > summary {
    display: flex !important;
}

body.gz-gameshop-site .gzs-product-tile:has(.gzs-tile-variations[open]) {
    z-index: 50;
}

@media (max-width: 767px) {
    body.gz-gameshop-site .gzs-tile-variations[open] > .gzs-card-variation-form {
        inset-inline: 0 !important;
        bottom: calc(100% + 6px) !important;
        width: 100% !important;
        max-height: min(360px, 65vh);
        padding: 12px;
    }
}
