/* Variant information on catalogue cards only. */
@media (min-width: 1400px) {
    .row-cols-xxl-4 > * {
        flex: 0 0 auto;
        width: 25%;
        box-shadow: 1px 1px 10px #0000001f;
        padding-bottom: 25px;
    }
}
.tpproduct__thumb {
    margin-bottom: 17px;
    position: relative;
    max-height: 168px;
    min-height: 168px;
    margin-top: 25px;
}
.tpproduct__thumb > a[data-bb-toggle="product-link"],
.tpproduct__thumbitem > a[data-bb-toggle="product-link"] {
    display: block;
    height: 168px;
}
.tpproduct__thumb > a[data-bb-toggle="product-link"] > img,
.tpproduct__thumbitem > a[data-bb-toggle="product-link"] > img {
    height: 168px;
    object-fit: contain;
}
.product-item .ducati-card-colors {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-end;
    gap: 7px;
    max-height: calc(100% - 24px);
    max-width: calc(100% - 24px);
}
.product-item .ducati-card-color {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--variant-color, #eee);
    box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 1px 3px rgba(0,0,0,.12);
    font: 600 10px/1 Arial, sans-serif;
    color: #555;
}
.product-item .ducati-card-meta {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    width: 100%;
}
.product-item .ducati-card-meta--single { grid-template-columns: minmax(0, 1fr); }
.product-item .ducati-card-meta__price {
    position: static;
    min-width: 0;
    overflow-wrap: anywhere;
}
.product-item .ducati-card-meta__price .bb-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 0 !important;
}
.product-item .ducati-card-meta__price .bb-product-price > span {
    max-width: 100%;
    white-space: normal;
}
.product-item .ducati-card-sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    padding-top: 2px;
    float: right;
    position: absolute;
    right: 0px;
    width: 60%;
}
.product-item .ducati-card-size {
    display: inline-block;
    max-width: 100%;
    padding: 2px 4px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    color: #555;
    background: #fff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}
@media (max-width: 575.98px) {
    .product-item .ducati-card-colors { top: 8px; right: 8px; gap: 6px; }
    .product-item .ducati-card-color { width: 16px; height: 16px; flex-basis: 16px; }
    .product-item .ducati-card-meta { gap: 6px; }
    .product-item .ducati-card-sizes { position: static; float: none; width: auto; }
    .product-item .ducati-card-size { padding: 2px 3px; }
}
