/* Shared recent-history view: compact product rows like the accessory list. */
#content .gt-last-viewed { margin:32px 0 20px; }
#content .gt-last-viewed .last_viewed_title {
    position:relative; margin:0 0 12px; padding:12px 10px 14px;
    background:#fff; border:0; border-radius:0; box-shadow:none;
    font-size:18px; font-weight:600; line-height:1.35; color:#306b47; text-align:left;
}
#content .gt-last-viewed .gt-last-viewed-item {
    position:relative;
    display:grid; grid-template-columns:72px minmax(0,1fr); align-items:start; gap:12px;
    margin:0 0 12px; padding:16px 10px;
    background:#fff; border:0; border-bottom:1px solid #f0f0e1; border-radius:0; box-shadow:none;
}
/* Use the same quiet lower and left paper edges as the accessory rows.
   The title's ::after also replaces the inherited h2 colour-strip decoration. */
#content .gt-last-viewed .last_viewed_title::after,
#content .gt-last-viewed .gt-last-viewed-item::after {
    content:""; display:block; position:absolute; left:0; right:0; bottom:-5px;
    width:auto; height:5px; margin:0; border:0;
    background:radial-gradient(ellipse at 50% 0, rgba(43, 64, 31, .13), transparent 72%);
    pointer-events:none;
}
#content .gt-last-viewed .last_viewed_title::before,
#content .gt-last-viewed .gt-last-viewed-item::before {
    content:""; display:block; position:absolute; left:-5px; top:18%; bottom:18%;
    width:5px; height:auto; margin:0; border:0;
    background:radial-gradient(ellipse at 100% 50%, rgba(43, 64, 31, .10), transparent 72%);
    pointer-events:none;
}
#content .gt-last-viewed .gt-last-viewed-image {
    display:flex; align-items:center; justify-content:center;
    width:72px; min-height:72px; float:none;
}
#content .gt-last-viewed .gt-last-viewed-image img {
    display:block; width:72px; height:72px; max-width:100%; object-fit:contain;
}
#content .gt-last-viewed .gt-last-viewed-info { min-width:0; float:none; }
#content .gt-last-viewed .title_small {
    margin:0 0 4px; font-size:14px; font-weight:600; line-height:1.4; overflow-wrap:break-word;
}
#content .gt-last-viewed .title_small a { color:#333; text-decoration:none; }
#content .gt-last-viewed .title_small a:hover { color:#468c00; }
#content .gt-last-viewed .gt-last-viewed-price-row {
    display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 8px;
}
#content .gt-last-viewed .gt-listing-price { min-width:0; }
/* Override the inherited .last_viewed span.price size, which is !important. */
#content .gt-last-viewed .gt-listing-price > .price {
    display:block; float:none; clear:none; width:auto; margin:0;
    font-size:24px !important; font-weight:700; line-height:1.15; color:#333;
}
#content .gt-last-viewed .gt-listing-price .star {
    font-size:60%; line-height:1; vertical-align:super;
}
#content .gt-last-viewed .gt-listing-price .baseprice {
    display:block; float:none; clear:none; width:auto; margin:2px 0 0; padding:0;
    font-family:inherit; font-size:11px; font-weight:400; line-height:1.25; color:#777;
}
#content .gt-last-viewed .baseprice * {
    font-family:inherit; font-size:inherit; font-weight:400; line-height:inherit; color:inherit;
}
#content .gt-last-viewed .gt-unit-price-label { white-space:nowrap; }
#content .gt-last-viewed .uvp_info {
    float:none; flex:0 0 auto; margin:2px 0 0; padding:3px 5px; border-radius:4px;
    background:#b71e21; color:#fff; font-size:11px !important; font-weight:600; line-height:1.2;
}
#content .gt-last-viewed .uvp_info .priceUVP { font-size:inherit; color:inherit; text-decoration:none; }
