/*
 * "Customers also bought" strip. Skinned via the shared --dm-surface-* design tokens (so it follows
 * the active theme's light/dark palette) with neutral fallbacks for any other theme — same pattern as the
 * paypal-invoice + order-pdf modules.
 */
.dm-also-bought {
    margin: 32px 0 8px;
}
.dm-also-bought__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dm-surface-ink, #1f2937);
}
.dm-also-bought__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 640px) {
    .dm-also-bought__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.dm-also-bought__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--dm-surface-edge, #e2e8f0);
    background: var(--dm-surface-panel, #fff);
    color: var(--dm-surface-ink, #1f2937);
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.dm-also-bought__card:hover {
    border-color: var(--dm-surface-accent, currentColor);
    transform: translateY(-2px);
}
.dm-also-bought__media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dm-surface-base, #f8fafc);
}
.dm-also-bought__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dm-also-bought__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dm-also-bought__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--dm-surface-accent, currentColor);
}
