/* Xyla storefront polish: load after store.css. */

/* Keep the animated fill behind both text nodes and nested button content. */
.solid-btn,
.outline-btn {
  isolation: isolate;
  z-index: 0;
}
.solid-btn::before,
.outline-btn::before {
  z-index: -1;
  pointer-events: none;
}
.solid-btn:focus-visible,
.outline-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Inline icon avoids missing or font-dependent social glyphs. */
.footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer .socials svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* Consistent card and heading sizes; long reviews remain fully readable. */
.home-reviews .review-showcase {
  align-items: stretch;
}
.home-reviews .home-review-card {
  display: grid;
  grid-template-rows: 104px auto minmax(0, 1fr) auto;
  height: 420px;
  min-height: 420px;
  min-width: 0;
}
.home-reviews .review-product-mini {
  min-height: 0;
}
.home-reviews .review-product-mini a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.home-reviews .review-rating-line {
  margin-top: 18px;
}
.home-reviews .home-review-card blockquote {
  display: block;
  -webkit-line-clamp: unset;
  min-height: 0;
  overflow: auto;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  padding-right: 6px;
  margin: 16px 0 18px;
}
.home-reviews .home-review-card > strong {
  margin-top: 0;
  overflow-wrap: anywhere;
}

/* Reduce the combined section padding between Ihram and New arrivals. */
.page-home .ihram-products-section {
  padding-bottom: 24px;
}
.page-home .premium-newest {
  padding-top: 24px;
}

@media (max-width: 760px) {
  .home-reviews .home-review-card {
    flex: 0 0 86vw;
    min-width: 86vw;
    height: 410px;
    min-height: 410px;
    grid-template-rows: 104px auto minmax(0, 1fr) auto;
  }
  .home-reviews .review-rating-line {
    gap: 8px;
  }
  .page-home .ihram-products-section {
    padding-bottom: 16px;
  }
  .page-home .premium-newest {
    padding-top: 16px;
  }
}
