/* She Aced product cards — visual values copied from the supplied HTML/CSS. */

.she-aced-wrap,
.she-aced-wrap * {
  box-sizing: border-box;
}

.she-aced-wrap {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  max-width: 100%;
  overflow-x: hidden;
}

.she-aced-wrap .grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(var(--she-aced-cols, 3), 1fr);
  gap: 34px;
}

.she-aced-wrap--shop .grid {
  max-width: none;
}

.she-aced-wrap .card {
  text-align: center;
}

.she-aced-wrap .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f6a1a9;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.she-aced-wrap .thumb > a:not(.quick-view) {
  display: block;
  width: 100%;
  height: 100%;
}

.she-aced-wrap .thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  border: 0;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.she-aced-wrap .thumb:hover img {
  transform: scale(1.06);
  filter: brightness(0.55);
}

/* View Details — same styles as the original Quick View button */
.she-aced-wrap .quick-view {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  opacity: 0;
  background: #E27080;
  color: #fbf3e9;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 11px 26px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    background 0.25s ease;
  z-index: 3;
}

.she-aced-wrap .thumb:hover .quick-view {
  transform: translate(-50%, -18px);
  opacity: 1;
}

.she-aced-wrap .quick-view:hover {
  background: #fbf3e9;
  color: #E27080;
}

.she-aced-wrap .info {
  margin-top: 22px;
}

.she-aced-wrap .p-name {
  color: #fbf3e9;
  font-family: 'Italiana', serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.she-aced-wrap .p-name a {
  color: #fbf3e9;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.she-aced-wrap .p-price,
.she-aced-wrap .p-price .price,
.she-aced-wrap .p-price .amount,
.she-aced-wrap .p-price .woocommerce-Price-amount,
.she-aced-wrap .p-price del,
.she-aced-wrap .p-price ins,
.she-aced-wrap .p-price bdi {
  color: #5A4A3D;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  text-decoration: none;
}

.she-aced-wrap .p-price {
  opacity: 0.92;
  margin-bottom: 6px;
}

.she-aced-wrap .p-price del {
  opacity: 0.65;
  margin-right: 6px;
  text-decoration: line-through;
}

.she-aced-wrap .p-price ins {
  text-decoration: none;
}

.she-aced-wrap .p-tax {
  color: #fbf3e9;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.she-aced-wrap .she-aced-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 12px;
  color: #fbf3e9;
  font-family: 'Jost', sans-serif;
}

.she-aced-wrap .she-aced-empty p {
  margin: 0 0 14px;
}

@media (max-width: 768px) {
  .she-aced-wrap .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .she-aced-wrap .grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .she-aced-wrap .quick-view {
    transform: translate(-50%, -18px);
    opacity: 1;
  }
}
