/* ProductCard: uniform breathing room below every front-face CTA. */
html body .sg-product-list .sg-card .sg-card__footer {
    box-sizing: border-box !important;
    min-height: 124px !important;
    padding-bottom: 12px !important;
}

/* Reseller website: net and gross prices use two identical, contained rows. */
html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__reseller-price {
    align-items: stretch !important;
    display: grid !important;
    flex-direction: initial !important;
    gap: 5px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    width: 100% !important;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-price {
    align-items: baseline;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(32, 19, 15, .1);
    border-radius: 9px;
    display: grid;
    gap: 5px 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 6px 8px;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-amounts {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    min-width: 0;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-final-price,
html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-old-price {
    line-height: 1.1;
    white-space: nowrap;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-final-price {
    color: #20130f;
    font-size: 16px;
    font-weight: 900;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-old-price {
    color: #9f0000;
    font-size: 12px;
    font-weight: 750;
    text-decoration-thickness: 1.5px;
}

html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__tax-label {
    color: #4c4039;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.15;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

/* Defensive fallback for reseller products missing the net-price attribute. */
html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__format-prices-row
    .price-box:not(.sg-card__reseller-price),
html body .sg-product-list .sg-card[data-website-id='2'] .sg-card__price
    .price-box:not(.sg-card__reseller-price) {
    align-items: flex-start !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
}

html body .sg-product-list .sg-card[data-website-id='2'] .price-item {
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}

@media (max-width: 767px) {
    html body .sg-product-list .sg-card .sg-card__footer {
        min-height: 120px !important;
    }
}
