/* Śląskie Centrum Motocyklowe / KQS 7.2
   Karta produktu v0.1 TEST
   Klasy scm-* są celowo odseparowane od starego CSS Sucro.
*/

.scm-product,
.scm-product * {
    box-sizing: border-box;
}

.scm-product {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #171717;
}

.scm-product__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 22px 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6e6e6;
}

.scm-product__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.12;
    font-weight: 800;
}

.scm-product__brand {
    font-size: 14px;
}

.scm-product__main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.scm-gallery {
    position: relative;
    min-width: 0;
}

.scm-gallery__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 18px;
    border: 1px solid #e7e7e7;
    background: #fff;
    overflow: hidden;
}

.scm-gallery__stage figure {
    margin: 0;
    width: 100%;
}

.scm-gallery__stage a {
    display: grid;
    place-items: center;
    width: 100%;
    cursor: zoom-in;
}

.scm-gallery__stage img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 700px;
    object-fit: contain;
}

.scm-gallery__thumbs {
    margin-top: 12px;
}

.scm-gallery-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    gap: 10px;
}

.scm-gallery-item {
    margin: 0;
}

.scm-gallery-item a {
    display: grid;
    place-items: center;
    height: 92px;
    padding: 5px;
    border: 1px solid #dedede;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}

.scm-gallery-item a:hover,
.scm-gallery-item a.is-active {
    border-color: #c40000;
}

.scm-gallery-item a:hover {
    transform: translateY(-1px);
}

.scm-gallery-item img {
    display: block;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.scm-product__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.scm-product__badges li {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    background: #c40000;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.scm-buy {
    position: sticky;
    top: 16px;
    padding: 26px;
    border: 1px solid #e3e3e3;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .07);
}

.scm-buy__price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
}

.scm-buy__price-label {
    font-size: 13px;
    color: #666;
}

.scm-buy > form > p.discount {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin: 0 0 24px;
    padding: 8px 12px;
    border-left: 4px solid #d00000;
    background: #fff2f2;
    color: #d00000;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.scm-buy > form > p.discount span {
    font-weight: 800;
}

.scm-buy__price strong > span {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
}

.scm-buy__price .default {
    color: #111;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.05;
    font-weight: 900;
    white-space: nowrap;
}

.scm-buy__price .old {
    color: #777;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

.scm-buy__omnibus {
    margin: 8px 0 18px;
    color: #666;
}

.scm-buy__omnibus p.price {
    margin: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.scm-buy__installments {
    margin: 14px 0 18px;
}

.scm-buy__installments:empty {
    display: none;
}

.scm-buy__installments a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 2px solid #008e9b;
    background: #fff;
    color: #006f79;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.scm-buy__installments a img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 28px;
}

.scm-buy__installments a:hover,
.scm-buy__installments a:focus-visible {
    border-color: #006f79;
    background: #eefafa;
    color: #006f79;
    box-shadow: 0 4px 12px rgba(0, 111, 121, .14);
    text-decoration: none;
}

.scm-buy__installments input[type="image"] {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 9px 16px;
    border: 2px solid #008e9b;
    background: #fff;
    object-fit: contain;
    cursor: pointer;
}

@media (max-width: 640px) {
    .scm-buy > form > p.discount {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .scm-buy__price .default {
        font-size: 36px;
    }

    .scm-buy__price .old {
        font-size: 17px;
    }
}

.scm-buy__attributes {
    margin: 18px 0;
}

.scm-buy__attributes .attrs,
.scm-buy__attributes .attr {
    display: grid;
    gap: 10px;
}

.scm-buy__availability {
    margin: 18px 0;
}

.scm-buy__incoming:empty,
.scm-buy__notify:empty,
.scm-buy__incoming[hidden],
.scm-buy__notify[hidden] {
    display: none !important;
}

.scm-buy__availability .availability {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 7px 11px;
    border-radius: 4px;
    font-weight: 800;
}

.scm-buy__actions {
    display: grid;
    grid-template-columns: minmax(90px, 120px) 1fr;
    gap: 10px;
    margin: 20px 0;
}

.scm-buy__qty input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    border: 1px solid #cfcfcf;
    font-size: 16px;
    text-align: center;
}

.scm-buy__submit button,
.scm-buy__submit input[type="submit"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    background: #c40000;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.scm-buy__submit button:hover,
.scm-buy__submit input[type="submit"]:hover {
    filter: brightness(.92);
}

.scm-buy__meta {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
    font-size: 13px;
}

.scm-buy__support {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 16px;
    background: #f6f6f6;
}

.scm-buy__support a {
    color: #c40000;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.scm-buy__support span {
    font-size: 12px;
    color: #666;
}

.scm-product__description,
.scm-product__related,
.scm-product__reviews,
.scm-product__question {
    margin-top: 48px;
}

.scm-product__description h2,
.scm-product__reviews h2,
.scm-product__question h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.scm-product__description img {
    max-width: 100%;
    height: auto;
}

/* Lightbox bez Fancybox/Slick/Owl */
.scm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    background: rgba(0, 0, 0, .93);
}

.scm-lightbox.is-open {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    grid-template-rows: 64px 1fr;
}

.scm-lightbox__close {
    grid-column: 3;
    grid-row: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
}

.scm-lightbox__stage {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 18px;
}

.scm-lightbox__stage img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    object-fit: contain;
}

.scm-lightbox__prev,
.scm-lightbox__next {
    grid-row: 2;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
}

.scm-lightbox__prev {
    grid-column: 1;
}

.scm-lightbox__next {
    grid-column: 3;
}

@media (max-width: 980px) {
    .scm-product {
        width: min(100% - 20px, 920px);
    }

    .scm-product__main {
        grid-template-columns: 1fr;
    }

    .scm-buy {
        position: static;
    }

    .scm-gallery__stage {
        min-height: 420px;
    }

    .scm-gallery-list {
        grid-template-columns: repeat(5, minmax(62px, 1fr));
    }
}

@media (max-width: 640px) {
    .scm-product__header {
        display: block;
    }

    .scm-product__rating {
        margin-top: 10px;
    }

    .scm-gallery__stage {
        min-height: 310px;
        padding: 8px;
    }

    .scm-gallery-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 5px;
        scroll-snap-type: x proximity;
    }

    .scm-gallery-item {
        flex: 0 0 78px;
        scroll-snap-align: start;
    }

    .scm-gallery-item a {
        height: 78px;
    }

    .scm-buy {
        padding: 18px;
    }

    .scm-buy__actions {
        grid-template-columns: 92px 1fr;
    }

    .scm-lightbox.is-open {
        grid-template-columns: 48px 1fr 48px;
        grid-template-rows: 54px 1fr;
    }

    .scm-lightbox__prev,
    .scm-lightbox__next {
        font-size: 34px;
    }
}

.scm-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.scm-lightbox__close,
.scm-lightbox__prev,
.scm-lightbox__next {
    position: relative;
    z-index: 5;
}

.scm-lightbox__stage {
    position: relative;
}

/* ===== SCM LIGHTBOX - duże zdjęcie ===== */

.scm-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 70px);
    padding: 20px 80px;
}

.scm-lightbox__stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
}

/* Jeśli źródłowe zdjęcie jest małe, pozwól mu urosnąć */
.scm-lightbox__stage img {
    min-width: min(700px, 80vw);
}

/* Strzałki większe i bardziej czytelne */
.scm-lightbox__prev,
.scm-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 64px;
    height: 90px;
    border: 0;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 48px;
    cursor: pointer;
}

.scm-lightbox__prev {
    left: 18px;
}

.scm-lightbox__next {
    right: 18px;
}

.scm-lightbox__close {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 11;
    width: 50px;
    height: 50px;
    border: 0;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

/* Licznik zdjęć */
.scm-lightbox__counter {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 11;
    padding: 7px 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .scm-lightbox__stage {
        padding: 60px 15px 50px;
    }

    .scm-lightbox__stage img {
        min-width: 0;
        max-width: 96vw;
        max-height: 82vh;
    }

    .scm-lightbox__prev,
    .scm-lightbox__next {
        width: 46px;
        height: 70px;
        font-size: 36px;
    }

    .scm-lightbox__prev {
        left: 4px;
    }

    .scm-lightbox__next {
        right: 4px;
    }
}

/* ===== SCM - główne zdjęcie produktu ===== */

.scm-gallery__stage {
    min-height: 540px;
    padding: 20px;
}

.scm-gallery__stage a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scm-gallery__stage img {
    display: block;
    width: 68%;
    max-width: 720px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 640px) {
    .scm-gallery__stage {
        min-height: 300px;
        padding: 10px;
    }

    .scm-gallery__stage img {
        width: 90%;
        max-width: 100%;
        max-height: 320px;
    }
}

/* ===== SCM - ilość produktu ===== */

.scm-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scm-quantity__control {
    display: grid;
    grid-template-columns: 42px 64px 42px;
    height: 50px;
}

.scm-quantity__control button {
    border: 1px solid #d5d5d5;
    background: #f7f7f7;
    color: #111;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
}

.scm-quantity__control button:hover {
    background: #ededed;
}

.scm-quantity__control input {
    width: 64px !important;
    height: 50px !important;
    padding: 0 !important;
    border-top: 1px solid #d5d5d5 !important;
    border-bottom: 1px solid #d5d5d5 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: center;
    font-size: 16px;
}

/* ===== SCM - finalny układ ilość + koszyk ===== */

.scm-buy__actions {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: end !important;
    width: 100% !important;
    margin: 22px 0 20px !important;
}

.scm-buy__qty {
    width: 150px !important;
    min-width: 150px !important;
}

.scm-quantity {
    width: 100%;
}

.scm-quantity__control {
    display: grid !important;
    grid-template-columns: 42px 66px 42px !important;
    width: 150px !important;
    height: 52px !important;
}

.scm-quantity__control button {
    width: 42px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scm-quantity__control input {
    width: 66px !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.scm-buy__submit {
    width: 100% !important;
    min-width: 0 !important;
}

.scm-buy__submit button,
.scm-buy__submit input[type="submit"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    background: #d00000 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 52px !important;
    text-align: center !important;
}

/* Telefon */
@media (max-width: 640px) {
    .scm-buy__actions {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .scm-buy__qty {
        width: 150px !important;
    }

    .scm-buy__submit {
        width: 100% !important;
    }
}

/* ===== SCM - logo producenta ===== */

.scm-product__brand {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin-top: 8px;
}

.scm-product__brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 240px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

@media (max-width: 640px) {
    .scm-product__brand img {
        max-width: 190px !important;
        max-height: 48px !important;
    }
}

/* ===== SCM - nagłówek produktu + logo producenta po prawej ===== */

.scm-product__header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 30px !important;
}

.scm-product__title-wrap {
    min-width: 0;
}

.scm-product__brand {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 180px;
    margin: 0 !important;
    padding-top: 4px;
}

.scm-product__brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 62px !important;
    object-fit: contain !important;
}

.scm-product__rating {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
}

@media (max-width: 760px) {
    .scm-product__header {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .scm-product__brand,
    .scm-product__rating {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        text-align: left;
        min-width: 0;
    }

    .scm-product__brand img {
        max-width: 170px !important;
        max-height: 50px !important;
    }
}

/* ===== SCM - finalny nagłówek produktu ===== */

.scm-product__header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 210px !important;
    grid-template-rows: auto auto !important;
    column-gap: 35px !important;
    row-gap: 8px !important;
    align-items: start !important;
}

.scm-product__title-wrap {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
}

.scm-product__brand {
    display: block !important;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
}

.scm-product__manufacturer-logo {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 55px;
}

.scm-product__manufacturer-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 175px !important;
    max-height: 55px !important;
    object-fit: contain !important;
}

.scm-product__rating {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: 8px !important;
    text-align: right !important;
}

@media (max-width: 760px) {
    .scm-product__header {
        grid-template-columns: 1fr !important;
    }

    .scm-product__title-wrap,
    .scm-product__manufacturer-logo,
    .scm-product__rating {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .scm-product__manufacturer-logo {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .scm-product__rating {
        text-align: left !important;
    }
}

/* SCM - producent: zostaw tekst, ukryj oryginalne logo */
.scm-product__brand img {
    display: none !important;
}

/* ===== SCM - powiadomienie o dostępności ===== */

.scm-buy__notify {
    margin-top: 18px;
    padding: 18px 18px 16px;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 4px;
}

.scm-buy__notify .komnag,
.scm-buy__notify .komcw,
.scm-buy__notify .komod {
    width: 100% !important;
    margin: 0 !important;
}

.scm-buy__notify .komnag {
    margin-bottom: 12px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111 !important;
}

.scm-buy__notify form {
    width: 100% !important;
}

.scm-buy__notify table {
    width: 100% !important;
    margin: 0 !important;
}

.scm-buy__notify td {
    vertical-align: middle !important;
}

.scm-buy__notify input[type="text"] {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    border: 1px solid #cfcfcf !important;
    background: #fff !important;
    font-size: 14px !important;
}

.scm-buy__notify input[name="email"] {
    width: 100% !important;
}

.scm-buy__notify input[name="kod_obrazka"] {
    width: 90px !important;
}

.scm-buy__notify input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.scm-buy__notify label {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.scm-buy__notify input[type="submit"] {
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: #d00000 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.scm-buy__notify input[type="submit"]:hover {
    background: #b90000 !important;
}

.scm-buy__notify .p5,
.scm-buy__notify .m5 {
    margin: 0 !important;
    padding: 0 !important;
}

.scm-buy__notify br {
    line-height: 1.2;
}

/* ===== SCM - ikonka zablokowanego koszyka ===== */

.scm-buy__submit img[src*="p_blokada.gif"] {
    width: 38px !important;
    max-width: 38px !important;
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
}

/* ===== SCM - komunikat zablokowanego zakupu ===== */

.scm-buy__submit:has(img[src*="p_blokada.gif"]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.scm-buy__blocked-text {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #555;
    text-align: center;
}

/* ===== SCM - PREORDER ===== */

.scm-preorder-source {
    display: none !important;
}

.scm-preorder-card {
    margin: 16px 0 18px;
    padding: 16px 18px;
    border: 1px solid #e3e3e3;
    border-left: 4px solid #d00000;
    background: #fafafa;
    border-radius: 4px;
}

.scm-preorder-card[hidden] {
    display: none !important;
}

/* ===== SCM - strona informacyjna Raty ===== */

.scm-raty-page {
    --scm-raty-red: #d90000;
    --scm-raty-ca: #008e9b;
    --scm-raty-imoje: #ff6900;
    max-width: 1180px;
    margin: 0 auto;
    color: #202020;
}

.scm-raty-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 54px);
    border-left: 5px solid var(--scm-raty-red);
    background: linear-gradient(135deg, #171717 0%, #292929 100%);
    color: #fff;
}

.scm-raty-hero::after {
    content: "RATY";
    position: absolute;
    right: 24px;
    bottom: -24px;
    color: rgba(255, 255, 255, .055);
    font-size: clamp(80px, 15vw, 180px);
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.scm-raty-hero > * {
    position: relative;
    z-index: 1;
}

.scm-raty-hero__eyebrow {
    margin: 0 0 10px;
    color: #ff3a3a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.scm-raty-hero h2 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
}

.scm-raty-hero p:last-child {
    max-width: 780px;
    margin: 0;
    color: #e7e7e7;
    font-size: 17px;
    line-height: 1.65;
}

.scm-raty-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.scm-raty-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #e4e4e4;
    border-top: 4px solid var(--scm-raty-ca);
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .065);
}

.scm-raty-card--imoje {
    border-top-color: var(--scm-raty-imoje);
}

.scm-raty-card__brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
}

.scm-raty-card__brand img {
    display: block;
    width: auto;
    max-width: 300px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.scm-raty-card--ca .scm-raty-card__brand {
    display: block;
    width: 100%;
}

.scm-raty-card--ca .scm-raty-card__brand img {
    width: 100%;
    max-width: 360px;
    max-height: 76px;
}

.scm-raty-card--imoje .scm-raty-card__brand img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.scm-raty-card__brand-fallback {
    position: relative;
    z-index: 1;
    color: #ff6200;
    font-size: 34px;
    line-height: 104px;
    font-weight: 700;
}

.scm-raty-card--imoje .scm-raty-card__brand {
    position: relative;
    display: block;
    overflow: hidden;
    width: 260px;
    height: 104px;
    background-color: #fff;
    background-image: url("/SUCRO/images/content/ing_pay_rgb_podstawowe.png");
    background-repeat: no-repeat;
    background-position: -137px -99px;
    background-size: 520px auto;
}

.scm-raty-card h3,
.scm-raty-help h3 {
    margin: 0 0 14px;
    color: #111;
    font-size: 23px;
    line-height: 1.25;
}

.scm-raty-card p,
.scm-raty-card li,
.scm-raty-help p {
    font-size: 15px;
    line-height: 1.65;
}

.scm-raty-checklist,
.scm-raty-steps {
    margin: 22px 0;
    padding-left: 22px;
}

.scm-raty-checklist li,
.scm-raty-steps li {
    margin: 7px 0;
}

.scm-raty-checklist li::marker {
    color: var(--scm-raty-ca);
}

.scm-raty-steps li::marker {
    color: var(--scm-raty-imoje);
    font-weight: 800;
}

.scm-raty-card__note {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 3px solid #bbb;
    background: #f6f6f6;
    color: #555;
    font-size: 13px !important;
}

.scm-raty-help {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #e4e4e4;
    background: #fafafa;
}

.scm-raty-help__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.scm-raty-help__grid p {
    margin: 0;
}

.scm-raty-legal {
    margin: 20px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .scm-raty-options,
    .scm-raty-help__grid {
        grid-template-columns: 1fr;
    }

    .scm-raty-hero {
        padding: 28px 22px;
    }

    .scm-raty-hero p:last-child {
        font-size: 15px;
    }
}

.scm-preorder-card__badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    background: #d00000;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
}

.scm-preorder-card__label {
    margin-bottom: 4px;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.scm-preorder-card__date {
    display: block;
    color: #111;
    font-size: 18px;
    line-height: 1.3;
}

/* ===== SCM - przycisk PRE-ORDER ===== */

.scm-is-preorder .scm-buy__submit input[type="submit"],
.scm-is-preorder .scm-buy__submit button {
    background: #d00000 !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
}

.scm-is-preorder .scm-buy__submit input[type="submit"]:hover,
.scm-is-preorder .scm-buy__submit button:hover {
    background: #b80000 !important;
}

/* ===== SCM - PRE-ORDER w koszyku ===== */

.scm-cart-preorder {
    display: block;
    margin-top: 10px;
    padding: 9px 12px;
    border-left: 3px solid #d00000;
    background: #fafafa;
    line-height: 1.4;
}

.scm-cart-preorder strong {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 7px;
    background: #d00000;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.scm-cart-preorder span {
    font-size: 13px !important;
    color: #333 !important;
    font-weight: 500;
}

/* ===== SCM - mocniejsze oznaczenie PRE-ORDER w koszyku ===== */

.module-items .scm-cart-preorder {
    color: #222 !important;
    opacity: 1 !important;
}

.module-items .scm-cart-preorder span {
    color: #222 !important;
    opacity: 1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.module-items .scm-cart-preorder strong {
    color: #fff !important;
    background: #d00000 !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}

/* ===== SCM - PRE-ORDER w szczegółach zamówienia ===== */

.scm-order-preorder {
    margin: 8px 0 10px;
    padding: 9px 12px;
    border-left: 3px solid #d00000;
    background: #fafafa;
    color: #222 !important;
    line-height: 1.4;
}

.scm-order-preorder__badge {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 7px;
    background: #d00000;
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.scm-order-preorder__text {
    color: #222 !important;
    font-size: 13px;
    font-weight: 500;
}

/* ===== SCM - aktualne metody płatności w stopce na podstronach ===== */

.module-a .list-logo.scm-payment-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.module-a .list-logo.scm-payment-logos > li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 56px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 4px 7px !important;
    box-sizing: border-box !important;
    transition: transform .18s ease, opacity .18s ease !important;
}

.module-a .list-logo.scm-payment-logos > li:hover {
    transform: translateY(-3px) scale(1.06);
    opacity: .82;
}

.module-a .list-logo.scm-payment-logos img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 92px !important;
    max-height: 30px !important;
    object-fit: contain !important;
}

.module-a .list-logo.scm-payment-logos .scm-payment-logos__ing img {
    width: 78px !important;
    max-width: 78px !important;
    max-height: 36px !important;
    mix-blend-mode: multiply;
}

.module-a .list-logo.scm-payment-logos .scm-payment-logos__apple img,
.module-a .list-logo.scm-payment-logos .scm-payment-logos__visa-mobile img,
.module-a .list-logo.scm-payment-logos .scm-payment-logos__click-to-pay img,
.module-a .list-logo.scm-payment-logos .scm-payment-logos__twisto img,
.module-a .list-logo.scm-payment-logos .scm-payment-logos__paypal img {
    max-width: 96px !important;
    max-height: 30px !important;
}

.module-a .list-logo.scm-payment-logos .scm-payment-logos__transfer img {
    width: 124px !important;
    max-width: 124px !important;
    max-height: 34px !important;
}

.module-a .list-logo.scm-payment-logos .scm-payment-logos__installments img {
    width: 104px !important;
    max-width: 104px !important;
    max-height: 34px !important;
}

/* Oficjalny znak Apple Pay nie powinien być animowany ani zniekształcany. */
.module-a .list-logo.scm-payment-logos .scm-payment-logos__apple:hover {
    transform: none;
    opacity: 1;
}

@media (max-width: 760px) {
    .module-a .list-logo.scm-payment-logos {
        gap: 8px 12px !important;
    }

    .module-a .list-logo.scm-payment-logos > li {
        height: 40px !important;
        padding: 3px 5px !important;
    }

    .module-a .list-logo.scm-payment-logos img {
        max-width: 76px !important;
        max-height: 26px !important;
    }

    .module-a .list-logo.scm-payment-logos .scm-payment-logos__ing img {
        width: 68px !important;
    }

    .module-a .list-logo.scm-payment-logos .scm-payment-logos__transfer img {
        width: 110px !important;
    }

    .module-a .list-logo.scm-payment-logos .scm-payment-logos__installments img {
        width: 92px !important;
    }
}


/* =========================================================
   SCM / KQS 7.2 - RESPONSYWNE OKNO COOKIES
   Poprawka mobile 06.09.2026
   ========================================================= */

@media (max-width: 768px) {

    #kqs-box-podklad {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        min-width: 0 !important;

        max-height: 90vh !important;
        max-height: 90dvh !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        box-sizing: border-box !important;
    }

    #kqs-box-zawartosc {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;

        padding: 16px !important;

        box-sizing: border-box !important;

        font-size: 15px !important;
        line-height: 1.5 !important;

        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    #kqs-box-zawartosc img,
    #kqs-box-zawartosc table,
    #kqs-box-zawartosc form {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #kqs-box-zawartosc input,
    #kqs-box-zawartosc button,
    #kqs-box-zawartosc label {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}