/* ============================================================================
   APEX AUTO — auctions catalog + lot detail (v211, modern light theme)
   Matches the site: white cards, #e6e8ec borders, red accent, neutral bg.
   ========================================================================== */
:root { --aRed:#ed0012; --aRed600:#cc0010; --aInk:#14181f; --aInk2:#5a6472; --aMuted:#79828f;
  --aLine:#e6e8ec; --aLine2:#eef0f3; --aSurf:#ffffff; --aSoft:#f1f4f8;
  --aShadow:0 1px 2px rgba(16,20,28,.04), 0 14px 34px rgba(16,20,28,.08); }

.auctionsShellV1 { width:92%; max-width:1640px; margin:0 auto; padding:24px 0 80px; }

/* Compact header */
.auctionsHeadV2 { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:14px; }
.auctionsKickerV1 { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--aRed); margin-bottom:4px; }
.auctionsHeadV2 h1 { font-size:clamp(22px,2.4vw,30px); letter-spacing:-.02em; color:var(--aInk); }

/* Tabs */
.auctionTabsV1 { display:flex; gap:6px; flex-wrap:wrap; }
.auctionTabsV1 button { height:38px; padding:0 14px; border:1px solid var(--aLine); border-radius:999px; background:var(--aSurf); font-weight:600; font-size:13px; color:var(--aInk2); cursor:pointer; transition:all .18s; }
.auctionTabsV1 button:hover { border-color:var(--aMuted); }
.auctionTabsV1 button.active { background:var(--aRed); color:#fff; border-color:var(--aRed); }

/* Toolbar */
.auctionToolbarV2 { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.auctionToolRightV2 { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.filterDrawerBtnV1 { height:38px; padding:0 14px; border:1px solid var(--aLine); border-radius:10px; background:var(--aSurf); font-weight:600; font-size:13px; color:var(--aInk2); cursor:pointer; transition:.18s; }
.filterDrawerBtnV1:hover { border-color:var(--aMuted); }
.auctionSwitchV1 { display:inline-flex; border:1px solid var(--aLine); border-radius:10px; overflow:hidden; }
.auctionSwitchV1 button { height:38px; padding:0 16px; border:none; background:var(--aSurf); font-weight:600; font-size:13px; color:var(--aInk2); cursor:pointer; transition:.18s; }
.auctionSwitchV1 button.active { background:var(--aRed); color:#fff; }
.sortDropV1 { position:relative; }
.sortDropTrigV1 { display:flex; align-items:center; gap:7px; height:38px; padding:0 12px; border:1px solid var(--aLine); border-radius:10px; background:var(--aSurf); font-size:13px; font-weight:500; color:var(--aInk); cursor:pointer; white-space:nowrap; transition:border-color .15s; }
.sortDropTrigV1:hover { border-color:var(--aMuted); }
.sortDropV1.openV1 .sortDropTrigV1 { border-color:var(--red); }
.sortDropV1.openV1 .sortDropChevV1 { transform:rotate(180deg); }
.sortDropChevV1 { transition:transform .2s; flex-shrink:0; }
.sortDropMenuV1 { position:absolute; top:calc(100% + 6px); left:0; min-width:220px; background:var(--aSurf); border:1px solid var(--aLine); border-radius:14px; box-shadow:0 8px 24px rgba(0,0,0,.12); padding:6px; z-index:200; list-style:none; margin:0; }
.sortOptV1 { display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border-radius:9px; font-size:13px; color:var(--aInk); cursor:pointer; transition:background .12s; }
.sortOptV1:hover { background:var(--aSoft); }
.sortOptV1.sortOptActiveV1 { color:var(--red); font-weight:600; }
.sortOptV1.sortOptActiveV1::after { content:"✓"; font-size:13px; }

/* Search row */
.auctionSearchRowV2 { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.auctionSearchRowV2 input { flex:1; min-width:110px; height:38px; padding:0 12px; border:1px solid #ccd2db; border-radius:10px; background:var(--aSoft); font-size:13px; color:var(--aInk); }
.auctionSearchRowV2 input:focus { outline:none; border-color:var(--aRed); background:#fff; box-shadow:0 0 0 3px rgba(237,0,18,.13); }
.auctionSearchRowV2 #auctionSearchBtn { height:38px; padding:0 22px; border:none; border-radius:10px; background:var(--aRed); color:#fff; font-weight:600; font-size:13px; cursor:pointer; white-space:nowrap; }
.auctionSearchRowV2 #auctionSearchBtn:hover { background:var(--aRed600); }

.auctionCountV1 { font-size:13px; color:var(--aMuted); white-space:nowrap; }
.auctionCountV1 b { color:var(--aInk); font-size:16px; }

/* Layout */
.auctionLayoutV1 { display:grid; grid-template-columns:264px 1fr; gap:22px; align-items:start; }
/* Filter column: sticky, scrolls independently while lots scroll on the right */
.auctionFilterColV1 { position:relative; }
.auctionFiltersV1 { background:var(--aSurf); border:1px solid var(--aLine); border-radius:18px; padding:14px; box-shadow:var(--aShadow); }
.filterHeadV1 { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.filterHeadV1 h2 { font-size:18px; color:var(--aInk); }
.filterHeadV1 button { display:none; border:none; background:none; font-size:22px; color:var(--aMuted); cursor:pointer; }
.auctionFiltersForm details { border-top:1px solid var(--aLine2); padding:8px 0; }
.auctionFiltersForm summary { cursor:pointer; font-size:14px; font-weight:600; color:var(--aInk); padding:6px 0; }
.auctionFiltersForm label { display:flex; flex-direction:column; gap:5px; margin:8px 0; font-size:13px; font-weight:600; color:var(--aInk2); }
.auctionFiltersForm input, .auctionFiltersForm select { height:42px; padding:0 12px; border:1px solid #ccd2db; border-radius:10px; background:var(--aSoft); font-size:14px; color:var(--aInk); }
.checkLineV1 { flex-direction:row !important; align-items:center; gap:8px; }
.checkLineV1 input { width:16px; height:16px; accent-color:var(--aRed); }
.filterGridV1 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.filterActionsV1 { display:flex; gap:10px; margin-top:14px; }
.filterActionsV1 button { flex:1; height:44px; border-radius:11px; font-weight:600; border:1px solid var(--aLine); cursor:pointer; }
.filterActionsV1 button[type="submit"] { background:var(--aRed); color:#fff; border-color:var(--aRed); }
.filterActionsV1 #resetFiltersBtn { background:var(--aSurf); color:var(--aInk2); }

/* Filters sidebar — DreamBid-style, compact */
.auctionFiltersV1 { padding:14px; }
.fSecV2 { border:none; border-top:1px solid var(--aLine2); padding:9px 0 5px; }
.fSecV2:first-of-type { border-top:none; padding-top:2px; }
.fSecV2 > summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-size:13px; font-weight:700; color:var(--aInk); padding:2px 0; }
.fSecV2 > summary::-webkit-details-marker { display:none; }
.fSecV2 > summary::before { content:none !important; }
.fSecV2 > summary::after { content:""; width:7px; height:7px; border-right:2px solid var(--aMuted); border-bottom:2px solid var(--aMuted); transform:rotate(45deg); transition:transform .18s; margin:0 2px 3px 0; flex:none; }
.fSecV2[open] > summary::after { transform:rotate(-135deg); margin-bottom:-2px; }
.fSecV2 .fInputV2 { width:100%; height:34px; margin-top:7px; padding:0 10px; border:1px solid #ccd2db; border-radius:8px; background:var(--aSoft); font-size:13px; color:var(--aInk); box-sizing:border-box; }
.fSecV2 .fInputV2:focus { outline:none; border-color:var(--aRed); background:#fff; box-shadow:0 0 0 3px rgba(237,0,18,.13); }
.comboV2 { position:relative; }
.comboMenuV2 { position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:40; max-height:236px; overflow-y:auto; background:#fff; border:1px solid var(--aLine); border-radius:10px; box-shadow:0 14px 32px rgba(16,20,28,.16); padding:4px; }
.comboMenuV2[hidden] { display:none; }
.comboOptV2 { display:flex; align-items:center; gap:8px; padding:6px 10px; font-size:13px; color:var(--aInk); border-radius:7px; cursor:pointer; }
.comboOptV2 > span:first-of-type { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.comboOptV2:hover { background:var(--aSoft); }
.comboLogoV2 { width:18px; height:18px; object-fit:contain; flex:none; }
.comboQtyV2 { margin-left:auto; font-size:11px; color:var(--aMuted); flex:none; }
.comboEmptyV2 { padding:8px 10px; font-size:12px; color:var(--aMuted); }

.rangeV2 { margin-top:9px; }
.rangeSliderV2 { position:relative; height:26px; }
.rangeSliderV2::before { content:""; position:absolute; left:7px; right:7px; top:11px; height:4px; border-radius:2px; background:var(--aLine); }
.rangeFillV2 { position:absolute; top:11px; height:4px; border-radius:2px; background:var(--aRed); }
.rangeSliderV2 input[type=range] { position:absolute; top:0; left:0; width:100%; height:26px; margin:0; background:none; pointer-events:none; -webkit-appearance:none; appearance:none; }
.rangeSliderV2 input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; pointer-events:auto; width:15px; height:15px; border-radius:50%; background:#fff; border:2px solid var(--aRed); box-shadow:0 1px 3px rgba(0,0,0,.18); cursor:pointer; }
.rangeSliderV2 input[type=range]::-moz-range-thumb { pointer-events:auto; width:13px; height:13px; border-radius:50%; background:#fff; border:2px solid var(--aRed); cursor:pointer; }
.rangeNumsV2 { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.rangeNumsV2 input { height:32px; padding:0 10px; border:1px solid #ccd2db; border-radius:8px; background:var(--aSoft); font-size:13px; color:var(--aInk); width:100%; min-width:0; }
.rangeNumsV2 input:focus { outline:none; border-color:var(--aRed); background:#fff; }

.kmToggleV2 { display:inline-flex; gap:4px; margin-top:8px; font-size:12px; }
.kmToggleV2 button { border:none; background:none; color:var(--aMuted); font-weight:600; cursor:pointer; padding:1px 3px; }
.kmToggleV2 button.active { color:var(--aRed); }

.optListV2 { display:flex; flex-direction:column; margin-top:5px; }
.optV2 { display:flex; align-items:center; gap:9px; padding:4px 0; font-size:13px; color:var(--aInk); cursor:pointer; }
.optV2 input { width:15px; height:15px; flex:none; accent-color:var(--aRed); cursor:pointer; }
.fNoteV2 { margin-top:6px; font-size:11px; color:var(--aMuted); line-height:1.35; }

.dateQuickV2 { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:8px; }
.dateQuickV2 button { height:30px; padding:0 8px; border:1px solid var(--aLine); border-radius:8px; background:var(--aSoft); font-size:12px; font-weight:600; color:var(--aInk2); cursor:pointer; transition:.15s; white-space:nowrap; }
.dateQuickV2 button:hover, .dateQuickV2 button.active { border-color:var(--aRed); color:var(--aRed); }
.dateNumsV2 { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.dateNumsV2 label { display:flex; flex-direction:column; gap:4px; font-size:11px; font-weight:600; color:var(--aInk2); min-width:0; }
.dateNumsV2 input { height:32px; padding:0 8px; border:1px solid #ccd2db; border-radius:8px; background:var(--aSoft); font-size:12px; color:var(--aInk); width:100%; min-width:0; box-sizing:border-box; }
.dateNumsV2 input:focus { outline:none; border-color:var(--aRed); background:#fff; }

/* compact action buttons */
.auctionFiltersV1 .filterActionsV1 { gap:8px; margin-top:12px; }
.auctionFiltersV1 .filterActionsV1 button { height:38px; font-size:13px; border-radius:9px; }

/* Results */
.auctionResultsV1 { min-width:0; }
.auctionCardsV1 { display:flex; flex-direction:column; gap:0; background:var(--aSurf); border:1px solid var(--aLine); border-radius:18px; box-shadow:var(--aShadow); overflow:hidden; }
.auctionCardsV1:empty { display:none; }
.auctionMessageV1 { background:var(--aSurf); border:1px solid var(--aLine); border-radius:16px; padding:28px; text-align:center; color:var(--aInk2); }
.paginationV1 { display:flex; align-items:center; justify-content:center; gap:4px; padding:20px 0 8px; flex-wrap:wrap; }
.pgBtnV1 { min-width:36px; height:36px; padding:0 10px; border:1px solid var(--aLine); border-radius:9px; background:var(--aSurf); color:var(--aInk); font-size:13px; font-weight:500; cursor:pointer; transition:background .15s, border-color .15s; }
.pgBtnV1:hover:not(:disabled):not(.pgActiveV1) { border-color:var(--aMuted); background:var(--aSoft); }
.pgBtnV1.pgActiveV1 { background:var(--red); border-color:var(--red); color:#fff; cursor:default; }
.pgBtnV1:disabled { opacity:.35; cursor:default; }
.pgBtnV1.pgNavV1 { font-size:18px; line-height:1; }
.pgEllipsisV1 { padding:0 4px; color:var(--aInk2); font-size:14px; }
.pgLoadMoreBtnV1 { display:block; width:100%; max-width:380px; margin:10px auto 0; height:46px; border:1.5px solid var(--aLine); border-radius:12px; background:var(--aSurf); color:var(--aInk); font-size:14px; font-weight:600; cursor:pointer; transition:background .15s, border-color .15s; }
.pgLoadMoreBtnV1:hover:not(:disabled) { background:var(--aSoft); border-color:var(--aMuted); }
.pgLoadMoreBtnV1:disabled { opacity:.5; cursor:default; }

/* Card (row) — DreamBid-style */
.dbCard { display:grid; grid-template-columns:228px minmax(0,1fr) 220px; gap:18px; padding:14px 16px; border-bottom:1px solid var(--aLine2); transition:background .15s; }
.dbCard:last-child { border-bottom:none; }
.dbCard:hover { background:#fafbfc; }

.dbPhoto { position:relative; aspect-ratio:4/3; border-radius:12px; overflow:hidden; background:var(--aSoft); }
.dbPhotoLink { position:absolute; inset:0; display:block; }
.dbPhoto img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.dbPhoto:hover img { transform:scale(1.04); }
.dbNoPhoto { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--aMuted); font-size:13px; }
.dbAuc { position:absolute; left:8px; bottom:8px; padding:2px 7px; border-radius:6px; background:rgba(11,13,16,.82); color:#fff; font-size:9px; font-weight:700; letter-spacing:.04em; }
.dbSlideBtn { position:absolute; top:50%; transform:translateY(-50%); width:26px; height:36px; background:rgba(0,0,0,.45); color:#fff; border:none; border-radius:6px; cursor:pointer; font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .18s; z-index:2; }
.dbPhoto:hover .dbSlideBtn { opacity:1; }
.dbSlidePrev { left:6px; }
.dbSlideNext { right:6px; }
.dbSlideBtn:hover { background:rgba(0,0,0,.72); }
@media (hover:none) { .dbSlideBtn { opacity:.75; } }
.dbPhotoCount { position:absolute; right:8px; bottom:8px; padding:3px 8px; border-radius:7px; background:rgba(11,13,16,.7); color:#fff; font-size:11px; }
.dbFav { position:absolute; right:8px; top:8px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(255,255,255,.92); color:var(--aInk2); cursor:pointer; transition:color .15s, transform .1s; }
.dbFav:hover { color:#f0a500; }
.dbFav:active { transform:scale(.9); }
.dbFav .dbIco { width:18px; height:18px; }
.dbFav.is-fav { color:#f0a500; }
.dbFav.is-fav .dbIco { fill:#f0a500; stroke:#f0a500; }
/* Favorites tab */
.auctionTabsV1 button.favTabV2 { color:#b7791f; border-color:#f3dca0; background:#fffaf0; }
.auctionTabsV1 button.favTabV2:hover { border-color:#e0a82e; }
.auctionTabsV1 button.favTabV2.active { background:#e0a82e; color:#fff; border-color:#e0a82e; }
/* VIN report — not found state */
.vinEmptyV1 { background:var(--aSurf); border:1px solid var(--aLine); border-radius:16px; padding:34px; text-align:center; max-width:560px; }
.vinEmptyV1 h2 { font-size:19px; margin-bottom:8px; }
.vinEmptyV1 p { color:var(--aInk2); margin-bottom:18px; }
.vinLeadBtnV1 { display:inline-block; background:var(--aRed); color:#fff; font-weight:700; padding:11px 22px; border-radius:10px; }
/* Detail header actions */
.dHeadActionsV1 { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dFavBtnV1 { display:inline-flex; align-items:center; gap:7px; padding:9px 15px; border:1px solid var(--aLine); border-radius:10px; background:#fff; color:var(--aInk2); font-weight:600; font-size:13px; cursor:pointer; transition:all .15s; }
.dFavBtnV1 .dbIco { width:16px; height:16px; }
.dFavBtnV1:hover { border-color:#e0a82e; color:#b7791f; }
.dFavBtnV1.is-fav { background:#fffaf0; border-color:#e0a82e; color:#b7791f; }
.dFavBtnV1.is-fav .dbIco { fill:#f0a500; stroke:#f0a500; }

.dbBody { min-width:0; display:flex; flex-direction:column; gap:8px; }
.dbTitle { display:block; font-size:16px; font-weight:700; letter-spacing:-.01em; color:var(--aInk); line-height:1.2; }
.dbTitle:hover { color:var(--aRed); }
.dbLeftCol { display:flex; flex-direction:column; gap:6px; }
.dbIds { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dbIds > span { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:var(--aMuted); }
.dbVin { font-variant-numeric:tabular-nums; }
.dbLotNo { color:var(--aInk2); }
/* Click-to-copy chips (VIN / lot number) */
.copyChipV1 { cursor:pointer; border-radius:6px; padding:1px 5px; transition:background .15s, color .15s; position:relative; }
.copyChipV1 .dbIco:last-child { width:12px; height:12px; opacity:.4; transition:opacity .15s; }
.copyChipV1:hover { background:var(--aSoft); color:var(--aInk); }
.copyChipV1:hover .dbIco:last-child { opacity:.85; }
.copyChipV1.copiedV1 { background:#e7f6ec; color:#1d9b53; }
.copyChipV1.copiedV1 .dbIco:last-child { opacity:0; }
.copyChipV1.copiedV1::after { content:"Скопировано"; position:absolute; left:50%; top:-26px; transform:translateX(-50%); background:#1d9b53; color:#fff; font-size:10px; font-weight:700; padding:3px 8px; border-radius:6px; white-space:nowrap; z-index:5; }
/* Auction brand badge — links to the lot on Copart/IAAI */
.aucMark { display:inline-flex; align-items:center; gap:3px; height:16px; padding:0 6px; border-radius:4px; font-size:9.5px; font-weight:800; letter-spacing:.01em; color:#fff; text-decoration:none; }
.aucWordV1 { font-weight:800; }
.aucMark .dbIco { width:9px; height:9px; opacity:.9; }
.aucMark:hover { filter:brightness(1.08); }
.aucMark--copart { background:#0072ce; }   /* Copart blue */
.aucMark--iaai { background:#ed1c24; }      /* IAAI red */
/* Detail copy value */
.dCopyValV1 { display:inline-flex; align-items:center; gap:5px; font-variant-numeric:tabular-nums; }
/* Loading skeletons */
.dbSkelV1 { pointer-events:none; }
.skBoxV1, .skLineV1 { background:linear-gradient(90deg,#eef0f3 25%,#e4e7eb 37%,#eef0f3 63%); background-size:400% 100%; animation:skShimmer 1.3s ease infinite; border-radius:8px; }
.skLineV1 { display:block; height:11px; margin:7px 0; }
.skW80{ width:80%; } .skW60{ width:60%; } .skW40{ width:40%; }
.dbSkelV1 .dbPhoto.skBoxV1 { min-height:150px; border-radius:12px; }
.dbSkelV1 .dbAside .skBoxV1 { width:100%; }
@keyframes skShimmer { 0%{ background-position:100% 0; } 100%{ background-position:0 0; } }
/* Market statistics block */
.lotStatsBoxV1 .statGridV1 { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:4px; grid-column:1/-1; }
.statCellV1 { background:var(--aSoft); border:1px solid var(--aLine); border-radius:11px; padding:11px 13px; }
.statCellV1 span { display:block; font-size:11px; color:var(--aMuted); margin-bottom:3px; }
.statCellV1 b { font-size:17px; font-weight:800; color:var(--aInk); }
.statNoteV1 { font-size:11.5px; color:var(--aMuted); margin-top:9px; grid-column:1/-1; }
@media(max-width:600px){ .lotStatsBoxV1 .statGridV1 { grid-template-columns:1fr 1fr; } }
/* Odometer status badge */
.odoOkV1, .odoWarnV1 { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.02em; padding:1px 7px; border-radius:999px; margin-left:6px; }
.odoOkV1 { background:#e7f6ec; color:#1d9b53; }
.odoWarnV1 { background:#fdeceb; color:#d33a2c; }
.dbNew { background:#eaf1ff; color:#1f6bff; font-weight:700; font-size:10.5px; padding:2px 8px; border-radius:6px; }
.dbIco { width:15px; height:15px; flex:none; }

.dbCols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 22px; }
.dbSpecs, .dbChecks { list-style:none; display:flex; flex-direction:column; gap:6px; margin:0; padding:0; }
.dbSpecs li, .dbChecks li { display:flex; align-items:flex-start; gap:8px; font-size:12.5px; color:var(--aInk2); line-height:1.3; }
.dbSpecs .dbIco { color:var(--aMuted); margin-top:1px; }
.dbVinReport a { color:#1f6bff; font-weight:600; }
.dbVinReport .dbIco { color:#1f6bff; }
.dbChecks .dbIco { margin-top:1px; }
.dbCheck.good .dbIco { color:#1b9c5b; }
.dbCheck.warn .dbIco { color:#e8a000; }
.dbCheck.bad .dbIco { color:var(--aRed); }
.dbCheck.neutral .dbIco { color:var(--aMuted); }
.dbCheck b { font-weight:600; color:var(--aInk2); }

.dbAside { display:flex; flex-direction:column; justify-content:flex-start; gap:12px; border-left:1px solid var(--aLine2); padding-left:16px; }
.dbChecksCol { display:flex; flex-direction:column; gap:8px; }
.dbLotRowV1 { display:flex; align-items:center; justify-content:flex-start; gap:8px; flex-wrap:wrap; }
.dbLotRowV1 .dbLotNo { font-size:12.5px; color:var(--aInk2); font-variant-numeric:tabular-nums; }
.dbWhen { display:flex; flex-direction:column; gap:4px; align-items:flex-end; text-align:right; }
.dbWhen span { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--aInk2); white-space:nowrap; }
.dbWhen .dbIco { color:var(--aMuted); }
.dbLive.live { color:#1b9c5b; } .dbLive.live .dbIco { color:#1b9c5b; }
.dbLive.soon { color:#e8780c; } .dbLive.soon .dbIco { color:#e8780c; }

.dbPriceWrap { display:flex; flex-direction:column; gap:7px; }
.dbEst { display:flex; align-items:center; gap:6px; justify-content:flex-end; font-size:12px; color:var(--aMuted); }
.dbEst .dbIco { color:var(--aMuted); }
.dbPriceBox { border:1px solid var(--aLine); border-radius:11px; padding:8px 12px; text-align:center; background:var(--aSoft); }
.dbPriceBox span { display:block; font-size:10px; letter-spacing:.06em; color:var(--aMuted); text-transform:uppercase; }
.dbPriceBox b { display:block; font-size:19px; font-weight:800; color:var(--aInk); margin-top:1px; }
.dbSale { text-align:center; font-size:10.5px; font-weight:700; color:#e8780c; text-transform:uppercase; letter-spacing:.03em; }
.dbSale::before { content:"• "; }
.dbActions { display:flex; flex-direction:column; gap:7px; margin-top:2px; }
.dbBtnGhost { display:inline-flex; align-items:center; justify-content:center; height:36px; border:1px solid var(--aLine); border-radius:10px; font-weight:600; font-size:12.5px; color:var(--aInk); transition:.18s; }
.dbBtnGhost:hover { border-color:var(--aMuted); background:var(--aSoft); }
.dbBtnPrimary { height:38px; border:none; border-radius:10px; background:var(--aRed); color:#fff; font-weight:700; font-size:13.5px; cursor:pointer; transition:.18s; }
.dbBtnPrimary:hover { background:var(--aRed600); transform:translateY(-1px); }

/* Lot detail */
.auctionDetailV1 { padding-top:8px; }
.detailBackV1 { display:inline-block; margin-bottom:16px; font-weight:600; color:var(--aInk2); }
.detailBackV1:hover { color:var(--aRed); }
.auctionDetailPanelV1 { background:var(--aSurf); border:1px solid var(--aLine); border-radius:20px; padding:28px; box-shadow:var(--aShadow); }
.detailHeaderV1 h1 { margin-top:6px; font-size:clamp(24px,3vw,34px); letter-spacing:-.03em; color:var(--aInk); }
.detailHeaderV1 p { margin-top:8px; color:var(--aInk2); }
.auctionBadgesV1 { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 12px; }
.lotStatusV1, .saleBadgeV1 { padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700; background:var(--aSoft); color:var(--aInk2); border:1px solid var(--aLine); }
.saleBadgeV1 { background:#fff1f1; color:var(--aRed); border-color:rgba(237,0,18,.2); }
.lotDetailGridV1 { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) 372px; gap:24px; margin-top:22px; align-items:start; }
.detailGalleryV1 { position:sticky; top:90px; }
.detailMainImageV1 { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:16px; background:var(--aSoft); }
.detailThumbsV1 { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:8px; }
.detailThumbsV1 img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; cursor:pointer; border:2px solid transparent; transition:.18s; }
.detailThumbsV1 img:hover { border-color:var(--aRed); }
.lotDetailCenterV1 { display:flex; flex-direction:column; gap:20px; min-width:0; }
.lotInfoBlockV1 h2 { font-size:18px; margin-bottom:8px; color:var(--aInk); }
.lotInfoBlockV1 p { color:var(--aInk2); font-size:14px; }
.lotQuickSpecV1, .detailSpecGridV1 { display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; margin-top:10px; }
.lotQuickSpecV1 > div, .detailSpecGridV1 > div { display:flex; flex-direction:column; }
.lotQuickSpecV1 span, .detailSpecGridV1 span { font-size:11px; color:var(--aMuted); }
.lotQuickSpecV1 b, .detailSpecGridV1 b { font-size:14px; color:var(--aInk); }
.priceHistoryV1 { display:flex; flex-wrap:wrap; gap:8px; }
.priceHistoryV1 span { padding:6px 10px; border-radius:9px; background:var(--aSoft); font-size:13px; color:var(--aInk2); }
/* Price history (detail) */
.histCountV1 { font-weight:600; font-size:11px; color:var(--aMuted); text-transform:none; letter-spacing:0; }
.histListV1 { display:flex; flex-direction:column; gap:6px; grid-column:1/-1; }
.histRowV1 { display:grid; grid-template-columns:130px 1fr auto auto; align-items:center; gap:10px; }
.histDateV1 { font-size:11.5px; color:var(--aMuted); white-space:nowrap; }
.histBarWrapV1 { height:7px; border-radius:999px; background:var(--aSoft); overflow:hidden; }
.histBarV1 { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#aeb6c2,#6b7382); }
.histStatusV1 { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; padding:2px 7px; border-radius:999px; white-space:nowrap; }
.histStatusV1.histSold { background:#e7f6ec; color:#1d9b53; }
.histStatusV1.histUnsold { background:#fdeceb; color:#d33a2c; }
.histStatusV1.histPend { background:#eef1f6; color:#6b7382; }
.histBidV1 { font-size:13px; font-weight:800; color:var(--aInk); min-width:60px; text-align:right; }
/* Final price highlight on sold cards */
.dbPriceBox.dbPriceSold { background:#e7f6ec; border-color:#bfe6cd; }
.dbPriceBox.dbPriceSold b { color:#1d9b53; }
/* Archive tab accent */
.auctionTabsV1 button.archiveTabV2 { color:var(--aRed); border-color:#f4c4c4; background:#fff5f5; }
.auctionTabsV1 button.archiveTabV2:hover { border-color:var(--aRed); }
.auctionTabsV1 button.archiveTabV2.active { background:var(--aRed); color:#fff; border-color:var(--aRed); }
.lotCalcCardV1, .lotStickyV1 { position:sticky; top:90px; background:linear-gradient(165deg,#1b2029,#12151b); color:#fff; border:1px solid rgba(255,255,255,.08); border-radius:20px; padding:22px; box-shadow:0 18px 44px rgba(16,20,28,.22); }
.lotCalcCardV1 h2, .lotStickyV1 h2 { color:#fff; font-size:18px; margin-bottom:12px; }
.calcModeV1 { display:flex; gap:6px; margin-bottom:14px; }
.calcToggleV1 { flex:1; height:36px; border:1px solid rgba(255,255,255,.18); border-radius:9px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.8); font-weight:600; font-size:13px; cursor:pointer; }
.calcToggleV1.active { background:var(--aRed); border-color:var(--aRed); color:#fff; }
.calcBidControlV1 { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.calcBidControlV1 input { height:42px; padding:0 12px; border-radius:9px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#fff; }
.calcRowsV1 { display:flex; flex-direction:column; gap:8px; padding:14px 0; border-top:1px solid rgba(255,255,255,.12); border-bottom:1px solid rgba(255,255,255,.12); }
.calcRowsV1 > div { display:flex; justify-content:space-between; font-size:14px; color:rgba(255,255,255,.7); }
.calcRowsV1 b { color:#fff; }
.calcTotalV1 { display:flex; justify-content:space-between; align-items:baseline; margin-top:14px; }
.calcTotalV1 b { font-size:26px; font-weight:800; }
.stickyCtasV1 { display:flex; flex-direction:column; gap:8px; margin-top:14px; }
.stickyCtasV1 a, .stickyCtasV1 button { height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; font-weight:600; border:none; cursor:pointer; }
.stickyCtasV1 button, .stickyCtasV1 .auctionBtnPrimaryV1 { background:var(--aRed); color:#fff; }
.stickyCtasV1 a { background:rgba(255,255,255,.1); color:#fff; }

/* Lot detail — DreamBid-style center column */
.detailHeaderV1 { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.dSpecLine { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:8px; font-size:14px; color:var(--aInk2); }
.dSpecLine .dbIco { width:16px; height:16px; color:var(--aMuted); }
.dSpecVin { display:inline-flex; align-items:center; gap:5px; color:var(--aMuted); font-size:13px; font-variant-numeric:tabular-nums; }
.dVinBtn { flex:none; height:40px; display:inline-flex; align-items:center; padding:0 16px; border:1px solid var(--aLine); border-radius:11px; background:var(--aSoft); font-weight:600; font-size:13px; color:var(--aInk); white-space:nowrap; }
.dVinBtn:hover { border-color:var(--aMuted); }
.dGalMainV2 { position:relative; }
.dGalChipV2 { left:10px; bottom:10px; }
.dGalCountV2 { position:absolute; right:10px; bottom:10px; padding:3px 9px; border-radius:7px; background:rgba(11,13,16,.7); color:#fff; font-size:12px; }
.lotDetailCenterV1 { gap:16px; }
/* .dSec — общая grid-сетка: левый столбец авто-подстраивается под самую длинную метку,
   правый (значения) начинается с единой точки для всех строк секции */
/* .dSec — общий grid: столбец меток по min-content (ширина самого длинного слова),
   значения всегда начинаются с одной точки независимо от длины метки */
.dSec { background:var(--aSurf); border:1px solid var(--aLine); border-radius:14px; padding:14px 18px; display:grid; grid-template-columns:150px 1fr; column-gap:16px; }
.dSecHead { grid-column:1/-1; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--aInk); padding-bottom:9px; border-bottom:1px solid var(--aLine2); }
.dRowV2 { display:contents; }
.dRowLbl { font-size:12px; color:var(--aInk2); padding:6px 0; border-bottom:1px solid var(--aLine2); align-self:center; overflow-wrap:break-word; text-align:right; }
.dRowVal { display:block; font-size:13px; color:var(--aInk); font-weight:500; padding:6px 0; border-bottom:1px solid var(--aLine2); min-width:0; word-break:break-word; align-self:center; }
/* dValUnit — иконка строго по левому краю, текст рядом */
.dValUnit { display:flex; align-items:center; gap:6px; }
.dValUnit .dbIco, .dRowVal > .dbIco { flex:0 0 16px; width:16px; height:16px; }
.dValUnit > span { min-width:0; }
.dSec .dRowV2:last-child .dRowLbl,
.dSec .dRowV2:last-child .dRowVal { border-bottom:none; }
.dTone-good .dbIco { color:#1b9c5b; }
.dTone-warn .dbIco { color:#e8a000; }
.dTone-bad .dbIco { color:var(--aRed); }
.dTone-neutral .dbIco { color:var(--aMuted); }
.dAucMini { background:#e7f6ec; color:#1b9c5b; font-weight:700; font-size:10.5px; padding:2px 7px; border-radius:5px; margin-left:6px; }
.dLink { color:#1f6bff; font-weight:600; }
.dRecoV2 { display:flex; gap:12px; background:#eefaf2; border:1px solid #cdeed9; border-radius:14px; padding:14px 16px; }
.dRecoV2 > .dbIco { color:#1b9c5b; width:22px; height:22px; flex:none; margin-top:1px; }
.dRecoV2 b { font-size:14px; color:#176a3c; display:block; margin-bottom:3px; }
.dRecoV2 p { font-size:13px; color:#2f6b48; line-height:1.4; }

/* Lot calculator — DreamBid-style, light sticky panel */
.lotCalcV2 { position:sticky; top:90px; background:var(--aSurf); border:1px solid var(--aLine); border-radius:18px; padding:18px; box-shadow:var(--aShadow); display:flex; flex-direction:column; gap:14px; }
.calcTopV2 { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.calcBidLabelV2 span { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--aMuted); }
.calcBidLabelV2 b { font-size:24px; font-weight:800; color:var(--aInk); }
.calcEstV2 { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:var(--aMuted); }
.calcEstV2 .dbIco { width:15px; height:15px; }
.calcSoldBannerV2 { background:rgba(237,0,18,.08); border:1.5px solid rgba(237,0,18,.22); color:#c00010; border-radius:10px; padding:9px 14px; font-size:13px; font-weight:600; margin-bottom:12px; }
.calcSoldBannerV2 b { font-weight:800; font-size:15px; }
.calcSaleV2 { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:#e8780c; }
.calcSaleV2::before { content:"• "; }
.calcSoldV2 b { color:#c00010; }
.calcDoneV2 { display:inline-flex; align-items:center; gap:6px; margin-top:8px; font-size:12px; font-weight:700; color:#1d9b53; background:#e7f6ec; padding:5px 11px; border-radius:8px; }
.calcDoneV2 .dbIco { width:15px; height:15px; }
.calcStepperV2 { display:grid; grid-template-columns:44px 1fr 44px; gap:8px; }
.calcStepperV2 button { height:46px; border:1px solid var(--aLine); border-radius:11px; background:var(--aSoft); font-size:22px; color:var(--aInk); cursor:pointer; transition:.15s; }
.calcStepperV2 button:hover { border-color:var(--aMuted); }
.calcStepperV2 input { height:46px; text-align:center; border:1px solid #ccd2db; border-radius:11px; background:var(--aSoft); font-size:18px; font-weight:700; color:var(--aInk); width:100%; }
.calcStepperV2 input:focus { outline:none; border-color:var(--aRed); background:#fff; box-shadow:0 0 0 3px rgba(237,0,18,.15); }
.calcOptsV2 { display:flex; flex-direction:column; }
.calcOptV2 { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid var(--aLine2); font-size:13px; color:var(--aInk); cursor:pointer; }
.calcOptV2:last-child { border-bottom:none; }
.calcOptV2 input { width:18px; height:18px; accent-color:var(--aRed); flex:none; }
.calcOptV2 span { flex:1; }
.calcOptV2 i { font-style:normal; font-size:11px; color:var(--aMuted); text-align:right; }
.calcOptRowV2 { display:flex; align-items:center; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--aLine2); font-size:13px; color:var(--aInk); gap:10px; }
.calcSelectV2 { height:30px; border:1px solid var(--aLine); border-radius:7px; background:var(--aSoft); color:var(--aInk); font-size:12.5px; padding:0 6px; cursor:pointer; max-width:140px; }
.calcEngineWrapV2 { display:flex; align-items:center; gap:5px; }
.calcEngineV2 { width:58px; height:30px; border:1px solid var(--aLine); border-radius:7px; background:var(--aSoft); color:var(--aInk); font-size:13px; padding:0 6px; text-align:center; }
.calcEngineUnitV2 { font-size:12px; color:var(--aMuted); }
.calcRatesV2 { display:grid; grid-template-columns:1fr 1fr; gap:8px; border-top:1px solid var(--aLine2); padding-top:10px; }
.calcRatesV2 label { display:flex; flex-direction:column; gap:4px; }
.calcRatesV2 span { font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:var(--aMuted); }
.calcRatesV2 input { height:32px; border:1px solid var(--aLine); border-radius:8px; background:var(--aSoft); color:var(--aInk); font-size:13px; padding:0 8px; width:100%; }
.calcBodyV2 { display:flex; flex-direction:column; gap:14px; }
.calcSecV2 { display:flex; flex-direction:column; gap:7px; }
.calcSecHeadV2 { display:flex; align-items:center; justify-content:space-between; padding-bottom:6px; border-bottom:1px solid var(--aLine); font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--aMuted); }
.calcSecHeadV2 b { font-size:13px; color:var(--aInk); }
.calcRowV2 { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; font-size:13.5px; color:var(--aInk2); }
.calcRowV2 > span { display:flex; flex-direction:column; }
.calcRowV2 small { font-size:11px; color:var(--aMuted); margin-top:1px; }
.calcRowV2 b { color:var(--aInk); white-space:nowrap; }
.calcGrandV2 { border-top:2px solid var(--aLine); padding-top:12px; }
.calcGrandV2 span { display:block; font-size:12px; color:var(--aMuted); }
.calcGrandV2 b { display:block; font-size:30px; font-weight:800; color:var(--aInk); letter-spacing:-.02em; line-height:1.1; }
.calcGrandV2 small { display:block; font-size:13px; color:var(--aInk2); margin-top:3px; }
.calcCtasV2 { display:flex; flex-direction:column; gap:8px; }
.calcCtasV2 .dbBtnPrimary, .calcCtasV2 .dbBtnGhost { width:100%; height:44px; }
.calcNoteV2 { font-size:11.5px; color:var(--aMuted); line-height:1.4; }

/* Right sidebar wrapper (calculator + auction info) */
.dRightColV2 { display:flex; flex-direction:column; gap:16px; }
.dRightColV2 > .lotCalcV2 { position:sticky; top:90px; }
/* Neutral seller type tag */
.dAucMiniNeutral { background:#f0f4f8; color:#6b7382; font-weight:700; font-size:10.5px; padding:2px 7px; border-radius:5px; }
/* Description section below grid */
.dDescSecV2 { margin-top:20px; }
.dDescGridV2 { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.dDescGridV2 .dRowV2 { padding:8px 12px; }
.dDescGridV2 .dRowV2:nth-child(odd) { background:var(--aSoft); border-radius:0; }
/* Archived similar bid badge */
.simBidSoldV1 { background:rgba(29,155,91,.82) !important; }

/* Similar lots */
.simSecV1 { margin-top:30px; padding-top:24px; border-top:1px solid var(--aLine); }
.simSecV1[hidden] { display:none !important; }
.simSecV1 h2 { font-size:21px; letter-spacing:-.02em; color:var(--aInk); margin-bottom:16px; }
.simGridV1 { display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.simCardV1 { display:flex; flex-direction:column; gap:4px; min-width:0; }
.simPhotoV1 { position:relative; aspect-ratio:4/3; border-radius:12px; overflow:hidden; background:var(--aSoft); }
.simPhotoV1 img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.simCardV1:hover .simPhotoV1 img { transform:scale(1.05); }
.simBidV1 { position:absolute; right:8px; bottom:8px; padding:3px 9px; border-radius:7px; background:rgba(11,13,16,.78); color:#fff; font-size:12px; font-weight:700; }
.simCardV1 h4 { font-size:14px; font-weight:700; color:var(--aInk); margin-top:7px; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.simCardV1 span { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--aMuted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.simCardV1 .dbIco { width:14px; height:14px; flex:none; color:var(--aMuted); }
.simVinV1 { font-variant-numeric:tabular-nums; }
.simCardV1 h4:hover { color:var(--aRed); }
@media (max-width:1100px){ .simGridV1 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .simGridV1 { grid-template-columns:repeat(2,1fr); } }

/* Gallery HD badge + lightbox */
.dGalMainV2 { cursor:zoom-in; }
.detailMainImageV1 { display:block; }
.dGalBadgesV2 { position:absolute; right:10px; bottom:10px; display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.dGalTagV2 { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:7px; background:rgba(11,13,16,.72); color:#fff; font-size:12px; font-weight:600; }
.dGalTagV2 .dbIco { width:14px; height:14px; }
.detailThumbsV1 { grid-template-columns:repeat(5,1fr); gap:8px; }
.detailThumbsV1 .dThumbV2 { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:9px; cursor:pointer; border:2px solid transparent; transition:border-color .15s, transform .15s; }
.detailThumbsV1 .dThumbV2:hover { transform:translateY(-1px); border-color:var(--aMuted); }
.detailThumbsV1 .dThumbV2.isActiveThumbV2 { border-color:var(--aRed); box-shadow:0 0 0 2px rgba(237,0,18,.16); }

.lbV1 { position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; background:rgba(8,10,13,.94); padding:64px 20px; }
.lbV1[hidden] { display:none !important; }
body.lbOpenV1 { overflow:hidden; }
.lbImgV1 { max-width:92vw; max-height:82vh; object-fit:contain; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.55); }
.lbTopV1 { position:absolute; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:16px 22px; }
.lbCountV1 { color:#fff; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.lbActionsV1 { display:flex; gap:10px; }
.lbBtnV1 { height:38px; padding:0 16px; border:1px solid rgba(255,255,255,.25); border-radius:10px; background:rgba(255,255,255,.1) !important; color:#fff !important; box-shadow:none !important; font-weight:600; font-size:13px; cursor:pointer; transition:.15s; }
.lbBtnV1:hover { background:rgba(255,255,255,.22) !important; }
.lbCloseV1 { width:38px; padding:0; font-size:16px; }
.lbNavV1 { position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border:1px solid rgba(255,255,255,.25); border-radius:50%; background:rgba(255,255,255,.1) !important; color:#fff !important; box-shadow:none !important; font-size:30px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.15s; }
.lbNavV1:hover { background:rgba(255,255,255,.22) !important; }
.lbPrevV1 { left:24px; }
.lbNextV1 { right:24px; }
@media (max-width:640px){ .lbNavV1 { width:44px; height:44px; font-size:26px; } .lbPrevV1 { left:10px; } .lbNextV1 { right:10px; } .lbBtnV1 { padding:0 12px; } }

/* Lead modal */
.auctionModalV1 { position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(11,13,16,.55); backdrop-filter:blur(4px); }
body.leadModalOpenV1 { overflow:hidden; }
.auctionLeadFormV1 { position:relative; width:100%; max-width:460px; background:var(--aSurf); border-radius:20px; padding:28px; display:flex; flex-direction:column; gap:12px; box-shadow:0 24px 60px rgba(0,0,0,.3); }
.auctionLeadFormV1 h2 { font-size:22px; color:var(--aInk); }
.auctionLeadFormV1 input, .auctionLeadFormV1 textarea { height:46px; padding:0 13px; border:1px solid #ccd2db; border-radius:11px; background:var(--aSoft); font-size:14px; color:var(--aInk); }
.auctionLeadFormV1 textarea { height:auto; min-height:90px; padding:11px 13px; }
.modalCloseV1 { position:absolute; top:14px; right:14px; width:34px; height:34px; border:none; background:var(--aSoft); border-radius:9px; font-size:20px; color:var(--aMuted); cursor:pointer; }
.auctionLeadFormV1 button[type="submit"] { height:48px; border:none; border-radius:12px; background:var(--aRed); color:#fff; font-weight:600; cursor:pointer; }
.auctionLeadFormV1 button[type="submit"]:hover { background:var(--aRed600); }
#leadFormStatus { font-size:13px; color:var(--aMuted); text-align:center; }

/* Responsive */
@media (max-width:1100px) {
  .auctionLayoutV1 { grid-template-columns:1fr; }
  /* Filters drawer: collapse the sticky column wrapper to zero height so it takes no layout space,
     but don't use display:none — position:fixed child must escape to viewport overlay */
  .auctionFilterColV1 { height:0; overflow:visible; position:static; }
  .auctionFiltersV1 { display:none; }
  body.filtersOpenV1 .auctionFiltersV1 {
    display:block; position:fixed; inset:0; z-index:252;
    overflow-y:auto; padding:16px 16px 80px; border-radius:0; max-height:100dvh; max-height:100vh;
  }
  body.filtersOpenV1::before {
    content:""; position:fixed; inset:0; z-index:251; background:rgba(0,0,0,.5);
  }
  body.filtersOpenV1 { overflow:hidden; }
  .filterHeadV1 button { display:block; }
  .dbCard { grid-template-columns:240px minmax(0,1fr); }
  .dbAside { grid-column:1 / -1; flex-direction:row; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px 20px; border-left:none; border-top:1px solid var(--aLine2); padding-left:0; padding-top:14px; }
  .dbLotRowV1 { order:-2; width:100%; justify-content:flex-start; }
  .dbWhen { align-items:flex-start; text-align:left; order:-1; }
  .dbPriceWrap { min-width:220px; }
  .lotDetailGridV1 { grid-template-columns:1fr; }
  .detailGalleryV1, .lotCalcCardV1, .lotStickyV1, .lotCalcV2, .dRightColV2 > .lotCalcV2 { position:static; }
  .dDescGridV2 { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .auctionsShellV1 { padding:18px 16px 60px; }
  .dbCard { grid-template-columns:1fr; gap:14px; padding:16px; }
  .dbCols { grid-template-columns:1fr; gap:9px; }
  .dbAside { flex-direction:column; }
  .dbWhen { align-items:flex-start; }
  .auctionDetailPanelV1 { padding:18px; }
  .dSec { grid-template-columns:fit-content(110px) 1fr; column-gap:10px; }
}

/* Stale-while-revalidate: dim existing cards while new data loads */
.lotsRefreshingV1 { opacity:.55; pointer-events:none; transition:opacity .15s; }

/* respect the [hidden] attribute (modal / load-more / detail start hidden) */
.auctionModalV1[hidden], .paginationV1[hidden], .auctionDetailV1[hidden], .auctionMessageV1[hidden] { display: none !important; }

/* ---- Override legacy global button{background:red!important} ---- */
.auctionTabsV1 button, .auctionSwitchV1 button, .filterDrawerBtnV1,
.filterActionsV1 #resetFiltersBtn, .rowIconBtnV1, .loadMoreLotsV1,
.auctionBtnGhostV1, .calcToggleV1, .dbBtnGhost {
  background: var(--aSurf) !important; box-shadow: none !important; color: var(--aInk2) !important;
}
.filterHeadV1 button, .modalCloseV1 { background: var(--aSoft) !important; box-shadow: none !important; color: var(--aMuted) !important; }
.auctionTabsV1 button.active, .auctionSwitchV1 button.active,
.auctionSearchV1 button, .filterActionsV1 button[type="submit"],
.auctionBtnPrimaryV1, .calcToggleV1.active, .dbBtnPrimary,
.auctionLeadFormV1 button[type="submit"], .stickyCtasV1 button {
  background: var(--aRed) !important; color: #fff !important; box-shadow: 0 8px 22px rgba(237,0,18,.25) !important;
}
.auctionTabsV1 button.active, .auctionSwitchV1 button.active { color: #fff !important; }
