/* Real browser history: familiar retail shelf, with management on its own page. */
.varinha-history{color:#0f1111;font-family:Arial,Helvetica,sans-serif;background:#fff;min-width:0;box-sizing:border-box}
.history-home{margin:20px auto;padding:20px 0;border-top:1px solid #d5d9d9;border-bottom:1px solid #d5d9d9}
.history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:0 20px;margin:0 0 14px}
.history-heading h2{margin:0;font:700 18px/24px Arial,Helvetica,sans-serif;letter-spacing:0}
.history-heading .history-manage{color:#2162a1;font:400 13px/20px Arial,sans-serif;text-align:right;text-decoration:none}
.history-manage:hover{text-decoration:underline}
.history-activate{padding:0 20px}.history-activate p{max-width:640px;font:13px/20px Arial,sans-serif;color:#565959;margin:12px 0 0}
.history-primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 18px;border:1px solid #fcd200;border-radius:20px;background:#ffd814;color:#0f1111;font:400 13px/20px Arial,sans-serif;cursor:pointer}
.history-primary:hover{background:#f7ca00}
.history-status{margin:0;padding:0 20px;font:14px/20px Arial,sans-serif;color:#565959}.history-status:not(:empty){padding-block:12px}
.history-products{display:flex;gap:16px;list-style:none;padding:0 20px;margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:20px;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
.history-products::-webkit-scrollbar{display:none;width:0;height:0}
.history-product{display:flex;flex:0 0 150px;min-width:0;flex-direction:column;scroll-snap-align:start;padding:0;background:#fff;color:#0f1111}
.history-product-link{display:block;text-decoration:none;color:#2162a1;min-width:0}
.history-product-photo{width:100%;height:150px;display:grid;place-items:center;overflow:hidden;background:#fff;margin-bottom:8px}
.history-product-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:0;margin:0}
.history-product-name{font:400 14px/20px Arial,sans-serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:60px;margin:0 0 5px}
.history-product-link:hover .history-product-name{text-decoration:underline;color:#0c3353}
.history-price{font:400 18px/24px Arial,sans-serif;color:#0f1111;min-height:24px;margin-bottom:6px}.history-price strong{font-weight:400}.history-price del{display:block;font:400 11px/16px Arial,sans-serif;color:#565959}
.history-stock,.history-no-photo{color:#565959;font:12px/18px Arial,sans-serif}.history-stock{margin-bottom:5px}
.history-remove{align-self:flex-start;margin-top:auto;padding:3px 0;border:0;background:transparent;color:#2162a1;font:400 12px/20px Arial,sans-serif;min-height:30px;cursor:pointer}.history-remove:hover{text-decoration:underline}
.history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:38px;margin-bottom:12px;padding-inline:20px;font:13px/20px Arial,sans-serif}.history-pagination>div{display:flex;gap:7px}
.history-pagination button{display:grid;place-items:center;width:34px;height:34px;padding:7px;background:#fff;border:1px solid #d5d9d9;border-radius:7px;color:#0f1111;cursor:pointer;box-shadow:0 1px 3px #0f11111c}
.history-pagination button:disabled{opacity:.35;cursor:default}.history-pagination svg{width:18px;height:18px}.history-pagination [data-history-prev] svg{transform:rotate(180deg)}
.history-products:focus-visible,.varinha-history button:focus-visible{outline:3px solid #007185;outline-offset:2px}
.history-main{padding-block:30px 40px;min-height:55vh}.history-page{padding:24px;border:1px solid #d5d9d9;border-radius:8px}
.history-page .history-heading{padding:0;margin-bottom:8px}.history-page .history-heading h1{margin:0;font:400 28px/36px Arial,sans-serif;letter-spacing:0}
.history-intro{font:14px/21px Arial,sans-serif;color:#565959;margin:0 0 22px}
.history-page .history-activate,.history-page .history-status{padding-inline:0}
.history-management{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #d5d9d9;font:13px/20px Arial,sans-serif}
.history-management>span{margin-right:auto;color:#565959}.history-management button{padding:7px 12px;min-height:34px;background:#fff;border:1px solid #adb1b8;border-radius:7px;font:400 13px/18px Arial,sans-serif;color:#0f1111;cursor:pointer}
.history-management button:disabled{opacity:.45;cursor:default}
.history-page .history-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:28px 22px;overflow:visible;padding:0;scroll-snap-type:none}
.history-page .history-product{min-width:0;max-width:240px}.history-page .history-product-photo{height:190px}.history-page .history-product-name{min-height:60px}
.varinha-history [hidden]{display:none!important}
.category-scroll .history-nav-link{white-space:nowrap}
@media(max-width:700px){.history-home{width:100%;padding:18px 0;margin-block:16px}.history-heading{padding-inline:16px;gap:14px;align-items:start;flex-wrap:wrap}.history-heading .history-manage{font-size:12px;text-align:left}.history-heading h2{font-size:18px;line-height:24px}.history-activate,.history-status{padding-inline:16px}.history-products{padding-inline:16px;gap:12px;scroll-padding-inline:16px}.history-product{flex-basis:145px}.history-product-photo{height:145px}.history-product-name{font-size:13px;line-height:19px;min-height:57px}.history-pagination{padding-inline:16px}.history-main{padding-block:20px 28px;width:calc(100% - 24px)}.history-page{padding:18px 14px;border-radius:6px}.history-page .history-heading h1{font-size:25px;line-height:32px}.history-page .history-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.history-page .history-product-photo{height:145px}.history-management{gap:10px}.history-management>span{width:100%;margin:0}.history-management button{font-size:12px;padding:7px 10px}.history-remove{min-height:36px}.history-page .history-product{max-width:none}}
@media(hover:hover) and(pointer:fine){.history-product-photo img{transition:transform 180ms ease}.history-product-link:hover img,.history-product-link:focus-visible img{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.history-product-photo img{transition:none}}
@media(max-width:360px){.history-home .history-product{flex-basis:calc((100vw - 44px)/2)}}
