/* RAZBORKA6062 HOME — ORIGINAL LAYOUT */

:is(body.page-id-197397,body.page-id-395229) .elementor-widget-theme-post-content,
:is(body.page-id-197397,body.page-id-395229) main,
:is(body.page-id-197397,body.page-id-395229) .site-main {
    margin: 0;
    padding: 0;
}

.rb6062-home-promo {
    width: 100%;
    min-height: 32px;
    background: #393939;
    color: #fff;
    font-family: Gotham, Arial, sans-serif;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
}

.rb6062-home-promo .elementor-widget-text-editor {
    margin: 0;
}

.rb6062-home-promo p {
    margin: 0;
}

.rb-home-main {
    width: 100%;
    max-width: 1170px;
    margin: 34px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 0 15px;
    box-sizing: border-box;
}

.rb-home-filter {
    flex: 0 0 255px;
    width: 255px;
    font-family: Gotham, Arial, sans-serif;
}

.rb-home-filter__title {
    margin: 0 0 10px;
    color: #222;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 400;
}

.rb-home-filter__select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 33px;
    margin: 0 0 11px;
    padding: 0 31px 0 13px;
    border: 0;
    border-radius: 17px;
    outline: 0;
    background:
        linear-gradient(45deg, transparent 50%, #333 50%)
        calc(100% - 16px) 14px / 5px 5px no-repeat,
        linear-gradient(135deg, #333 50%, transparent 50%)
        calc(100% - 11px) 14px / 5px 5px no-repeat,
        #f3f3f3;
    color: #111;
    font-family: Gotham, Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
}

.rb-home-filter__button {
    display: block;
    width: 165px;
    height: 32px;
    margin: 7px auto 0;
    padding: 0;
    border: 2px solid #252525;
    border-radius: 17px;
    background: #fff;
    color: #111;
    font-family: Gotham, Arial, sans-serif;
    font-size: 12px;
    line-height: 28px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.rb-home-filter__button:hover {
    background: #222;
    color: #fff;
}

.rb-home-slider-wrap {
    flex: 1 1 855px;
    min-width: 0;
}

.rb-home-slider {
    position: relative;
    width: 100%;
    max-width: 855px;
    height: 285px;
    overflow: hidden;
    background: #fff;
}

.rb-home-slide {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
}

.rb-home-slide.is-active {
    display: block;
}

.rb-home-slide img {
    display: block;
    width: 100%;
    height: 285px;
    object-fit: contain;
    object-position: center;
}

.rb-home-slider__dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 5px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.rb-home-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #777;
    cursor: pointer;
}

.rb-home-slider__dot.is-active {
    background: #e63838;
}

.rb-home-slider__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 26px;
    height: 42px;
    margin-top: -21px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 27px;
    font-weight: 300;
    line-height: 42px;
    opacity: .65;
    cursor: pointer;
}

.rb-home-slider__prev {
    left: 3px;
}

.rb-home-slider__next {
    right: 3px;
}

.rb-home-slider__arrow:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .rb-home-main {
        gap: 18px;
    }

    .rb-home-filter {
        flex-basis: 225px;
        width: 225px;
    }

    .rb-home-slider {
        height: auto;
        aspect-ratio: 3 / 1;
    }

    .rb-home-slide img {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .rb-home-main {
        display: block;
        margin-top: 18px;
        padding: 0 12px;
    }

    .rb-home-filter {
        width: 100%;
        margin: 0 0 24px;
    }

    .rb-home-filter__title {
        font-size: 22px;
    }

    .rb-home-slider-wrap {
        width: 100%;
    }

    .rb-home-slider {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 3 / 1;
    }

    .rb-home-slide img {
        height: 100%;
    }
}

/* ======================================================
   RAZBORKA6062 HOME V6 — ORIGINAL GEOMETRY
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229) {
    font-family:
        Gotham,
        "Gotham Pro",
        Arial,
        sans-serif !important;
}


/* ======================================================
   PROMO BAR — FULL VIEWPORT
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229) .rb6062-home-promo {
    position: relative !important;

    width: 100vw !important;
    max-width: none !important;

    height: 36px !important;
    min-height: 36px !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;

    background: #393939 !important;

    color: #fff !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 36px !important;

    text-align: center !important;
}


/* ======================================================
   HOME CONTENT WIDTH
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229) .rb6062-home-root {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* FIRST SCREEN */

:is(body.page-id-197397,body.page-id-395229) .rb-home-main {
    display: grid !important;

    grid-template-columns:
        270px
        minmax(0, 1fr) !important;

    column-gap: 30px !important;

    align-items: start !important;

    width: calc(100% - 30px) !important;
    max-width: 1170px !important;

    margin: 52px auto 0 !important;
    padding: 0 !important;
}


/* ======================================================
   FILTER BLOCK
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229) .rb-home-filter {
    width: 270px !important;

    margin: 0 !important;
    padding: 0 !important;
}

:is(body.page-id-197397,body.page-id-395229) .rb-home-filter__title {
    margin: 0 0 5px !important;

    color: #111 !important;

    font-size: 29px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}


/* selects */

:is(body.page-id-197397,body.page-id-395229) .rb-home-filter__select {
    display: block !important;

    width: 270px !important;
    height: 34px !important;

    margin: 0 0 17px !important;
    padding: 0 34px 0 12px !important;

    border: 1px solid #e2e2e2 !important;
    border-radius: 18px !important;

    background-color: #fafafa !important;

    color: #000 !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 34px !important;
}


/* button */

:is(body.page-id-197397,body.page-id-395229) .rb-home-filter__button {
    display: block !important;

    width: 170px !important;
    height: 33px !important;

    margin: 4px auto 0 !important;
    padding: 0 !important;

    border: 2px solid #111 !important;
    border-radius: 18px !important;

    background: #fff !important;

    color: #111 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 29px !important;

    text-align: center !important;
}


/* ======================================================
   SLIDER
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229) .rb-home-slider-wrap {
    width: 100% !important;
    max-width: 855px !important;

    margin: 0 !important;

    justify-self: end !important;
}

:is(body.page-id-197397,body.page-id-395229) .rb-home-slider {
    width: 855px !important;
    max-width: 100% !important;

    height: 285px !important;

    margin: 0 !important;

    overflow: hidden !important;
}

:is(body.page-id-197397,body.page-id-395229) .rb-home-slide,
:is(body.page-id-197397,body.page-id-395229) .rb-home-slide img {
    width: 100% !important;
    height: 285px !important;
}

:is(body.page-id-197397,body.page-id-395229) .rb-home-slide img {
    object-fit: contain !important;
    object-position: center center !important;
}


/* ======================================================
   GENERAL HOME TYPOGRAPHY BASE
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229)
.elementor-location-single,
:is(body.page-id-197397,body.page-id-395229)
.site-main {
    font-size: 14px !important;
}


/* ======================================================
   DESKTOP CONTENT SYSTEM
   ====================================================== */

@media (min-width: 1200px) {

    :is(body.page-id-197397,body.page-id-395229)
    .rb-home-main {
        max-width: 1170px !important;
    }
}


/* ======================================================
   RAZBORKA6062 HOME V8 — PROMO CONNECTION
   ====================================================== */

:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-root,
:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-root
> .e-con-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;

    row-gap: 0 !important;
    gap: 0 !important;
}

:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-promo {
    position: relative !important;

    display: block !important;

    width: 100vw !important;
    max-width: none !important;

    height: 36px !important;
    min-height: 36px !important;

    margin:
        0
        calc(50% - 50vw)
        0
        calc(50% - 50vw) !important;

    padding: 0 !important;

    background: #393939 !important;

    color: #fff !important;

    font-family:
        Gotham,
        Arial,
        sans-serif !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 36px !important;

    text-align: center !important;
}

.elementor-location-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* RAZBORKA6062 HOME V8 PROMO */

:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-root,
:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-root > .e-con-inner {
    margin-top:0 !important;
    padding-top:0 !important;
    gap:0 !important;
    row-gap:0 !important;
}

:is(body.page-id-197397,body.page-id-395229)
.rb6062-home-promo {
    display:block !important;

    width:100vw !important;

    height:36px !important;
    min-height:36px !important;

    margin:
        0
        calc(50% - 50vw)
        0
        calc(50% - 50vw) !important;

    padding:0 !important;

    background:#393939 !important;
    color:#fff !important;

    font-family:Gotham,Arial,sans-serif !important;
    font-size:14px !important;
    font-weight:400 !important;

    line-height:36px !important;
    text-align:center !important;
}

.elementor-location-header {
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}
