.ekos-category-link{display:block;color:inherit;text-decoration:none}.ekos-product a{color:inherit;text-decoration:none}.ekos-product-photo{display:block}.catalog-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;color:#7a7e84;font-size:13px;text-align:center;background:#f4f4f4}.catalog-empty{grid-column:1/-1;margin:0;padding:22px;border-radius:16px;background:#f6f6f6;color:#6d7279;line-height:1.6}.ekos-public [hidden]{display:none!important}.ekos-public .desktop-page-content{min-width:0}.catalog-title{font-size:clamp(26px,4vw,36px);line-height:1.2;margin:12px 0 18px;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere}.catalog-crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;color:#6b7179;margin:2px 0 18px}.catalog-crumbs a{color:inherit;text-decoration:none}.catalog-intro{white-space:pre-line;line-height:1.6;color:#696f77}.catalog-categories{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.catalog-categories a{padding:8px 12px;border:1px solid #e0e3e7;border-radius:30px;text-decoration:none;font-size:14px}.catalog-categories a[aria-current]{background:#293447;color:white}.catalog-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0}.catalog-toolbar :is(input,select),.catalog-filters :is(input,select){box-sizing:border-box;min-width:0;max-width:100%;width:100%;font:16px/1.4 system-ui;padding:10px;border:1px solid #d2d7de;border-radius:10px;background:white;color:#252d39}.catalog-search{flex:1;min-width:130px}.catalog-sort{flex:0 1 200px}.catalog-button,.catalog-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:0;border-radius:11px;background:#ef711a;color:#fff;font:600 15px/1.4 system-ui;text-decoration:none;cursor:pointer}.catalog-secondary{background:#eef0f3;color:#293447}.catalog-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start}.catalog-grid-no-filters{grid-template-columns:minmax(0,1fr)}.catalog-filters{position:static;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:15px;border:1px solid #e3e5e9;border-radius:16px;background:#f7f7f7;color:#232a34}.catalog-filters:not([open]),.catalog-zoom:not([open]){display:none}.catalog-filters-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.catalog-filters h2{font-size:19px;margin:0}.catalog-filters-heading button{border:0;background:transparent;font-size:30px;min-width:44px;min-height:44px;color:#293447}.catalog-filters fieldset{min-width:0;padding:0;margin:0 0 18px;border:0}.catalog-filters legend{font-size:14px;font-weight:600;margin-bottom:8px}.catalog-range{display:flex;gap:6px}.catalog-range input{width:50%}.catalog-filters .catalog-button{width:100%}.catalog-reset{display:block;text-align:center;margin-top:12px;font-size:14px}.catalog-results{min-width:0}.catalog-count{font-size:14px;color:#72777e;margin:0 0 14px}.ekos-public .ekos-product-photo{aspect-ratio:3/4}.catalog-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:24px 0}.catalog-pagination :is(a,span){display:flex;align-items:center;justify-content:center;min-width:40px;min-height:42px;border:1px solid #e2e5e9;border-radius:10px;padding:7px;text-decoration:none}.catalog-pagination [aria-current]{background:#293447;color:white;border-color:#293447}.catalog-pagination [aria-disabled]{opacity:.4}.catalog-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.catalog-gallery,.catalog-product-info{min-width:0}.catalog-gallery-stage{position:relative}.catalog-gallery-main{display:block;width:100%;padding:0;background:#fff;border:1px solid #e8eaed;border-radius:18px;overflow:hidden;cursor:zoom-in;aspect-ratio:3/4}.catalog-gallery-main img{display:block;width:100%;height:100%;object-fit:contain;touch-action:pan-y}.catalog-gallery-prev,.catalog-gallery-next{position:absolute;top:calc(50% - 22px);width:40px;height:44px;background:#ffffffe8;border:1px solid #e1e4e9;border-radius:12px;font-size:30px;color:#293447;cursor:pointer}.catalog-gallery-prev{left:8px}.catalog-gallery-next{right:8px}.catalog-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 1px 5px;scrollbar-width:thin}.catalog-gallery-thumbs button{flex:0 0 62px;padding:3px;border:2px solid #e6e8eb;background:white;border-radius:11px;cursor:pointer}.catalog-gallery-thumbs button[aria-pressed=true]{border-color:#ef711a}.catalog-gallery-thumbs img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:7px}.catalog-gallery-counter{font-size:13px;color:#777;text-align:center;margin:5px 0}.catalog-gallery-placeholder{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;border-radius:18px;background:#f5f5f5;color:#7a7d83;padding:20px;text-align:center}.catalog-product-category{margin:0 0 7px;font-size:14px;color:#767b82}.catalog-product-info .catalog-title{font-size:clamp(26px,3vw,32px);margin:0 0 12px}.catalog-sku{font-size:13px;color:#6d747e}.catalog-short-description{font-size:16px;line-height:1.6;white-space:pre-line}.catalog-variant-section{margin:22px 0}.catalog-product-info h2,.catalog-section h2,.catalog-description h2{font-size:21px;font-weight:650;margin:0 0 14px}.catalog-variant-buttons{display:flex;flex-wrap:wrap;gap:8px}.catalog-variant-buttons a{display:flex;align-items:center;min-height:44px;border:2px solid #e4e6ea;padding:7px 12px;border-radius:11px;text-decoration:none;font-size:15px}.catalog-variant-buttons a[aria-current],.catalog-variant-cards a[aria-current]{border-color:#ef711a;background:#fff8f2}.catalog-specs{margin:24px 0}.catalog-specs>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #eceef1;font-size:14px}.catalog-specs dt{color:#6e747d}.catalog-specs dd{margin:0;overflow-wrap:anywhere}.catalog-purchase{margin-top:25px;padding:18px;background:#f7f7f7;border-radius:16px}.catalog-purchase h2{font-size:17px;line-height:1.4}.catalog-marketplace{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-radius:11px;color:#fff!important;text-decoration:none;margin-top:9px;font-size:15px;font-weight:600}.catalog-marketplace-ozon{background:#075bfa}.catalog-marketplace-wildberries{background:#a420bc}.catalog-description,.catalog-section{margin-top:30px}.catalog-description{padding:22px;background:#f7f7f7;border-radius:18px}.catalog-description-content{overflow-wrap:anywhere;line-height:1.7}.catalog-description-content p:first-child{margin-top:0}.catalog-description-content img{max-width:100%;height:auto}.catalog-description-content table{display:block;max-width:100%;overflow-x:auto}.catalog-description-content :is(pre,iframe){max-width:100%;overflow:auto}.catalog-variant-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.catalog-variant-cards a{display:flex;align-items:center;gap:10px;padding:9px;border:2px solid #e6e8eb;border-radius:13px;text-decoration:none;font-size:13px;overflow-wrap:anywhere}.catalog-variant-cards img{width:46px;height:62px;object-fit:contain;flex:none}.catalog-zoom{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:52px 15px 15px;border:0;border-radius:16px;background:white;text-align:center}.catalog-zoom::backdrop,.catalog-filters::backdrop{background:#000b}.catalog-zoom>img{display:block;max-width:100%;max-height:calc(100dvh - 150px);width:auto;height:auto;object-fit:contain;margin:auto;touch-action:pan-y}.catalog-zoom-close{position:absolute;top:7px;right:8px;min-width:44px;min-height:44px;background:white;border:1px solid #d9dee5;border-radius:10px;font-size:28px;cursor:pointer}.catalog-zoom-actions{display:flex;justify-content:center;gap:15px;margin-top:12px}.catalog-zoom-actions button{min-width:50px;min-height:44px;font-size:22px;border:1px solid #d9dee5;background:white;border-radius:10px;cursor:pointer}.catalog-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.catalog-text-results{padding:0;list-style:none}.catalog-text-results li{padding:10px 0;border-bottom:1px solid #e8eaed}.catalog-message{padding:15px;background:#fff0e6;border-radius:12px}.catalog-section .ekos-products{margin-top:15px}
@media(max-width:899px){.catalog-grid{grid-template-columns:minmax(0,1fr)}.catalog-filters{margin-bottom:16px}.catalog-filters[data-modal][open]{position:fixed;inset:0 0 0 auto;display:block;width:min(370px,94vw);height:100dvh;max-height:none;margin:0;padding:20px;border:0;border-left:1px solid #ef711a;border-radius:22px 0 0 22px;overflow-y:auto}.catalog-product-layout{grid-template-columns:minmax(0,1fr);gap:22px}.catalog-product-info .catalog-title{font-size:29px}.catalog-variant-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){.catalog-results .ekos-products{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-grid-no-filters .catalog-results .ekos-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.catalog-sort{flex:1;min-width:140px}.catalog-product-info .catalog-title{font-size:27px}.catalog-description{padding:17px}.catalog-variant-cards a{flex-direction:column;align-items:flex-start}.catalog-variant-cards img{width:55px;height:74px}}

/* Mobile catalogue cards: photo inset 4px instead of 8px; text padding stays 8px. */
@media (max-width:1023px) {
    .ekos-public .catalog-results .ekos-product > .ekos-product-photo {
        margin:-4px -4px 0;
    }
}

/* Fit the mobile catalogue photo frame to the actual image proportions. */
@media (max-width:1023px) {
    .ekos-public .catalog-results .ekos-product > .ekos-product-photo:has(> img) {
        aspect-ratio:auto;
    }
    .ekos-public .catalog-results .ekos-product > .ekos-product-photo > img {
        width:100%;max-width:none;height:auto;aspect-ratio:auto;
    }
}

/* Match homepage product cards to the mobile catalogue cards. */
@media (max-width:1023px) {
    body.ekos-home:not(.ekos-public) #ekos-products .ekos-product > .ekos-product-photo {
        margin:-4px -4px 0;
    }
    body.ekos-home:not(.ekos-public) #ekos-products .ekos-product > .ekos-product-photo:has(> img) {
        aspect-ratio:auto;
    }
    body.ekos-home:not(.ekos-public) #ekos-products .ekos-product > .ekos-product-photo > img {
        width:100%;max-width:none;height:auto;aspect-ratio:auto;
    }
}

/* Compact mobile product gallery; desktop thumbnails remain available. */
@media (max-width:1023px) {
    .ekos-public .catalog-gallery {position:relative;}
    .ekos-public .catalog-gallery-thumbs {display:none;}
    .ekos-public .catalog-gallery-counter {
        position:absolute;top:10px;right:10px;z-index:2;
        margin:0;padding:4px 9px;border-radius:9px;
        background:rgba(24,32,44,.65);color:#fff;
        font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums;
        pointer-events:none;
    }
    .ekos-public :is(.catalog-gallery-prev,.catalog-gallery-next) {
        background:transparent;border:1px solid currentColor;box-shadow:none;
    }
}

/* Product breadcrumbs: 20px layout gap minus 3px margin = 17px on both sides. */
@media (max-width:1023px) {
    .ekos-public .catalog-crumbs:has(+ .catalog-product-layout) {
        margin:-3px 0;padding-left:10px;
    }
}

/* Flush mobile product photo: natural height without an inner white frame. */
@media (max-width:1023px) {
    .ekos-public .catalog-gallery-main {
        display:block;aspect-ratio:auto;margin:0;padding:0;border:0;
        background:transparent;line-height:0;
    }
    .ekos-public .catalog-gallery-main > img {
        display:block;width:100%;height:auto;aspect-ratio:auto;margin:0;padding:0;
    }
}

/* Mobile product metadata and paired marketplace links. */
.catalog-mobile-meta,.catalog-marketplace-icon {display:none;}
.catalog-purchase-links {display:contents;}
@media (max-width:1023px) {
    .ekos-public .catalog-product-info > .catalog-mobile-meta {
        display:block;margin:0 0 10px;font-size:13px;line-height:1.5;color:#6d747e;
    }
    .ekos-public .catalog-mobile-meta > span {margin:0 4px;}
    .ekos-public .catalog-product-info > :is(.catalog-product-category,.catalog-sku) {display:none;}
    .ekos-public .catalog-purchase-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .ekos-public .catalog-purchase-links > .catalog-marketplace {
        min-width:0;margin:0;padding:11px 9px;gap:6px;justify-content:center;font-size:13px;
    }
    .ekos-public .catalog-marketplace-label {min-width:0;text-align:center;}
    .ekos-public .catalog-marketplace-icon {
        display:inline-flex;align-items:center;justify-content:center;flex:none;
        width:22px;height:22px;border:1px solid rgba(255,255,255,.65);border-radius:6px;
        color:#fff;font:800 10px/1 system-ui;
    }
    .ekos-public .catalog-marketplace-ozon .catalog-marketplace-icon {font-size:17px;}
    .ekos-public .catalog-marketplace-arrow {flex:none;}
    .ekos-public .catalog-purchase-links > .catalog-marketplace:only-child {grid-column:1/-1;}
}

/* 20px grid gap + (-3.333px) margin = one third of the previous 50px gap. */
@media (max-width:1023px) {
    .ekos-public .catalog-product-layout + .catalog-description {
        margin-top:-3.333px;
    }
}

/* Mobile catalogue/category heading panel and matching breadcrumbs. */
@media (max-width:1023px) {
    .ekos-public .catalog-crumbs:has(+ h1.catalog-title) {
        margin:-3px 0;padding-left:10px;
    }
    .ekos-public .catalog-crumbs + h1.catalog-title {
        margin:0;padding:22px;border-radius:18px;background:#f7f7f7;
    }
}
@media (max-width:480px) {
    .ekos-public .catalog-crumbs + h1.catalog-title {padding:17px;}
}

/* One shared mobile panel for the heading, introduction and category navigation. */
.catalog-heading-panel {display:contents;}
@media (max-width:1023px) {
    .ekos-public .catalog-crumbs:has(+ .catalog-heading-panel) {margin:-3px 0;padding-left:10px;}
    .ekos-public .catalog-heading-panel {display:block;padding:22px;border-radius:18px;background:#f7f7f7;min-width:0;}
    .ekos-public .catalog-heading-panel > .catalog-title {margin:0;}
    .ekos-public .catalog-heading-panel > .catalog-categories {margin:16px 0 0;}
    .ekos-public .catalog-heading-panel > .catalog-intro {margin:12px 0 0;}
    .ekos-public .catalog-heading-panel .catalog-categories a {background:#fff;}
    .ekos-public .catalog-heading-panel .catalog-categories a[aria-current] {background:#293447;color:#fff;}
}
@media (max-width:480px) {
    .ekos-public .catalog-heading-panel {padding:17px;}
}

/* Mobile catalogue uses the shared header search. Keep sorting and filters. */
@media (max-width:1023px) {
    .ekos-public #catalog-query-form > .catalog-toolbar > .catalog-search,
    .ekos-public #catalog-query-form > .catalog-toolbar > button[type="submit"] {
        display:none;
    }
}

/* Matching compact mobile sorting and filter controls. */
@media (max-width:1023px) {
    .ekos-public #catalog-query-form .catalog-toolbar {align-items:center;}
    .ekos-public #catalog-query-form .catalog-sort {display:flex;align-items:center;}
    .ekos-public #catalog-query-form .catalog-sort select {
        -webkit-appearance:none;appearance:none;box-sizing:border-box;
        height:40px;min-height:40px;margin:0;padding:8px 34px 8px 12px;
        border:1px solid #d2d7de;border-radius:12px;
        background-color:#eef0f3;color:#293447;font:400 14px/1.4 system-ui;
        background-image:linear-gradient(45deg,transparent 50%,#293447 50%),linear-gradient(135deg,#293447 50%,transparent 50%);
        background-position:calc(100% - 17px) 17px,calc(100% - 12px) 17px;
        background-size:5px 5px;background-repeat:no-repeat;cursor:pointer;
    }
    .ekos-public #catalog-filters-open {
        box-sizing:border-box;height:40px;min-height:40px;padding:8px 14px;
        border-radius:12px;font-size:14px;line-height:1.4;
    }
}

/* Reduce space between the category panel and mobile filter controls. */
@media (max-width:1023px) {
    .ekos-public #catalog-query-form > .catalog-toolbar {margin-top:0;}
}

/* Indent the mobile catalogue result count independently of product cards. */
@media (max-width:1023px) {
    .ekos-public .catalog-results > .catalog-count {padding-left:10px;}
}

/* Compact related product photos to match the mobile catalogue; retain text padding. */
@media(max-width:1023px){
 .ekos-public .catalog-section .ekos-product > .ekos-product-photo{margin:-4px -4px 0}
 .ekos-public .catalog-section .ekos-product > .ekos-product-photo:has(> img){aspect-ratio:auto}
 .ekos-public .catalog-section .ekos-product > .ekos-product-photo > img{width:100%;max-width:none;height:auto;aspect-ratio:auto}
}

/* Desktop: flush main photo and halve related photo insets without moving text. */
@media(min-width:1024px){
 .ekos-public .catalog-gallery-main{display:block;aspect-ratio:auto;margin:0;padding:0;border:0;background:transparent;line-height:0}
 .ekos-public .catalog-gallery-main>img{display:block;width:100%;height:auto;aspect-ratio:auto;margin:0;padding:0}
 .ekos-public .catalog-section .ekos-product>.ekos-product-photo{margin:-4px -4px 0}
}

/* Light gallery arrows without button fills or borders on all screen sizes. */
.ekos-public .catalog-gallery-stage>:is(.catalog-gallery-prev,.catalog-gallery-next){display:flex;align-items:center;justify-content:center;width:44px;height:48px;top:calc(50% - 24px);padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#f8f9fb;font:400 32px/1 Arial,sans-serif;text-shadow:0 1px 5px rgba(0,0,0,.55);z-index:2}
.ekos-public .catalog-gallery-stage>:is(.catalog-gallery-prev,.catalog-gallery-next):hover{background:transparent;color:#fff}
.ekos-public .catalog-gallery-stage>:is(.catalog-gallery-prev,.catalog-gallery-next):focus-visible{outline:2px solid #fff;outline-offset:2px}
