:root {
    --primary: #4361ee;
    --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: #475569;
}


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.7rem;
    font-weight: 700;
    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 #4a2c17;
}

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

.info-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    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.2rem;
    line-height: 1.6;
    color: #334155;
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
}

.info-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #4a2c17;
    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: #4a2c17;
    font-weight: 600;
}

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

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

.info-content a:hover {
    color: #4a2c17;
    border-bottom-color: #4a2c17;
}


@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;
}

.top-menu-two {
    background: radial-gradient(circle, #d9a86c, #8b5a2b, #4a2c17);
    width: 100%;
    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;
}

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

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

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

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

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 16px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
}

.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;
}

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

.top-menu-right div.active {
    color: #8b5a2b;
    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;
        backdrop-filter: blur(5px);
    }

    .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: 100px;
    }

    .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;
    }

    .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;
    }
}

@font-face {
    font-family: "OpenSans";
    src: url("./font/OpenSans.woff2") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}