﻿:root {
    --bg: #FFFFFF;
    --bg-alt: #F7F5F0;
    --line: #E4E0D5;
    --ink: #151C24;
    --muted: #666B6F;
    --blue: #3372DF;
    --blue-dark: #255BB8;
    --light-blue: #6FA8F5;
    --brass: #C9821E;
    --brass-bright: #E39A2E;
    --orange: #EF7A22;
    --orange-dark: #D4661A;
    --red-live: #C0392B;
    --header-bg: #0D1826;
    --white: #FFFFFF;
    --hero-banner-height: clamp(200px, 24vw, 320px);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'IBM Plex Sans',sans-serif;
    line-height: 1.5;
}

.mono {
    font-family: 'IBM Plex Mono',monospace;
}

h1, h2, h3 {
    font-family: 'Oswald',sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

@media(max-width:600px) {
    .hero-container {
        padding: 0 16px;
    }
}

/* ---------------- Header ---------------- */
header.site {
    background: var(--blue);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 60;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
}

.logo img {
    height: 35px;
    width: auto;
}

nav.main {
    display: flex;
    gap: 28px;
    font-size: 13.5px;
    color: #DCE6FA;
}

    nav.main a:hover {
        color: #fff;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    padding: 8px 16px;
    border-radius: 5px;
}

    .btn-ghost:hover {
        border-color: #fff;
    }

.btn-onblue {
    background: #fff;
    color: var(--blue-dark);
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
}

    .btn-onblue:hover {
        background: #EDF2FC;
    }

.btn-blue {
    background: var(--blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 500;
}

    .btn-blue:hover {
        background: var(--blue-dark);
    }

/* ---------------- Pulse bar (new) ---------------- */
.pulse-bar {
    background: linear-gradient(90deg,#12202f,#182a3d 60%,#12202f);
    border-top: 1px solid #24384f;
    display: flex;
    align-items: stretch;
    font-family: 'IBM Plex Mono',monospace;
    overflow: hidden;
}

.pulse-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(201,130,30,.14);
    border-right: 1px solid #24384f;
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--brass-bright);
    text-transform: uppercase;
    white-space: nowrap;
}

.dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-live);
    box-shadow: 0 0 0 0 rgba(192,57,43,.6);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(192,57,43,.55);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(192,57,43,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192,57,43,0);
    }
}

.pulse-seg {
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-right: 1px solid #24384f;
    white-space: nowrap;
}

    .pulse-seg .lbl {
        font-size: 9.5px;
        letter-spacing: .1em;
        color: #7c93ac;
        text-transform: uppercase;
    }

    .pulse-seg .val {
        font-size: 15px;
        color: #f3efe6;
        font-weight: 500;
    }

.pulse-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

    .pulse-ticker-wrap::before, .pulse-ticker-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 36px;
        z-index: 2;
        pointer-events: none;
    }

    .pulse-ticker-wrap::before {
        left: 0;
        background: linear-gradient(90deg,#182a3d,transparent);
    }

    .pulse-ticker-wrap::after {
        right: 0;
        background: linear-gradient(270deg,#182a3d,transparent);
    }

.pulse-ticker {
    display: flex;
    gap: 96px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    padding-left: 100%;
    align-items: center;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.pulse-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #c7d3e0;
    flex-shrink: 0;
}

    .pulse-item img {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        object-fit: cover;
        border-radius: 1px;
        flex-shrink: 0;
        display: block;
        opacity: .9;
    }

    .pulse-item b {
        color: #f3efe6;
        font-weight: 500;
    }

    .pulse-item .countdown {
        color: var(--brass-bright);
    }

/* ---------------- Hero carousel ---------------- */
.lots-banner {
    padding-top: 6px;
    margin-bottom: 18px;
}

.lots-banner-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4,1fr);
    gap: 10px;
}

    .lots-banner-grid a {
        position: relative;
        height: 140px;
        border-radius: 10px;
        overflow: hidden;
        display: block;
        background: #e4e0d5;
    }

    .lots-banner-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease,opacity .4s ease;
    }

    .lots-banner-grid a:hover img {
        transform: scale(1.06);
    }

    .lots-banner-grid .cap {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px 12px 8px;
        background: linear-gradient(0deg,rgba(13,24,38,.86),rgba(13,24,38,0));
        color: #fff;
    }

        .lots-banner-grid .cap .n {
            font-size: 11px;
            font-weight: 600;
            line-height: 1.25;
        }

        .lots-banner-grid .cap .p {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 10px;
            color: var(--brass-bright);
            margin-top: 2px;
        }

    .lots-banner-grid .tagline {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--orange);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        padding: 4px 9px;
        border-radius: 20px;
    }

/* ---------------- Active auctions strip ---------------- */
.section {
    padding: 56px 0;
}

/* La franja de subastas (destacados + slider + grilla) arranca justo debajo
   de la marquesina; le achicamos el padding de arriba puntualmente para que
   no se sume al espacio propio de .lots-banner y quede todo más pegado. */
#subastas {
    padding-top: 16px;
}

.section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 26px;
}

    .section-title h2 {
        font-size: 24px;
        color: var(--ink);
    }

    .section-title .eyebrow {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 11px;
        letter-spacing: .12em;
        color: var(--muted);
        text-transform: uppercase;
    }

.ecg-strip {
    position: relative;
    height: 46px;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg,#FBF4E9,#F7F5F0);
    border: 1px solid var(--line);
}

    .ecg-strip svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.ecg-live-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--bg);
    padding-right: 12px;
}

    .ecg-live-label .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red-live);
        box-shadow: 0 0 0 0 rgba(192,57,43,.6);
        animation: pulseDot 1.8s infinite;
    }

    .ecg-live-label span {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 10px;
        letter-spacing: .1em;
        color: var(--muted);
        text-transform: uppercase;
    }

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(192,57,43,.55);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(192,57,43,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192,57,43,0);
    }
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.auction-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow .2s,transform .2s,border-color .2s;
    box-shadow: 0 2px 10px -4px rgba(20,25,20,.1);
    opacity: 0;
    animation: cardIn .55s ease forwards;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auction-card:nth-child(1) {
    animation-delay: .03s;
}

.auction-card:nth-child(2) {
    animation-delay: .09s;
}

.auction-card:nth-child(3) {
    animation-delay: .15s;
}

.auction-card:nth-child(4) {
    animation-delay: .21s;
}

.auction-card:nth-child(5) {
    animation-delay: .27s;
}

.auction-card:nth-child(6) {
    animation-delay: .33s;
}

.auction-card:nth-child(7) {
    animation-delay: .39s;
}

.auction-card:nth-child(8) {
    animation-delay: .45s;
}

.auction-card:nth-child(9) {
    animation-delay: .51s;
}

.auction-card:nth-child(10) {
    animation-delay: .57s;
}

.auction-card:nth-child(11) {
    animation-delay: .63s;
}

.auction-card:nth-child(12) {
    animation-delay: .69s;
}

.auction-card.live-flash {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(239,122,34,.16),0 16px 32px -16px rgba(20,25,20,.28);
    animation: cardIn .55s ease forwards,flashGlow 1.1s ease;
}

@keyframes flashGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(239,122,34,.35);
    }

    30% {
        box-shadow: 0 0 0 6px rgba(239,122,34,.14);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239,122,34,0);
    }
}

.auction-card .stats-row b.bump {
    display: inline-block;
    animation: bump .4s ease;
    color: var(--orange);
}

@keyframes bump {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.28);
    }

    100% {
        transform: scale(1);
    }
}

.live-toast {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translate(-50%,-6px);
    background: var(--orange);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease,transform .25s ease;
    z-index: 3;
}

    .live-toast.show {
        opacity: 1;
        transform: translate(-50%,0);
    }

.auction-card:hover {
    box-shadow: 0 16px 32px -16px rgba(20,25,20,.28);
    transform: translateY(-2px);
    border-color: #cfd6dc;
}

.auction-card {
    position: relative;
}

.auction-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.auction-card .actions {
    position: relative;
    z-index: 2;
}

.auction-card .date-bar {
    background: #1CA9DE;
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    padding: 9px 8px;
    letter-spacing: .01em;
}

.auction-card .logo-wrap {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    background: #fff;
}

    .auction-card .logo-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.auction-card .body {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.auction-card .t {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 34px;
    margin-bottom: 10px;
    color: var(--blue-dark);
    text-transform: uppercase;
}

.auction-card .stats-row {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 14px;
}

    .auction-card .stats-row b {
        color: var(--ink);
        font-weight: 600;
    }

    .auction-card .stats-row .sep {
        margin: 0 6px;
        color: #c7c2b5;
    }

.countdown-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

    .countdown-block .lbl {
        font-size: 10px;
        color: var(--muted);
        line-height: 1.25;
        width: 44px;
        flex-shrink: 0;
    }

.countdown-row {
    display: flex;
    gap: 5px;
    flex: 1;
}

    .countdown-row .box {
        flex: 1;
        background: var(--ink);
        border: 1px solid var(--ink);
        border-radius: 6px;
        text-align: center;
        padding: 5px 1px;
        position: relative;
        overflow: hidden;
    }

        .countdown-row .box::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            height: 1px;
            background: rgba(255,255,255,.14);
        }

        .countdown-row .box .n {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            display: block;
        }

            .countdown-row .box .n.flip {
                animation: flipTile .5s cubic-bezier(.4,0,.2,1);
            }

@keyframes flipTile {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }

    45% {
        transform: rotateX(90deg);
        opacity: .3;
    }

    55% {
        transform: rotateX(-90deg);
        opacity: .3;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.countdown-row .box.secs {
    background: var(--orange);
    border-color: var(--orange);
}

.countdown-row .box .u {
    font-size: 7.5px;
    color: var(--brass-bright);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}

.countdown-row .box.secs .u {
    color: rgba(255,255,255,.85);
}

.auction-card .actions {
    margin-top: auto;
}

.btn-offer {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--orange);
    color: #fff;
    padding: 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 0;
}

    .btn-offer:hover {
        background: var(--orange-dark);
    }

    .btn-offer.sold {
        background: var(--muted);
        pointer-events: none;
    }

/* ---------------- Stats strip ---------------- */
.stats-strip {
    background: var(--header-bg);
    color: #fff;
    padding: 26px 0;
}

.stats-inner {
    display: flex;
    justify-content: center;
    gap: 70px;
}

    .stats-inner .s {
        text-align: center;
    }

    .stats-inner b {
        display: block;
        font-family: 'IBM Plex Mono',monospace;
        font-size: 28px;
        color: var(--brass-bright);
    }

    .stats-inner span {
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #9fb0c2;
    }

/* ---------------- CTA banner ---------------- */
.cta-banner {
    position: relative;
    background: #0D1826;
    color: #fff;
    padding: 70px 0;
    text-align: center;
    background-image: linear-gradient(rgba(13,24,38,.78),rgba(13,24,38,.9)), url('https://test.agustisubastas.com.ar/images/cta%20agustin.png');
    background-size: cover;
    background-position: center;
}

    .cta-banner h2 {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .cta-banner .years {
        height: 34px;
        margin: 0 auto 20px;
    }

    .cta-banner p {
        color: #c7d3e0;
        font-size: 13.5px;
        margin-bottom: 26px;
    }

    .cta-banner .btn-blue {
        padding: 12px 26px;
        font-size: 14px;
    }

/* ---------------- Categorías ---------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
}

.cat-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 14px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
}

    .cat-card img {
        width: 32px;
        height: 32px;
        margin: 0 auto 12px;
    }

    .cat-card:hover {
        border-color: var(--blue);
    }

/* ---------------- Lotes destacados / ventas ---------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
}

    .card-grid.two {
        grid-template-columns: repeat(2,1fr);
        max-width: 640px;
    }

.lot-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

    .lot-card .ph {
        height: 110px;
        overflow: hidden;
    }

        .lot-card .ph img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .lot-card .body {
        padding: 12px 14px 14px;
    }

    .lot-card .tag {
        font-size: 9.5px;
        letter-spacing: .08em;
        color: var(--blue);
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .lot-card .t {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        min-height: 48px;
    }

    .lot-card .price {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 13px;
        color: var(--ink);
        margin-top: 8px;
    }

    .lot-card .visits {
        font-size: 10.5px;
        color: var(--muted);
        margin-top: 4px;
    }

/* ---------------- final CTA + newsletter ---------------- */
.cta-final {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 56px 0;
    text-align: center;
}

    .cta-final h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .cta-final p {
        color: var(--muted);
        font-size: 13.5px;
        margin-bottom: 22px;
    }

/* variante oscura (formulario de contacto tipo imagen) */
.cta-final--dark {
    background: #000;
    border-top: none;
    border-bottom: none;
    text-align: left;
    padding: 64px 0;
}

    .cta-final--dark h2 {
        color: #fff;
        text-align: left;
        font-size: 32px;
    }

    .cta-final--dark .contact-lead {
        color: #fff;
        font-weight: 600;
        max-width: 620px;
    }

/* form de contacto (dentro de .cta-final) */
.contact-lead {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 22px;
    text-align: left;
}

.form-contact__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 64px;
    text-align: left;
}

.form-contact__col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-contact__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .field label {
        font-weight: 700;
        font-size: 14px;
        color: var(--ink);
    }

    .field .form-control {
        width: 100%;
    }

    .field .validation-message {
        color: #d32f2f;
        font-size: 12px;
    }

.field--grow {
    flex: 1 1 auto;
}

    .field--grow .form-control {
        min-height: 160px;
    }

.field--checkbox {
    gap: 0;
}

/* Inputs estilo "línea" para el formulario oscuro */
.cta-final--dark .field label {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 0;
}

.cta-final--dark .field .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.5);
    border-radius: 0;
    color: #fff;
    padding: 6px 2px 12px;
    font-size: 14px;
    transition: border-color .2s;
}

    .cta-final--dark .field .form-control::placeholder {
        color: rgba(255,255,255,.45);
    }

    .cta-final--dark .field .form-control:focus {
        outline: none;
        border-bottom-color: #fff;
    }

.cta-final--dark .field--grow .form-control {
    min-height: 190px;
    resize: none;
}

.cta-final--dark .checkbox-container {
    color: #fff;
}

.cta-final--dark .field .validation-message {
    color: #ff8a80;
}

.btn-pill-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 13px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background .2s, color .2s;
}

    .btn-pill-outline:hover {
        background: #fff;
        color: #000;
    }

@media (max-width: 768px) {
    .form-contact__cols {
        grid-template-columns: 1fr;
    }
}

.newsletter {
    padding: 56px 0;
    text-align: center;
}

    .newsletter h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .newsletter p {
        color: var(--muted);
        font-size: 13px;
        margin-bottom: 20px;
    }

    .newsletter form {
        display: flex;
        justify-content: center;
        gap: 10px;
        max-width: 420px;
        margin: 0 auto;
    }

    .newsletter input {
        flex: 1;
        padding: 11px 14px;
        border: 1px solid var(--line);
        border-radius: 6px;
        font-size: 13px;
    }

/* ---------------- Footer ---------------- */
footer.site {
    background: var(--header-bg);
    color: #B9C4D1;
    padding: 56px 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

    .footer-top .logo img {
        height: 24px;
        margin-bottom: 14px;
    }

    .footer-top p {
        font-size: 12.5px;
        color: #7c93ac;
        margin-bottom: 6px;
    }

.footer-col h4 {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    font-size: 12.5px;
    margin-bottom: 9px;
    color: #9fb0c2;
}

.footer-bottom {
    border-top: 1px solid #1c2c3d;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #5c7188;
}

    .footer-bottom img {
        height: 26px;
    }

@media(max-width:1100px) {
    .auction-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lots-banner-grid {
        grid-template-columns: repeat(3,1fr);
    }

        .lots-banner-grid a:first-child {
            grid-column: span 3;
        }
}

@media(max-width:900px) {
    nav.main {
        display: none;
    }

    .cat-grid, .card-grid, .auction-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .auction-grid {
        grid-template-columns: 1fr;
    }

    .lots-banner-grid {
        grid-template-columns: repeat(2,1fr);
    }

        .lots-banner-grid a:first-child {
            grid-column: span 2;
        }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .stats-inner {
        gap: 36px;
    }
}

/* Mid banner — mismo armazón que .hero (radio, sombra, bg + velo); altura mínima como hero, puede crecer si el contenido lo pide */
.mid-banner {
    position: relative;
    min-height: var(--hero-banner-height);
    max-width: 1240px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.mid-banner__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #0a1f30;
}

.mid-banner__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mid-banner__dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,24,38,.45), rgba(13,24,38,.78));
}

.mid-banner__content {
    position: relative;
    z-index: 1;
    padding: 30px 1rem 30px;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    box-sizing: border-box;
}

.mid-banner__graphics {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem clamp(1.5rem, 4.5vw, 2.75rem);
}

.mid-banner__logo-img {
    width: auto;
    max-width: min(48%, 13rem);
    height: auto;
    flex-shrink: 0;
}

.mid-banner__years-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.4rem 0.55rem;
    border: 4px solid var(--light-blue);
    border-radius: 22px;
    box-sizing: border-box;
    max-width: min(48vw, 11.5rem);
}

.mid-banner__years-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}

.btn--orange {
    background: var(--orange);
    color: #fff;
}

    .btn--orange:hover {
        background: var(--orange-dark);
    }

.mid-banner .btn--lg {
    padding: 0.7rem 1.6rem;
    font-size: 0.9375rem;
    border-radius: 200px;
}

.mid-banner .btn--lg.btn--orange {
    font-size: 1rem;
    font-weight: 700;
    width: auto;
    max-width: 100%;
}

.mid-banner .btn--lg.btn--orange:hover {
    transform: translateY(-1px);
}

.mid-banner__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    max-width: 36rem;
}

.mid-banner__iso {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

.mid-banner__headline {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.mid-banner__stats {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.92);
}

.mid-banner__stats-sep {
    margin: 0 0.35rem;
    opacity: 0.85;
}

/* ---------------- LOTES ---------------- */

/* ---------------- Encabezado de subasta ---------------- */
.auction-header {
    position: relative;
    background: var(--bg-alt);
    color: var(--ink);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.ah-inner {
    position: relative;
    z-index: 1;
    padding: 30px 0 26px;
}

.ah-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ah-org {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald',sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--blue-dark);
    flex-shrink: 0;
    overflow: hidden;
}

    .ah-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
    }

.ah-org-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.ah-org-role {
    font-size: 11px;
    color: var(--muted);
}

.ah-status {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .ah-status.activa {
        background: rgba(192,57,43,.1);
        color: var(--red-live);
    }

        .ah-status.activa .d {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--red-live);
            animation: pulseDot 1.6s infinite;
        }

    .ah-status.proxima {
        background: rgba(227,154,46,.14);
        color: var(--brass);
    }

.ah-title {
    font-size: 26px;
    line-height: 1.22;
    color: var(--ink);
    max-width: 820px;
    margin-bottom: 10px;
}

.ah-desc {
    font-size: 13.5px;
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 24px;
    line-height: 1.55;
}

.ah-meta-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 22px;
}

.ah-meta-item {
    padding: 14px 16px;
    border-right: 1px solid var(--line);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: background .2s;
}

    .ah-meta-item:hover {
        background: var(--bg-alt);
    }

    .ah-meta-item:last-child {
        border-right: none;
    }

    .ah-meta-item svg {
        width: 16px;
        height: 16px;
        color: var(--blue);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .ah-meta-item .lbl {
        font-size: 9.5px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 3px;
    }

    .ah-meta-item .val {
        font-size: 13px;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.3;
    }

.ah-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ah-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ah-countdown .lbl2 {
        font-size: 10.5px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .ah-countdown .crow {
        display: flex;
        gap: 6px;
    }

    .ah-countdown .cbox {
        background: var(--ink);
        border: 1px solid var(--ink);
        border-radius: 6px;
        padding: 6px 10px;
        text-align: center;
        min-width: 44px;
    }

        .ah-countdown .cbox .n {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            display: block;
        }

        .ah-countdown .cbox .u {
            font-size: 8px;
            color: var(--brass-bright);
            text-transform: uppercase;
            letter-spacing: .05em;
        }

.ah-actions {
    display: flex;
    gap: 10px;
}

.btn-outline-dark {
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.btn-outline-dark:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-solid-blue {
    background: var(--blue);
    color: #fff;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.btn-solid-blue:hover {
    background: var(--blue-dark);
}

.btn-solid-orange {
    background: var(--orange);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-solid-orange:hover {
    background: var(--orange-dark);
}

.btn-live-act {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-live);
    color: #fff;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    animation: liveActBlink 1.7s ease-in-out infinite;
}

.btn-live-act:hover {
    background: #a8332a;
}

.btn-live-act .rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: liveActDot 1.7s ease-in-out infinite;
}

@keyframes liveActBlink {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(192,57,43,.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(192,57,43,0);
    }
}

@keyframes liveActDot {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .25;
    }
}

@media(max-width:1100px) {
    .ah-meta-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .ah-meta-item:nth-child(3) {
        border-right: none;
    }
}

@media(max-width:700px) {
    .ah-title {
        font-size: 20px;
    }

    .ah-meta-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .ah-meta-item:nth-child(3) {
        border-right: 1px solid var(--line);
    }

    .ah-meta-item:nth-child(2n) {
        border-right: none;
    }

    .ah-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ah-actions {
        width: 100%;
    }

        .ah-actions a {
            flex: 1;
            text-align: center;
        }
}

/* ---------------- Breadcrumb / page title ---------------- */
.page-head {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.crumbs {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 10px;
}

    .crumbs a:hover {
        color: var(--blue);
    }

    .crumbs .sep {
        margin: 0 6px;
        color: #c7c2b5;
    }

.page-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-head h1 {
    font-size: 26px;
    color: var(--ink);
}

.page-head .count {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

    .page-head .count b {
        color: var(--ink);
    }

.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box {
    position: relative;
}

    .search-box input {
        width: 260px;
        padding: 10px 14px 10px 36px;
        border: 1px solid var(--line);
        border-radius: 6px;
        font-size: 13px;
        background: #fff;
    }

        .search-box input:focus {
            outline: 2px solid var(--blue);
            outline-offset: 1px;
        }

    .search-box svg {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        color: var(--muted);
    }

select.sort-select {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: var(--ink);
}

.btn-filters-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

    .btn-filters-mobile svg {
        width: 14px;
        height: 14px;
    }

/* ---------------- Layout: sidebar + grid ---------------- */
.lots-layout {
    display: grid;
    grid-template-columns: 238px 1fr;
    gap: 32px;
    padding: 32px 0 64px;
    align-items: start;
}

.filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 110px;
}

.filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .filters-head h3 {
        font-size: 13px;
        letter-spacing: .06em;
    }

    .filters-head button {
        font-size: 11.5px;
        color: var(--blue);
        font-weight: 600;
    }

        .filters-head button:hover {
            color: var(--blue-dark);
        }

.filter-group {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

    .filter-group:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    .filter-group .fg-title {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 11px;
        color: var(--ink);
    }

.chk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    padding: 5px 0;
    cursor: pointer;
}

    .chk:hover {
        color: var(--ink);
    }

    .chk .left {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .chk input {
        width: 14px;
        height: 14px;
        accent-color: var(--blue);
    }

    .chk .n {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 10.5px;
        color: #a9a49a;
    }

.status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .status-pills button {
        font-size: 11.5px;
        padding: 6px 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        color: var(--muted);
    }

        .status-pills button.active {
            background: var(--ink);
            color: #fff;
            border-color: var(--ink);
        }

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .price-inputs input {
        width: 100%;
        padding: 8px 9px;
        border: 1px solid var(--line);
        border-radius: 5px;
        font-size: 12px;
    }

    .price-inputs span {
        color: var(--muted);
        font-size: 12px;
    }

.btn-apply {
    width: 100%;
    background: var(--orange);
    color: #fff;
    padding: 11px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-top: 6px;
}

    .btn-apply:hover {
        background: var(--orange-dark);
    }

/* ---------------- Category chip scroller (mobile) ---------------- */
.cat-scroller {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 0 4px;
}

    .cat-scroller::-webkit-scrollbar {
        display: none;
    }

.cat-chip {
    flex-shrink: 0;
    font-size: 12px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--muted);
    white-space: nowrap;
    background: #fff;
}

    .cat-chip.active {
        background: var(--blue);
        color: #fff;
        border-color: var(--blue);
    }

/* ---------------- Lot grid ---------------- */
.lot-grid-page {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.lot-grid-page-lote {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.lot-card-full {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s,transform .2s,border-color .2s;
    box-shadow: 0 2px 10px -4px rgba(20,25,20,.1);
    opacity: 0;
    animation: cardIn .5s ease forwards;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lot-grid-page .lot-card-full:nth-child(1) {
    animation-delay: .02s;
}

.lot-grid-page .lot-card-full:nth-child(2) {
    animation-delay: .06s;
}

.lot-grid-page .lot-card-full:nth-child(3) {
    animation-delay: .10s;
}

.lot-grid-page .lot-card-full:nth-child(4) {
    animation-delay: .14s;
}

.lot-grid-page .lot-card-full:nth-child(5) {
    animation-delay: .18s;
}

.lot-grid-page .lot-card-full:nth-child(6) {
    animation-delay: .22s;
}

.lot-grid-page .lot-card-full:nth-child(n+7) {
    animation-delay: .26s;
}

.lot-card-full:hover {
    box-shadow: 0 16px 32px -16px rgba(20,25,20,.28);
    transform: translateY(-2px);
    border-color: #cfd6dc;
}

.lot-card-full .lot-num {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(13,24,38,.78);
    color: #fff;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: .03em;
}

.lot-card-full .lot-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lot-card-full .lot-fav svg {
        width: 14px;
        height: 14px;
        color: var(--ink);
    }

.lot-card-full .ph {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #eee;
}

    .lot-card-full .ph img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

    /* La galería reutiliza .gallery-stage/.gallery-main de la página de detalle,
       que traen su propio alto/borde/fondo pensados para un visor grande.
       Acá los neutralizamos para que ocupen exactamente el alto de .ph
       y no generen un "marco dentro del marco" que deforma la imagen. */
    .lot-card-full .ph .gallery-stage {
        height: 100%;
        width: 100%;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .lot-card-full .ph .gallery-main {
        height: 100%;
        width: 100%;
        position: relative;
    }

        /* Solo se muestra la imagen activa; las demás quedan apiladas
           (position:absolute) para no sumar alto y así poder rotarlas con JS. */
        .lot-card-full .ph .gallery-main img {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity .6s ease;
        }

            .lot-card-full .ph .gallery-main img.active {
                opacity: 1;
            }

.lot-card-full:hover .ph img {
    transform: scale(1.06);
}

/* Flechas más chicas, a la medida de la miniatura de la card (no del visor grande),
   sin fondo: solo el ícono, con sombra para que se lea sobre cualquier foto */
.lot-card-full .gallery-arrow {
    width: 30px;
    height: 30px;
    background: transparent;
    box-shadow: none;
}

    .lot-card-full .gallery-arrow:hover {
        background: transparent;
    }

    .lot-card-full .gallery-arrow.prev {
        left: 4px;
    }

    .lot-card-full .gallery-arrow.next {
        right: 4px;
    }

    .lot-card-full .gallery-arrow svg {
        width: 18px;
        height: 18px;
        color: #fff;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,.65));
    }

.lot-card-full .body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lot-card-full .tag {
    font-size: 9.5px;
    letter-spacing: .08em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.lot-card-full .t {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.32;
    min-height: 33px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lot-card-full .price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lot-card-full .price {
    font-family: 'IBM Plex Mono',monospace;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
}

    .lot-card-full .price.consult {
        font-size: 11.5px;
        color: var(--muted);
        font-weight: 500;
    }

.lot-card-full .bids {
    font-size: 10px;
    color: var(--muted);
}

    .lot-card-full .bids b {
        color: var(--orange);
    }

.lot-card-full .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 10px;
}

    .lot-card-full .meta-row .visits {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .lot-card-full .meta-row svg {
        width: 11px;
        height: 11px;
    }

.lot-card-full .mini-countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 10px;
    font-family: 'IBM Plex Mono',monospace;
}

    .lot-card-full .mini-countdown .lbl {
        font-size: 8.5px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .lot-card-full .mini-countdown .time {
        font-size: 11px;
        font-weight: 700;
        color: var(--ink);
        margin-left: auto;
        transition: color .2s;
    }

        .lot-card-full .mini-countdown .time.tick {
            animation: tickPulse .5s ease;
        }

@keyframes tickPulse {
    0% {
        transform: scale(1.12);
        opacity: .55;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lot-card-full .mini-countdown.closing .time {
    color: var(--red-live);
}

.lot-card-full .mini-countdown.closing {
    border-color: rgba(192,57,43,.35);
    background: rgba(192,57,43,.06);
    animation: closingGlow 1.6s ease infinite;
}

@keyframes closingGlow {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(192,57,43,0);
    }

    50% {
        box-shadow: 0 0 0 3px rgba(192,57,43,.12);
    }
}

.lot-card-full .actions {
    margin-top: auto;
}

.btn-offer-sm {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--orange);
    color: #fff;
    padding: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 6px;
}

    .btn-offer-sm:hover {
        background: var(--orange-dark);
    }

    .btn-offer-sm.sold {
        background: var(--muted);
        pointer-events: none;
    }

.lot-card-full.live-flash {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(239,122,34,.16),0 16px 32px -16px rgba(20,25,20,.28);
}

.live-toast-sm {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translate(-50%,-4px);
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity .25s ease,transform .25s ease;
}

    .live-toast-sm.show {
        opacity: 1;
        transform: translate(-50%,4px);
    }

/* ---------------- Pagination ---------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 36px;
}

    .pagination button {
        min-width: 34px;
        height: 34px;
        border: 1px solid var(--line);
        border-radius: 6px;
        font-size: 12.5px;
        color: var(--ink);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .pagination button.active {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
        }

        .pagination button:hover:not(.active):not(:disabled) {
            border-color: var(--blue);
            color: var(--blue);
        }

        .pagination button:disabled {
            opacity: .4;
        }

/* ---------------- Mobile filter drawer ---------------- */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,24,38,.55);
    z-index: 90;
}

    .drawer-overlay.open {
        display: block;
    }

.drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 91;
    padding: 20px;
    overflow-y: auto;
    transition: right .28s ease;
}

    .drawer.open {
        right: 0;
    }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .drawer-head h3 {
        font-size: 15px;
    }

.drawer-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--muted);
}

/* ---------------- Footer (idéntico al home) ---------------- */
footer.site {
    background: var(--header-bg);
    color: #B9C4D1;
    padding: 56px 0 24px;
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

    .footer-top .logo img {
        height: 24px;
        margin-bottom: 14px;
    }

    .footer-top p {
        font-size: 12.5px;
        color: #7c93ac;
        margin-bottom: 6px;
    }

.footer-col h4 {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    font-size: 12.5px;
    margin-bottom: 9px;
    color: #9fb0c2;
}

.footer-bottom {
    border-top: 1px solid #1c2c3d;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #5c7188;
}

    .footer-bottom img {
        height: 26px;
    }

/* ---------------- Responsive ---------------- */
@media(max-width:1100px) {
    .lots-layout {
        grid-template-columns: 200px 1fr;
        gap: 22px;
    }

    .lot-grid-page {
        grid-template-columns: repeat(2,1fr);
    }

    .lot-grid-page-lote {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:900px) {
    nav.main {
        display: none;
    }

    .filters {
        display: none;
    }

    .cat-scroller {
        display: flex;
    }

    .lots-layout {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .btn-filters-mobile {
        display: flex;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .page-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .search-row {
        width: 100%;
    }

    .search-box {
        flex: 1;
    }

        .search-box input {
            width: 100%;
        }
}
/* ---------------- Badge "en vivo" en la card ---------------- */
.live-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--red-live);
    margin-bottom: 5px;
}

    .live-badge-mini .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--red-live);
        box-shadow: 0 0 0 0 rgba(192,57,43,.6);
        animation: pulseDot 1.6s infinite;
    }

@media(max-width:600px) {
    .wrap {
        padding: 0 16px;
    }

    .header-row {
        padding: 14px 16px;
    }

    /* Un lote por fila, en formato horizontal (foto a la izquierda) */
    .lot-grid-page {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lot-grid-page-lote {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lot-card-full {
        flex-direction: row;
        align-items: stretch;
    }

        .lot-card-full .ph {
            width: 118px;
            min-width: 118px;
            height: 118px;
            overflow: hidden;
        }

        .lot-card-full .body {
            padding: 10px 12px;
            flex: 1;
            min-width: 0;
        }

        .lot-card-full .t {
            font-size: 12.5px;
            min-height: 0;
            margin-bottom: 6px;
            -webkit-line-clamp: 2;
        }

        .lot-card-full .tag {
            font-size: 9px;
            margin-bottom: 4px;
        }

        .lot-card-full .price {
            font-size: 13px;
        }

        .lot-card-full .price-row {
            margin-bottom: 5px;
        }

        .lot-card-full .meta-row {
            font-size: 9.5px;
            margin-bottom: 6px;
        }

        .lot-card-full .mini-countdown {
            padding: 5px 8px;
            margin-bottom: 7px;
        }

            .lot-card-full .mini-countdown .lbl {
                font-size: 8px;
            }

            .lot-card-full .mini-countdown .time {
                font-size: 10.5px;
            }

    .btn-offer-sm {
        padding: 9px;
        font-size: 10.5px;
    }

    .lot-card-full .lot-num {
        font-size: 9px;
        padding: 2px 7px;
        top: 7px;
        left: 7px;
    }

    .lot-card-full .lot-fav {
        width: 22px;
        height: 22px;
        top: 7px;
        right: 7px;
    }

    .lot-card-full .lot-fav svg {
        width: 12px;
        height: 12px;
    }

    .lot-card-full .lot-fav .fav {
        color: var(--orange);
    }

    .page-head h1 {
        font-size: 20px;
    }

    .pulse-seg {
        padding: 8px 12px;
    }

        .pulse-seg .lbl {
            display: none;
        }
}


/* LOTES DETALLE*/
/* ---------------- Layout ---------------- */
.detail-layout {
    display: grid;
    grid-template-columns: 1.62fr 1fr;
    gap: 32px;
    padding: 30px 0 20px;
    align-items: start;
}

/* ---------------- Title block (mobile shows above gallery) ---------------- */
.title-block {
    display: none;
    margin-bottom: 14px;
}

    .title-block .tag-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

.lot-tag {
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 600;
}

.status-badge {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .status-badge.activo {
        background: rgba(192,57,43,.1);
        color: var(--red-live);
    }

        .status-badge.activo .d {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--red-live);
            animation: pulseDot 1.6s infinite;
        }

.title-block h1 {
    font-size: 20px;
    line-height: 1.28;
}

/* ---------------- Gallery ---------------- */
.gallery-mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mode-tab {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .mode-tab svg {
        width: 13px;
        height: 13px;
    }

    .mode-tab.active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }

    .mode-tab .ribbon360 {
        background: var(--orange);
        color: #fff;
        font-size: 8.5px;
        padding: 2px 6px;
        border-radius: 8px;
        margin-left: 2px;
    }

.gallery-stage {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    border: 1px solid var(--line);
}

.gallery-main {
    position: relative;
    height: 440px;
}

    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* El fundido entre imágenes (position absolute + opacity) es solo para la
   galería de fotos apiladas (#mainImgWrap). El visor 360 (#mainImgWrap360)
   usa una única <img> que va cambiando de src, así que se queda con las
   reglas base de arriba y no necesita este comportamiento. */
#mainImgWrap img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
}

    #mainImgWrap img.active {
        opacity: 1;
    }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: none;
}

    .gallery-arrow:hover {
        background: transparent;
    }

    .gallery-arrow.prev {
        left: 10px;
    }

    .gallery-arrow.next {
        right: 10px;
    }

    .gallery-arrow svg {
        width: 22px;
        height: 22px;
        color: #fff;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,.65));
    }

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13,24,38,.72);
    color: #fff;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
}

.gallery-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

    .gallery-fav svg {
        width: 16px;
        height: 16px;
        color: var(--ink);
    }

    .gallery-fav.active svg {
        color: var(--red-live);
        fill: var(--red-live);
    }

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

    .gallery-thumbs::-webkit-scrollbar {
        height: 5px;
    }

    .gallery-thumbs::-webkit-scrollbar-thumb {
        background: var(--line);
        border-radius: 10px;
    }

.thumb {
    flex-shrink: 0;
    width: 76px;
    height: 56px;
    border-radius: 7px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: .65;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumb.active {
        border-color: var(--blue);
        opacity: 1;
    }

    .thumb:hover {
        opacity: 1;
    }

/* ---------------- 360 viewer ---------------- */
.viewer360 {
    display: none;
}

    .viewer360.active {
        display: block;
    }

    .viewer360 .gallery-stage {
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }

        .viewer360 .gallery-stage.dragging {
            cursor: grabbing;
        }

    .viewer360 .gallery-main img {
        pointer-events: none;
        -webkit-user-drag: none;
    }

.spin-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(13,24,38,.32);
    color: #fff;
    z-index: 4;
    pointer-events: none;
    transition: opacity .35s ease;
}

    .spin-hint.hide {
        opacity: 0;
    }

    .spin-hint .icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(255,255,255,.16);
        display: flex;
        align-items: center;
        justify-content: center;
        animation: spinHintMove 1.6s ease-in-out infinite;
    }

        .spin-hint .icon svg {
            width: 26px;
            height: 26px;
        }

@keyframes spinHintMove {
    0%,100% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(8px);
    }
}

.spin-hint span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: rgba(13,24,38,.55);
    padding: 6px 14px;
    border-radius: 20px;
}

.spin-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
}

    .spin-dots .sd {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,.45);
    }

        .spin-dots .sd.active {
            background: #fff;
            width: 14px;
            border-radius: 4px;
        }

.spin-360-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .spin-360-badge svg {
        width: 12px;
        height: 12px;
    }

/* ---------------- Quick facts row ---------------- */
.quick-facts {
    display: flex;
    gap: 0;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.qf {
    flex: 1;
    padding: 13px 14px;
    border-right: 1px solid var(--line);
}

    .qf:last-child {
        border-right: none;
    }

    .qf .lbl {
        font-size: 9.5px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 4px;
    }

    .qf .val {
        font-size: 13px;
        font-weight: 600;
        color: var(--ink);
    }

/* ---------------- Secciones de info del lote (antes tabs, ahora todo visible) ---------------- */
.lot-info-sections {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lot-info-section {
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

    .lot-info-section:first-child {
        padding-top: 0;
        border-top: none;
    }

    .lot-info-section h3 {
        font-size: 15px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 14px;
    }

    .lot-info-section p {
        font-size: 13.5px;
        color: #3a4046;
        margin-bottom: 12px;
    }

        .lot-info-section p:last-child {
            margin-bottom: 0;
        }

/* Contenido HTML embebido (ej: Observaciones del lote viene con etiquetas <p>, <ul>, <b>, etc.) */
.rich-text {
    font-size: 13.5px;
    color: #3a4046;
    line-height: 1.6;
}

    .rich-text p {
        margin-bottom: 12px;
    }

        .rich-text p:last-child {
            margin-bottom: 0;
        }

    .rich-text ul, .rich-text ol {
        margin: 0 0 12px 20px;
    }

    .rich-text li {
        margin-bottom: 6px;
    }

    .rich-text strong, .rich-text b {
        color: var(--ink);
        font-weight: 700;
    }

    .rich-text a {
        color: var(--blue);
        text-decoration: underline;
    }

        .rich-text a:hover {
            color: var(--blue-dark);
        }

    .rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 {
        font-size: 14px;
        font-weight: 700;
        color: var(--ink);
        margin: 16px 0 8px;
    }

        .rich-text h1:first-child, .rich-text h2:first-child, .rich-text h3:first-child,
        .rich-text h4:first-child, .rich-text h5:first-child, .rich-text h6:first-child {
            margin-top: 0;
        }

    .rich-text img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 10px 0;
        display: block;
    }

    .rich-text table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 12px;
    }

        .rich-text table td, .rich-text table th {
            padding: 8px 6px;
            border-bottom: 1px solid var(--line);
            font-size: 13px;
            text-align: left;
        }

    .rich-text hr {
        border: none;
        border-top: 1px solid var(--line);
        margin: 14px 0;
    }


.spec-table {
    width: 100%;
    border-collapse: collapse;
}

    .spec-table tr {
        border-bottom: 1px solid var(--line);
    }

        .spec-table tr:last-child {
            border-bottom: none;
        }

    .spec-table td {
        padding: 11px 6px;
        font-size: 13px;
    }

        .spec-table td:first-child {
            color: var(--muted);
            width: 44%;
        }

        .spec-table td:last-child {
            font-weight: 600;
        }

.cond-list {
    list-style: none;
}

    .cond-list li {
        display: flex;
        gap: 10px;
        padding: 9px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
        color: #3a4046;
    }

        .cond-list li:last-child {
            border-bottom: none;
        }

    .cond-list svg {
        width: 16px;
        height: 16px;
        color: var(--blue);
        flex-shrink: 0;
        margin-top: 1px;
    }

.map-placeholder {
    height: 220px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(0deg,rgba(51,114,223,.06),rgba(51,114,223,.06)), repeating-linear-gradient(45deg,#f2efe8,#f2efe8 10px,#ece8de 10px,#ece8de 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12.5px;
    gap: 8px;
}

    .map-placeholder svg {
        width: 16px;
        height: 16px;
        color: var(--blue);
    }

/* ---------------- Preguntas ---------------- */
.ask-box {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
}

    .ask-box h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .ask-box textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 11px;
        font-size: 13px;
        font-family: inherit;
        resize: vertical;
        min-height: 70px;
        margin-bottom: 10px;
    }

        .ask-box textarea:focus {
            outline: 2px solid var(--blue);
            outline-offset: 1px;
        }

/* ---------------- Sidebar / bid panel ---------------- */
.bid-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    position: sticky;
    top: 106px;
}

    .bid-panel .tag-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .bid-panel h1 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

.price-block {
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

    .price-block .lbl {
        font-size: 10px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 5px;
    }

    .price-block .amount {
        font-family: 'IBM Plex Mono',monospace;
        font-size: 26px;
        font-weight: 700;
        color: var(--ink);
    }

    .price-block .sub {
        font-size: 11.5px;
        color: var(--muted);
        margin-top: 6px;
    }

        .price-block .sub b {
            color: var(--ink);
        }

.countdown-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

    .countdown-block .lbl2 {
        font-size: 10px;
        color: var(--muted);
        line-height: 1.25;
        width: 50px;
        flex-shrink: 0;
        text-transform: uppercase;
    }

.countdown-row {
    display: flex;
    gap: 5px;
    flex: 1;
}

    .countdown-row .box {
        flex: 1;
        background: var(--ink);
        border: 1px solid var(--ink);
        border-radius: 6px;
        text-align: center;
        padding: 6px 1px;
        position: relative;
        overflow: hidden;
    }

        .countdown-row .box .n {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            display: block;
        }

            .countdown-row .box .n.flip {
                animation: flipTile .5s cubic-bezier(.4,0,.2,1);
            }

@keyframes flipTile {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }

    45% {
        transform: rotateX(90deg);
        opacity: .3;
    }

    55% {
        transform: rotateX(-90deg);
        opacity: .3;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.countdown-row .box.secs {
    background: var(--orange);
    border-color: var(--orange);
}

.countdown-row .box .u {
    font-size: 7.5px;
    color: var(--brass-bright);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}

.countdown-row .box.secs .u {
    color: rgba(255,255,255,.85);
}

.bid-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

    .bid-input-row input {
        flex: 1;
        padding: 12px 12px;
        border: 1px solid var(--line);
        border-radius: 7px;
        font-size: 14px;
        font-family: 'IBM Plex Mono',monospace;
    }

        .bid-input-row input:focus {
            outline: 2px solid var(--blue);
            outline-offset: 1px;
        }

.quick-bids {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
}

    .quick-bids button {
        flex: 1;
        font-size: 11.5px;
        font-weight: 600;
        padding: 8px 4px;
        border: 1px solid var(--line);
        border-radius: 7px;
        color: var(--ink);
    }

        .quick-bids button:hover {
            border-color: var(--blue);
            color: var(--blue);
        }

.btn-offer-lg {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--orange);
    color: #fff;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 8px;
    margin-bottom: 8px;
}

    .btn-offer-lg:hover {
        background: var(--orange-dark);
    }

.bid-hint {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 18px;
}

.bid-history {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

    .bid-history .bh-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

        .bid-history .bh-head h4 {
            font-size: 11.5px;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .bid-history .bh-head span {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11px;
            color: var(--muted);
        }

.bh-list {
    list-style: none;
    max-height: 190px;
    overflow-y: auto;
}

    .bh-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--line);
        font-size: 12.5px;
    }

        .bh-list li:last-child {
            border-bottom: none;
        }

    .bh-list .who {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--ink);
    }

    .bh-list .avatar {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--blue);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bh-list .amt {
        font-family: 'IBM Plex Mono',monospace;
        font-weight: 600;
        color: var(--ink);
    }

    .bh-list li.new .amt {
        animation: tickPulse .5s ease;
        color: var(--orange);
    }

@keyframes tickPulse {
    0% {
        transform: scale(1.15);
        opacity: .5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bh-list .when {
    font-size: 10.5px;
    color: var(--muted);
}

.bh-list li:first-child .amt::after {
    content: " ★";
    color: var(--brass-bright);
    font-size: 10px;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

    .share-row span {
        font-size: 11px;
        color: var(--muted);
        margin-right: 2px;
    }

.share-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .share-btn svg {
        width: 14px;
        height: 14px;
        color: var(--muted);
    }

    .share-btn:hover {
        background: var(--line);
    }

.seller-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

    .seller-card .av {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--header-bg);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        flex-shrink: 0;
    }

    .seller-card .info {
        flex: 1;
        min-width: 0;
    }

        .seller-card .info .n {
            font-size: 12.5px;
            font-weight: 600;
        }

        .seller-card .info .r {
            font-size: 11px;
            color: var(--muted);
        }

    .seller-card a.btn-ghost-sm {
        font-size: 11px;
        font-weight: 600;
        color: var(--blue);
        white-space: nowrap;
    }

        .seller-card a.btn-ghost-sm:hover {
            color: var(--blue-dark);
        }


/*LOGIN*/

.login {
    display: flex;
    justify-content: center;
}

.login__background {
    background-color: var(--c-bluedark);
    height: 10rem;
    position: absolute;
    z-index: -1;
    left: 0;
    width: 100%;
}

.login__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    background-color: var(--c-white);
    padding: 3rem;
}

@media (max-width: 640px) {
    .login__content {
        padding: 1.5rem;
    }
}

.login__content__text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-bluedark);
    margin-bottom: 1.2rem;
}

.login__content__pass {
    font-size: 1.05rem;
    color: var(--c-bluedark);
    margin-right: 0.5rem;
    text-align: center;
}

    .login__content__pass a {
        text-decoration: underline;
        transition: all 0.4s ease;
    }

        .login__content__pass a:hover {
            color: var(--c-bluedark-hover);
        }

.login__content__footer {
    display: flex;
    margin-top: 1.2rem;
}
