/* Hudna × Tabby — scoped to Hudna product categories only */
body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) .main-content {
  display: flex;
  flex-direction: column;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) .main-content > salla-hook[name="product:single.description.start"] {
  order: -100;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) .main-content > h1 {
  order: -90;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) .main-content > h1 + div {
  order: -80;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) .main-content > salla-installment {
  order: -70;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) salla-installment:empty {
  display: none !important;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) salla-installment:not(:empty) {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(0, 169, 143, 0.18);
  border-radius: 1rem;
  background: #f3faf7;
  box-shadow: 0 8px 24px rgba(35, 31, 30, 0.04);
  direction: rtl;
  text-align: right;
}

body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) salla-installment:not(:empty) > * {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 767px) {
  body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) salla-installment:not(:empty) {
    margin-bottom: 0.875rem;
    padding: 0.625rem;
    border-radius: 0.875rem;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-single:has(a[href*="c899971580"], a[href*="c67388596"]) salla-installment * {
    transition: none !important;
    animation: none !important;
  }
}