.yuraa-site [hidden] {
  display: none !important;
}

.ys-shop-intro {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--ys-border);
}

.ys-shop-intro > .ys-container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ys-shop-intro .ys-eyebrow {
  margin: 0 0 8px;
}

.ys-shop-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.ys-shop-intro p:not(.ys-eyebrow) {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--ys-mauve);
}

.ys-shop-intro .ys-text-link {
  flex-shrink: 0;
  font-size: .88rem;
}

.ys-shop-page {
  padding-top: 24px;
}

.ys-shop-page .ys-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ys-shop-page .ys-shop-toolbar {
  flex-wrap: wrap;
}

.ys-shop-page .ys-shop-toolbar-right {
  flex: 1;
  width: auto;
  min-width: 0;
}

.ys-shop-page .ys-search-form {
  grid-template-columns: minmax(0, 1fr) minmax(160px, .75fr) auto;
}

[data-ys-shop].is-loading {
  opacity: 1;
  pointer-events: auto;
}

[data-ys-shop].is-loading .ys-product-grid {
  opacity: .6;
  pointer-events: none;
}

.ys-active-filters a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ys-active-filters a span {
  border: 0;
  background: none;
  padding: 0;
  font-size: 1.15rem;
}

.ys-active-filters .ys-clear-filters {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
}

.ys-product-card-buy {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 18px;
}

.ys-product-card-buy .ys-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
}

.ys-price-prefix {
  font-size: .78em;
  font-weight: 500;
  color: var(--ys-mauve);
}

.ys-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ys-plum);
  border-radius: var(--ys-radius-sm);
  background: transparent;
  color: var(--ys-plum);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.ys-card-action:hover {
  background: var(--ys-plum);
  color: var(--ys-white);
}

.ys-card-action:disabled {
  opacity: .6;
  cursor: wait;
}

.ys-card-action:focus-visible,
.ys-active-filters a:focus-visible {
  outline: 3px solid var(--ys-coral);
  outline-offset: 3px;
}

.ys-form-errors {
  margin-block: 20px;
  padding: 18px 22px;
  border: 1px solid var(--ys-coral);
  border-radius: var(--ys-radius-sm);
  background: var(--ys-white);
  color: var(--ys-plum);
}

.ys-form-errors p,
.ys-form-errors ul {
  margin-block: 0;
}

.ys-form-errors ul {
  margin-top: 8px;
  padding-left: 22px;
}

.ys-footer-form:has(.cf-turnstile),
.ys-newsletter-form:has(.cf-turnstile) {
  flex-wrap: wrap;
}

.ys-footer-form .cf-turnstile,
.ys-newsletter-form .cf-turnstile {
  flex: 0 0 100%;
  min-width: 0;
}

.ys-footer-form:has(.cf-turnstile) input[type="email"],
.ys-newsletter-form:has(.cf-turnstile) input[type="email"] {
  flex: 1;
  width: auto;
  min-width: 0;
}

@media (max-width: 800px) {
  .ys-shop-intro > .ys-container {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .ys-shop-intro .ys-text-link {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .ys-shop-intro {
    padding-block: 24px;
  }

  .ys-shop-page .ys-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ys-shop-page .ys-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ys-shop-page .ys-shop-toolbar-right {
    flex: 0 0 100%;
    width: 100%;
  }

  .ys-shop-page .ys-search-form input[type="search"] {
    grid-column: 1 / -1;
  }

  .ys-shop-page .ys-search-form .ys-btn {
    padding-inline: 16px;
  }

  .ys-product-card-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ys-product-card-buy .ys-price {
    font-size: .96rem;
  }
}
