:root {
    --primary: #009840;
    --primary-dark: #202121;
    --dark: #1e1e2f;
    --light: #f8f9fa;
    --gray: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(67, 97, 238, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5 {
    font-size: clamp(18px, 5vw, 22px);
    margin: 0;
    font-weight: 100;
}


p {
    text-align: left;
    font-size: clamp(20px, 5vw, 25px);
}

img {
    aspect-ratio: attr(width) / attr(height);
    width: 100%;
    height: auto;
}

li {
    list-style-type: none;
}

input:focus,
textarea:focus {
    outline: none;
}

input::placeholder {
    opacity: 1;
    transition: opacity 0.8s ease;
}

input:focus::placeholder {
    opacity: 0;
}

textarea::placeholder {
    opacity: 1;
    transition: opacity 0.8s ease;
}

textarea:focus::placeholder {
    opacity: 0;
}

.grecaptcha-badge {
    visibility: hidden;
}

a {
    text-decoration: none;
    color: #515151;
}


html {
    height: 100%;
}

body {
    font-family: 'OpenSans', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
    padding-top: 110px;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 1700px;
    width: 100%;
    padding: 5px 10px;
    min-height: 100vh;
    height: auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.header {
    display: inline-block;
    text-align: center;
    width: 100%;
}


.footer {
    border-top: 1px solid rgb(217, 217, 217);
    padding: 25px 10px;
}

.bread {
    padding: 10px 0;
    margin-bottom: 20px;
    color: #b9b9b9;
    font-size: 0.85em;
}

.bread ol {
    position: relative;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.bread li {
    display: inline;
    padding: 0 5px;
}

.bread li:first-child {
    padding-left: 0;
}

.bread li:last-child {
    padding-right: 0;
}

.bread a {
    text-decoration: none;
    color: #9a9a9a;
    transition: color 0.2s ease;
}

.bread a:hover {
    text-decoration: underline;
    color: #555;
}

.bread .separator {
    margin: 0 5px;
    color: #ccc;
}

/* Текущий элемент (активная страница) */
.bread .current {
    color: #333;
    font-weight: 500;
}

.bread ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bread li {
    display: inline-flex;
    align-items: center;
}

.bread li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #ccc;
}

.bread a {
    text-decoration: none;
    color: #9a9a9a;
}

.bread a:hover {
    text-decoration: underline;
    color: #555;
}

.bread [aria-current="page"] {
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .bread {
        font-size: 0.75em;
    }

    .bread li:not(:last-child)::after {
        margin: 0 4px;
    }
}

.info-content {
    padding: 0 10px;
    margin: 0 auto;

}

.info-content h1 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid #00703e;
}

.info-content h2 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #1e293b;
    margin: 24px 0 12px 0;
    padding: 0;
    border-left: 4px solid #00703e;
    padding-left: 16px;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 20px;
    text-align: justify;
}

.info-content ul,
.info-content ol {
    margin: 16px 0 24px 0;
    padding: 0;
    list-style: none;
}

.info-content li {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #334155;
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
}

.info-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #00703e;
    font-size: 1rem;
}

.info-content ol {
    counter-reset: item;
}

.info-content ol li {
    counter-increment: item;
    padding-left: 32px;
}

.info-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #00703e;
    font-weight: 600;
}

.info-content strong {
    color: #0f172a;
    font-weight: 500;
}

.info-content a {
    color: #00703e;
    text-decoration: none;
    border-bottom: 1px dashed #94a3b8;
    transition: 0.2s;
}

.info-content a:hover {
    color: #00703e;
    border-bottom-color: #00703e;
}


@media (max-width: 768px) {
    .info-content {
        padding: 16px 16px 24px;
    }

    .info-content h2 {
        font-size: 1.6rem;
    }

    .info-content h3 {
        font-size: 1.3rem;
    }

    .info-content p,
    .info-content li {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .info-content {
        padding: 20px 24px 28px;
    }
}

.top-menu {
    padding: 7px 20px 3px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*background: white;*/
    box-sizing: border-box;
    z-index: 800;
    transition: transform 0.3s ease-in-out;
    background-image: url('../img/osmo_head.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.top-menu-two {
    background: #009840;
    width: 100%;
    max-height: 50px;
    padding: 5px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    position: fixed;
    left: 0;
    box-sizing: border-box;
    z-index: 999;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
    top: 80px;
}

.top-menu-left ul {
    display: flex;
    gap: 50px;
    margin-left: 25px;
    align-items: center;
}

.top-menu-left li {
    position: relative;
}

.top-menu-left a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    color:#fff;
}

.top-menu-left a:hover {
    color: #e1ffe1;
    transform: translateX(8px);
}

.top-menu-left a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #37ab64, #37ab64);
    transition: width 0.3s ease;
}

.top-menu-left a:hover::before {
    width: 100%;
}

.top-menu-left img {
    width: 103px;
}

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 16px;
    color:#fff;
}

.top-menu-right a {
    text-decoration: none;
    font-size: 14px;
    padding: 4px 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color:#fff;
}

.top-menu-right a:hover {
    color: #e1ffe1;
}

.top-menu-right div.active {
    color: #fff;
    font-weight: 700;
    padding: 4px 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px
}

.top-menu-right span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.top-menu-right ul {
    padding-right: 50px;
}

.top-phone a {
    font-size: 1em;
}

.lang-header {
    width: 200px;
}

.fa-mobile-screen {
    padding-right: 5px;
    font-size: 1.1em;
}

.no-transition {
    transition: none !important;
}

.menu-quick-order {
    width: 15%;
    font-size: 1.3rem;
}

.menu-search {
    width: 40%;
}

.menu-basket {
    width: 10%;
}

@media (max-width: 1005px) {

    .top-menu-left,
    .top-menu-right {
        display: none;
    }

    .top-menu-mobile {
        width: 100%;
        box-sizing: border-box;
    }

    .top-menu-mobile ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .top-menu-mobile li {
        display: flex;
        align-items: center;
    }

    .top-menu-mobile img {
        max-width: 90px;
    }

    .top-menu-mobile a {
        text-decoration: none;
        font-size: 14px;
        padding: 4px 5px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        color:#fff;
    }

    .menu-search {
        min-width: 20px;
        width: 15%;
    }

    .mobile-search-toggle {
        float: none;
        margin: 0 auto;
    }

    .menu-catalog {
        width: 40px;
    }

    .menu-quick-order {
        width: 190px;
        font-size: 1rem;
    }

    .menu-basket {
        max-width: 20px;
    }
}

.menu-catalog {
    position: static;
}

.burger-catalog {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
    z-index: 10001;
    border: 1px solid rgba(255, 255, 255, 0.5);

}

.burger-catalog:hover {
    border: 1px solid #fff;
}

.burger-catalog:active {
    background: rgba(255, 255, 255, 0.25);
}

.burger-icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.burger-icon span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.burger-icon span:nth-child(1) {
    width: 20px;
}

.burger-icon span:nth-child(2) {
    width: 16px;
}

.burger-icon span:nth-child(3) {
    width: 20px;
}

.burger-catalog.active .burger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    width: 20px;
}

.burger-catalog.active .burger-icon span:nth-child(2) {
    opacity: 0;
}

.burger-catalog.active .burger-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 20px;
}

.catalog-label {
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    padding-top: 5px;
}

.catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.87);
    backdrop-filter: blur(1px);
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.catalog-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    max-height: 100vh;
    max-height: 100dvh;
    background: white;
    z-index: 1000000 !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
}

@supports not (height: 100dvh) {
    .catalog-drawer {
        height: 100vh;
        max-height: 100vh;
    }
}

.catalog-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    flex-shrink: 0;
}

.drawer-header h3 {
    font-size: 18px;
    color: #1e2f3c;
    margin: 0;
}

.close-drawer {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-drawer:hover {
    transform: rotate(90deg);
}

.drawer-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.drawer-category {
    border-bottom: 2px solid #fff;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 12px;
}

.category-header a {
    flex: 1;
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #1e2f3c;
}

.category-header a:active {
    background: #fff;
}

.toggle-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1e5a7d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toggle-btn.hidden {
    visibility: hidden;
}

.subcategories {
    display: none;
    background: #fff;
    padding-left: 16px;
}

.subcategories.show {
    display: block;
}

.subcategories a {
    display: block;
    padding: 8px 16px 8px 32px;
    text-decoration: none;
    font-size: 14px;
    color: #4a627a;
    position: relative;
}

.subcategories a:active {
    background: #fff;
}

.subcategories a::before {
    content: "→";
    position: absolute;
    left: 12px;
    color: #1e5a7d;
}

.drawer-nav-section {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 1005px) {
    .catalog-label {
        display: none;
    }

    .drawer-nav-section {
        display: block;
        margin-top: 4px;
    }

    .drawer-nav-section {
        border-top: 1px solid #e0e0e0;
        padding-top: 4px;
    }
}
 .catalog-layout-simple {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 24px 48px 24px;
    }
    .catalog-layout-simple h1{
        padding-bottom: 30px;
        font-size: 1.7em;
    }
    .products-grid-simple {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
    .product-card-simple {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        border: 1px solid rgba(226, 232, 240, 0.6);
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .product-card-simple:hover {
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
        border-color: #e2e8f0;
    }

    .card-img-simple {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    .product-card-simple:hover .card-img-simple {
        transform: scale(1.0001);
    }
    .card-info-simple {
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .product-title-simple {
        font-size: 1rem;
        line-height: 1.4;
        text-transform: uppercase;
        color: #0f172a;
    }
    .product-card-simple:hover .product-title-simple,
    .product-card-simple:hover .product-title-simple a {
        color: #00703e;
    }
    .product-description-simple {
        font-size: 0.85rem;
        color: #475569;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price-row-simple {
        display: flex;
        align-items: baseline;
        gap: 10px;
        margin-top: 8px;
        flex-wrap: wrap;
    }
    .current-price-simple {
        font-weight: 500;
        font-size: 1.1rem;
        letter-spacing: -0.3px;
        color: #0f172a;
    }
    .old-price-simple {
        font-size: 0.85rem;
        color: #94a3b8;
        text-decoration: line-through;
    }

    .buy-button-simple {
        margin-top: 12px;
        background: #f8fafd;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        padding: 10px 0;
        font-weight: 600;
        font-size: 0.85rem;
        color: #1e293b;
        text-align: center;
        transition: 0.2s;
        cursor: pointer;
    }

    .buy-button-simple:hover {
        background: linear-gradient(90deg, #37ab64, #147238);
        color: white;
    }

    .category_doch{
        padding: 15px;
    }

    .series-color-container {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 4px 0 2px;
        flex-wrap: wrap;
    }

    .series-color-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .series-color-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 10px 3px 6px;
        background: #f8fafd;
        border: 1.5px solid #e2e8f0;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
        line-height: 1.4;
        white-space: nowrap;
    }

    .series-color-item:hover {
        background: #e2e8f0;
        border-color: #94a3b8;
        color: #0f172a;
        transform: translateY(-1px);
    }

    .series-color-item.active {
        background: linear-gradient(90deg, #37ab64, #147238);
        border-color: #147238;
        color: white;
        box-shadow: 0 2px 8px rgba(20, 114, 56, 0.25);
    }

    .series-color-item.active:hover {
        background: linear-gradient(90deg, #2d8f54, #0f5f2f);
        box-shadow: 0 4px 12px rgba(20, 114, 56, 0.35);
        transform: translateY(-1px);
    }

    .series-color-item img {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(0,0,0,0.1);
        display: block;
        flex-shrink: 0;
    }

    .series-color-item.active img {
        border-color: white;
    }

    .series-color-wrapper span {
        position: relative;
        bottom: -2px;
    }

    .series-container {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 8px 0 4px;
        flex-wrap: wrap;
    }

    .series-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .series-item {
        display: inline-block;
        padding: 4px 12px;
        background: #f8fafd;
        border: 1.5px solid #e2e8f0;
        border-radius: 5px;
        font-size: 0.8rem;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
        line-height: 1.5;
        white-space: nowrap;
    }

    .series-item:hover {
        background: #e2e8f0;
        border-color: #94a3b8;
        color: #0f172a;
        transform: translateY(-1px);
    }

    .series-item.active {
        background: linear-gradient(90deg, #37ab64, #147238);
        border-color: #147238;
        color: white;
        box-shadow: 0 2px 8px rgba(20, 114, 56, 0.25);
    }

    .series-item.active:hover {
        background: linear-gradient(90deg, #2d8f54, #0f5f2f);
        box-shadow: 0 4px 12px rgba(20, 114, 56, 0.35);
        transform: translateY(-1px);
    }

    @media (max-width: 700px) {
        .catalog-layout-simple {
            padding: 0 16px 32px 16px;
        }

        .products-grid-simple {
            gap: 20px;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        }

        .card-info-simple {
            padding: 14px 12px 16px;
        }

        .product-title-simple {
            font-size: 1rem;
        }

        .current-price-simple {
            font-size: 1.2rem;
        }
        .series-color-container {
            gap: 6px;
        }
        
        .series-color-item {
            padding: 2px 8px 2px 5px;
            font-size: 0.7rem;
        }

        .series-color-item img {
            width: 18px;
            height: 18px;
        }

        .series-container {
            gap: 8px;
            margin: 6px 0 2px;
        }
        
        .series-item {
            padding: 3px 10px;
            font-size: 0.75rem;
        }
    }

    @media (max-width: 480px) {
        .products-grid-simple {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .series-color-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }
        
        .series-color-wrapper {
            gap: 5px;
        }
        
        .series-color-item {
            padding: 2px 8px 2px 5px;
            font-size: 0.65rem;
        }

        .series-color-item img {
            width: 16px;
            height: 16px;
        }

        .series-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
        }
        
        .series-wrapper {
            gap: 5px;
        }
        
        .series-item {
            padding: 3px 10px;
            font-size: 0.7rem;
        }
    }
@font-face {
    font-family: "OpenSans";
    src: url("./font/OpenSans.woff2") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}