/* =========================================================
   GEMMA AUTOIMPORT — LOT DETAIL HERO
   ========================================================= */

.client-stat-page {
    padding-bottom: 48px;
}

/* =========================================================
   HERO
   ========================================================= */

.client-hero {
    position: relative;
}

.client-hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    min-height: 620px;
    background:
        radial-gradient(circle at top right, rgba(37,99,235,.22), transparent 30%),
        #0f172a;
    box-shadow:
        0 24px 60px rgba(15,23,42,.18),
        0 4px 12px rgba(15,23,42,.08);
}

.client-hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.28) 42%,
            rgba(0,0,0,.06) 100%
        );
    z-index: 1;
}

.client-hero-image {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.client-hero-image-wrap:hover .client-hero-image {
    transform: scale(1.03);
}

.client-hero-placeholder {
    width: 100%;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: 5rem;
}

/* =========================================================
   HERO OVERLAY CONTENT
   ========================================================= */

.hero-floating-content {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 34px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.hero-left {
    max-width: 70%;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-badge {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);

    color: white;
    font-size: 13px;
    font-weight: 800;

    border: 1px solid rgba(255,255,255,.14);
}

.hero-badge.grade {
    background: white;
    color: #111827;
}

.hero-title {
    font-size: 4rem;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -3px;
    color: white;
    margin: 0 0 12px;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    font-weight: 600;
}

.hero-price-box {
    min-width: 320px;
    border-radius: 30px;
    padding: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(17,24,39,.92),
            rgba(31,41,55,.92)
        );

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 16px 40px rgba(0,0,0,.24);
}

.hero-price-label {
    font-size: 13px;
    font-weight: 700;
    opacity: .62;
    margin-bottom: 12px;
    color: white;
}

.hero-price-main {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    color: white;
}

.hero-price-sub {
    margin-top: 10px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   FULLSCREEN BUTTON
   ========================================================= */

.fullscreen-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 10;

    width: 54px;
    height: 54px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);

    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.3rem;
    color: white;

    transition:
        transform .2s ease,
        background .2s ease;
}

.fullscreen-btn:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,.2);
    color: white;
}

/* =========================================================
   CAR HEADER CARD
   ========================================================= */

.car-main-title {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    color: #111827;
    margin: 0 0 6px;
}

/* =========================================================
   PREMIUM CARD
   ========================================================= */

.premium-card,
.calculator-card {
    background: rgba(255,255,255,.92);

    backdrop-filter: blur(18px);

    border-radius: 32px;
    padding: 28px;

    border: 1px solid rgba(255,255,255,.7);

    box-shadow:
        0 10px 40px rgba(15,23,42,.06),
        inset 0 1px 0 rgba(255,255,255,.5);
}

/* =========================================================
   SECTION HEAD
   ========================================================= */

.section-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #eef2ff,
            #dbeafe
        );

    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    flex-shrink: 0;
}

.section-icon.blue {
    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #e0f2fe
        );

    color: #0284c7;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #111827;
}

.section-subtitle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* =========================================================
   SPEC GRID
   ========================================================= */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.spec-item {
    position: relative;

    display: flex;
    gap: 14px;

    padding: 18px;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );

    border: 1px solid rgba(15,23,42,.05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.spec-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(15,23,42,.06);
}

.spec-icon {
    width: 46px;
    height: 46px;

    border-radius: 16px;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #2563eb;
    font-size: 18px;

    box-shadow:
        0 6px 16px rgba(15,23,42,.05);

    flex-shrink: 0;
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.spec-value {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    color: #0f172a;
    word-break: break-word;
}

/* =========================================================
   CALCULATOR
   ========================================================= */

.calculator-card {
    position: sticky;
    top: 90px;
}

.calc-label {
    display: block;
    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.calc-input-shell {
    height: 70px;

    border-radius: 24px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.calc-input-prefix {
    width: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    font-weight: 900;
    color: #2563eb;
}

.calc-input {
    width: 100%;
    height: 100%;

    border: none;
    background: transparent;
    outline: none;

    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;

    color: #111827;
}

.rates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rate-card {
    border-radius: 24px;
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        );

    color: white;
}

.rate-title {
    opacity: .65;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.rate-value {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
}

.transport-box {
    margin-top: 24px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border-radius: 24px;
    padding: 20px;

    border: 1px solid rgba(37,99,235,.08);
}

.transport-price {
    margin-top: 10px;

    color: #2563eb;
    font-weight: 900;
}

.total-box {
    margin-top: 24px;

    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        );

    color: white;

    border-radius: 30px;
    padding: 26px;

    box-shadow:
        0 20px 40px rgba(17,24,39,.18);
}

.total-top {
    font-size: 13px;
    font-weight: 700;
    opacity: .65;
    margin-bottom: 12px;
}

.total-price {
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.total-status {
    margin-top: 10px;
    opacity: .75;
    font-size: 14px;
}

/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.premium-action-btn {
    height: 56px;
    border-radius: 18px !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.premium-action-btn:hover {
    transform: translateY(-2px);
}

.premium-action-btn.dark {
    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        ) !important;

    color: white !important;

    box-shadow:
        0 14px 28px rgba(17,24,39,.16);
}

.premium-action-btn.light {
    background: #eef2f7 !important;
    color: #111827 !important;
}

.premium-action-btn.primary {
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        ) !important;

    color: white !important;

    box-shadow:
        0 14px 28px rgba(37,99,235,.22);
}

/* =========================================================
   MODAL
   ========================================================= */

.image-modal-content {
    background: transparent;
    border: none;
    position: relative;
}

.fullscreen-image {
    width: 100%;
    border-radius: 28px;
}

.image-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;

    background: white !important;
    border-radius: 50%;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-price-main {
        font-size: 2.5rem;
    }

    .client-hero-image,
    .client-hero-placeholder {
        height: 540px;
    }

    .client-hero-image-wrap {
        min-height: 540px;
    }
}

@media (max-width: 991px) {

    .client-hero-image-wrap {
        min-height: auto;
        border-radius: 28px;
    }

    .client-hero-image,
    .client-hero-placeholder {
        height: 420px;
    }

    .hero-floating-content {
        left: 22px;
        right: 22px;
        bottom: 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-price-box {
        width: 100%;
    }

    .car-main-title {
        font-size: 1.8rem;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {

    .premium-card,
    .calculator-card {
        border-radius: 24px;
        padding: 20px;
    }

    .client-hero-image,
    .client-hero-placeholder {
        height: 360px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -2px;
    }

    .hero-badge {
        height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }

    .hero-price-main {
        font-size: 2rem;
    }

    .calc-input {
        font-size: 1.2rem;
    }

    .total-price {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {

    .client-stat-page {
        padding-bottom: 100px;
    }

    .client-hero-image-wrap {
        border-radius: 22px;
    }

    .client-hero-image,
    .client-hero-placeholder {
        height: 300px;
    }

    .hero-floating-content {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-price-box {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-price-main {
        font-size: 1.7rem;
    }

    .fullscreen-btn {
        width: 46px;
        height: 46px;
        top: 14px;
        right: 14px;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .spec-item {
        padding: 16px;
        border-radius: 20px;
    }

    .rates-grid {
        grid-template-columns: 1fr;
    }

    .total-box {
        border-radius: 24px;
    }
}
.hero-price-side {
    text-align: right;
}

.hero-price-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.hero-price-value {
    font-size: 2rem;
    font-weight: 900;
    color: #111827;
}

.auction-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 14px;
}

.auction-status-item {
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px;
}

.auction-status-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.auction-status-value {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.modern-bid-shell {
    height: 64px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f8fafc;
}

.modern-bid-prefix {
    width: 72px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #2563eb;
}

.modern-bid-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.2rem;
    font-weight: 800;
    padding-right: 18px;
}

.premium-success-btn {
    height: 54px;
    border: none;
    border-radius: 18px;
    background: #16a34a;
    color: white;
    font-weight: 800;
}

.premium-danger-btn {
    height: 54px;
    border: none;
    border-radius: 18px;
    background: #dc2626;
    color: white;
    font-weight: 800;
}

.premium-login-box {
    border-radius: 22px;
    background: #f8fafc;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #374151;
}

