/* Modern shop layer: top menu, mobile catalog, product lists and product page */

.topbar-wrap ul#nav {
    left: auto;
    right: auto;
    float: none;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 8px 10px 10px;
    background: #f5f9fc;
    border-top: 1px solid #cddae4;
    border-bottom: 1px solid #cddae4;
}

.topbar-wrap ul#nav li,
.topbar-wrap ul#nav > li,
.topbar-wrap ul#nav ul > li {
    left: auto;
    right: auto;
    float: none;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    white-space: normal;
}

.topbar-wrap ul#nav a,
.topbar-wrap ul#nav > li > a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #c7d8e4;
    border-radius: 4px;
    background: #fff;
    color: #17384e;
    font: 14px/1.2 Arial, sans-serif;
    text-align: center;
    box-shadow: 0 1px 2px rgba(11, 74, 136, .08);
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.topbar-wrap ul#nav a:hover,
.topbar-wrap ul#nav li:hover > a {
    border-color: #8ab6de;
    background: #fafdff;
    color: #006491;
    box-shadow: 0 3px 10px rgba(11, 74, 136, .12);
}

.shop-catalog-mobile {
    display: none;
}

.shop-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 10px 0 14px;
}

.shop-list-toolbar__sort {
    order: 3;
    flex: 1 1 100%;
    min-width: 220px;
}

.shop-list-toolbar__sort:empty {
    display: none;
}

.shop-list-toolbar__pages {
    order: 2;
    flex: 0 1 auto;
    margin-left: auto;
}

.shop-view-toggle {
    order: 1;
    display: inline-flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #b9d2e3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20, 63, 97, .08);
}

.shop-view-toggle__button {
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-left: 1px solid #d7e3eb;
    background: #fff;
    color: #17384e;
    font: bold 13px/1.2 Arial, sans-serif;
    cursor: pointer;
}

.shop-view-toggle__button:first-child {
    border-left: 0;
}

.shop-view-toggle__button:hover,
.shop-view-toggle__button:focus {
    background: #fafdff;
    color: #006491;
}

.shop-view-toggle__button[aria-pressed="true"] {
    background: #0b5f9f;
    color: #fff;
}

.shop-list-toolbar--bottom {
    margin-top: 16px;
}

.shop-list-toolbar .tovarspages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #5d6f7d;
    font-size: 13px;
    line-height: 1.35;
}

.shop-list-toolbar .pagelink,
.shop-list-toolbar .actpage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 5px 9px;
    border: 1px solid #c7d8e4;
    border-radius: 5px;
    background: #fff;
    color: #17384e;
    font: bold 13px/1.2 Arial, sans-serif;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(20, 63, 97, .06);
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.shop-list-toolbar .pagelink:hover,
.shop-list-toolbar .pagelink:focus {
    border-color: #8ab6de;
    background: #fafdff;
    color: #006491;
    box-shadow: 0 3px 10px rgba(20, 63, 97, .12);
}

.shop-list-toolbar .actpage {
    border-color: #0b5f9f;
    background: #0b5f9f;
    color: #fff;
}

.shop-product-list {
    width: 100%;
}

.shop-product-grid,
.content ul.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

.shop-product-grid > .shop-product-card,
.content ul.shop-product-grid > .shop-product-card {
    width: auto !important;
    min-width: 0;
}

.shop-product-card {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-product-card__inner {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(20, 63, 97, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.shop-product-card__inner:hover {
    transform: translateY(-2px);
    border-color: #b9d2e3;
    box-shadow: 0 8px 20px rgba(20, 63, 97, .13);
}

.shop-product-card__image {
    position: static;
    float: none;
    width: 100%;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-align: center;
}

.shop-product-card__image .tovarnameimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 210px;
}

.shop-product-card__badge {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

.shop-product-card__badge:empty {
    display: none;
}

.shop-product-card__badge img,
.shop-product-card__new-icon {
    display: block;
    width: auto;
    max-width: 58px;
    height: auto;
}

.shop-product-card__image img {
    max-width: 100%;
    max-height: 210px;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
}

.shop-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1 1 auto;
}

.shop-product-card__title,
.shop-product-card__title:link,
.shop-product-card__title:visited {
    margin: 0;
    color: #17384e;
    font: bold 16px/1.25 Arial, sans-serif;
    text-decoration: none;
}

.shop-product-card__title:hover {
    color: #006491;
    text-decoration: underline;
}

.shop-product-card__articul,
.shop-product-card__articul .listarticulname,
.shop-product-card__articul .listarticul {
    color: #5d6f7d;
    font-size: 12px;
    line-height: 1.35;
}

.shop-product-card__summary {
    color: #243949;
    font-size: 13px;
    line-height: 1.4;
}

.shop-product-card__summary p {
    margin: 0 0 6px;
}

.shop-product-card__summary span {
    font-size: inherit !important;
    line-height: inherit !important;
}

.shop-product-card__buy {
    margin-top: auto;
}

.shop-product-card__buy table,
.shop-product-card__buy tr,
.shop-product-card__buy td {
    display: inline-block;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    padding: 0;
    vertical-align: middle;
}

.shop-product-card__buy .price,
.shop-product-card__buy .price b {
    font-size: 20px;
}

.shop-product-card__buy input[type=image] {
    width: 34px;
    height: 34px;
    margin-left: 8px;
    vertical-align: middle;
}

.shop-product-page {
    display: grid;
    grid-template-columns: minmax(260px, 40%) minmax(260px, 1fr);
    grid-template-areas:
        "header header"
        "photos summary"
        "photos buy";
    gap: 18px 24px;
    align-items: start;
}

.shop-product-page__header {
    grid-area: header;
}

.shop-product-page .tovartitle {
    margin: 0 0 6px;
    text-transform: none;
    font-size: 28px;
    line-height: 1.2;
}

.shop-product-page .articulname {
    padding: 0;
    color: #5d6f7d;
}

.shop-product-page__photos {
    grid-area: photos;
    float: none !important;
    margin: 0 !important;
    padding: 0;
}

.shop-product-gallery {
    padding: 14px;
    border: 1px solid #d7e3eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(20, 63, 97, .08);
}

.shop-product-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 360px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: #f8fbfd;
    cursor: zoom-in;
}

.shop-product-gallery__main img {
    display: block;
    max-width: 100%;
    max-height: 520px;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
}

.shop-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.shop-product-gallery__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 5px;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.shop-product-gallery__thumb--active {
    border-color: #0b6cad;
    box-shadow: 0 0 0 2px rgba(11, 108, 173, .12);
}

.shop-product-gallery__thumb img {
    display: block;
    max-width: 100%;
    max-height: 66px;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
}

.shop-product-gallery__placeholder {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7d89;
    background: #f8fbfd;
    border-radius: 6px;
}

.shop-product-page__summary {
    grid-area: summary;
    min-width: 0;
}

.shop-product-page__comment {
    margin: 0 0 12px;
}

.shop-product-page__description {
    overflow: visible !important;
    padding: 0 !important;
    text-align: left;
}

.shop-product-page__description p {
    margin-top: 0;
}

.shop-product-page__buy {
    grid-area: buy;
    padding: 16px;
    border: 1px solid #d7e3eb;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f4f9fc 100%);
    box-shadow: 0 2px 7px rgba(20, 63, 97, .08);
}

.shop-product-page__buy .price,
.shop-product-page__buy .price b,
.shop-product-page__buy .defaultvaluta,
.shop-product-page__buy .defaultvaluta b {
    color: #12384f;
    font-size: 24px;
    line-height: 1.2;
}

.shop-product-page__cart {
    margin-top: 12px;
}

.shop-addcart__title {
    margin: 0 0 10px;
    font-weight: bold;
    color: #12384f;
}

.shop-addcart__form {
    display: grid;
    gap: 12px;
}

.shop-addcart__row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-addcart__qty-label {
    font-weight: bold;
    color: #12384f;
}

.shop-addcart__qty,
.shop-product-page .kolinput {
    width: 64px;
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid #b8cfdf;
    border-radius: 6px;
    padding: 6px 8px;
    font: 16px/1.2 Arial, sans-serif;
    text-align: center;
}

.shop-addcart__unit,
.shop-addcart__stock {
    color: #5d6f7d;
}

.shop-addcart__button,
.shop-product-page .myAddButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 0 18px;
    background: #0b6cad;
    color: #fff;
    font: bold 16px/1.2 Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(11, 108, 173, .24);
}

.shop-addcart__button:hover,
.shop-addcart__button:focus,
.shop-product-page .myAddButton:hover,
.shop-product-page .myAddButton:focus {
    background: #095b92;
}

.shop-product-page .myDisabledAddButton,
.shop-product-page .myAddButton:disabled {
    background: #9aaab5;
    cursor: default;
    box-shadow: none;
}

.shop-addcart__unavailable {
    padding: 12px;
    border-radius: 6px;
    background: #f8fbfd;
    color: #5d6f7d;
}

.shop-addcart__sizes table {
    max-width: 100%;
}

.shop-product-page__extra {
    margin-top: 22px;
}

.shop-product-page__legacy-media {
    margin: 16px auto;
    text-align: center;
}

.shop-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 24, 42, .78);
}

.shop-gallery-lightbox--open {
    display: flex;
}

.shop-gallery-lightbox__figure {
    max-width: min(96vw, 1100px);
    max-height: 90vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.shop-gallery-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 58px);
    width: auto;
    height: auto;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.shop-gallery-lightbox__caption {
    max-width: min(92vw, 900px);
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: #12384f;
    font: 14px/1.45 Arial, sans-serif;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.shop-gallery-lightbox__caption:empty {
    display: none;
}

.shop-gallery-lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #12384f;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}
@media (max-width: 760px) {
    .topbar-wrap {
        display: none !important;
    }

    .shop-catalog-mobile {
        display: block;
        padding: 0 12px 12px;
        background: #fff;
    }

    .shop-catalog-toggle {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        border: 1px solid #b8cfdf;
        border-radius: 6px;
        background: linear-gradient(180deg, #fafdff 0%, #e9f3f9 100%);
        color: #12384f;
        font: bold 17px/1.2 Arial, sans-serif;
        box-shadow: 0 2px 7px rgba(11, 74, 136, .12);
    }

    .shop-catalog-toggle__icon {
        position: relative;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .shop-catalog-toggle__icon:before,
    .shop-catalog-toggle__icon:after {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #0b4a88;
        transition: transform .22s ease;
    }

    .shop-catalog-toggle__icon:after {
        transform: rotate(90deg);
    }

    .shop-catalog-toggle--open .shop-catalog-toggle__icon:after {
        transform: rotate(0);
    }

    .shop-catalog-mobile__panel {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        border: 1px solid #d7e3eb;
        border-top: 0;
        border-radius: 0 0 6px 6px;
        background: #fff;
        transition: max-height .28s ease, opacity .2s ease;
    }

    .shop-catalog-mobile__panel--open {
        max-height: 70vh;
        overflow-y: auto;
        opacity: 1;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu,
    .shop-catalog-mobile__panel #shopCatalogMenu ul,
    .shop-catalog-mobile__panel .leftmenu,
    .shop-catalog-mobile__panel .leftmenu ul {
        margin: 0;
        padding: 0;
        list-style: none;
        list-style-image: none;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu a {
        display: block;
        padding: 11px 14px;
        border-bottom: 1px solid #e1eaf0;
        color: #17384e;
        text-decoration: none;
        font: 15px/1.25 Arial, sans-serif;
        background: #fff;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu a:hover,
    .shop-catalog-mobile__panel #shopCatalogMenu a:focus {
        background: #f3f8fc;
        color: #006491;
    }

    .shop-product-grid,
    .content ul.shop-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-product-card__inner {
        padding: 12px;
    }

    .shop-product-card__image {
        min-height: 180px;
    }

    .shop-product-card__image img {
        max-height: 220px;
    }

    .shop-product-page {
        display: block;
    }

    .shop-product-page .tovartitle {
        font-size: 23px;
    }

    .shop-product-page__photos {
        margin-bottom: 16px !important;
        padding: 0;
    }

    .shop-product-gallery {
        padding: 10px;
    }

    .shop-product-gallery__main {
        min-height: 280px;
        padding: 8px;
    }

    .shop-product-gallery__main img {
        max-height: 420px;
    }

    .shop-product-gallery__thumbs {
        grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    }

    .shop-product-gallery__thumb {
        min-height: 66px;
    }

    .shop-product-page__buy {
        margin-top: 16px;
        padding: 14px;
    }

    .shop-addcart__button {
        min-height: 46px;
    }
}

/* shop product page legacy tables */
.tabcontent img {
    max-width: 100%;
    height: auto;
}

.shadetabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 12px;
    padding: 0;
    border-bottom: 1px solid #d7e3eb;
    list-style: none;
}

.shadetabs li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shadetabs a {
    display: block;
    padding: 8px 12px;
    border: 1px solid #d7e3eb;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    background: #f5f9fc;
    color: #17384e;
    text-decoration: none;
}

.shadetabs a.selected,
.shadetabs a:hover {
    background: #fff;
    color: #006491;
}

.tabcontent {
    max-width: 100%;
    overflow-x: auto;
    line-height: 1.5;
}

.tabcontent p {
    margin-top: 0;
}

.tabcontent span {
    line-height: inherit !important;
}

@media (max-width: 760px) {
    .shop-list-toolbar {
        display: block;
        text-align: left;
    }

    .shop-list-toolbar .tovarspages {
        text-align: left;
        line-height: 2.1;
    }

    .shop-product-card__buy table,
    .shop-product-card__buy tbody,
    .shop-product-card__buy tr {
        display: block;
        text-align: left;
    }

    .shop-product-card__buy td {
        display: inline-block;
    }

    .shadetabs {
        display: block;
        border-bottom: 0;
    }

    .shadetabs a {
        border: 1px solid #d7e3eb;
        border-radius: 4px;
        margin-bottom: 6px;
    }
}


/* Mobile catalog nested rows */
@media (max-width: 760px) {
    .shop-catalog-mobile__panel #shopCatalogMenu,
    .shop-catalog-mobile__panel #shopCatalogMenu ul {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu a,
    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__link {
        display: block;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid #e1eaf0;
        border-radius: 0;
        background: #fff;
        color: #17384e;
        font: 15px/1.3 Arial, sans-serif;
        text-align: left;
        text-decoration: none;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        width: 100%;
        border-bottom: 1px solid #e1eaf0;
        background: #fff;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__row > a {
        border-bottom: 0;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-left: 1px solid #e1eaf0;
        background: linear-gradient(180deg, #f8fbfd 0%, #edf5fa 100%);
        color: #0b4a88;
        cursor: pointer;
        font: bold 23px/1 Arial, sans-serif;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__submenu-toggle:hover,
    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__submenu-toggle:focus {
        background: #fff;
        color: #006491;
        outline: none;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__submenu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .26s ease, opacity .2s ease;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__submenu--open {
        max-height: 1200px;
        opacity: 1;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__link--level-1 {
        padding-left: 28px;
        background: #fbfdfe;
    }

    .shop-catalog-mobile__panel #shopCatalogMenu .shop-catalog-menu__link--level-2 {
        padding-left: 42px;
        background: #f7fbfd;
    }
}










.shop-product-grid.shop-product-grid--list,
.content ul.shop-product-grid.shop-product-grid--list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-product-grid--list > .shop-product-card,
.content ul.shop-product-grid--list > .shop-product-card {
    width: 100% !important;
    min-width: 0;
}

.shop-product-grid--list .shop-product-card__inner {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) minmax(120px, auto);
    align-items: start;
    gap: 16px;
    min-height: 0;
}

.shop-product-grid--list .shop-product-card__image {
    min-height: 150px;
}

.shop-product-grid--list .shop-product-card__image .tovarnameimg {
    min-height: 150px;
}

.shop-product-grid--list .shop-product-card__image img {
    max-height: 150px;
}

.shop-product-grid--list .shop-product-card__body {
    min-width: 0;
    text-align: left;
}

.shop-product-grid--list .shop-product-card__title,
.shop-product-grid--list .shop-product-card__articul,
.shop-product-grid--list .shop-product-card__summary {
    text-align: left;
}

.shop-product-grid--list .shop-product-card__body > a.tovarnamelink.shop-product-card__title {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left !important;
}

.shop-product-grid--list .shop-product-card__buy {
    margin-top: 0;
    text-align: right;
}

.shop-load-status {
    min-height: 24px;
    margin: 14px 0;
    color: #5d6f7d;
    font-size: 13px;
    text-align: center;
}

.shop-load-status--loading {
    color: #006491;
}

.shop-load-status--done {
    color: #6d7d87;
}

.shop-loading-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid #c7d8e4;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 63, 97, .1);
}

.shop-loading-indicator__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #c7d8e4;
    border-top-color: #0b5f9f;
    border-radius: 50%;
    animation: shop-spin .75s linear infinite;
}

.shop-loading-skeletons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin: 10px 0 16px;
}

.shop-product-grid--list + .shop-loading-skeletons,
.shop-product-grid--list ~ .shop-loading-skeletons {
    display: flex;
    flex-direction: column;
}

.shop-loading-skeleton {
    min-height: 250px;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65), rgba(255,255,255,0)) -180px 0 / 180px 100% no-repeat,
        linear-gradient(#e6eef4, #e6eef4) center 18px / 58% 132px no-repeat,
        linear-gradient(#edf4f8, #edf4f8) 14px 166px / 82% 14px no-repeat,
        linear-gradient(#edf4f8, #edf4f8) 14px 190px / 68% 12px no-repeat,
        #fff;
    box-shadow: 0 2px 7px rgba(20, 63, 97, .08);
    animation: shop-skeleton 1.2s ease-in-out infinite;
}

.shop-product-card--appearing {
    animation: shop-card-appear .32s ease-out both;
}

@keyframes shop-spin {
    to { transform: rotate(360deg); }
}

@keyframes shop-skeleton {
    to { background-position: 120% 0, center 18px, 14px 166px, 14px 190px, 0 0; }
}

@keyframes shop-card-appear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .shop-list-toolbar {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .shop-list-toolbar__sort,
    .shop-list-toolbar__pages,
    .shop-view-toggle {
        width: 100%;
    }

    .shop-list-toolbar .tovarspages {
        justify-content: center;
    }

    .shop-list-toolbar .pagelink,
    .shop-list-toolbar .actpage {
        min-width: 38px;
        min-height: 38px;
    }

    .shop-view-toggle__button {
        flex: 1 1 50%;
    }

    .shop-product-grid--list .shop-product-card__inner {
        display: flex;
        flex-direction: column;
    }

    .shop-product-grid--list .shop-product-card__buy {
        text-align: left;
    }
}


@media (prefers-reduced-motion: reduce) {
    .shop-loading-indicator__spinner,
    .shop-loading-skeleton,
    .shop-product-card--appearing {
        animation: none;
    }
}




.site-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 2px 0 14px;
    padding: 8px 10px;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    background: #fafdff;
    color: #6b7d89;
    font: 13px/1.35 Arial, sans-serif;
}


.site-breadcrumbs a,
.site-breadcrumbs .categorylink2,
.site-breadcrumbs a.categorylink2,
.site-breadcrumbs a.categorylink2:link,
.site-breadcrumbs a.categorylink2:visited {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #1e4a62;
    font: bold 13px/1.25 Arial, sans-serif;
    text-decoration: none;
}

.site-breadcrumbs a:hover,
.site-breadcrumbs a:focus {
    color: #006491;
    text-decoration: underline;
}


.site-catalog-top {
    margin: 0 0 16px;
}

.site-catalog-heading {
    margin-top: 4px;
    margin-bottom: 16px;
}

.site-product-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
}

.site-product-topline .site-breadcrumbs {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.site-product-brand {
    flex: 0 0 auto;
    padding: 8px 0;
    color: #5d6f7d;
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
}

.site-product-brand a {
    color: #1e4a62;
}

.shop-product-page .tovartitle {
    margin-top: 8px;
}

@media (max-width: 760px) {
    .site-breadcrumbs {
        gap: 4px;
        margin-bottom: 12px;
        padding: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .site-product-topline {
        display: block;
    }

    .site-product-brand {
        text-align: left;
    }
}




.shop-gallery-lightbox__nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(18vw, 92px);
    border: 0;
    background: transparent;
    color: #fff;
    font: 0/1 Arial, sans-serif;
    cursor: pointer;
    opacity: .72;
    transition: opacity .2s ease, background .2s ease;
}

.shop-gallery-lightbox__nav:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-top: 4px solid currentColor;
    border-left: 4px solid currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
}

.shop-gallery-lightbox__nav:hover,
.shop-gallery-lightbox__nav:focus {
    opacity: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
    outline: 0;
}

.shop-gallery-lightbox__nav--prev {
    left: 0;
}

.shop-gallery-lightbox__nav--prev:before {
    left: 30px;
    transform: translateY(-50%) rotate(-45deg);
}

.shop-gallery-lightbox__nav--next {
    right: 0;
}

.shop-gallery-lightbox__nav--next:before {
    right: 30px;
    transform: translateY(-50%) rotate(135deg);
}

.shop-gallery-lightbox__nav--next:hover,
.shop-gallery-lightbox__nav--next:focus {
    background: linear-gradient(270deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
}
.shop-gallery-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 5px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #12384f;
    font: bold 13px/1.2 Arial, sans-serif;
}

@media (max-width: 760px) {
    .shop-gallery-lightbox {
        padding: 18px 12px 64px;
    }

    .shop-gallery-lightbox__figure {
        max-width: 96vw;
        max-height: 78vh;
    }

    .shop-gallery-lightbox__image {
        max-width: 100%;
        max-height: calc(78vh - 58px);
    }

    .shop-gallery-lightbox__nav {
        top: 0;
        bottom: 0;
        width: 68px;
        height: auto;
    }

    .shop-gallery-lightbox__nav:before {
        width: 18px;
        height: 18px;
        border-width: 3px;
    }

    .shop-gallery-lightbox__nav--prev {
        left: 0;
    }

    .shop-gallery-lightbox__nav--prev:before {
        left: 18px;
    }

    .shop-gallery-lightbox__nav--next {
        right: 0;
    }

    .shop-gallery-lightbox__nav--next:before {
        right: 18px;
    }

    .shop-gallery-lightbox__counter {
        bottom: 26px;
    }
}


/* Checkout page */
.shop-checkout-form,
.shop-checkout {
    max-width: 100%;
}

.shop-checkout__cart-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.shop-checkout__cart-table {
    min-width: 680px;
}

.shop-checkout__cart-table td {
    padding: 6px 7px;
    vertical-align: top;
}

.shop-checkout__customer {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d7e3eb;
    border-radius: 6px;
    background: #f7fbfe;
}

.shop-checkout__customer table {
    max-width: 100%;
}

.shop-checkout__customer input[type="text"],
.shop-checkout__customer input[type="email"],
.shop-checkout__customer input[type="tel"],
.shop-checkout__customer input[type="password"],
.shop-checkout__customer select,
.shop-checkout__customer textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.shop-checkout__customer input[type="submit"],
.shop-checkout__customer input[type="button"],
.shop-checkout__customer button {
    min-height: 38px;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    .shop-checkout__cart-scroll {
        margin: 0 -10px 12px;
        padding: 0 10px 8px;
    }

    .shop-checkout__cart-scroll::after {
        content: "Таблицу заказа можно прокрутить влево-вправо";
        display: block;
        margin-top: 6px;
        color: #587082;
        font-size: 12px;
        line-height: 1.3;
    }

    .shop-checkout__cart-table {
        min-width: 640px;
        font-size: 13px;
    }

    .shop-checkout__customer {
        margin-top: 14px;
        padding: 12px;
        border-radius: 4px;
    }

    .shop-checkout__customer table,
    .shop-checkout__customer tbody,
    .shop-checkout__customer tr,
    .shop-checkout__customer td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .shop-checkout__customer td {
        padding: 4px 0 !important;
    }

    .shop-checkout__customer td:empty {
        display: none;
    }

    .shop-checkout__customer input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .shop-checkout__customer select,
    .shop-checkout__customer textarea {
        width: 100% !important;
    }

    .shop-checkout__customer input[type="submit"],
    .shop-checkout__customer input[type="button"],
    .shop-checkout__customer button {
        width: 100%;
        margin-top: 6px;
    }
}



