:root {
    --veresk-navy: #0b2239;
    --veresk-navy-soft: #143a59;
    --veresk-blue: #55dbe7;
    --veresk-blue-light: #eafafd;
    --veresk-white: #ffffff;
}

body {
    color: #34566e;
    background: var(--veresk-white);
}

h1, h2, h3, h4, h5, h6,
.sec-title h2,
.section-title h2,
.sidebar-title h3,
.title-box h2,
.title-box h3 { color: var(--veresk-navy); }

p, .text { color: #496b82; }

a { color: var(--veresk-navy-soft); }
a:hover, a:focus { color: var(--veresk-blue); }

.header-top-one,
.main-header .main-box .outer-container,
.header-style-three .header-lower,
.main-menu .navigation > li > ul,
.main-menu .navigation > li > ul > li > ul {
    background-color: var(--veresk-navy) !important;
}

.main-header .header-top-one ul li a,
.main-header .header-top-one .social-links li a { color: #d9edf2; }

.main-header .header-top-one .top-links ul li a i,
.main-header .header-upper .info-box .icon-box,
.main-header .header-upper .info-box .icon-box span {
    color: var(--veresk-blue) !important;
}

.main-header .header-top-one ul li a:hover,
.main-header .header-top-one .social-links li a:hover,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a { color: var(--veresk-blue) !important; }

.main-header .header-upper { background: var(--veresk-white); }

.main-header .header-upper .info-box li,
.main-header .header-upper .info-box li strong { color: var(--veresk-navy); }

.header-style-three .header-lower,
.sticky-header { border-color: rgba(85, 219, 231, 0.32) !important; }

.main-menu .navigation > li > a,
.main-menu .navigation > li.dropdown > a:after { color: var(--veresk-white) !important; }

.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > ul > li > ul > li > a {
    color: #dff6fa !important;
    border-color: rgba(85, 219, 231, 0.14) !important;
}

.main-menu .navigation > li > ul > li:hover > a,
.main-menu .navigation > li > ul > li > ul > li:hover > a {
    color: var(--veresk-navy) !important;
    background: var(--veresk-blue) !important;
}

.main-header .outer-box2 {
    width: 280px;
    height: 64px;
    z-index: 30;
}

.main-header .outer-box2 .search-form,
.main-header .outer-box2 .search-form form,
.main-header .outer-box2 .search-form .form-group {
    width: 100%;
    height: 100%;
}

.main-header .outer-box2 .search-form .form-group input[type="search"] {
    display: block;
    width: 100%;
    height: 64px;
    padding: 0 20px 0 68px;
    direction: rtl;
    text-align: right;
    font-size: 14px;
    color: var(--veresk-navy);
    background: #f7fdfe;
    border: 1px solid rgba(85, 219, 231, .38);
    border-radius: 0;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.main-header .outer-box2 .search-form .form-group input[type="search"]::-webkit-search-cancel-button {
    margin-right: 8px;
}

.main-header .outer-box2 .search-form .form-group input[type="search"]::placeholder {
    color: #648196;
    opacity: 1;
}

.main-header .outer-box2 .search-form .form-group input[type="search"]:focus {
    background: #fff;
    border-color: var(--veresk-blue) !important;
    box-shadow: inset 0 0 0 1px var(--veresk-blue);
}

.main-header .outer-box2 .search-form button {
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 64px;
    padding: 0;
    line-height: 64px;
    text-align: center;
    color: var(--veresk-navy) !important;
    background: var(--veresk-blue) !important;
    border: 0;
    border-radius: 0;
    transition: background-color .25s ease, color .25s ease;
}

.main-header .outer-box2 .search-form button .icon {
    color: inherit !important;
    font-size: 18px;
}

.main-header .outer-box2 .search-form button:hover,
.main-header .outer-box2 .search-form button:focus {
    color: #fff !important;
    background: var(--veresk-navy-soft) !important;
}

@media only screen and (max-width: 1140px) and (min-width: 768px) {
    .main-header .outer-box2 { width: 220px; }
}

@media only screen and (max-width: 767px) {
    .main-header .outer-box2 {
        right: auto !important;
        left: 0 !important;
        width: calc(100% - 82px);
        height: 72px;
    }

    .main-header .outer-box2 .search-form .form-group,
    .main-header .outer-box2 .search-form .form-group input[type="search"],
    .main-header .outer-box2 .search-form button {
        height: 72px;
    }

    .main-header .outer-box2 .search-form button { line-height: 72px; }
}

.veresk-logo {
    display: block;
    width: auto;
    object-fit: contain;
    background: var(--veresk-white);
}

.veresk-logo-main { width: 178px; height: 92px; border-radius: 4px; }
.veresk-logo-sticky { width: 105px; height: 58px; }
.main-header .header-upper .logo-box { padding: 8px 0; }

.theme-btn,
.btn-style-one,
.btn-style-two,
.scroll-to-top,
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background-color: var(--veresk-blue) !important;
    border-color: var(--veresk-blue) !important;
    color: var(--veresk-navy) !important;
}

.theme-btn:hover,
.btn-style-one:hover,
.btn-style-two:hover,
.scroll-to-top:hover {
    background-color: var(--veresk-navy-soft) !important;
    border-color: var(--veresk-navy-soft) !important;
    color: var(--veresk-white) !important;
}

.preloader {
    background-color: var(--veresk-white) !important;
}

.page-title,
.page-info,
.breadcrumb-area { border-color: #d9eef3 !important; }

.page-title h1,
.page-title h2,
.page-title .bread-crumb li,
.page-title .bread-crumb li a { color: var(--veresk-white); }

.page-title .bread-crumb li a:hover { color: var(--veresk-blue); }

.service-block .inner-box,
.news-block .inner-box,
.team-member .inner-box,
.shop-item .inner-box,
.sidebar .sidebar-widget,
.accordion-box .block,
.testimonial-block .inner-box {
    border-color: #d8edf2 !important;
}

.service-block .inner-box:hover,
.news-block .inner-box:hover,
.team-member .inner-box:hover,
.shop-item .inner-box:hover {
    border-color: var(--veresk-blue) !important;
    box-shadow: 0 12px 30px rgba(11, 34, 57, 0.10);
}

.service-block .icon-box,
.feature-block .icon-box,
.contact-info .icon-box,
.contact-info li .icon,
.sidebar .list li:before,
.styled-list-one li:before,
.post-meta li a:hover,
.rating .fa,
.price { color: var(--veresk-blue) !important; }

.pagination li a,
.styled-pagination li a {
    color: var(--veresk-navy);
    background: var(--veresk-white);
    border-color: #cde9ef;
}

.pagination li a:hover,
.pagination li.active a,
.styled-pagination li a:hover,
.styled-pagination li.active a {
    color: var(--veresk-navy) !important;
    background: var(--veresk-blue) !important;
    border-color: var(--veresk-blue) !important;
}

.accordion-box .block .acc-btn,
.tabs-box .tab-buttons .tab-btn { color: var(--veresk-navy); }

.accordion-box .block .acc-btn.active,
.tabs-box .tab-buttons .tab-btn.active-btn {
    color: var(--veresk-navy) !important;
    border-color: var(--veresk-blue) !important;
}

.default-form input,
.default-form select,
.default-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    color: var(--veresk-navy);
    background: #f5fcfd;
    border-color: #d8edf2;
}

.default-form input::placeholder,
.default-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6f8b9d; }

.main-footer {
    background: var(--veresk-navy) !important;
    color: #c6dce4;
}

.main-footer .footer-bottom {
    background: #071827 !important;
    border-color: rgba(85, 219, 231, 0.18) !important;
}

.main-footer h3,
.main-footer p,
.main-footer .text,
.main-footer a,
.main-footer li { color: #d8edf2; }

.main-footer a:hover,
.main-footer .links-widget li a:hover,
.main-footer .footer-nav li a:hover { color: var(--veresk-blue) !important; }

.main-footer input[type="email"],
.main-footer input[type="text"] {
    color: var(--veresk-white);
    background: var(--veresk-navy-soft);
    border-color: rgba(85, 219, 231, 0.28);
}

.main-footer .social-links a {
    background: var(--veresk-navy-soft);
    color: var(--veresk-white);
}

.main-footer .social-links a:hover {
    background: var(--veresk-blue) !important;
    color: var(--veresk-navy) !important;
}

.sec-title h2:after,
.section-title h2:after,
.sidebar-title h3:after { background-color: var(--veresk-blue) !important; }

input:focus,
textarea:focus,
select:focus { border-color: var(--veresk-blue) !important; }

::selection { color: var(--veresk-white); background: var(--veresk-navy-soft); }

.bg-light,
.grey-bg,
.light-bg,
.services-section-two,
.testimonial-section,
.team-section { background-color: var(--veresk-blue-light) !important; }

@media only screen and (max-width: 767px) {
    .veresk-logo-main { width: 132px; height: 72px; }
    .veresk-logo-sticky { width: 90px; height: 50px; }
}

/* Only small functional helpers; page layout remains controlled by the purchased theme. */
.site-messages { padding-top: 20px; }
.site-alert { padding: 13px 18px; margin-bottom: 10px; border: 1px solid #cde9ef; background: #eafafd; color: #0b2239; }
.site-alert-success { border-color: #55dbe7; }
.site-alert-error { border-color: #d96c75; background: #fff4f5; }
.field-errors, .errorlist { margin: 6px 0; color: #b53645; font-size: 13px; }
.empty-result { width: 100%; padding: 35px 20px; text-align: center; border: 1px solid #d8edf2; background: #fff; }
.catalog-note { margin: 15px 0; padding: 14px 18px; border-right: 4px solid #55dbe7; background: #eafafd; color: #0b2239; }
.product-details .other-options .theme-btn { margin-left: 8px; margin-bottom: 8px; }
.product-details .inquiry-form { margin-top: 35px; padding-top: 25px; border-top: 1px solid #d8edf2; }
.product-details .inquiry-form select { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #d8edf2; background: #f5fcfd; }
.product-details .inquiry-form textarea { min-height: 120px; }
.project-detail-link { display: block; }

/* Final dynamic logo: remove the purchased theme's yellow factory decoration. */
.main-header .logo a,
.main-header .sticky-header .logo a,
.main-header .header-upper .logo-outer,
.main-header .header-upper .logo-box,
.main-header .header-upper .logo {
    padding: 0 !important;
    top: auto !important;
    background: none !important;
    background-image: none !important;
}

.main-header .logo a::before,
.main-header .logo a::after,
.main-header .logo-outer::before,
.main-header .logo-outer::after,
.main-header .logo-box::before,
.main-header .logo-box::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.veresk-brand-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    line-height: 1;
}

.veresk-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    background: transparent !important;
}

.veresk-logo-main {
    max-width: 220px;
    max-height: 96px;
}

.veresk-logo-sticky {
    max-width: 128px;
    max-height: 56px;
}

.veresk-logo-fallback {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    color: var(--veresk-navy);
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
}

.veresk-logo-fallback-sticky {
    min-height: 52px;
    font-size: 21px;
}

.main-header.header-style-three .logo-outer {
    display: flex;
    align-items: center;
    min-height: 112px;
    margin-bottom: 0;
}

.main-header .header-upper .logo-box {
    padding: 0;
}

.main-header.header-style-three .info-box:last-child {
    margin-right: 20px;
}

.skip-to-content {
    position: fixed;
    top: -100px;
    right: 16px;
    z-index: 100000;
    padding: 10px 16px;
    color: #fff;
    background: var(--veresk-navy);
    border-radius: 4px;
}

.skip-to-content:focus {
    top: 12px;
    color: #fff;
}

img {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .preloader { display: none !important; }
}

@media only screen and (max-width: 767px) {
    .main-header.header-style-three .logo-outer {
        min-height: 82px;
        padding: 4px 0;
    }

    .veresk-brand-link { min-height: 64px; }
    .veresk-logo-main { max-width: 160px; max-height: 70px; }
    .veresk-logo-sticky { max-width: 104px; max-height: 46px; }
    .veresk-logo-fallback { min-height: 64px; font-size: 23px; }
}

/* Editorial image blocks: safely positioned from Django admin. */
.veresk-rich-content {
    display: flow-root;
    width: 100%;
}

.veresk-rich-paragraph {
    margin: 0 0 1.25em;
    color: inherit;
    line-height: 2.05;
}

.veresk-content-media {
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    background: #f2fafc;
    border: 1px solid #d7edf2;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(11, 34, 57, .08);
}

.veresk-content-media.is-center {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
}

.veresk-content-media.is-right,
.veresk-content-media.is-left {
    width: min(52%, 520px);
}

.veresk-content-media.is-right {
    margin-right: 0;
    margin-left: auto;
}

.veresk-content-media.is-left {
    margin-right: auto;
    margin-left: 0;
}

.veresk-content-media a,
.veresk-content-media img {
    display: block;
    width: 100%;
}

.veresk-content-media img {
    height: auto;
    max-height: 720px;
    object-fit: cover;
}

.veresk-content-media figcaption {
    padding: 11px 16px 13px;
    color: #55758b;
    background: #fff;
    font-size: 13px;
    line-height: 1.85;
    text-align: center;
}

/* Homepage categories and products selected by the administrator. */
.veresk-home-categories,
.veresk-home-products {
    padding: 82px 0 72px;
    content-visibility: auto;
    contain-intrinsic-size: 760px;
}

.veresk-home-categories {
    background:
        radial-gradient(circle at 12% 16%, rgba(85, 219, 231, .13), transparent 28%),
        #fff;
}

.veresk-home-products {
    background: #f4fafc !important;
}

.veresk-home-categories .row,
.veresk-home-products .row {
    margin-bottom: 12px;
}

.veresk-category-card {
    display: flex;
    position: relative;
    min-height: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    flex-direction: column;
    color: #0b2239;
    background: #fff;
    border: 1px solid #d8edf2;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.veresk-category-card:hover,
.veresk-category-card:focus-visible {
    color: #0b2239;
    border-color: #55dbe7;
    box-shadow: 0 20px 45px rgba(11, 34, 57, .13);
    transform: translateY(-6px);
}

.veresk-category-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eafafd;
}

.veresk-category-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    content: "";
    background: linear-gradient(0deg, rgba(11, 34, 57, .3), transparent);
}

.veresk-category-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.veresk-category-card:hover .veresk-category-media img {
    transform: scale(1.055);
}

.veresk-category-content {
    display: grid;
    position: relative;
    min-height: 86px;
    padding: 16px 18px 17px 58px;
    align-content: center;
}

.veresk-category-content strong {
    color: #0b2239;
    font-size: 18px;
    line-height: 1.65;
}

.veresk-category-content small {
    color: #678397;
    font-size: 12px;
}

.veresk-card-arrow {
    position: absolute;
    top: 50%;
    left: 16px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #0b2239;
    background: #eafafd;
    border-radius: 50%;
    transform: translateY(-50%);
}

.veresk-home-products .default-shop-item {
    margin-bottom: 30px;
}

.veresk-home-products .default-shop-item .inner-box,
.veresk-shop-page .default-shop-item .inner-box {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8edf2;
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(11, 34, 57, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.veresk-home-products .default-shop-item .inner-box:hover,
.veresk-shop-page .default-shop-item .inner-box:hover {
    border-color: #55dbe7;
    box-shadow: 0 20px 44px rgba(11, 34, 57, .13);
    transform: translateY(-5px);
}

.veresk-home-products .default-shop-item .image-box,
.veresk-shop-page .default-shop-item .image-box {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f8fa;
}

.veresk-home-products .default-shop-item .image-box img,
.veresk-shop-page .default-shop-item .image-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.veresk-home-products .default-shop-item .lower-content,
.veresk-shop-page .default-shop-item .lower-content {
    padding: 18px 18px 20px;
}

.veresk-product-category {
    display: inline-flex;
    margin-bottom: 8px;
    color: #138998;
    font-size: 12px;
    font-weight: 700;
}

/* Project title stays readable below every project image. */
.project-detail-link {
    color: inherit;
    background: #fff;
    border: 1px solid #d7eaf0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(11, 34, 57, .08);
    transition: transform .27s ease, box-shadow .27s ease, border-color .27s ease;
}

.project-detail-link:hover,
.project-detail-link:focus-visible {
    color: inherit;
    border-color: #55dbe7;
    box-shadow: 0 20px 44px rgba(11, 34, 57, .14);
    transform: translateY(-5px);
}

.project-detail-link .effect-bubba {
    margin: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.veresk-project-caption {
    display: grid;
    position: relative;
    min-height: 90px;
    padding: 17px 18px 17px 56px;
    align-content: center;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

.veresk-project-caption strong {
    color: #0b2239;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
}

.veresk-project-caption small {
    color: #6b879a;
    font-size: 12px;
}

.veresk-project-caption .fa {
    position: absolute;
    top: 50%;
    left: 18px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #0b2239;
    background: #55dbe7;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Storefront-grade filtering. */
.veresk-shop-page {
    background: #f6fafc;
}

.veresk-shop-heading {
    display: flex;
    margin-bottom: 24px;
    padding: 24px 26px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #d8edf2;
    border-radius: 18px;
}

.veresk-shop-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #138998;
    font-size: 12px;
    font-weight: 800;
}

.veresk-shop-heading h2 {
    margin: 0 0 4px;
    font-size: clamp(23px, 2.3vw, 32px);
    font-weight: 800;
    line-height: 1.55;
}

.veresk-shop-heading p {
    margin: 0;
    font-size: 14px;
}

.veresk-result-count {
    display: grid;
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 82px;
    padding: 10px;
    place-items: center;
    align-content: center;
    background: #eafafd;
    border: 1px solid #c8edf2;
    border-radius: 15px;
}

.veresk-result-count strong {
    color: #0b2239;
    font-size: 25px;
    line-height: 1.25;
}

.veresk-result-count span {
    color: #56788e;
    font-size: 11px;
}

.veresk-active-filter {
    margin-bottom: 22px;
    padding: 12px 16px;
    color: #17405a;
    background: #eafafd;
    border-right: 4px solid #55dbe7;
    border-radius: 10px;
    font-size: 13px;
}

.veresk-active-filter .fa {
    margin-left: 5px;
}

.veresk-active-filter a {
    display: inline-block;
    margin-right: 8px;
    color: #087d8a;
    font-weight: 800;
    text-decoration: underline;
}

.veresk-shop-page .default-shop-item {
    margin-bottom: 30px;
}

.veresk-shop-page .default-shop-item h3 {
    min-height: 58px;
    margin-bottom: 8px;
}

.veresk-shop-page .default-shop-item h3 a {
    color: #0b2239;
    font-weight: 800;
}

.veresk-product-meta {
    display: flex;
    min-height: 46px;
    margin-bottom: 9px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.veresk-availability,
.veresk-sku {
    display: inline-flex;
    padding: 4px 8px;
    color: #58768a;
    background: #f1f7f9;
    border-radius: 999px;
    font-size: 10px;
}

.veresk-availability.is-available {
    color: #176c4d;
    background: #e7f8ef;
}

.veresk-availability.is-pre_order {
    color: #825b12;
    background: #fff7df;
}

.veresk-availability.is-unavailable {
    color: #9c3945;
    background: #fff0f2;
}

.veresk-shop-page .price,
.veresk-home-products .price {
    color: #0b2239 !important;
    font-size: 17px;
    font-weight: 800;
}

.veresk-shop-page .price small {
    font-size: 11px;
    font-weight: 600;
}

.veresk-shop-page .price.is-inquiry {
    color: #138998 !important;
}

.veresk-filter-sidebar {
    position: sticky;
    top: 86px;
}

.veresk-filter-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d4e9ee;
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(11, 34, 57, .07);
}

.veresk-filter-panel > summary {
    display: flex;
    min-height: 58px;
    padding: 14px 17px;
    align-items: center;
    justify-content: space-between;
    color: #0b2239;
    background: #eafafd;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.veresk-filter-summary-title {
    display: inline-flex;
    align-items: center;
}

.veresk-filter-status {
    display: none;
    margin-right: auto;
    margin-left: 12px;
    color: #587b90;
    font-size: 10px;
    font-weight: 600;
}

.veresk-filter-panel > summary::-webkit-details-marker {
    display: none;
}

.veresk-filter-panel > summary .fa-sliders {
    margin-left: 7px;
    color: #138998;
}

.veresk-filter-chevron {
    transition: transform .2s ease;
}

.veresk-filter-panel[open] .veresk-filter-chevron {
    transform: rotate(180deg);
}

.veresk-shop-filter {
    padding: 18px;
}

.veresk-filter-field {
    margin: 0 0 17px;
    padding: 0;
    border: 0;
}

.veresk-filter-field > label,
.veresk-filter-field > legend {
    display: block;
    width: 100%;
    margin-bottom: 7px;
    color: #183d55;
    font-size: 12px;
    font-weight: 800;
}

.veresk-filter-field input,
.veresk-filter-field select {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    color: #0b2239;
    background: #f8fcfd;
    border: 1px solid #d4e9ee;
    border-radius: 10px;
    outline: 0;
}

.veresk-filter-field input:focus,
.veresk-filter-field select:focus {
    background: #fff;
    border-color: #55dbe7 !important;
    box-shadow: 0 0 0 3px rgba(85, 219, 231, .18);
}

.veresk-filter-search {
    position: relative;
}

.veresk-filter-search input {
    padding-left: 38px;
}

.veresk-filter-search .fa {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #4f778d;
    transform: translateY(-50%);
    pointer-events: none;
}

.veresk-price-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.veresk-price-range label {
    position: relative;
    margin: 0;
}

.veresk-price-range label span {
    position: absolute;
    top: 50%;
    right: 10px;
    color: #7890a0;
    font-size: 10px;
    transform: translateY(-50%);
}

.veresk-price-range input {
    padding-right: 30px;
    font-size: 12px;
}

.veresk-check-filter {
    display: flex;
    position: relative;
    margin: 2px 0 18px;
    align-items: center;
    gap: 9px;
    color: #284e65;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.veresk-check-filter input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.veresk-check-filter > span {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    background: #f8fcfd;
    border: 1px solid #bddde4;
    border-radius: 6px;
}

.veresk-check-filter input:checked + span {
    background: #55dbe7;
    border-color: #55dbe7;
}

.veresk-check-filter input:checked + span::after {
    width: 9px;
    height: 5px;
    content: "";
    border-bottom: 2px solid #0b2239;
    border-left: 2px solid #0b2239;
    transform: rotate(-45deg) translateY(-1px);
}

.veresk-check-filter input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(85, 219, 231, .24);
}

.veresk-filter-actions {
    display: grid;
    gap: 10px;
    text-align: center;
}

.veresk-filter-actions .theme-btn {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
}

.veresk-filter-actions > a {
    color: #54758a;
    font-size: 12px;
}

.veresk-filter-help {
    display: flex;
    margin-top: 14px;
    padding: 15px;
    align-items: center;
    gap: 11px;
    background: #0b2239;
    border-radius: 14px;
}

.veresk-filter-help > .fa {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: #0b2239;
    background: #55dbe7;
    border-radius: 50%;
}

.veresk-filter-help strong,
.veresk-filter-help a {
    display: block;
    line-height: 1.7;
}

.veresk-filter-help strong {
    color: #fff;
    font-size: 11px;
}

.veresk-filter-help a {
    color: #55dbe7;
    font-size: 11px;
}

.veresk-empty-state {
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #bcdde4;
    border-radius: 17px;
}

.veresk-empty-state > .fa {
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    place-items: center;
    color: #0b2239;
    background: #55dbe7;
    border-radius: 50%;
    font-size: 22px;
}

.veresk-empty-state h3 {
    margin-bottom: 6px;
    font-weight: 800;
}

.veresk-empty-state p {
    margin-bottom: 18px;
}

/* Quantity and secure server-backed order total. */
.inquiry-form .form-group > label {
    display: block;
    margin-bottom: 7px;
    color: #183d55;
    font-size: 12px;
    font-weight: 800;
}

.inquiry-form .form-group > label small {
    color: #7890a0;
    font-weight: 500;
}

.product-details .inquiry-form input,
.product-details .inquiry-form select {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #d4e9ee;
    border-radius: 10px;
}

.product-details .inquiry-form textarea {
    border: 1px solid #d4e9ee;
    border-radius: 10px;
}

.veresk-order-total {
    display: grid;
    min-height: 82px;
    padding: 11px 15px;
    align-content: center;
    background: linear-gradient(135deg, #0b2239, #143a59);
    border-radius: 12px;
}

.veresk-order-total span,
.veresk-order-total small {
    color: #c8e0e8;
    font-size: 10px;
}

.veresk-order-total output {
    display: block;
    margin: 2px 0;
    color: #55dbe7;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
}

.veresk-order-submit {
    min-width: 190px;
    min-height: 50px;
    border-radius: 10px;
}

.product-gallery-grid {
    margin-top: 25px;
}

.product-gallery-grid a,
.product-gallery-grid img {
    display: block;
    width: 100%;
}

.product-gallery-grid img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 11px;
}

/* Fixed, timed toast messages with visible countdown. */
.site-messages {
    position: fixed;
    z-index: 100000;
    top: 22px;
    right: 22px;
    width: min(430px, calc(100vw - 44px));
    padding: 0;
    pointer-events: none;
}

.site-alert {
    display: grid;
    position: relative;
    margin: 0 0 12px;
    padding: 15px 46px 17px 44px;
    overflow: hidden;
    grid-template-columns: 1fr;
    color: #17394f;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #cde9ef;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(3, 24, 41, .2);
    pointer-events: auto;
    animation: veresk-toast-in .35s cubic-bezier(.2, .8, .2, 1) both;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity .28s ease, transform .28s ease;
}

.site-alert-success {
    border-color: #70d6b0;
}

.site-alert-error {
    border-color: #e59ba4;
    background: rgba(255, 247, 248, .98);
}

.site-alert-icon {
    position: absolute;
    top: 17px;
    right: 16px;
    color: #15946a;
    font-size: 20px;
}

.site-alert-error .site-alert-icon {
    color: #bd4352;
}

.site-alert-text {
    line-height: 1.9;
    font-size: 13px;
    font-weight: 700;
}

.site-alert-close {
    position: absolute;
    top: 10px;
    left: 9px;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    color: #5b788b;
    background: #eff7f9;
    border: 0;
    border-radius: 50%;
    font-size: 21px;
    line-height: 1;
}

.site-alert-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #55dbe7;
    transform-origin: right center;
    animation: veresk-toast-progress 7.5s linear both;
}

.site-alert-success .site-alert-progress {
    background: #24b67f;
}

.site-alert-error .site-alert-progress {
    background: #d85867;
}

.site-alert.is-leaving {
    opacity: 0;
    transform: translateX(24px) scale(.98);
}

@keyframes veresk-toast-in {
    from { opacity: 0; transform: translateX(30px) scale(.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes veresk-toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.styled-pagination li.active span {
    display: block;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    color: #0b2239;
    background: #55dbe7;
    border: 1px solid #55dbe7;
    line-height: 24px;
}

@media only screen and (max-width: 991px) {
    .veresk-shop-layout {
        display: flex;
        flex-direction: column;
    }

    .veresk-shop-filters {
        order: 1;
        width: 100%;
    }

    .veresk-shop-results {
        order: 2;
        width: 100%;
    }

    .veresk-filter-sidebar {
        position: static;
        margin: 0 0 22px;
    }

    .veresk-filter-panel {
        border-color: #bfe4ea;
        box-shadow: 0 10px 26px rgba(11, 34, 57, .08);
    }

    .veresk-filter-panel > summary {
        min-height: 62px;
        padding: 12px 15px;
    }

    .veresk-filter-status {
        display: inline-block;
    }

    .veresk-filter-panel[open] .veresk-shop-filter {
        border-top: 1px solid #e0eff2;
    }

    .veresk-filter-help {
        display: none;
    }

    .veresk-home-categories,
    .veresk-home-products {
        padding: 62px 0 54px;
    }
}

@media only screen and (max-width: 767px) {
    .veresk-shop-filters {
        padding-right: 15px;
        padding-left: 15px;
    }

    .veresk-filter-status {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .veresk-content-media,
    .veresk-content-media.is-center,
    .veresk-content-media.is-right,
    .veresk-content-media.is-left {
        width: 100%;
        margin: 20px 0;
        border-radius: 12px;
    }

    .veresk-home-categories,
    .veresk-home-products {
        padding: 48px 0 42px;
    }

    .veresk-category-card {
        margin-bottom: 18px;
    }

    .veresk-category-media {
        aspect-ratio: 16 / 10;
    }

    .veresk-shop-heading {
        padding: 18px;
        align-items: flex-start;
    }

    .veresk-result-count {
        min-width: 88px;
        min-height: 72px;
    }

    .veresk-result-count strong {
        font-size: 21px;
    }

    .veresk-shop-page .default-shop-item {
        margin-bottom: 20px;
    }

    .veresk-order-total {
        min-height: 74px;
    }

    .veresk-order-submit {
        width: 100%;
    }

    .site-messages {
        top: calc(86px + env(safe-area-inset-top));
        right: 12px;
        left: 12px;
        width: auto;
    }

    .site-alert {
        padding: 13px 42px 15px 40px;
    }
}

@media only screen and (max-width: 420px) {
    .veresk-shop-heading {
        display: grid;
    }

    .veresk-result-count {
        width: 100%;
        grid-template-columns: auto auto;
        justify-content: center;
        gap: 7px;
    }

    .veresk-price-range {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-alert,
    .site-alert-progress {
        animation: none !important;
    }
}
