/* "Warranty & care" section on ProductView: link cards to the /Warranty, /FurnitureCare and /Returns pages. */
.product-view .product-service-lead {
    color: var(--muted-text-color);
    font-size: 15px;
    line-height: 1.7;
}

.product-view .product-service-links {
    margin-bottom: -20px;
}

.product-view .product-service-links > div {
    margin-bottom: 20px;
}

/* Equal-height cards side by side (stacked below 992px); Bootstrap's clearfix pseudo-elements must not become flex items. */
@media (min-width: 992px) {
    .product-view .product-service-links {
        display: flex;
        flex-wrap: wrap;
    }

    .product-view .product-service-links::before,
    .product-view .product-service-links::after {
        display: none;
    }
}

.product-view .product-service-link {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    padding: 28px 28px 24px;
    overflow: hidden;
    border: 1px solid var(--border-color, #ddd);
    border-radius: var(--product-view-radius);
    background-color: var(--surface-color, #fff);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    color: var(--text-color, #333);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Brand-colored accent bar that grows in on hover/focus. */
.product-view .product-service-link::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background-color: var(--button-color, #fbb700);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
}

.product-view .product-service-link:is(:hover, :focus-visible) {
    border-color: var(--button-color, #fbb700);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    color: var(--text-color, #333);
    text-decoration: none;
    transform: translateY(-3px);
}

.product-view .product-service-link:is(:hover, :focus-visible)::before {
    transform: scaleY(1);
}

.product-view .product-service-link:focus-visible {
    outline: 2px solid var(--button-color, #fbb700);
    outline-offset: 3px;
}

.product-view .product-service-link-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    background-color: color-mix(in srgb, var(--button-color, #fbb700) 14%, transparent);
    color: var(--button-color, #fbb700);
    font-size: 24px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.product-view .product-service-link:is(:hover, :focus-visible) .product-service-link-icon {
    background-color: var(--button-color, #fbb700);
    color: var(--button-text-color, #fff);
}

.product-view .product-service-link-body {
    display: block;
    min-width: 0;
}

.product-view .product-service-link-title {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.product-view .product-service-link-text {
    display: block;
    margin-bottom: 16px;
    color: var(--muted-text-color);
    font-size: 14px;
    line-height: 1.6;
}

.product-view .product-service-link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--link-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-view .product-service-link-more .icon {
    transition: transform 0.25s ease;
}

.product-view .product-service-link:is(:hover, :focus-visible) .product-service-link-more .icon {
    transform: translateX(4px);
}

/* Three cards are narrow at 992-1199px, so the icon sits above the text there. */
@media (min-width: 992px) and (max-width: 1199px) {
    .product-view .product-service-link {
        flex-direction: column;
        gap: 16px;
        padding: 24px 22px 22px;
    }
}

@media (max-width: 479px) {
    .product-view .product-service-link {
        gap: 16px;
        padding: 22px 18px 20px;
    }

    .product-view .product-service-link-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-view .product-service-link,
    .product-view .product-service-link::before,
    .product-view .product-service-link-icon,
    .product-view .product-service-link-more .icon {
        transition: none;
    }

    .product-view .product-service-link:is(:hover, :focus-visible),
    .product-view .product-service-link:is(:hover, :focus-visible) .product-service-link-more .icon {
        transform: none;
    }
}