@media (min-width: 1200px) {
    #logo {
        padding-right: 0 !important;
    }
}

@media (max-width: 575.98px) and (min-width: 320px) {
    [data-type="width50"] .product-layout,
    [data-type="width50"] .sc-module-item {
        width: 50%;
        padding: 0 0.25rem;
    }
}

:root {
    --kn-soft-radius: 5px;
    --kn-brand-gradient-start: #18b7b2;
    --kn-brand-gradient-end: #0f8da7;
    --kn-brand-gradient-hover-start: #20c7bf;
    --kn-brand-gradient-hover-end: #1275a4;
    --kn-brand-gradient-shadow: 0 6px 16px rgba(15, 141, 167, 0.14);
    --kn-top-gradient-start: #1bb6b1;
    --kn-top-gradient-end: #0c6e8f;
}

.sc-btn,
.btn,
.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="submit"],
input[type="button"],
.content-block,
.dropdown-menu,
.modal-content,
.alert,
.pagination li a,
.pagination li span,
.list-group-item,
.input-group-text,
.form-check-label,
.form-check-item,
.select2-selection,
.select2-dropdown,
.nice-select,
.bootstrap-select .dropdown-toggle,
.breadcrumb,
.popover,
.toast,
.table-bordered,
.sc-module-quantity,
.simplecheckout-block-content,
.oct-checkout-block,
.sc-cart-dropdown,
.kn-contact-page .kn-contact-panel,
.kn-contact-overview,
.kn-contact-fact,
.kn-contact-response-note,
.kn-footer-contact-btn,
.kn-footer-support-item,
.kn-footer-viber-group,
.messager_icon_big,
.sc-category-wall-card,
.sc-category-wall-card-media {
    border-radius: var(--kn-soft-radius) !important;
}

/* Removable gradient layer for primary actions and top bar */
.sc-btn-primary:not([disabled]),
button[data-target="#ocfilter-hidden-options"],
#ocfilter .btn-primary,
#ocfilter .btn-primary:active,
#ocfilter .btn-primary:focus,
.simplecheckout-cart-buttons .button:hover,
.simplecheckout-button-right .button:hover,
#simplecheckout_button_login:hover,
.pagination li.active span,
.pagination li:hover a,
#sc_livesearch_close,
.simplecheckout-cart-buttons .button,
.sc-header-location.active .sc-btn,
.sc-btn-secondary:not([disabled]).clicked,
.sc-btn-secondary:not([disabled]):hover,
.sc-category-sort button.active,
.sc-btn-outline-secondary:not(#oct-blog-search-button, #sc-search-button, [disabled]):hover,
.header-search .sc-btn-with-icon:hover .sc-btn-icon,
.sc-blog-search .sc-btn-with-icon:hover .sc-btn-icon,
.sc-btn.sc-btn-secondary:not([disabled]):hover,
.sc-switcher,
.sidebar-main-menu-item-catalog .sidebar-main-menu-item-icon,
.sc-btn-outline-primary:not([disabled]):hover,
.sc-location.active .sc-btn-secondary {
    background-color: var(--kn-brand-gradient-start);
    background-image: linear-gradient(135deg, var(--kn-brand-gradient-start) 0%, var(--kn-brand-gradient-end) 100%);
    border-color: rgba(10, 83, 101, 0.15);
    box-shadow: var(--kn-brand-gradient-shadow);
}

.sc-btn-primary:not([disabled]):hover,
.sc-btn-primary:not([disabled]):focus,
button[data-target="#ocfilter-hidden-options"]:hover,
#ocfilter .btn-primary:hover,
#ocfilter .btn-primary:focus-visible,
.simplecheckout-cart-buttons .button:hover,
.simplecheckout-button-right .button:hover,
#simplecheckout_button_login:hover,
.sc-btn-secondary:not([disabled]):hover,
.sc-btn-outline-primary:not([disabled]):hover,
.sc-btn.sc-btn-secondary:not([disabled]):hover,
.sc-btn-outline-secondary:not(#oct-blog-search-button, #sc-search-button, [disabled]):hover,
.sc-category-sort button.active:hover,
.sc-switcher:hover,
.sc-location.active .sc-btn-secondary:hover,
.sc-header-location.active .sc-btn:hover {
    background-image: linear-gradient(135deg, var(--kn-brand-gradient-hover-start) 0%, var(--kn-brand-gradient-hover-end) 100%);
    box-shadow: 0 8px 18px rgba(15, 141, 167, 0.18);
}

.sc-btn-primary:not([disabled]),
.sc-btn-secondary:not([disabled]).clicked,
.sc-btn-secondary:not([disabled]):hover,
.simplecheckout-cart-buttons .button,
.simplecheckout-button-right .button:hover,
#simplecheckout_button_login:hover,
.sc-btn-outline-primary:not([disabled]):hover,
.sc-btn-outline-secondary:not(#oct-blog-search-button, #sc-search-button, [disabled]):hover,
.sc-switcher,
.sc-location.active .sc-btn-secondary {
    color: #ffffff;
}

#top {
    background:
        linear-gradient(135deg, var(--kn-top-gradient-start) 0%, var(--kn-top-gradient-end) 100%);
    box-shadow: 0 12px 28px rgba(8, 45, 63, 0.16);
}

#top,
#top a,
#top .sc-dropdown-toggle,
#top .popup-call-trigger,
#top .top-left-links a,
#top .sc-btn-icon {
    color: #f5fdff;
}

#top .top-left-links a,
#top .popup-call-trigger {
    opacity: 0.92;
}

#top .top-left-links a:hover,
#top .popup-call-trigger:hover,
#top .sc-dropdown-toggle:hover {
    color: #ffffff;
    opacity: 1;
}

#top .sc-top-btn,
#top .sc-switcher,
#top .sc-btn.no-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

#top .sc-top-btn:hover,
#top .sc-switcher:hover,
#top .sc-btn.no-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

#top .sc-dropdown {
    color: #17212c;
}

.kn-contact-page .kn-contact-panel,
.sc-category-wall-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 48px rgba(14, 19, 31, 0.08);
}

.kn-contact-overview {
    background:
        radial-gradient(circle at top right, rgba(25, 172, 172, 0.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f5fbfb 100%);
}

.kn-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(25, 172, 172, 0.12);
    color: #0d7474;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kn-contact-store {
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
}

.kn-contact-company-type {
    max-width: 38rem;
}

.kn-contact-image-wrap {
    width: min(100%, 330px);
    flex: 0 0 auto;
}

.kn-contact-richtext {
    color: #27323f;
    font-size: 0.95rem;
    line-height: 1.48;
}

.kn-contact-richtext > * {
    margin-bottom: 0;
}

.kn-contact-richtext > * + * {
    margin-top: 0.45rem;
}

.kn-contact-richtext p {
    margin: 0;
}

.kn-contact-richtext p:last-child {
    margin-bottom: 0;
}

.kn-contact-richtext br + br {
    display: none;
}

.kn-contact-richtext strong {
    color: #17212c;
}

.kn-contact-richtext [style*="background-color"] {
    background-color: transparent !important;
}

.kn-contact-richtext table,
.kn-contact-richtext table td,
.kn-contact-richtext table th {
    border-color: #d9e7ea;
}

.kn-contact-richtext a {
    color: #0d7474;
    text-decoration: none;
}

.kn-contact-richtext a:hover {
    color: #0a5a5a;
}

.kn-contact-fact {
    height: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 94, 94, 0.08);
}

.kn-contact-fact-label {
    margin-bottom: 10px;
    color: #657485;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kn-contact-fact-value,
.kn-contact-fact li,
.kn-contact-fact a {
    color: #1a2431;
    font-size: 14px;
    line-height: 1.65;
}

.kn-contact-response-note {
    margin-top: 18px;
    padding: 14px 16px;
    background: rgba(25, 172, 172, 0.08);
    color: #425164;
    font-size: 13px;
    line-height: 1.5;
}

.kn-contact-map iframe {
    display: block;
    width: 100%;
}

.kn-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(25, 172, 172, 0.18), transparent 34%),
        linear-gradient(180deg, #182129 0%, #0f161c 100%);
}

.kn-footer .sc-footer-title,
.kn-footer,
.kn-footer .sc-footer-email,
.kn-footer .sc-footer-list a {
    color: #edf5f7;
}

.kn-footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.kn-footer-section {
    height: 100%;
    padding: 14px 2px 10px;
}

.kn-footer-links li + li,
.kn-footer-messengers li + li {
    margin-top: 10px;
}

.kn-footer-label {
    margin-top: 16px;
    margin-bottom: 6px;
    color: rgba(196, 210, 218, 0.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kn-footer-label:first-child {
    margin-top: 0;
}

.kn-footer-company,
.kn-footer-value,
.kn-footer-phones li a,
.kn-footer-messengers a {
    color: #f4f8f9;
}

.kn-footer-value,
.kn-footer-phones li,
.kn-footer-phones li a,
.kn-footer-viber-note {
    font-size: 14px;
    line-height: 1.65;
}

.kn-footer-phones li + li {
    margin-top: 6px;
}

.kn-footer-hours {
    margin-top: 22px;
}

.kn-footer-contact-btn {
    margin-top: 22px;
    display: inline-flex;
    width: auto;
    min-width: 220px;
    justify-content: center;
}

.kn-footer-viber-group {
    display: block;
    margin-top: 6px;
    text-decoration: none;
    color: inherit;
}

.messager_icon_big {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.kn-footer-viber-group:hover .messager_icon_big {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

.kn-footer-viber-note {
    margin-top: 12px;
    color: #b9c8cf;
    text-align: center;
}

.kn-footer .sc-footer-list a:hover,
.kn-footer .sc-footer-email:hover,
.kn-footer .kn-footer-messengers a:hover,
.kn-footer .kn-footer-phones li a:hover {
    color: #78d7d7;
}

.kn-footer-support-list {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.kn-footer-support-item {
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.kn-footer-support-title {
    margin-bottom: 6px;
    color: #eff6f7;
    font-size: 13px;
    font-weight: 700;
}

.kn-footer-support-text {
    color: #b9c8cf;
    font-size: 12px;
    line-height: 1.55;
}

.sc-category-wall-shell {
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

.sc-category-wall-hint {
    display: none !important;
}

.sc-category-wall-slider {
    max-width: 100%;
    overflow: hidden;
}

.sc-category-wall-slider .sc-category-wall-grid {
    display: flex;
    max-width: 100%;
}

.sc-category-wall-slider .sc-category-wall-grid-item {
    height: auto;
    min-width: 0;
}

.sc-category-wall-card {
    height: 100%;
    padding: 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sc-category-wall-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.sc-category-wall-card-link {
    gap: 14px;
    height: 100%;
    text-decoration: none;
}

.sc-category-wall-card-media {
    display: block;
    min-height: 450px;
    background-color: transparent;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}

.sc-category-wall-card-media-placeholder {
    background-image: none;
    background-color: transparent;
}

.sc-category-wall-title {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400 !important;
    letter-spacing: 0.02em;
    text-align: center;
    min-height: 0;
}

.sc-category-wall-list {
    gap: 8px;
    margin-bottom: 0;
    align-items: center;
}

.sc-category-wall-list-item {
    color: #5f6f80;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.kn-product-photo-counter,
.kn-product-popup-photo-counter,
.kn-product-gallery-popup .fancybox-caption__body {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #1c1c28;
    box-shadow: 0 8px 24px rgba(14, 19, 31, 0.08);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}

.kn-product-photo-counter {
    width: fit-content;
    margin: 0 auto 12px;
}

.kn-product-popup-photo-counter {
    width: fit-content;
    margin: 40px auto 16px;
    position: relative;
    z-index: 2;
}

.kn-product-gallery-popup .fancybox-caption {
    top: 16px;
    right: 0;
    bottom: auto;
    left: 0;
    padding: 0 60px;
}

.kn-product-gallery-popup .fancybox-caption::before {
    display: none;
}

.kn-product-gallery-popup .fancybox-caption__body {
    width: fit-content;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .kn-product-images-has-thumbs {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 18px;
        row-gap: 12px;
        align-items: start;
    }

    .kn-product-images-has-thumbs > .sc-module-stickers {
        grid-column: 1 / -1;
    }

    .kn-product-images-has-thumbs .sc-product-images-main {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        align-self: start;
        height: 100%;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper {
        height: min(760px, calc(100vh - 220px));
        min-height: 560px;
        max-height: 760px;
        padding: 30px 0;
        overflow: hidden;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-wrapper {
        max-height: none;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slide {
        width: 100% !important;
        height: 92px !important;
        max-height: none;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slide img {
        max-height: 100%;
        width: auto;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slider-btn {
        width: 100%;
        height: 22px;
        left: 0;
        right: 0;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slider-btn-prev {
        top: 0;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slider-btn-next {
        top: auto;
        bottom: 0;
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slider-btn-prev .sc-btn-icon {
        transform: rotate(180deg);
    }

    .kn-product-images-has-thumbs .sc-product-images-additional .swiper-slider-btn-next .sc-btn-icon {
        transform: rotate(0deg);
    }

    .kn-product-images-has-thumbs .kn-product-photo-counter {
        margin-bottom: 16px;
    }

    .sc-category-wall-slider .sc-category-wall-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        transform: none !important;
    }

    .sc-category-wall-slider .sc-category-wall-grid-item {
        width: auto !important;
        margin-right: 0 !important;
        overflow: hidden;
        min-width: 0;
    }

    .sc-category-wall-card {
        padding: 22px;
    }

    .sc-category-wall-card-media {
        min-height: 450px;
    }
}

@media (min-width: 1200px) {
    .sc-category-wall-slider .sc-category-wall-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
    }

    .sc-category-wall-card-media {
        min-height: 450px;
    }
}

@media (min-width: 1600px) {
    .sc-category-wall-slider .sc-category-wall-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px;
    }

    .sc-category-wall-card-media {
        min-height: 450px;
    }
}

@media (max-width: 1599.98px) {
    .sc-module-cart > .sc-module-quantity.d-flex + .sc-module-cart-btn .sc-btn-text {
        display: none;
    }

    .sc-module-cart > .sc-module-quantity.d-flex + .sc-module-cart-btn {
        flex: 0 0 auto;
        min-width: 56px;
        padding-left: 12px;
        padding-right: 12px;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .kn-footer-section {
        padding: 10px 0;
    }

    .kn-footer-contact-btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {

    .sc-category-wall-slider .sc-category-wall-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        transform: none !important;
    }

    .sc-category-wall-slider .sc-category-wall-grid-item {
        width: auto !important;
        margin-right: 0 !important;
        overflow: hidden;
        min-width: 0;
    }
    .kn-product-photo-counter,
    .kn-product-popup-photo-counter,
    .kn-product-gallery-popup .fancybox-caption__body {
        min-height: 30px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .kn-product-popup-photo-counter {
        margin: 24px auto 12px;
    }

    .kn-product-gallery-popup .fancybox-caption {
        top: 12px;
        padding: 0 16px;
    }

    .sc-category-wall-card {
        padding: 16px;
    }

    .sc-category-wall-card-media {
        min-height: 280px;
    }

    .sc-category-wall-title {
        font-size: 14px;
    }

    .messager_icon_big {
        max-width: 100%;
    }
}

/* Mobile catalog button in top header */
#mobile-catalog-button {
    gap: 2px;
    padding: 4px 6px;
    color: inherit;
    line-height: 1;
}

#mobile-catalog-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

#mobile-catalog-button .fsz-10 {
    font-size: 10px;
    white-space: nowrap;
}
