:root,
html,
body {
  color-scheme: only light;
}

body,
.panel,
.product,
.catalog,
.hero,
.photo,
.placeholder {
  forced-color-adjust: none;
}

.fade-title,
.reelcraft-title,
.green-title,
.shiny-link,
.sharp-gpm,
.sharp-title,
.price {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.fade-title,
.reelcraft-title,
.green-title,
.shiny-link,
.sharp-gpm,
.sharp-title {
  -webkit-text-fill-color: currentColor !important;
}

.price {
  color: #d9fff0 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #d9fff0 !important;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.88),
    0 0 12px rgba(66, 245, 138, 0.42),
    0 0 20px rgba(255, 255, 255, 0.16) !important;
}

.price::after {
  content: attr(data-shine) !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  color: transparent;
  background-image: linear-gradient(90deg, #ffffff 0%, #dbffeb 22%, #42f58a 45%, #ffffff 68%, #94ffbd 86%, #ffffff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(66, 245, 138, 0.24));
  animation: price-safe-fade 7s ease-in-out infinite alternate;
}

.fade-title::after,
.green-title::after,
.shiny-link::after,
.sharp-gpm::after,
.sharp-title::after {
  text-shadow: none;
}

@keyframes price-safe-fade {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

/* Compact shop polish: tighter product cards with a lighter, cleaner browse feel. */
.catalog {
  gap: 22px !important;
  padding-top: 34px !important;
  padding-bottom: 58px !important;
}

.product {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr) !important;
  gap: 20px !important;
  padding-bottom: 34px !important;
}

.product:not(:last-child)::after {
  opacity: 0.68 !important;
}

.gallery {
  gap: 10px !important;
}

.gallery.product-slideshow .photo {
  min-height: clamp(230px, 35vw, 410px) !important;
}

.photo,
.placeholder {
  min-height: 150px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 12px 32px rgba(0,0,0,.2);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.photo img {
  min-height: 150px !important;
  max-height: 390px !important;
}

.product:hover .photo,
.product:hover .placeholder {
  border-color: rgba(125,223,255,.56) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 38px rgba(0,0,0,.28), 0 0 22px rgba(4,168,238,.14);
}

.panel {
  padding: 21px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.3), inset 0 0 20px rgba(125,223,255,.035) !important;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.product:hover .panel {
  border-color: rgba(125,223,255,.52) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.36), 0 0 24px rgba(4,168,238,.13), inset 0 0 22px rgba(125,223,255,.06) !important;
  transform: translateY(-2px);
}

.panel h2 {
  margin-bottom: 7px !important;
  font-size: clamp(1.45rem, 3vw, 2.45rem) !important;
}

.panel p {
  margin-top: 8px !important;
  font-size: 0.96rem !important;
}

.price {
  margin: 0 0 10px !important;
  font-size: clamp(1.18rem, 2.4vw, 1.62rem) !important;
}

.specs {
  gap: 8px !important;
  margin: 14px 0 !important;
}

.spec {
  padding: 9px 11px !important;
  font-size: 0.91rem !important;
}

.variant-row {
  margin: 14px 0 !important;
}

.product-select {
  min-height: 40px !important;
  padding: 8px 11px !important;
}

.actions {
  gap: 8px !important;
}

.button {
  min-height: 40px !important;
  padding: 10px 14px !important;
}

.gallery-count {
  right: 9px !important;
  bottom: 9px !important;
  min-height: 26px !important;
  padding: 5px 9px !important;
}

@media (min-width: 901px) {
  .product.image-free-product {
    grid-template-columns: minmax(0, 650px) !important;
  }
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding-bottom: 30px !important;
  }

  .panel {
    transform: none !important;
  }
}

@media (max-width: 700px) {
  .catalog {
    gap: 18px !important;
    padding-top: 26px !important;
    padding-bottom: 44px !important;
  }

  .panel {
    padding: 18px !important;
  }

  .photo img {
    max-height: 44vh !important;
  }
}
