.dou-recent-products[hidden], .dou-recent-current[hidden] { display: none !important; }
.dou-recent-products { clear: both; margin: 32px 0 24px; padding-top: 24px; border-top: 1px solid #dce4e8; }
.dou-recent-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.dou-recent-header h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.dou-recent-clear { min-height: 44px; padding: 8px 12px; font-size: 14px; color: #2161b9; background: #fff; border: 1px solid #bdcbd4; border-radius: 6px; cursor: pointer; }
.dou-recent-products .dou-recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.dou-recent-products .dou-recent-list li { min-width: 0; list-style: none; margin: 0; padding: 0; }
.dou-recent-list a { display: flex; flex-direction: column; height: 100%; padding: 12px; color: #263b46; background: #fff; border: 1px solid #dce4e8; border-radius: 8px; text-decoration: none; box-sizing: border-box; }
.dou-recent-photo { display: flex; justify-content: center; align-items: center; width: 100%; aspect-ratio: 4 / 3; color: #52636d; background: #fafcfd; }
.dou-recent-photo img { display: block; width: 100%; height: 100%; max-height: 180px; object-fit: contain; }
.dou-recent-title { margin-top: 12px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.dou-recent-price { margin-top: auto; padding-top: 10px; font-size: 17px; font-weight: 700; color: #2161b9; }
.dou-recent-note, .dou-recent-cleared { font-size: 14px; color: #52636d; margin: 12px 0; clear: both; }
.dou-recent-list a:focus-visible, .dou-recent-clear:focus-visible { outline: 3px solid #f39c12; outline-offset: 3px; }
@media (max-width: 767px) {
 .dou-recent-header h2 { font-size: 21px; }
 .dou-recent-products .dou-recent-list { display: flex; overflow-x: auto; gap: 12px; padding: 4px 2px 14px; scroll-snap-type: x proximity; }
 .dou-recent-products .dou-recent-list li { flex: 0 0 180px; scroll-snap-align: start; }
}
@media print { .dou-recent-products, .dou-recent-cleared { display: none !important; } }
