
/* =========================
   FONT (opis + całość)
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #050505;
    color: #eaeaea;
}

/* =========================
   HERO
========================= */
.car-hero {
    width: 100%;
    max-width: 1600px;
    margin: 20px auto;
    padding: 22px 30px;
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ================= TYTUŁ ================= */

.car-hero__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.3px;
    
    flex: 1;
}

/* ================= CENA ================= */

.car-hero__price {
    text-align: right;
    font-size: 13px;
    color: #aaa;
    white-space: nowrap;
}

.car-hero__price span {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: #ff3b3b;
    letter-spacing: 0.5px;
}


@media (max-width: 900px) {
    .car-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .car-hero__price {
        text-align: left;
    }
}
/* =========================
   SPEC
========================= */

.spec {
    max-width: 1100px;
    margin: 25px auto;
    padding: 10px 15px;
}

.spec__grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 22px;
}

/* =========================
   🖼️ IMAGE FRAME (IDEAL FIT)
========================= */

.spec__image {
    background: linear-gradient(145deg, #151515, #0e0e0e);
    padding: 14px;
    border-radius: 16px;

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

    height: 360px;   /* 🔥 WIĘKSZE ZDJĘCIE */
    overflow: hidden;
}

.spec__image img {
    width: 100%;
    height: 100%;

    object-fit: contain;  /* 🔥 klucz: brak ucinania */
    display: block;

    border-radius: 10px;
}

/* =========================
   SPEC CARD
========================= */

.spec-card {
    display: grid;
    gap: 10px;

    padding: 18px;
    background: linear-gradient(145deg, #151515, #0e0e0e);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   ITEM FIX
========================= */

.spec__item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;

    padding: 12px 14px;
    border-radius: 12px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

/* LABEL */
.spec__item span {
    font-size: 12px;
    color: #bdbdbd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* VALUE */
.spec__item b {
    font-size: 15px;
    font-weight: 600;
    color: #fff;

    text-align: center;
    word-break: break-word;
}

/* =========================
   📝 OPIS (PREMIUM READABLE)
========================= */

.section_OPIS,
.section_dot_wyp {
    max-width: 1100px;
    margin: 25px auto;
    padding: 25px;

    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* OPIS CENTER */
.section_OPIS {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 🔥 LEPSZA CZYTELNA CZCIONKA OPISU */
.section_OPIS .custom-description {
    max-width: 850px;
    width: 100%;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;

    color: #dcdcdc;

    margin: 0 auto;
    text-align: center;
}

/* HEADER */
.section_OPIS h2,
.section_dot_wyp h2 {
    font-size: 18px;
    color: #fff;
    border-left: 4px solid #ff3b3b;
    padding-left: 10px;
}

/* =========================
   BADGES
========================= */

.extra-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.extra-info p {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
}

/* VAT */
.registered {
    background: rgba(0,255,120,0.12);
    border: 1px solid rgba(0,255,120,0.4);
    color: #00ff99;
}

/* LEASING */
.leasing {
    background: rgba(255,170,0,0.12);
    border: 1px solid rgba(255,170,0,0.4);
    color: #ffb84d;
}

/* =========================
   WYPOSAŻENIE
========================= */

.section_dot_wyp gridWraper.b01x {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.section_dot_wyp box {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 12px;
    border-radius: 12px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);

    font-size: 13px;
    font-weight: 600;
    color: #eaeaea;
}

.attrIcon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

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

    .spec__item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6px;
    }
}