body {
    font-family: "Inter", system-ui; 
}

body.modal-open {
    padding-right: 0 !important
}

.newskaner h5 {
    text-align: center
}

.newskaner label {
    text-align: center;
    display: flex;
    font-weight: 700;
    justify-content: center
}

.newskaner input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
    padding: 8px;
    text-align: center
}

.newskaner button.btn.btn-primary {
    background: #e77b24;
    background-color: #e77b24;
    width: 300px;
    margin: 0 auto;
    display: block;
    border-radius: 50px;
    outline: none;
    border: none
}

#daneProduktu .wyslij {
    margin: 2rem auto;
    max-width: 220px;
    text-align: center;
    background: #e77b24;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase
}
 

.back-button {
    background: transparent;
    color: #000
}

#param {
    font-size: 20px;
    font-weight: 600
}

.dane-term {
    margin-bottom: 3rem;
    padding: 15px
}

.term-foto {
    background: #fff;
    padding: 10px;
    border-radius: 12px
}

.term-foto img {
    max-width: 53%;
    margin: 0 auto;
    display: block
}

.swiper-button-prev::after,.swiper-button-next::after {
    font-size: 25px
}

.title {
    background: #ffffff;
    padding: 6px 15px;
    color: #000000;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 1rem
}

.title p {
    line-height: 1.2;
    margin-top: 6px
}

.title b {
    font-size: 16px
}

#error-message {
    display: none;
    color: red;
    margin-bottom: 1rem;
    text-align: center
}

#top {
    height: 100px
}

.flex_center {
    display: flex;
    align-items: center
}

.panelnazwa {
    font-weight: 700;
    font-size: 17px
}

button.back-button {
    border: none;
    font-size: 28px
}

.produkt {
    margin: 0 0 15px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden
}

.produkt .pfoto {
    padding: 0
}

#krok2 .mini_skaner button {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

#krok2 .mini_skaner button img {
    width: 20px;
    padding: 0;
    margin: 0
}

#krok2 #kodean {
    font-size: 20px;
    font-weight: 600
}

.partnerzy {
    display: flex;
    flex-wrap: wrap
}

.partnerzy div {
    width: 50%;
    flex-basis: auto;
    background: #fff;
    border: 6px solid #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px
}

.partnerzy div img {
    height: 30px;
    margin: 22px 0
}

#krok4 {
    height: auto
}

.rSystem {
    text-align: center;
    font-weight: 700
}

.krok {
    position: relative;
    height: calc(87vh);
    min-height: 615px
}

.krok .kolejny_krok {
    position: absolute; 
    left: 0;
    right: 0
}

.krok .kolejny_krok img {
    height: 18px;
    padding-right: 12px
}

.box1 {
    background: #fff;
    padding: 15px;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    border-radius: 12px
}

.box1 input {
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 6px
}

.box1 input::placeholder {
    font-size: 12px
}

.rekomendacja label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px auto;
    border-radius: 5px;
    background: #fff
}

.rekomendacja label.active {
    outline: 2px solid #e77b24
}

.rekomendacja label input {
    visibility: hidden;
    position: absolute
}

.rekomendacja label img {
    width: 100%;
    max-width: 100px
}

.foto {
    width: 100%;
    height: 84px;
    outline: 1px solid #eee;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 10px
}

.gotowyZestaw {
    margin-bottom: 1rem
}

.gotowyZestaw img {
    width: 100%;
    height: 62px;
    object-fit: contain
}

.gotowyZestaw p {
    margin: 0;
    font-size: 13px
}

.flexCenter {
    display: flex;
    align-items: center
}

#powierzchniaPodlogi {
    width: 100%;
    margin: 16px 0
}

#scanner-container {
    width: 100%;
    height: 100%;
    position: relative
}

.wyszukiwarka {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0
}

.produkty {
    margin-top: 1rem;
    align-items: center
}

.produkty img {
    width: 100%;
    height: 124px;
    object-fit: contain
}

.produkt-dane {
    align-items: center;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding: 12px 0;
    font-size: 14px
}

.produkt-dane p {
    margin: 0
}

.produkt-dane .rekomendacjetytul {
    margin: 10px 0;
    font-weight: 700;
    border-top: 1px solid #eee;
    width: 100%;
    padding-top: 10px
}

.produkt-dane .rekomendacjetytul.brak {
    color: red
}

.produkt-term img {
    width: 100%;
    margin-bottom: 15px
}

.produkt-term p {
    margin-top: 6px;
    font-size: 14px
}

.produkty button {
    width: 100%;
    text-align: left;
    border: none;
    margin-top: 9px;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #000
}

.produkty button.active {
    background: #e77b24;
    color: #fff
}

.produkty button.active img {
    filter: brightness(40)
}

.produkty button img {
    max-height: 28px;
    width: 28px;
    margin-right: 5px
}

.produkty .panel,.produkty .wylewka {
    display: none
}

.produkty .panel.active,.produkty .wylewka.active {
    display: flex
}

.produkt-foto img {
    width: 100%;
    height: 120px;
    object-fit: cover
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 50px solid rgba(0,0,0,0.5);
    box-sizing: border-box;
    display: none
}

.scan-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
    animation: scan 1.5s infinite
}

.mod-close {
    position: absolute;
    right: -18px;
    top: -18px;
    z-index: 9
}

.mod-close button.btn-close {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 23px
}

.modal {
    width: 100vw;
    height: 100vh;
    background: #8f8f8fc2
}

.modal-body {
    padding: 0;
    margin-bottom: -10px
}

#video {
    height: 100vh
}

canvas#canvas {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background: transparent
}

.box {
    background: #fff;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
    line-height: 1.2;
    border-radius: 12px
}

.box h3 {
    font-weight: 600
}

.box input {
    width: 100%;
    border: 1px solid #eee;
    outline: none;
    margin: 1rem;
    padding: 15px 10px;
    border-radius: 12px
}

.box input ::placeholder {
    color: #c5c5c5
}

.box .box_kod {
    font-size: 14px;
    color: #c5c5c5
}

@keyframes scan {
    0% {
        top: 10%
    }

    50% {
        top: 90%
    }

    100% {
        top: 10%
    }
}

@media screen and (max-width: 600px) {
    img.heatdecor {
        height:70px
    }

    img.castorama {
        height: 30px
    }
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10
}

#overlay::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: transparent;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 9999px #000000c9;
    z-index: 5
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(255,255,255,0.8);
    z-index: 10
}

.top-left {
    top: calc(50% - 150px);
    left: calc(50% - 150px);
    border-right: none;
    border-bottom: none
}

.top-right {
    top: calc(50% - 150px);
    left: calc(50% + 130px);
    border-left: none;
    border-bottom: none
}

.bottom-left {
    top: calc(50% + 130px);
    left: calc(50% - 150px);
    border-top: none;
    border-right: none
}

.bottom-right {
    top: calc(50% + 130px);
    left: calc(50% + 130px);
    border-top: none;
    border-left: none
}

.modal-body {
    position: relative
}

.mod-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99
}

.modal-dialog {
    margin: 0;
    padding: 0
}

.modal-content {
    border: none;
    overflow: hidden;
    height: 100vh;
    border-radius: 0
}

#overlay .top-tekst {
    font-size: 20px;
    color: #fff;
    z-index: 999;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    text-align: center
}

#overlay .top-tekst p {
    font-size: 14px;
    margin-bottom: 10px
}

#overlay .top-tekst .tit {
    font-size: 25px;
    font-weight: 600
}

#overlay .bottom-tekst {
    font-size: 20px;
    color: #fff;
    z-index: 999;
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    padding: 2rem
}

button#flash-toggle {
    position: absolute;
    right: 56px;
    top: 13px;
    z-index: 99;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 21px
}
