/* "This guide is for" box at the end of knowledge-base articles (partials/kb-product-box.php). */

.wpruby-kb-product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 2.5rem 0 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid #f2e3ea;
    border-left: 4px solid #ac0d49;
    border-radius: 0.875rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 12px 28px -18px rgba(172, 13, 73, 0.25);
}

.wpruby-kb-product__body {
    flex: 1 1 18rem;
    min-width: 0;
}

.wpruby-kb-product p {
    margin: 0;
}

.wpruby-kb-product .wpruby-kb-product__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ac0d49;
}

.wpruby-kb-product .wpruby-kb-product__title {
    margin-top: 0.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.wpruby-kb-product .wpruby-kb-product__summary {
    margin-top: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #4b5563;
}

.wpruby-kb-product__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.wpruby-kb-product .wpruby-kb-product__price {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.wpruby-kb-product__price span {
    margin-right: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
}

.wpruby-kb-product a.wpruby-kb-product__link {
    display: inline-block;
    padding: 0.625rem 1.125rem;
    border-radius: 0.5rem;
    background: #ac0d49;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.wpruby-kb-product a.wpruby-kb-product__link:hover,
.wpruby-kb-product a.wpruby-kb-product__link:focus-visible {
    background: #8a0a3a;
    color: #ffffff;
}

.wpruby-kb-product a.wpruby-kb-product__link:focus-visible {
    outline: 2px solid #ac0d49;
    outline-offset: 2px;
}

@media print {
    .wpruby-kb-product {
        display: none;
    }
}
