/* EraRent V84 - controlled frontend design tokens and component styles.
   Previous core kept intact to avoid regressions in administrator and checkout. */
:root{
 --v84-orange:#ff5b0a;--v84-radius:12px;--v84-radius-sm:8px;
 --v84-space-1:4px;--v84-space-2:8px;--v84-space-3:12px;--v84-space-4:16px;--v84-space-5:24px;
 --v84-line:var(--er-line,rgba(140,160,175,.18));--v84-surface:var(--er-surface,#142330);
}
*,*::before,*::after{box-sizing:border-box}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--v84-orange);outline-offset:3px}
:where(.er-btn,.btn-primary,.btn-outline,button){touch-action:manipulation}
[hidden]{display:none!important}
.er-v84-cart-link{color:var(--er-text-strong,#fff);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;position:relative;gap:5px;border:1px solid var(--v84-line);border-radius:10px;padding:7px 9px;min-height:38px}
.er-v84-cart-count{color:#fff;background:#ff5b0a;border-radius:12px;padding:1px 5px;min-width:17px;font-size:10px;font-weight:800;text-align:center}
.er-v84-cart-link:hover{border-color:var(--v84-orange)}
.er-v84-eyebrow{color:var(--er-muted);font-weight:750;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
/* Shared compact calculator and booking details */
.er-v84-rental-calculator{background:color-mix(in srgb,var(--er-surface-2,#1b3041) 72%,transparent);border:1px solid var(--v84-line);padding:11px;border-radius:11px;margin:10px 0}
.er-v84-rental-calculator h2{margin:0 0 9px!important;font-size:13px!important;line-height:1.3;font-weight:850;color:var(--er-text-strong)}
.er-v84-calc-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.er-v84-calc-dates label{min-width:0;color:var(--er-muted);font-size:11px;font-weight:700;display:grid;gap:3px}
.er-v84-calc-dates input{width:100%;min-width:0;min-height:35px;max-height:40px;font:inherit;font-size:12px;color:var(--er-text-strong);color-scheme:dark;background:var(--er-surface);border:1px solid var(--v84-line);border-radius:7px;padding:5px}
[data-theme="light"] .er-v84-calc-dates input{color-scheme:light}
.er-v84-calc-status{font-size:11px!important;margin:8px 0!important;line-height:1.35;color:var(--er-muted)}
.er-v84-calc-status.is-good{color:#1ac77e}.er-v84-calc-status.is-bad{color:#f78b85}
.er-v84-calc-row{display:flex;gap:8px;justify-content:space-between;font-size:11.5px;line-height:1.5;margin:3px 0;color:var(--er-muted)}
.er-v84-calc-row strong{color:var(--er-text-strong);font-size:12px;font-weight:850}
.er-v84-calc-note{font-size:10px!important;line-height:1.4;margin:7px 0 0!important;color:var(--er-muted)}
.er-v84-mobile-book{display:none}
/* Cards/listing: flex column keeps CTAs aligned and avoids tall blank areas */
.products-grid{gap:13px!important;align-items:stretch}
.er-v84-listing-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--v84-line);border-radius:13px;overflow:hidden;background:var(--v84-surface)}
.er-v84-listing-card .product-tile{border:0;border-radius:0;background:transparent;flex:1;box-shadow:none;transform:none;overflow:visible}
.er-v84-listing-card .product-tile:hover{transform:none;box-shadow:none}
.er-v84-listing-card:hover{border-color:color-mix(in srgb,var(--v84-orange) 50%,var(--v84-line))}
.er-v84-listing-card .product-tile-media{aspect-ratio:16/10;background:#fff;margin:9px auto 0;width:calc(100% - 18px);border-radius:9px;overflow:hidden}
.er-v84-listing-card .product-tile-media img{object-fit:contain;width:100%;height:100%;padding:9px}
.er-v84-listing-card .product-tile-body{min-height:0;gap:5px;padding:10px 12px 7px}
.er-v84-listing-card .product-tile-title{font-size:13px;line-height:1.35;min-height:35px}
.er-v84-listing-card .product-manufacturer-label{font-size:10px}
.er-v84-listing-card .product-tile-meta{align-items:center;gap:5px;margin:6px 0 0}
.er-v84-listing-card .product-price-label{font-size:10px}
.er-v84-listing-card .product-price{font-size:19px;line-height:1.05}
.er-v84-listing-card .product-price-sub,.er-v84-listing-card .product-stock-sub{font-size:10px}
.er-v84-listing-card .product-tile-cta{font-size:11px;padding:7px 10px;border-radius:9px;gap:4px}
.er-v84-listing-card .product-top-badge,.er-v84-listing-card .product-status-badge{font-size:9px;padding:5px 6px;gap:4px}
.er-v84-listing-card .product-badges-top{top:6px;left:6px;right:6px}
.er-v84-compare-toggle{display:flex;align-items:center;gap:7px;padding:8px 12px;border-top:1px solid var(--v84-line);font-size:11px;color:var(--er-text-strong);cursor:pointer;min-height:34px}
.er-v84-compare-toggle input{accent-color:#ff5b0a;width:15px;height:15px}
.er-v84-compare-toggle:has(input:disabled){opacity:.5}
.er-v84-offer-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;margin:13px 0}
.er-v84-textlink{color:var(--er-text-strong);font-weight:800;text-underline-offset:4px;font-size:13px}
.er-v84-toolbar-help{color:var(--er-muted);font-size:11px}
/* Search autosuggest */
.filters-form .filter-group{position:relative;min-width:0}
.er-v84-suggest{position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:40;box-shadow:0 12px 32px rgba(0,0,0,.24);border:1px solid var(--v84-line);border-radius:10px;background:var(--er-surface,#172737);max-height:350px;overflow-y:auto}
.er-v84-suggest-item{display:flex;gap:9px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--v84-line);text-decoration:none;color:var(--er-text-strong)}
.er-v84-suggest-item:hover,.er-v84-suggest-item.is-active{background:color-mix(in srgb,var(--v84-orange) 9%,transparent)}
.er-v84-suggest-item img{border-radius:7px;object-fit:contain;background:#fff;flex:0 0 44px}
.er-v84-suggest-name{display:flex;flex-direction:column;min-width:0;gap:4px;font-size:12px}
.er-v84-suggest-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.er-v84-suggest-name small{opacity:.7;font-size:11px}
/* Product recommendations and verified reviews */
.er-v84-reviews,.er-v84-recent{max-width:1180px;margin:18px auto 28px}
.er-v84-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.er-v84-section-heading h2,.er-v84-recent h2{font-size:19px;margin:0 0 6px}
.er-v84-section-heading p{font-size:12px;color:var(--er-muted);margin:0 0 15px}
.er-v84-rating-summary{color:#febd42;font-size:20px;white-space:nowrap}.er-v84-rating-summary small{font-size:11px;color:var(--er-muted)}
.er-v84-reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.er-v84-review{background:var(--v84-surface);border:1px solid var(--v84-line);border-radius:12px;padding:14px;min-width:0}
.er-v84-review-stars{color:#febd42;letter-spacing:2px;font-size:16px}.er-v84-review p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:var(--er-text-strong)}.er-v84-review small{font-size:10px;color:var(--er-muted)}
.er-v84-empty-reviews{border:1px solid var(--v84-line);border-radius:10px;padding:14px;font-size:12px;color:var(--er-muted)}
.er-v84-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.er-v84-recent-item{display:flex;flex-direction:column;gap:7px;background:var(--v84-surface);border:1px solid var(--v84-line);border-radius:10px;padding:10px;text-decoration:none;color:var(--er-text-strong);font-size:12px;min-width:0}
.er-v84-recent-item img{width:100%;height:85px;object-fit:contain;background:#fff;border-radius:7px}.er-v84-recent-item span{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.er-v84-recent-item strong{font-size:12px;margin-top:auto}
/* Cart: unit price is never mistaken for total period price */
.er-v84-deposit-summary,.er-v84-deposit-inline{font-size:12px;color:var(--er-text-strong);margin:8px 0}
.er-cart-item-title a{color:inherit;text-decoration:none}.er-cart-item-title a:hover{text-decoration:underline}
/* Comparison: semantic table, horizontally scrollable on narrow viewports */
.er-v84-compare-page{padding-top:26px;padding-bottom:60px;max-width:1180px}
.er-v84-compare-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.er-v84-compare-header h1{margin:6px 0;font-size:clamp(24px,3vw,34px)}.er-v84-compare-header p{margin:5px 0;color:var(--er-muted);font-size:13px}
.er-v84-compare-empty{padding:30px;border:1px solid var(--v84-line);border-radius:14px}
.er-v84-compare-scroll{overflow-x:auto;border:1px solid var(--v84-line);border-radius:13px}
.er-v84-compare-table{border-collapse:collapse;width:100%;min-width:650px}
.er-v84-compare-table th,.er-v84-compare-table td{border-bottom:1px solid var(--v84-line);border-right:1px solid var(--v84-line);padding:12px;vertical-align:middle;text-align:left;font-size:12px;min-width:155px}
.er-v84-compare-table th:first-child{position:sticky;left:0;z-index:2;min-width:140px;background:var(--er-page,#0c1720);color:var(--er-text-strong)}
.er-v84-compare-table th a{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-decoration:none;color:var(--er-text-strong)}
.er-v84-compare-table th img{width:100%;max-width:170px;height:100px;object-fit:contain;background:#fff;border-radius:8px}
.er-v84-compare-table td strong{font-size:14px}
.er-v84-compare-table td small{font-size:10px;color:var(--er-muted)}
@media(max-width:800px){.er-v84-reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.er-v84-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
 .er-v84-cart-link{padding:7px 8px}.er-v84-cart-count{font-size:10px}
 .er-v84-mobile-book{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:100;align-items:center;justify-content:space-between;gap:8px;background:var(--er-page,#0b1721);padding:10px max(12px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(0,0,0,.3);border-top:1px solid var(--v84-line);font-size:12px}
 .er-v84-mobile-book a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border-radius:9px;padding:9px 13px;background:#ff5b0a;color:#fff;text-decoration:none;font-weight:850}
 .er-product-page-v54{padding-bottom:95px!important}
 .er-v84-rental-calculator{padding:10px}
 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .er-v84-listing-card .product-tile-media{aspect-ratio:1.25}
 .er-v84-listing-card .product-tile-body{padding:9px}
 .er-v84-listing-card .product-tile-title{font-size:12px}
 .er-v84-listing-card .product-tile-meta{flex-direction:column;align-items:flex-start}
 .er-v84-listing-card .product-tile-cta{align-self:stretch;justify-content:center}
 .er-v84-reviews-grid{grid-template-columns:1fr}.er-v84-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .er-v84-compare-page{padding-bottom:30px}
}
@media(max-width:380px){.er-v84-calc-dates{gap:5px}.er-v84-calc-dates input{font-size:11px}.products-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.er-v84-listing-card *, .er-v84-compare-page *{scroll-behavior:auto;animation:none!important;transition:none!important}}

.er-v84-period-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0 16px;padding:12px;border-radius:11px;border:1px solid var(--v84-line);background:var(--v84-surface)}
.er-v84-period-bar>strong{font-size:12px;flex:0 0 100%;color:var(--er-text-strong)}
.er-v84-period-bar label{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--er-muted)}
.er-v84-period-bar input{min-width:0;max-width:160px;border-radius:7px;border:1px solid var(--v84-line);padding:8px;background:var(--er-page,#0c1720);color:var(--er-text-strong);color-scheme:dark;min-height:36px}
[data-theme="light"] .er-v84-period-bar input{color-scheme:light}
.er-v84-period-bar button{min-height:36px;padding:7px 12px}
.er-v84-period-bar small{flex:1 0 100%;color:var(--er-muted);font-size:11px}
.er-v84-period-result{font-size:10px;border-top:1px solid var(--v84-line);padding:7px 12px;font-weight:700}
.er-v84-period-result.is-good{color:#29ce8c}.er-v84-period-result.is-bad{color:#f38580}
.er-v84-no-products{padding:15px;color:var(--er-muted);font-size:13px}
