.site-button-shine {
  all: initial;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.site-button-shine[hidden] {
  display: none;
}

.site-button-shine__mask {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.site-button-shine__light {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -34%;
  width: 34%;
  border-radius: 8px;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255, 255, 255, .18) 22%,
    rgba(255, 255, 255, .72) 47%,
    rgba(255, 255, 255, .78) 53%,
    rgba(255, 255, 255, .2) 78%,
    transparent 100%
  );
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .28));
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-button-shine {
    display: none;
  }
}

#layout:not(.add-layout):not(.edit-layout) .faq-box details > summary {
  margin-bottom: 0 !important;
  padding-bottom: var(--faq-box-in, 20px) !important;
  border-radius: inherit !important;
}

#layout:not(.add-layout):not(.edit-layout) .faq-box details[open] > summary {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Match the blue glass surface and bevel of the HERO phone button. */
@layer site-component-colors {
  #layout:not(.add-layout, .edit-layout) :is(.order-btn-catalog, .order-btn-phone) {
    background: linear-gradient(
      180deg,
      rgba(54, 177, 255, .94) 0%,
      rgba(0, 145, 234, .96) 44%,
      rgba(0, 92, 153, .98) 51%,
      rgba(0, 116, 190, .98) 100%
    ) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55),
      inset 0 -8px 0 rgba(0, 0, 0, .18),
      0 4px 12px rgba(0, 0, 0, .38) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    transition: transform .2s ease, filter .2s ease !important;
  }

  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #layout:not(.add-layout, .edit-layout) :is(.order-btn-catalog, .order-btn-phone):hover {
      transform: translateY(-1px) !important;
      filter: brightness(1.02) !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #layout:not(.add-layout, .edit-layout) :is(.order-btn-catalog, .order-btn-phone) {
      transition: none !important;
      transform: none !important;
    }
  }

  /* The widget receives its original accent through inline custom properties. */
  .ucz-concierge {
    --ucz-accent: #0074b8 !important;
    --ucz-accent-dark: #005b94 !important;
    --ucz-user: #e7f4fc !important;
  }
}

/* Color the native rating artwork, including its vote-preview states. */
@layer site-component-colors {
  /* Remove the old blue tint from the wrappers before coloring the sprite. */
  :is(.shop-item-rating, .product-header-rating),
  .shop-item-rating :is(a, img),
  .product-header-rating img {
    filter: none !important;
  }

  ul:is([id^="uStarRating"], [class*="u-star-rating-"]) {
    filter: url("#service-rating-gold") !important;
  }
}
