/* Карточка лота (feat/new-hero) */
.lot-card{--lc-red:#8e2a2c;--lc-red-h:#a33234;--lc-line:#ebe7e1;
  display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr) 250px;gap:24px;align-items:stretch;
  width:100%;box-sizing:border-box;margin:0 0 12px;padding:10px;background:#fff;border:1px solid var(--lc-line);border-radius:14px;
  font-family:"Hero Inter",Roboto,Arial,sans-serif;color:#111;text-align:left;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.lot-card *,.lot-card *:before,.lot-card *:after{box-sizing:border-box}
.lot-card a{text-decoration:none;color:inherit}
.lot-card__photo{position:relative;display:block;border-radius:9px;overflow:hidden;background:#eee;aspect-ratio:4/3}
.lot-card__photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.lot-card__photo:hover img{transform:scale(1.03)}
.lot-card__photos{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:600}

.lot-card__info{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:4px 0}
.lot-card__top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.lot-card__status{display:inline-flex;align-items:center;gap:7px;padding:3px 9px;border-radius:20px;font-weight:600;background:#f2f0ec;color:#666}
.lot-card__status i{width:8px;height:8px;border-radius:50%;background:#aaa}
.lot-card__status--live{background:#eaf6ee;color:#1f7a3a}.lot-card__status--live i{background:#2fae4e;animation:lcPulse 1.6s infinite}
.lot-card__status--sold{background:#fbeeee;color:var(--lc-red)}.lot-card__status--sold i{background:var(--lc-red)}
@keyframes lcPulse{50%{opacity:.35}}
.lot-card__auction{display:inline-flex;align-items:center;padding:3px 9px;border-radius:20px;border:1px solid var(--lc-line);font-weight:600;color:#333}
.lot-card__title{display:block;margin:8px 0 10px;font:600 20px/1.2 Rubik,Arial,sans-serif;letter-spacing:-.01em}
.lot-card__title:hover{color:var(--lc-red)}
.lot-card__chips{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--lc-line)}
.lot-card__chips span{padding:4px 11px;border-radius:20px;background:#f5f3f0;border:1px solid var(--lc-line);font-size:13px;white-space:nowrap}
.lot-card__props{display:grid;grid-template-columns:auto auto;justify-content:start;gap:6px 28px;margin:12px 0 0;font-size:13px}
.lot-card__props>div{display:flex;gap:8px;min-width:0}
.lot-card__props dt{color:#555;font-weight:400;margin:0;white-space:nowrap}.lot-card__props dt:after{content:":"}
.lot-card__props dd{margin:0;font-weight:500;white-space:nowrap}

.lot-card__price{position:relative;display:flex;flex-direction:column;justify-content:center;padding:14px 16px;border-radius:10px;
  background:linear-gradient(135deg,#fbf3f2 0%,#fdf9f8 100%)}
.lot-card__sum{font:700 27px/1.05 Rubik,Arial,sans-serif;letter-spacing:-.02em;color:var(--lc-red);white-space:nowrap}
.lot-card__sum--ask{font-size:22px}
.lot-card__sum-label{margin-top:2px;font-size:13px;color:#444}
.lot-card__where{display:flex;align-items:center;gap:6px;margin:2px 0 10px;font-size:13px;color:#444}
.lot-card__where svg{color:#222}
.lot-card__btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:38px;margin-top:6px;border-radius:10px;
  font:600 14px/1 "Hero Inter",Roboto,Arial,sans-serif;border:1.5px solid var(--lc-red);cursor:pointer;transition:background .15s}
.lot-card__btn--red{background:var(--lc-red);color:#fff!important}.lot-card__btn--red:hover{background:var(--lc-red-h)}
.lot-card__btn--line{background:#fff;color:var(--lc-red)}.lot-card__btn--line:hover{background:#fff6f5}
.lot-card__calc-body{margin-top:10px;padding:14px;border-radius:10px;background:#fff;border:1px solid var(--lc-line);font-size:13px}
.lot-card__calc-body>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.lot-card__calc-body span{color:#555}.lot-card__calc-body b{white-space:nowrap;font-weight:600}
.lot-card__calc-total{margin-top:4px;padding-top:9px!important;border-top:1px solid var(--lc-line)}
.lot-card__calc-total span{color:#111;font-weight:600}
.lot-card__calc-body p{margin:8px 0 0;font-size:12px;color:#888;line-height:1.4}

@media (max-width:1200px){.lot-card{grid-template-columns:minmax(0,240px) minmax(0,1fr) 230px;gap:18px}.lot-card__sum{font-size:26px}.lot-card__props{grid-template-columns:1fr}}
@media (max-width:900px){
  .lot-card{grid-template-columns:1fr;gap:12px;padding:10px;border-radius:12px}
  .lot-card__photo{aspect-ratio:16/10;max-height:none}
  .lot-card__info{padding:0 4px}
  .lot-card__title{font-size:21px;margin:8px 0 10px}
  .lot-card__props{grid-template-columns:1fr 1fr;gap:8px 16px}
  .lot-card__props>div{flex-direction:column;gap:2px}.lot-card__props dt:after{content:""}.lot-card__props dt{font-size:12px}
  .lot-card__price{padding:14px}
}

/* Широкие экраны: характеристики — отдельной колонкой справа от названия */
@media (min-width:1201px){
  .lot-card__info{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:28px;align-content:center}
  .lot-card__top,.lot-card__title,.lot-card__chips{grid-column:1}
  .lot-card__chips{border-bottom:0;padding-bottom:0}
  .lot-card__props{grid-column:2;grid-row:1/4;align-self:center;grid-template-columns:auto;gap:7px;margin:0;padding-left:24px;border-left:1px solid var(--lc-line)}
}

/* Блок «Сейчас на аукционе» на главной */
.home-lots{background:#f7f5f2;padding:72px 0 64px;font-family:"Hero Inter",Roboto,Arial,sans-serif;color:#111}
.home-lots__wrap{max-width:1360px;margin:0 auto;padding:0 40px}
.home-lots__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.home-lots__eyebrow{display:flex;align-items:center;gap:20px;font-size:12px;letter-spacing:.35em;text-transform:uppercase;color:#333}
.home-lots__eyebrow:after{content:"";width:80px;height:1px;background:#bbb}
.home-lots__title{margin:10px 0 0;font:700 clamp(30px,3.2vw,46px)/1.05 Rubik,Arial,sans-serif;color:#111;text-align:left;text-transform:none;letter-spacing:0}
.home-lots__all{font-weight:600;font-size:16px;color:#8e2a2c;text-decoration:none;white-space:nowrap}
.home-lots__all:hover{text-decoration:underline}
.home-lots__more{max-width:320px;margin:24px auto 0;text-decoration:none}
@media (max-width:900px){.home-lots{padding:44px 0 40px}.home-lots__wrap{padding:0 16px}.home-lots__head{margin-bottom:18px}.home-lots__all{display:none}.home-lots__more{max-width:none}}
/* Расшифровка стоимости — всплывающее окно */
.lot-calc{width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:16px;background:#fff;color:#111;box-shadow:0 24px 60px rgba(0,0,0,.25);font-family:"Hero Inter",Roboto,Arial,sans-serif}
.lot-calc::backdrop{background:rgba(20,16,14,.55)}
.lot-calc[open]{animation:lot-calc-in .16s ease-out}
@keyframes lot-calc-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.lot-calc__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 4px 20px}
.lot-calc__title{font-size:18px;font-weight:600;line-height:1.3}
.lot-calc__sub{margin-top:4px;font-size:13px;color:#777;line-height:1.4}
.lot-calc__close{flex:0 0 auto;width:34px;height:34px;margin:-4px -4px 0 0;border:0;border-radius:50%;background:#f4f1ed;color:#333;font-size:22px;line-height:34px;cursor:pointer}
.lot-calc__close:hover{background:#ebe7e1}
.lot-calc .lot-card__calc-body{margin:10px 20px 20px;font-size:14px}
body.lot-calc-open{overflow:hidden}
@media (max-width:560px){.lot-calc{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:16px 16px 0 0}.lot-calc[open]{animation-name:lot-calc-up}}
@keyframes lot-calc-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}

/* Защита от старых стилей каталога (.auctions a{min-width:340px}, gap 34px) */
.auctions:has(> .lot-card){gap:12px}
.auctions > .lot-card{margin:0}
.lot-card a{min-width:0}
.lot-card__photo img{min-width:0;min-height:0}
.lot-card__props dd{max-width:170px;overflow:hidden;text-overflow:ellipsis}
