/* v292 — Hoodie cards mirror the established T-shirt square/front/back interaction. */
section[aria-labelledby="collection-20"] .collection-track > .product-card:not(.custom-design-card) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
section[aria-labelledby="collection-20"] .collection-track > .product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -18%, rgba(130,36,227,.16), transparent 54%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 48%, rgba(0,0,0,.30));
  box-shadow: 0 16px 38px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.075);
  transform: translateY(0);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
section[aria-labelledby="collection-20"] .collection-track > .product-card::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 23px;
  background: linear-gradient(125deg, rgba(255,255,255,.13), transparent 34%, rgba(130,36,227,.10) 78%, transparent);
  content: "";
  opacity: .48;
  pointer-events: none;
}
section[aria-labelledby="collection-20"] .collection-track > .product-card:hover,
section[aria-labelledby="collection-20"] .collection-track > .product-card:focus-within {
  border-color: rgba(130,36,227,.62);
  box-shadow: 0 22px 48px rgba(0,0,0,.38), 0 0 0 1px rgba(130,36,227,.12), 0 0 28px rgba(130,36,227,.13);
  transform: translateY(-4px);
}
section[aria-labelledby="collection-20"] .collection-track > .product-card .product-info {
  position: relative;
  z-index: 1;
  padding: 16px 17px 18px;
}
section[aria-labelledby="collection-20"] .product-card .product-image.wordstore-hoodie-image {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  background: transparent;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
section[aria-labelledby="collection-20"] .product-card .product-image.wordstore-hoodie-image img {
  visibility: visible !important;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.24));
}
.wordstore-hoodie-face {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .42s ease, transform .52s cubic-bezier(.22,.61,.36,1);
}
.wordstore-hoodie-face--front { opacity: 1; transform: scale(1); }
.wordstore-hoodie-image:hover .wordstore-hoodie-face--front,
.wordstore-hoodie-image:focus-visible .wordstore-hoodie-face--front,
.wordstore-hoodie-image.is-touch-back .wordstore-hoodie-face--front { opacity: 0; transform: scale(.98); }
.wordstore-hoodie-image:hover .wordstore-hoodie-face--back,
.wordstore-hoodie-image:focus-visible .wordstore-hoodie-face--back,
.wordstore-hoodie-image.is-touch-back .wordstore-hoodie-face--back { opacity: 1; transform: scale(1); }
.wordstore-hoodie-hint {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(10,10,10,.62);
  color: rgba(255,255,255,.86);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.wordstore-hoodie-image:hover .wordstore-hoodie-hint,
.wordstore-hoodie-image:focus-visible .wordstore-hoodie-hint,
.wordstore-hoodie-image.is-touch-back .wordstore-hoodie-hint { opacity: 1; transform: translateY(0); }
.wordstore-hoodie-image:focus-visible { outline: 2px solid #8224E3; outline-offset: -3px; }

/* Product pages: keep both supplied hoodie views visible together. */
body.single-product:is(.postid-155, .postid-147, .postid-134) .wordstore-dual-hoodie-gallery .woocommerce-product-gallery__wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
body.single-product:is(.postid-155, .postid-147, .postid-134) .wordstore-dual-hoodie-gallery .woocommerce-product-gallery__image {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: #151515;
}
body.single-product:is(.postid-155, .postid-147, .postid-134) .wordstore-dual-hoodie-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
}
body.single-product:is(.postid-155, .postid-147, .postid-134) .woocommerce-product-gallery:not(.wordstore-dual-hoodie-gallery) {
  visibility: hidden !important;
  opacity: 0 !important;
}
body.single-product:is(.postid-155, .postid-147, .postid-134) .woocommerce-product-gallery.wordstore-dual-hoodie-gallery {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 700px) {
  body.single-product:is(.postid-155, .postid-147, .postid-134) .wordstore-dual-hoodie-gallery .woocommerce-product-gallery__wrapper { grid-template-columns: 1fr; }
}
@media (hover: none), (pointer: coarse) {
  .wordstore-hoodie-image:hover .wordstore-hoodie-face--front { opacity: 1; transform: scale(1); }
  .wordstore-hoodie-image:hover .wordstore-hoodie-face--back { opacity: 0; transform: scale(1.02); }
  .wordstore-hoodie-image.is-touch-back .wordstore-hoodie-face--front { opacity: 0; transform: scale(.98); }
  .wordstore-hoodie-image.is-touch-back .wordstore-hoodie-face--back { opacity: 1; transform: scale(1); }
  .wordstore-hoodie-image:hover .wordstore-hoodie-hint { opacity: 0; transform: translateY(5px); }
  .wordstore-hoodie-image.is-touch-back .wordstore-hoodie-hint { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wordstore-hoodie-face,
  .wordstore-hoodie-hint { transition: none; }
}
