/* Approved 2026-08-13 main-catalog redesign. Catalog presentation only. */
#shop,
#hoodys {
  background: #000;
}

#shop {
  padding-bottom: 0;
}

#hoodys {
  padding-top: 0;
}

#hoodys > .section-head {
  display: none;
}

#shop > .product-grid,
#hoodys .hoody-grid {
  position: relative;
  left: auto;
  width: calc(100% + 40px);
  max-width: none;
  margin-left: -20px;
  padding: 24px clamp(10px, 2.5vw, 40px) 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0 clamp(5px, 2vw, 32px);
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

#shop > .product-grid::before,
#hoodys .hoody-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("catalog-themes/04-smoky-environment.webp") center top / 100% 25% repeat-y;
  filter: grayscale(1) brightness(1.28) contrast(.78);
  mix-blend-mode: screen;
  opacity: .19;
  -webkit-mask-image:
    radial-gradient(ellipse 30% 8% at 17% 10%, #000 0 34%, transparent 80%),
    radial-gradient(ellipse 28% 8% at 72% 31%, #000 0 32%, transparent 80%),
    radial-gradient(ellipse 31% 8% at 37% 57%, #000 0 32%, transparent 80%),
    radial-gradient(ellipse 28% 8% at 76% 83%, #000 0 32%, transparent 80%);
  mask-image:
    radial-gradient(ellipse 30% 8% at 17% 10%, #000 0 34%, transparent 80%),
    radial-gradient(ellipse 28% 8% at 72% 31%, #000 0 32%, transparent 80%),
    radial-gradient(ellipse 31% 8% at 37% 57%, #000 0 32%, transparent 80%),
    radial-gradient(ellipse 28% 8% at 76% 83%, #000 0 32%, transparent 80%);
}

#hoodys .hoody-grid::before {
  background-size: 100% 50%;
  -webkit-mask-image:
    radial-gradient(ellipse 31% 17% at 24% 24%, #000 0 34%, transparent 80%),
    radial-gradient(ellipse 29% 17% at 69% 75%, #000 0 32%, transparent 80%);
  mask-image:
    radial-gradient(ellipse 31% 17% at 24% 24%, #000 0 34%, transparent 80%),
    radial-gradient(ellipse 29% 17% at 69% 75%, #000 0 32%, transparent 80%);
}

#shop > .product-grid::after,
#hoodys .hoody-grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 23% 6% at 72% 18%, rgba(167, 124, 70, .19), transparent 74%),
    radial-gradient(ellipse 22% 6% at 12% 42%, rgba(173, 129, 72, .18), transparent 75%),
    radial-gradient(ellipse 24% 6% at 76% 67%, rgba(164, 120, 66, .18), transparent 76%),
    radial-gradient(ellipse 22% 6% at 33% 92%, rgba(176, 132, 73, .17), transparent 75%);
  filter: blur(7px);
}

#hoodys .hoody-grid::after {
  background:
    radial-gradient(ellipse 24% 13% at 72% 23%, rgba(171, 127, 69, .18), transparent 75%),
    radial-gradient(ellipse 23% 13% at 24% 78%, rgba(174, 130, 72, .17), transparent 75%);
}

#shop > .product-grid > .product-card,
#hoodys .hoody-grid > .product-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 680px;
  display: grid;
  grid-template-rows: 492px minmax(164px, auto);
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#shop > .product-grid > .product-card::before,
#hoodys .hoody-grid > .product-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 1%;
  right: 6%;
  bottom: 22%;
  left: 6%;
  pointer-events: none;
  background: radial-gradient(ellipse 42% 53% at 50% 53%, rgba(239, 232, 217, .15), rgba(168, 137, 74, .05) 49%, transparent 76%);
}

#shop > .product-grid > .product-card > .product-art,
#hoodys .hoody-grid > .product-card > .product-art {
  position: relative;
  z-index: 1;
  inset: auto;
  width: 100%;
  height: 492px;
  min-height: 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 0;
  background: transparent;
}

#shop > .product-grid .product-gallery-main,
#hoodys .hoody-grid .product-gallery-main {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

#shop > .product-grid .product-gallery-image,
#hoodys .hoody-grid .product-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
  filter: brightness(1.04) contrast(1.04) drop-shadow(0 18px 16px rgba(0, 0, 0, .4));
}

#shop > .product-grid .product-gallery-image.is-product-only,
#hoodys .hoody-grid .product-gallery-image.is-product-only {
  width: 84%;
  height: 88%;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: center bottom;
}

#shop > .product-grid .mini-shirt,
#hoodys .hoody-grid .mini-shirt {
  width: 78%;
  max-width: 340px;
  height: 410px;
  margin-bottom: 12px;
  transform: none;
  border: 0;
  font-size: clamp(32px, 3vw, 52px);
  filter: brightness(1.05) contrast(1.04) drop-shadow(0 24px 20px rgba(0, 0, 0, .5));
}

#hoodys .hoody-grid .mini-hoody {
  width: 82%;
  max-width: 360px;
  height: 420px;
}

#shop > .product-grid > .product-card > .product-info,
#hoodys .hoody-grid > .product-card > .product-info {
  position: relative;
  z-index: 4;
  right: auto;
  bottom: auto;
  left: auto;
  min-height: 164px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name name"
    "price colors"
    "purchase purchase";
  align-content: end;
  align-items: center;
  gap: 5px 10px;
  padding: 0 10px 14px;
  background: transparent;
}

#shop > .product-grid .product-info h3,
#hoodys .hoody-grid .product-info h3 {
  grid-area: name;
  min-height: 48px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: end;
  color: #b89a63;
  font-size: clamp(25px, 2.05vw, 37px);
  line-height: 1;
  letter-spacing: .015em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .96);
}

#shop > .product-grid .product-info p,
#hoodys .hoody-grid .product-info p,
#shop > .product-grid .selected-color-name,
#hoodys .hoody-grid .selected-color-name,
#shop > .product-grid .product-thumbnails,
#hoodys .hoody-grid .product-thumbnails,
#shop > .product-grid .product-card-gallery-meta,
#hoodys .hoody-grid .product-card-gallery-meta {
  display: none;
}

#shop > .product-grid .product-controls,
#hoodys .hoody-grid .product-controls {
  grid-area: colors;
  align-self: center;
  min-height: 0;
  margin: 0;
  justify-content: flex-end;
}

#shop > .product-grid .color-options,
#hoodys .hoody-grid .color-options {
  width: auto;
  min-height: 0;
  justify-content: flex-end;
  gap: 9px;
}

#shop > .product-grid .color-swatch,
#hoodys .hoody-grid .color-swatch {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}

#shop > .product-grid .color-swatch.is-active,
#hoodys .hoody-grid .color-swatch.is-active {
  outline: 2px solid var(--bone);
  outline-offset: 2px;
}

#shop > .product-grid .product-foot,
#hoodys .hoody-grid .product-foot {
  display: contents;
}

#shop > .product-grid .product-foot span,
#hoodys .hoody-grid .product-foot span {
  grid-area: price;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .96);
}

#shop > .product-grid .add-cart-button,
#hoodys .hoody-grid .add-cart-button {
  grid-area: purchase;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--gold);
  background: rgba(5, 6, 4, .54);
  color: #b99c69;
  font-size: 13px;
  letter-spacing: .14em;
}

#shop > .product-grid .add-cart-button:hover,
#hoodys .hoody-grid .add-cart-button:hover {
  background: var(--gold);
  color: #080906;
}

#shop > .product-grid .product-card-placeholder .add-cart-button:disabled,
#hoodys .hoody-grid .product-card-placeholder .add-cart-button:disabled {
  border-color: rgba(168, 137, 74, .34);
  background: rgba(5, 6, 4, .45);
  color: #756b59;
}

#shop > .product-grid .favorite-button,
#hoodys .hoody-grid .favorite-button {
  top: 14px;
  right: 13px;
  width: 50px;
  height: 50px;
  border-color: rgba(255, 255, 255, .82);
  background: rgba(6, 7, 5, .62);
  color: #fff;
  backdrop-filter: blur(8px);
}

#shop > .product-grid .favorite-button svg,
#hoodys .hoody-grid .favorite-button svg {
  width: 25px;
  height: 25px;
}

.gallery-image {
  transform: scale(var(--gallery-zoom, 1));
  transform-origin: center;
  transition: transform .18s ease;
}

.gallery-zoom-controls {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.gallery-zoom-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 220, 197, .5);
  background: rgba(5, 5, 4, .82);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 760px) {
  #shop > .product-grid,
  #hoodys .hoody-grid {
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 10px 5px 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 5px;
  }

  #shop > .product-grid > .product-card,
  #hoodys .hoody-grid > .product-card {
    min-height: 360px;
    grid-template-rows: 238px minmax(112px, auto);
  }

  #shop > .product-grid > .product-card > .product-art,
  #hoodys .hoody-grid > .product-card > .product-art {
    height: 238px;
  }

  #shop > .product-grid .mini-shirt,
  #hoodys .hoody-grid .mini-shirt {
    width: 88%;
    height: 210px;
    margin-bottom: 4px;
    font-size: clamp(16px, 5vw, 24px);
  }

  #hoodys .hoody-grid .mini-hoody {
    width: 92%;
    height: 216px;
  }

  #shop > .product-grid > .product-card > .product-info,
  #hoodys .hoody-grid > .product-card > .product-info {
    min-height: 112px;
    gap: 2px 3px;
    padding: 0 3px 8px;
  }

  #shop > .product-grid .product-info h3,
  #hoodys .hoody-grid .product-info h3 {
    min-height: 32px;
    font-size: clamp(11px, 3.55vw, 17px);
    line-height: 1;
  }

  #shop > .product-grid .product-foot span,
  #hoodys .hoody-grid .product-foot span {
    font-size: clamp(18px, 6vw, 27px);
  }

  #shop > .product-grid .color-options,
  #hoodys .hoody-grid .color-options {
    gap: 3px;
  }

  #shop > .product-grid .color-swatch,
  #hoodys .hoody-grid .color-swatch {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  #shop > .product-grid .color-swatch.is-active,
  #hoodys .hoody-grid .color-swatch.is-active {
    outline-width: 1px;
    outline-offset: 1px;
  }

  #shop > .product-grid .add-cart-button,
  #hoodys .hoody-grid .add-cart-button {
    min-height: 31px;
    padding: 5px 2px;
    font-size: clamp(6px, 1.9vw, 9px);
    letter-spacing: .04em;
  }

  #shop > .product-grid .favorite-button,
  #hoodys .hoody-grid .favorite-button {
    top: 6px;
    right: 5px;
    width: 29px;
    height: 29px;
  }

  #shop > .product-grid .favorite-button svg,
  #hoodys .hoody-grid .favorite-button svg {
    width: 15px;
    height: 15px;
  }

  .gallery-zoom-controls {
    right: 8px;
    bottom: 50px;
  }

  .gallery-zoom-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  #shop > .product-grid,
  #hoodys .hoody-grid {
    gap: 0 4px;
  }

  #shop > .product-grid .product-info h3,
  #hoodys .hoody-grid .product-info h3 {
    font-size: 11px;
  }

  #shop > .product-grid .product-foot span,
  #hoodys .hoody-grid .product-foot span {
    font-size: 18px;
  }
}
