/*
 * TryyCart Global 1.10.72
 * Home hero artwork blend correction from the annotated production capture.
 */

/* The gallery is part of the hero atmosphere, not a second white card. */
body.tryycart-global-theme #tc-page-home .hero-map > .hero-showcase {
  isolation: isolate !important;
  overflow: visible !important;
  min-height: 326px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.tryycart-global-theme #tc-page-home .hero-map > .hero-showcase::before,
body.tryycart-global-theme #tc-page-home .hero-map .showcase-stage::before {
  display: none !important;
  content: none !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-stage {
  isolation: isolate !important;
  overflow: visible !important;
  width: 100% !important;
  height: 326px !important;
  min-height: 326px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Extra context classes intentionally outrank the retired full-width rule. */
body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-stage > img {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 48% !important;
  filter: saturate(0.94) contrast(1.01) brightness(0.94) !important;
  box-shadow: none !important;
  -webkit-mask-image: radial-gradient(
    ellipse 99% 96% at 54% 50%,
    #000 0%,
    #000 63%,
    rgba(0, 0, 0, 0.95) 73%,
    rgba(0, 0, 0, 0.62) 86%,
    transparent 100%
  ) !important;
  mask-image: radial-gradient(
    ellipse 99% 96% at 54% 50%,
    #000 0%,
    #000 63%,
    rgba(0, 0, 0, 0.95) 73%,
    rgba(0, 0, 0, 0.62) 86%,
    transparent 100%
  ) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-shade {
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(29, 44, 70, 0.13) 0%, transparent 53%),
    linear-gradient(180deg, transparent 52%, rgba(19, 32, 55, 0.17) 100%) !important;
  -webkit-mask-image: radial-gradient(
    ellipse 99% 96% at 54% 50%,
    #000 0%,
    #000 65%,
    rgba(0, 0, 0, 0.80) 87%,
    transparent 100%
  ) !important;
  mask-image: radial-gradient(
    ellipse 99% 96% at 54% 50%,
    #000 0%,
    #000 65%,
    rgba(0, 0, 0, 0.80) 87%,
    transparent 100%
  ) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  pointer-events: none !important;
}

/* A restrained slate caption stays readable without recreating a white frame. */
body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-copy {
  position: absolute !important;
  z-index: 3 !important;
  top: auto !important;
  right: auto !important;
  bottom: 26px !important;
  left: 24px !important;
  width: min(46%, 310px) !important;
  max-width: min(46%, 310px) !important;
  padding: 13px 15px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.17) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(132deg, rgba(27, 42, 68, 0.82), rgba(45, 65, 98, 0.69)) !important;
  box-shadow: 0 15px 30px rgba(16, 27, 49, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transform: none !important;
  backdrop-filter: blur(13px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(13px) saturate(120%) !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-copy small {
  min-height: 25px !important;
  padding: 5px 9px !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffe2d2 !important;
  background: linear-gradient(110deg, rgba(210, 79, 24, 0.48), rgba(74, 87, 181, 0.42)) !important;
  box-shadow: none !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-copy h3 {
  margin: 8px 0 5px !important;
  color: #fff !important;
  font-size: clamp(1.22rem, 1.48vw, 1.55rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 1px 2px rgba(7, 17, 33, 0.24) !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-copy p {
  color: #dbe6f4 !important;
  font-size: clamp(0.68rem, 0.72vw, 0.75rem) !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase > .showcase-controls,
body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase > .showcase-controls:hover {
  top: 20px !important;
  right: 27px !important;
  bottom: auto !important;
  left: auto !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  background: rgba(29, 45, 72, 0.58) !important;
  box-shadow: 0 10px 22px rgba(15, 27, 50, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase > .showcase-controls button i {
  background: #d7e2f1 !important;
}

body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase > .showcase-controls button.active i {
  background: linear-gradient(90deg, #ff7a3d, #9e79e8, #64b9ff) !important;
}

/* The glow extends beyond the masked pixels and visually joins the hero mesh. */
body.tryycart-global-theme #tc-page-home .hero-map::before {
  inset: -14% -10% !important;
  background:
    radial-gradient(ellipse at 23% 73%, rgba(232, 139, 98, 0.26), transparent 43%),
    radial-gradient(ellipse at 75% 25%, rgba(52, 137, 231, 0.34), transparent 49%),
    radial-gradient(ellipse at 57% 77%, rgba(111, 89, 204, 0.22), transparent 51%) !important;
  filter: blur(30px) !important;
  opacity: 0.78 !important;
}

@supports not ((mask-image: radial-gradient(#000, transparent)) or (-webkit-mask-image: radial-gradient(#000, transparent))) {
  body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-stage > img,
  body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-shade {
    inset: 5px !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    border-radius: 44% 35% 42% 31% / 35% 43% 34% 42% !important;
  }
}

@media (max-width: 1320px) and (min-width: 1181px) {
  body.tryycart-global-theme #tc-page-home .hero-map > .hero-showcase,
  body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-stage {
    min-height: 300px !important;
    height: 300px !important;
  }

  body.tryycart-global-theme #tc-page-home .hero-map .hero-showcase .showcase-copy {
    bottom: 22px !important;
    left: 20px !important;
    width: min(48%, 280px) !important;
    max-width: min(48%, 280px) !important;
    padding: 11px 13px 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tryycart-global-theme #tc-page-home .hero-map::before {
    animation: none !important;
  }
}

