.kp-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: 56px;
    margin-bottom: 38px;
    font-family: "Noto Sans", sans-serif;
    color: var(--kp-text);
}

.kp-product-hero--no-gallery {
    grid-template-columns: 1fr;
}


/* =========================================================
   GALLERY
   ========================================================= */
.swiper-wrapper{
    height: 100% !important;
}
.kp-product-gallery {
    min-width: 0;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    position: sticky;
    top: 72px;
}
.kp-product-gallery--single {
    grid-template-columns: minmax(0, 1fr);
}
.kp-product-gallery--single .kp-product-gallery__main {
    width: 100%;
}
/* MAIN SWIPER */

.kp-product-gallery__main {
    min-width: 0;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #fff;
}

.kp-product-gallery__main .swiper-wrapper {
    height: 100%;
}

.kp-product-gallery__main .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kp-product-gallery__main .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* THUMBS COLUMN */

.kp-product-gallery__thumb-column {
    min-width: 0;
    height: 420px;
    display: grid;
    grid-template-rows: 32px minmax(0, 1fr) 32px;
    gap: 8px;
}


/* THUMBS SWIPER */

.kp-product-gallery__thumbs {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.kp-product-gallery__thumbs .swiper-wrapper {
    min-height: 0;
}

.kp-product-gallery__thumbs .swiper-slide {
    height: auto;
    opacity: .55;
    transition:
        opacity .18s ease,
        border-color .18s ease;
}

.kp-product-gallery__thumbs .swiper-slide-thumb-active {
    opacity: 1;
}


/* THUMB */

.kp-product-gallery__thumb {
    display: block;
    width: 100%;
    height: 80px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d8dde8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.kp-product-gallery__thumb:hover {
    border-color: #9da9bf;
}

.kp-product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kp-product-gallery__thumbs
.swiper-slide-thumb-active
.kp-product-gallery__thumb {
    border-color: #23488f;
    box-shadow: 0 0 0 1px rgba(35, 72, 143, .12);
}


/* THUMB NAVIGATION */

.kp-product-gallery__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #201e24;
    cursor: pointer;
    transition:
        opacity .18s ease,
        color .18s ease;
}

.kp-product-gallery__arrow:hover {
    color: #23488f;
}

.kp-product-gallery__arrow svg {
    display: block;
    width: 20px;
    height: 20px;
}

.kp-product-gallery__arrow.swiper-button-disabled {
    opacity: .3;
    pointer-events: none;
}


/* PAGINATION */

.kp-product-gallery__pagination {
    display: none;
}

.kp-product-gallery__pagination.swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    width: 100%;
    z-index: 5;
}

.kp-product-gallery__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;
    opacity: .4;
}

.kp-product-gallery__pagination
.swiper-pagination-bullets
.swiper-pagination-bullet-active {
    opacity: 1;
}


/* =========================================================
   CONTENT
   ========================================================= */

.kp-product-hero__content {
    min-width: 0;
    padding-top: 2px;
}

.kp-product-hero__content h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.22;
}


/* PRICE */

.kp-product-hero__price-wrap {
    margin-bottom: 18px;
}

.kp-product-hero__price-label {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.35;
    color: #33313a;
}

.kp-product-hero__price {
    color: #213c76;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}


/* DESCRIPTION */

.kp-product-hero__description {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.48;
    color: #33313a;
}


/* SPECS */

.kp-product-specs {
    margin: 0 0 18px;
    padding: 0;
}

.kp-product-specs__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #d8dce4;
    font-size: 14px;
    line-height: 1.25;
}

.kp-product-specs dt,
.kp-product-specs dd {
    margin: 0;
}

.kp-product-specs dt {
    color: #33313a;
}

.kp-product-specs dd {
    text-align: right;
    color: #201e24;
}


/* BUTTON */

.kp-product-hero__button {
    width: 100%;
    min-height: 42px;
    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .kp-product-hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .kp-product-gallery {
        position: static;
        top: auto;
    }

    .kp-product-gallery__main {
        height: 420px;
    }

    .kp-product-gallery__thumb-column {
        height: 420px;
    }

    .kp-product-hero__content {
        padding-top: 0;
    }
}


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

@media (max-width: 767px) {

    .kp-product-gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .kp-product-gallery__main {
        order: 1;
        height: 300px;
    }

    .kp-product-gallery__thumb-column {
        order: 2;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        grid-template-rows: auto;
        gap: 6px;
        align-items: center;
    }

    .kp-product-gallery__thumbs {
        width: 100%;
        height: 70px;
    }

    .kp-product-gallery__thumbs .swiper-slide {
        height: 70px;
    }

    .kp-product-gallery__thumb {
        height: 70px;
    }

    .kp-product-gallery__arrow {
        width: 32px;
        height: 70px;
    }

    .kp-product-gallery__arrow--prev svg,
    .kp-product-gallery__arrow--next svg {
        transform: rotate(-90deg);
    }

    .kp-product-gallery__pagination {
        display: block;
    }

    .kp-product-specs__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }
}


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

@media (max-width: 600px) {

    .kp-product-hero {
        margin-bottom: 32px;
    }

    .kp-product-gallery__main {
        height: 240px;
    }

    .kp-product-gallery__thumbs {
        height: 58px;
    }

    .kp-product-gallery__thumbs .swiper-slide {
        height: 58px;
    }

    .kp-product-gallery__thumb {
        height: 58px;
        border-radius: 8px;
    }

    .kp-product-gallery__arrow {
        height: 58px;
    }

    .kp-product-hero__content h1 {
        font-size: 25px;
    }

    .kp-product-hero__price {
        font-size: 20px;
    }

    .kp-product-hero__description {
        font-size: 14px;
    }

    .kp-product-specs__row {
        font-size: 14px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .kp-product-gallery__main {
        height: 210px;
    }

    .kp-product-gallery__thumb-column {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
    }

    .kp-product-gallery__thumbs {
        height: 54px;
    }

    .kp-product-gallery__thumbs .swiper-slide {
        height: 54px;
    }

    .kp-product-gallery__thumb {
        height: 54px;
    }

    .kp-product-gallery__arrow {
        width: 28px;
        height: 54px;
    }

    .kp-product-hero__content h1 {
        font-size: 23px;
    }

    .kp-product-specs__row {
        gap: 10px;
    }
}