/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/general-dd42ae6a.css");
@import url("/assets/fonts-704fd92c.css");
@import url("/assets/font-names-b11645c6.css");
@import url("/assets/webfonts-769062d6.css");
@import url("/assets/colors-79b1ed0f.css");
@import url("/assets/orders-5a112a6b.css");

.store-search-autocomplete {
  position: relative;
}

#store-primary-navigation {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.store-search-autocomplete .aa-Autocomplete {
  width: 100%;
}

.store-search-autocomplete .aa-Form {
  border-radius: var(--bs-border-radius-lg);
  border-color: var(--bs-border-color);
  box-shadow: var(--bs-box-shadow-sm);
  min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
}

.store-search-autocomplete .aa-Input {
  font-size: 1rem;
}

.store-search-autocomplete .aa-SubmitButton,
.store-search-autocomplete .aa-ClearButton {
  color: var(--bs-body-color);
}

.store-search-autocomplete .aa-SubmitButton {
  background: transparent;
  color: var(--bs-secondary-color);
  cursor: default;
  pointer-events: none;
}

.store-search-autocomplete .aa-SubmitButton svg {
  color: inherit;
  fill: currentColor;
}

.store-search-autocomplete .aa-Panel {
  border-radius: 1rem;
  z-index: 1055;
}

.store-search-autocomplete .aa-ItemContent {
  align-items: center;
}

.store-search-autocomplete__price {
  color: var(--bs-body-color);
  font-size: 0.875rem;
  font-weight: 600;
}

.store-search-autocomplete__empty {
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
  padding: 0.75rem;
}

.store-search-autocomplete__footer {
  padding: 0.75rem;
}

.store-search-autocomplete__thumb-placeholder {
  align-items: center;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  color: var(--bs-secondary-color);
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.store-product-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-product-card__link {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.store-product-card .card-body {
  display: flex;
  flex-direction: column;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.store-product-card__actions {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.store-product-card__actions form {
  margin: 0;
  position: relative;
  z-index: 4;
}

.store-product-card__actions .btn {
  position: relative;
  z-index: 4;
}

.store-add-to-cart-button__content {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
}

.store-add-to-cart-button__icon .spinner-border {
  height: 1rem;
  width: 1rem;
}

.store-category-hero {
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.store-category-hero__panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.5rem;
  box-shadow: var(--bs-box-shadow-sm);
  padding: 2rem;
}

.store-category-hero__body p:last-child {
  margin-bottom: 0;
}

.markdown-body img,
.instruction-body img {
  border-radius: 0.75rem;
  display: block;
  height: auto;
  margin: 1rem 0;
  max-width: 100%;
}

.markdown-body pre,
.instruction-body pre {
  background: var(--bs-tertiary-bg);
  border-radius: 0.75rem;
  padding: 1rem;
  white-space: pre-wrap;
}

.markdown-body code,
.instruction-body code {
  background: var(--bs-tertiary-bg);
  border-radius: 0.35rem;
  padding: 0.1rem 0.35rem;
}

.markdown-body pre code,
.instruction-body pre code {
  background: transparent;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .store-product-card {
    transform-origin: center center;
  }

  .store-product-card:hover,
  .store-product-card:focus-within {
    box-shadow: var(--bs-box-shadow) !important;
    transform: translateY(-0.35rem) scale(1.02);
  }

  .store-product-card__actions {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.97) 45%,
      rgba(255, 255, 255, 0.88) 72%,
      rgba(255, 255, 255, 0.0) 100%
    );
    bottom: 1rem;
    left: 1rem;
    padding-top: 2.75rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 1rem;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
  }

  .store-product-card:hover .store-product-card__actions,
  .store-product-card:focus-within .store-product-card__actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .store-search-autocomplete__price {
    margin-top: 0.25rem;
  }
}
