.real-components {
    padding: clamp(78px, 10vw, 140px) 0;
    border-top: 1px solid var(--sw-border);
    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(255, 107, 0, 0.07),
            transparent 28%
        ),
        var(--sw-bg);
}

.real-components__inner {
    width: min(
        calc(100% - 40px),
        var(--sw-container)
    );
    margin-inline: auto;
}

.real-components__intro {
    max-width: 900px;
    margin-bottom: clamp(64px, 9vw, 118px);
}

.real-components__eyebrow,
.real-component__eyebrow,
.monitor-system__eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--sw-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.real-components__intro h2 {
    margin-bottom: 24px;
    font-size: clamp(42px, 7vw, 88px);
}

.real-components__intro h2 span {
    color: var(--sw-beige);
}

.real-components__intro > p {
    max-width: 760px;
    font-size: clamp(15px, 1.6vw, 19px);
}

.real-components__group {
    margin-top: clamp(70px, 9vw, 120px);
}

.real-components__group-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.real-components__group-heading > span {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 107, 0, .34);
    border-radius: 50%;
    color: var(--sw-accent);
    background: var(--sw-accent-soft);
    font-size: 11px;
    font-weight: 800;
}

.real-components__group-heading p {
    margin: 0 0 3px;
    color: var(--sw-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.real-components__group-heading h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
}

.real-component {
    margin-top: 22px;
    padding: clamp(18px, 2.5vw, 34px);

    display: grid;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(340px, .98fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;

    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-xl);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .032),
            rgba(255, 255, 255, .008)
        ),
        var(--sw-surface);

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

.real-component__media {
    position: relative;
    top: auto;
    min-width: 0;
    align-self: start;
}

.component-gallery__main {
    width: 100%;
    min-height: 440px;
    padding: 18px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;

    background: #fff;
    box-shadow: none;
    cursor: zoom-in;
    overflow: hidden;
}

.component-gallery__main:hover {
    transform: none;
    filter: none;
    box-shadow: none;
    border-color: rgba(255, 107, 0, .5);
}

.component-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: 580px;
    object-fit: contain;
    transition:
        transform .28s var(--sw-ease);
}

.component-gallery__main:hover img {
    transform: scale(1.018);
}

.component-gallery__thumbs {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.component-gallery__thumb {
    width: 74px;
    height: 62px;
    min-height: 62px;
    flex: 0 0 74px;
    padding: 5px;

    border: 1px solid var(--sw-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.component-gallery__thumb:hover,
.component-gallery__thumb.is-active {
    transform: none;
    filter: none;
    box-shadow: none;
    border-color: var(--sw-accent);
}

.component-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.real-component__content {
    min-width: 0;
}

.real-component__topline {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.real-component__number {
    color: var(--sw-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.component-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--sw-border);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.component-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.component-status--standard {
    color: #a7e7bd;
    background: rgba(72, 187, 120, .08);
    border-color: rgba(72, 187, 120, .22);
}

.component-status--standard::before {
    background: #68d391;
}

.component-status--optional {
    color: #ffc18f;
    background: rgba(255, 107, 0, .09);
    border-color: rgba(255, 107, 0, .25);
}

.component-status--optional::before {
    background: var(--sw-accent);
}

.real-component h3 {
    margin-bottom: 18px;
    font-size: clamp(31px, 4vw, 55px);
}

.real-component__description {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.75;
}

.real-component__content h4,
.component-faq h4 {
    margin-bottom: 13px;
    font-size: 14px;
    letter-spacing: -.015em;
}

.component-why,
.component-features,
.component-technical,
.component-faq {
    padding: 22px 0;
    border-top: 1px solid var(--sw-border);
}

.component-why p {
    margin: 0;
    font-size: 13px;
    line-height: 1.72;
}

.component-features ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 9px;
    list-style: none;
}

.component-features li {
    min-height: 42px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--sw-border);
    border-radius: 11px;
    background: var(--sw-surface-2);
    color: var(--sw-text-soft);
    font-size: 10px;
    font-weight: 700;
}

.component-features li span {
    color: var(--sw-accent);
}

.component-specs {
    margin: 0;
}

.component-specs > div {
    padding: 10px 0;
    display: grid;
    grid-template-columns:
        minmax(120px, .8fr)
        minmax(0, 1.2fr);
    gap: 18px;
    border-bottom: 1px solid var(--sw-border);
}

.component-specs > div:last-child {
    border-bottom: 0;
}

.component-specs dt {
    color: var(--sw-muted);
    font-size: 10px;
}

.component-specs dd {
    margin: 0;
    color: var(--sw-text);
    text-align: right;
    font-size: 11px;
    font-weight: 750;
}

.component-faq details {
    border-bottom: 1px solid var(--sw-border);
}

.component-faq details:first-of-type {
    border-top: 1px solid var(--sw-border);
}

.component-faq summary {
    position: relative;
    padding: 14px 32px 14px 0;
    color: var(--sw-text);
    cursor: pointer;
    list-style: none;
    font-size: 11px;
    font-weight: 750;
}

.component-faq summary::-webkit-details-marker {
    display: none;
}

.component-faq summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sw-accent);
    font-size: 18px;
    font-weight: 500;
}

.component-faq details[open] summary::after {
    content: "−";
}

.component-faq details p {
    margin: -2px 0 15px;
    padding-right: 30px;
    color: var(--sw-muted);
    font-size: 10px;
    line-height: 1.65;
}

.component-tip {
    margin-top: 22px;
    padding: 16px 17px;
    border: 1px solid rgba(255, 107, 0, .20);
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 107, 0, .10),
            rgba(255, 107, 0, .025)
        );
}

.component-tip strong {
    display: block;
    margin-bottom: 5px;
    color: var(--sw-accent);
    font-size: 9px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.component-tip p {
    margin: 0;
    color: var(--sw-text-soft);
    font-size: 10px;
    line-height: 1.6;
}

.monitor-system {
    margin-top: clamp(80px, 10vw, 138px);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-xl);
    background: var(--sw-surface);
}

.monitor-system__header {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .85fr);
    gap: 36px;
    align-items: end;
}

.monitor-system__header h3 {
    margin: 12px 0 0;
    font-size: clamp(32px, 5vw, 60px);
}

.monitor-system__header > p {
    margin: 0;
    font-size: 13px;
}

.monitor-system__variants {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.monitor-variant {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--sw-border);
    border-radius: 20px;
    background: var(--sw-bg-soft);
}

.monitor-variant .component-gallery__main {
    min-height: 360px;
}

.monitor-variant__content {
    padding: 22px 5px 5px;
}

.monitor-variant__product {
    margin-bottom: 5px;
    color: var(--sw-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.monitor-variant h4 {
    margin-bottom: 17px;
    font-size: 23px;
}

.monitor-system__faq {
    margin-top: 32px;
}

.real-components__cta {
    margin-top: clamp(72px, 9vw, 120px);
    padding: clamp(24px, 4vw, 46px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-xl);
    background:
        linear-gradient(
            135deg,
            rgba(255, 107, 0, .12),
            rgba(255, 107, 0, .025)
        );
}

.real-components__cta span {
    color: var(--sw-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.real-components__cta h3 {
    margin: 7px 0 0;
    font-size: clamp(24px, 3vw, 40px);
}

.real-components__cta a {
    flex: 0 0 auto;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 107, 0, .34);
    border-radius: 999px;
    background: var(--sw-accent);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.component-lightbox {
    width: min(94vw, 1200px);
    max-width: none;
    max-height: 92vh;
    padding: 48px 20px 20px;
    border: 1px solid var(--sw-border-strong);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}

.component-lightbox::backdrop {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
}

.component-lightbox img {
    width: 100%;
    max-height: calc(92vh - 80px);
    object-fit: contain;
}

.component-lightbox__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    box-shadow: none;
    font-size: 22px;
}

@media (max-width: 1040px) {

    .real-component {
        grid-template-columns: 1fr;
    }

    .real-component__media {
        position: relative;
        top: auto;
    }

    .monitor-system__header {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    .real-components__inner {
        width: min(
            calc(100% - 22px),
            var(--sw-container)
        );
    }

    .real-component {
        padding: 14px;
        border-radius: 22px;
    }

    .component-gallery__main {
        min-height: 330px;
        border-radius: 16px;
    }

    .component-features ul {
        grid-template-columns: 1fr;
    }

    .component-specs > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .component-specs dd {
        text-align: left;
    }

    .monitor-system {
        padding: 14px;
        border-radius: 22px;
    }

    .monitor-system__variants {
        grid-template-columns: 1fr;
    }

    .real-components__cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .real-components__cta a {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 430px) {

    .component-gallery__main,
    .monitor-variant .component-gallery__main {
        min-height: 280px;
    }

    .real-component__topline {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==================================================
   KOMPONENT 01 — BLAT, WERSJA KOMPAKTOWA
   ================================================== */

#component-blat {
    grid-template-columns:
        minmax(260px, 0.78fr)
        minmax(360px, 1.22fr);
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(16px, 2vw, 24px);
}

#component-blat .component-gallery__main {
    min-height: 300px;
    padding: 12px;
}

#component-blat .component-gallery__main img {
    max-height: 360px;
}

#component-blat .component-gallery__thumbs {
    display: none;
}

#component-blat .real-component__topline {
    margin-bottom: 16px;
}

#component-blat .real-component__eyebrow {
    margin-bottom: 10px;
}

#component-blat h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 42px);
}

#component-blat .real-component__description {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
}

#component-blat .component-why,
#component-blat .component-features,
#component-blat .component-technical,
#component-blat .component-faq {
    padding: 15px 0;
}

#component-blat .component-features ul {
    gap: 7px;
}

#component-blat .component-features li {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 9px;
}

#component-blat .component-specs > div {
    padding: 7px 0;
}

#component-blat .component-tip {
    margin-top: 15px;
    padding: 13px 14px;
}

@media (max-width: 1040px) {

    #component-blat {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    #component-blat {
        padding: 13px;
    }

    #component-blat .component-gallery__main {
        min-height: 250px;
    }

}


/* ==================================================
   KOMPONENT 02 — STELAŻ, WERSJA KOMPAKTOWA
   ================================================== */

#component-stelaz {
    grid-template-columns:
        minmax(280px, 0.84fr)
        minmax(360px, 1.16fr);
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(16px, 2vw, 24px);
}

#component-stelaz .component-gallery__main {
    min-height: 320px;
    padding: 12px;
}

#component-stelaz .component-gallery__main img {
    max-height: 390px;
}

#component-stelaz .component-gallery__thumbs {
    gap: 7px;
}

#component-stelaz .component-gallery__thumb {
    width: 68px;
    height: 56px;
    min-height: 56px;
    flex-basis: 68px;
}

#component-stelaz .real-component__topline {
    margin-bottom: 16px;
}

#component-stelaz .real-component__eyebrow {
    margin-bottom: 10px;
}

#component-stelaz h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 42px);
}

#component-stelaz .real-component__description {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
}

#component-stelaz .component-why,
#component-stelaz .component-features,
#component-stelaz .component-technical,
#component-stelaz .component-faq {
    padding: 15px 0;
}

#component-stelaz .component-features ul {
    gap: 7px;
}

#component-stelaz .component-features li {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 9px;
}

#component-stelaz .component-specs > div {
    padding: 7px 0;
}

#component-stelaz .component-tip {
    margin-top: 15px;
    padding: 13px 14px;
}

@media (max-width: 1040px) {

    #component-stelaz {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    #component-stelaz {
        padding: 13px;
    }

    #component-stelaz .component-gallery__main {
        min-height: 260px;
    }

}


/* ==================================================
   KOMPONENT 03 — PANEL STEROWANIA
   RÓWNE ZDJĘCIA I KOMPAKTOWY UKŁAD
   ================================================== */

#component-panel {
    grid-template-columns:
        minmax(280px, 0.84fr)
        minmax(360px, 1.16fr);
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(16px, 2vw, 24px);
}

#component-panel .component-gallery__main {
    min-height: 320px;
    height: 320px;
    padding: 12px;
}

#component-panel .component-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

#component-panel .component-gallery__thumbs {
    gap: 7px;
}

#component-panel .component-gallery__thumb {
    width: 68px;
    height: 56px;
    min-height: 56px;
    flex-basis: 68px;
}

#component-panel .component-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#component-panel .real-component__topline {
    margin-bottom: 16px;
}

#component-panel .real-component__eyebrow {
    margin-bottom: 10px;
}

#component-panel h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 42px);
}

#component-panel .real-component__description {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
}

#component-panel .component-why,
#component-panel .component-features,
#component-panel .component-technical,
#component-panel .component-faq {
    padding: 15px 0;
}

#component-panel .component-features ul {
    gap: 7px;
}

#component-panel .component-features li {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 9px;
}

#component-panel .component-specs > div {
    padding: 7px 0;
}

#component-panel .component-tip {
    margin-top: 15px;
    padding: 13px 14px;
}

@media (max-width: 1040px) {

    #component-panel {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    #component-panel {
        padding: 13px;
    }

    #component-panel .component-gallery__main {
        min-height: 260px;
        height: 260px;
    }

}


/* ==================================================
   KOMPONENT 04 — GNIAZDO MULTIMEDIALNE
   NOWA GALERIA I KOMPAKTOWY UKŁAD
   ================================================== */

#component-gniazdo {
    grid-template-columns:
        minmax(280px, 0.84fr)
        minmax(360px, 1.16fr);
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(16px, 2vw, 24px);
}

#component-gniazdo .component-gallery__main {
    min-height: 320px;
    height: 320px;
    padding: 12px;
}

#component-gniazdo .component-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

#component-gniazdo .component-gallery__thumbs {
    gap: 7px;
}

#component-gniazdo .component-gallery__thumb {
    width: 68px;
    height: 56px;
    min-height: 56px;
    flex-basis: 68px;
}

#component-gniazdo .component-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#component-gniazdo .real-component__topline {
    margin-bottom: 16px;
}

#component-gniazdo .real-component__eyebrow {
    margin-bottom: 10px;
}

#component-gniazdo h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 42px);
}

#component-gniazdo .real-component__description {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
}

#component-gniazdo .component-why,
#component-gniazdo .component-features,
#component-gniazdo .component-technical,
#component-gniazdo .component-faq {
    padding: 15px 0;
}

#component-gniazdo .component-features ul {
    gap: 7px;
}

#component-gniazdo .component-features li {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 9px;
}

#component-gniazdo .component-specs > div {
    padding: 7px 0;
}

#component-gniazdo .component-tip {
    margin-top: 15px;
    padding: 13px 14px;
}

@media (max-width: 1040px) {

    #component-gniazdo {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    #component-gniazdo {
        padding: 13px;
    }

    #component-gniazdo .component-gallery__main {
        min-height: 260px;
        height: 260px;
    }

}


/* KOMPONENT 07 — RAMIONA MONITORÓW */

.monitor-variant .component-gallery__main{
    height:320px;
    min-height:320px;
    padding:12px;
    display:grid;
    place-items:center;
}

.monitor-variant .component-gallery__main img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    max-height:none;
}

.monitor-variant .component-gallery__thumb{
    width:68px;
    height:56px;
    min-height:56px;
    flex-basis:68px;
}

.monitor-variant .component-gallery__thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
}

.monitor-variant .component-gallery__thumbs{
    gap:7px;
}

.monitor-variant .component-specs>div{
    padding:7px 0;
}

@media (max-width:760px){
    .monitor-variant .component-gallery__main{
        height:260px;
        min-height:260px;
    }
}


/* ==================================================
   OSTATECZNA BLOKADA STICKY DLA ZDJĘĆ KOMPONENTÓW
   ================================================== */

.real-components .real-component__media,
.real-components .component-gallery,
.real-components .component-gallery__main,
.real-components .monitor-variant .component-gallery,
.real-components .monitor-variant .component-gallery__main {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
}

.real-components .real-component__media {
    align-self: start !important;
}


/* ==================================================
   NOWY UKŁAD KAFELKÓW KOMPONENTÓW

   Góra:
   zdjęcie po lewej / opis po prawej

   Dół:
   dane techniczne, FAQ i wskazówka na środku
   ================================================== */

.real-components .real-component {
    display: block !important;
}

.real-components .real-component__top {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.84fr)
        minmax(360px, 1.16fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
}

.real-components .real-component__media {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    inset: auto !important;
    align-self: start !important;
    min-width: 0;
}

.real-components .real-component__content {
    min-width: 0;
}

.real-components .real-component__details {
    width: min(100%, 900px);
    margin: clamp(24px, 3vw, 38px) auto 0;
    padding-top: clamp(20px, 2.5vw, 30px);
    border-top: 1px solid var(--sw-border);
}

.real-components .real-component__details
.component-technical,
.real-components .real-component__details
.component-faq {
    padding: 18px 0;
    border-top: 0;
}

.real-components .real-component__details
.component-technical h4,
.real-components .real-component__details
.component-faq h4 {
    text-align: center;
}

.real-components .real-component__details
.component-specs {
    width: min(100%, 760px);
    margin-inline: auto;
}

.real-components .real-component__details
.component-faq {
    width: min(100%, 760px);
    margin-inline: auto;
}

.real-components .real-component__details
.component-tip {
    width: min(100%, 760px);
    margin: 18px auto 0;
    text-align: center;
}

/*
Usuwamy górną linię z sekcji opisowych,
ponieważ znajdują się obok zdjęcia.
*/

.real-components .real-component__content
.component-why,
.real-components .real-component__content
.component-features {
    padding: 15px 0;
}

/*
Dotychczasowe reguły poszczególnych komponentów
ustawiały kolumny bezpośrednio na article.
Nowy układ przenosi kolumny do .real-component__top.
*/

#component-blat,
#component-stelaz,
#component-panel,
#component-gniazdo,
#component-przepust,
#component-uchwyt {
    grid-template-columns: none !important;
}

@media (max-width: 1040px) {

    .real-components .real-component__top {
        grid-template-columns: 1fr;
    }

    .real-components .real-component__details {
        width: 100%;
    }

}

@media (max-width: 760px) {

    .real-components .real-component__details {
        margin-top: 22px;
        padding-top: 16px;
    }

    .real-components .real-component__details
    .component-technical h4,
    .real-components .real-component__details
    .component-faq h4 {
        text-align: left;
    }

    .real-components .real-component__details
    .component-tip {
        text-align: left;
    }

}


/* ==================================================
   JEDNAKOWE WYMIARY ZDJĘĆ WSZYSTKICH KOMPONENTÓW
   ================================================== */

/*
Wysokość górnej części każdego kafelka jest ustawiana
przez components.js na podstawie najwyższego opisu.

Dzięki temu:
- wszystkie galerie mają identyczne wymiary,
- zdjęcie po lewej kończy się dokładnie tam, gdzie
  opis i najważniejsze cechy po prawej,
- układ nie zmienia treści ani proporcji zdjęć.
*/

.real-components .real-component__top {
    align-items: stretch !important;
}

.real-components .real-component__media {
    height: var(--sw-component-top-height, auto);
    min-height: 0;
}

.real-components .real-component__content {
    min-height: var(--sw-component-top-height, auto);
}

.real-components .real-component__media .component-gallery {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.real-components .real-component__media .component-gallery__main {
    width: 100%;
    height: calc(100% - 72px) !important;
    min-height: 0 !important;
    flex: 0 0 calc(100% - 72px);

    display: grid;
    place-items: center;
}

.real-components .real-component__media .component-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: none !important;

    object-fit: contain;
    object-position: center;
}

/*
Rezerwujemy identyczne miejsce na miniatury również
przy komponencie posiadającym tylko jedno zdjęcie.
Dzięki temu wszystkie główne pola zdjęć mają dokładnie
ten sam wymiar.
*/

.real-components
.real-component__media
.component-gallery:not(:has(.component-gallery__thumbs))::after {
    content: "";
    display: block;
    flex: 0 0 62px;
    margin-top: 10px;
}

.real-components
.real-component__media
.component-gallery__thumbs {
    height: 62px;
    min-height: 62px;
    flex: 0 0 62px;
}

.real-components
.real-component__media
.component-gallery__thumb {
    height: 56px;
    min-height: 56px;
}

/*
Ramiona monitorów również korzystają z jednego,
wspólnego wymiaru zdjęć.
*/

.monitor-system .monitor-variant .component-gallery__main {
    width: 100%;
    height: 320px !important;
    min-height: 320px !important;
}

.monitor-system .monitor-variant .component-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 1040px) {

    .real-components .real-component__media,
    .real-components .real-component__content {
        height: auto !important;
        min-height: 0 !important;
    }

    .real-components .real-component__media .component-gallery__main {
        height: 320px !important;
        min-height: 320px !important;
        flex-basis: 320px;
    }

}

@media (max-width: 760px) {

    .real-components .real-component__media .component-gallery__main,
    .monitor-system .monitor-variant .component-gallery__main {
        height: 260px !important;
        min-height: 260px !important;
        flex-basis: 260px;
    }

}


/* ==================================================
   PRECYZYJNE WYRÓWNANIE GÓRNYCH CZĘŚCI KOMPONENTÓW
   ================================================== */

.real-components .real-component__top {
    align-items: stretch !important;
}

.real-components .real-component__media {
    height: var(--sw-component-top-height, auto) !important;
    min-height: 0 !important;
}

.real-components .real-component__content {
    min-height: var(--sw-component-top-height, auto) !important;
}

.real-components .real-component__media .component-gallery {
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.real-components .real-component__media .component-gallery__main {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px !important;

    display: grid !important;
    place-items: center !important;

    background: #fff !important;
    overflow: hidden !important;
}

.real-components .real-component__media .component-gallery__main img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;
}

/*
Miniatury mają stałą wysokość, dlatego główne zdjęcie
automatycznie zajmuje dokładnie pozostałą przestrzeń.
*/

.real-components .real-component__media .component-gallery__thumbs {
    flex: 0 0 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    margin-top: 10px !important;
}

.real-components .real-component__media .component-gallery__thumb {
    width: 68px !important;
    height: 56px !important;
    min-height: 56px !important;
    flex-basis: 68px !important;
}

.real-components .real-component__media .component-gallery__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/*
Przy pojedynczym zdjęciu rezerwujemy tyle samo miejsca,
ile zajmuje pasek miniatur w pozostałych komponentach.
*/

.real-components
.real-component__media
.component-gallery:not(:has(.component-gallery__thumbs))::after {
    content: "";
    display: block;
    flex: 0 0 62px;
    height: 62px;
    margin-top: 10px;
}

/* Ramiona monitorów — wszystkie zdjęcia w jednakowym polu. */

.monitor-system .monitor-variant .component-gallery__main {
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    padding: 18px !important;
    background: #fff !important;
}

.monitor-system .monitor-variant .component-gallery__main img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 1040px) {

    .real-components .real-component__media,
    .real-components .real-component__content {
        height: auto !important;
        min-height: 0 !important;
    }

    .real-components .real-component__media .component-gallery__main {
        height: 320px !important;
        min-height: 320px !important;
        flex: 0 0 320px !important;
    }

}

@media (max-width: 760px) {

    .real-components .real-component__media .component-gallery__main,
    .monitor-system .monitor-variant .component-gallery__main {
        height: 260px !important;
        min-height: 260px !important;
        flex-basis: 260px !important;
    }

}


/* ==================================================
   KOMPONENT 06 — STAŁE WYŚRODKOWANIE ZDJĘCIA GŁÓWNEGO
   ================================================== */

#component-uchwyt .component-gallery__main {
    display: grid !important;
    place-items: center !important;
    padding: 18px !important;
    background: #fff !important;
    overflow: hidden !important;
}

#component-uchwyt .component-gallery__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: 50% 50% !important;

    margin: 0 auto !important;
    transform: none !important;
}


/* ==================================================
   RÓWNE ODSTĘPY MIĘDZY KAFELKAMI KOMPONENTÓW
   ================================================== */

:root {
    --sw-components-card-gap: 32px;
}

/*
Usuwamy indywidualne marginesy kafelków, które powodowały
różne przerwy pomiędzy kolejnymi komponentami.
*/

.real-components .real-component {
    margin-top: 0 !important;
}

/*
Podstawowe komponenty są bezpośrednimi elementami grupy.
Nadajemy jednakowy odstęp pomiędzy kolejnymi kafelkami.
*/

.real-components__group > .real-component + .real-component {
    margin-top: var(--sw-components-card-gap) !important;
}

/*
Akcesoria znajdują się w osobnym kontenerze.
Flex z gap gwarantuje identyczną przerwę pomiędzy wszystkimi.
*/

.real-components__accessories {
    display: flex;
    flex-direction: column;
    gap: var(--sw-components-card-gap);
}

/*
Sekcja ramion monitorowych jest ostatnim kafelkiem komponentów,
dlatego dostaje taki sam odstęp od poprzedniego kafelka.
*/

.real-components .monitor-system {
    margin-top: var(--sw-components-card-gap) !important;
}

@media (max-width: 760px) {

    :root {
        --sw-components-card-gap: 22px;
    }

}
