/* Hero 3D cards: clip images to rounded corners (removes black corner artifacts) */
.card-3d-gray,
.card-3d-main {
  overflow: hidden;
}

.card-3d-gray > .relative,
.card-3d-main > .relative {
  overflow: hidden;
  border-radius: inherit;
}

.card-3d-gray .relative.h-\[180px\],
.card-3d-main .relative.h-\[180px\] {
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 1024px) {
  .card-3d-gray .relative.h-\[180px\],
  .card-3d-main .relative.h-\[180px\] {
    border-radius: 2.125rem;
  }
}

.card-3d-gray img,
.card-3d-main img {
  border-radius: 1rem;
  background: transparent !important;
}

@media (min-width: 1024px) {
  .card-3d-gray img,
  .card-3d-main img {
    border-radius: 2.125rem;
  }
}

#hero-scroll-btn {
  z-index: 20;
}

#hero-scroll-btn:hover {
  opacity: 0.9;
}

/* Feature / security card visuals: clip card images to rounded containers */
[class*='rounded-3xl'][class*='border'] img,
[class*='rounded-2xl'][class*='bg-'][class*='border'] img {
  border-radius: inherit;
  background: transparent !important;
}

[class*='rounded-3xl'][class*='border'] > div:last-child,
[class*='rounded-3xl'][class*='border'] [class*='overflow-hidden'] {
  overflow: hidden;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

/* Explore Cards comparison columns */
.grid.rounded-3xl,
.rounded-3xl.border.border-border {
  overflow: hidden;
}

/* Product page card mockups */
[class*='card-underglow'],
img[src*='card-underglow'],
img[src*='VirtualCard'],
img[src*='static-cards'] {
  background: transparent !important;
}

/* Use-cases carousel icons */
img[alt='Hotels'],
img[alt='Restaurants'],
img[alt='Shopping'],
img[alt='Taxi'],
img[alt='Groceries'],
img[alt='Digital Ads'] {
  object-fit: cover;
  background: transparent !important;
}

/* Features section card graphics */
img[src*='features-section'] {
  object-fit: contain;
  max-width: 100%;
  background: transparent !important;
}

/* Product hero: hide decorative arc filler cards (static export shows all at once) */
html[data-page='product'] img[alt='SolCard Hero'] {
  display: none !important;
}

html[data-page='product'] .product-hero-cards-wrap {
  width: 100% !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  transform: none !important;
  translate: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

html[data-page='product'] .product-hero-cards {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

html[data-page='product'] .product-hero-cards > .group {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 360px !important;
  flex-shrink: 0;
}
