* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Karantina';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/karantina/v13/buE0po24ccnh31GVMAB59Qo6wNU.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Karantina';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/karantina/v13/buE0po24ccnh31GVMAB5-Qo6wNU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Karantina';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/karantina/v13/buE0po24ccnh31GVMAB59wo6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



body {
    font-family: Helvetica, Arial, sans-serif;
    color: #e5e5e5;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #111;
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

#logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Karantina', Helvetica, Arial, sans-serif;
    font-size: 50px;
    color: #ffd700;
    font-weight: 400;
    gap: 10px;
    line-height: 50px;
}

#logo img {
    height: 44px;
    width: auto;
}

#catalogBtn {
    background: #fd2;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

#catalogBtn:hover {
    background: #fe3;
}

.catalog-btn {
    background: #fd2;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-btn:hover {
    background: #fe3;
}

/* Бургер */
.burger {
    width: 16px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all 0.25s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 6px;
}

.burger span:nth-child(3) {
    top: 12px;
}

/* СОСТОЯНИЕ ОТКРЫТО */
.catalog-btn.active .burger span:nth-child(1) {
    transform: rotate(45deg);
    top: 6px;
}

.catalog-btn.active .burger span:nth-child(2) {
    opacity: 0;
}

.catalog-btn.active .burger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 6px;
}


#searchForm {
    display: flex;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

#searchForm input {
    flex: 1;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    color: #e5e5e5;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

#searchForm input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px #616e1b;
}

#searchForm input::placeholder {
    color: #888;
}

#searchForm button {
    background: #fd2;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchForm button:hover {
    background: #fe3;
}

#phonenmb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

#phonenmb:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

#phonenmb svg {
    width: 20px;
    height: 20px;
    fill: #ffd700;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .benefit-card {
      font-size: 12px;
    }
    
    .benefit-card p {
      display: none;
    }
    
    #logo {
        font-size: 24px;
    }
    
    #logo img {
        height: 32px;
    }
    
    #searchForm {
        order: 3;
        margin: 0;
        min-width: 100%;
    }
    
    #catalogBtn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    #phonenmb {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 4%;
    }
    
    #logo {
        font-size: 20px;
    }
    
    #catalogBtn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ================================
   ГЛАВНОЕ МЕГАМЕНЮ (скрыто по умолчанию)
=================================== */

#megaMenu.mega-menu {
    display: none;               /* скрыто при загрузке */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);

    background: #222;
    width: 100%;
    position: fixed;
    top: 70px;                   /* под хедер */
    left: 0;
    padding: 20px 30px;
    z-index: 999;
    border-top: 1px solid #444;

    transition: 0.25s ease;
}

/* ПОКАЗ МЕНЮ */
#megaMenu.open {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


/* ================================
   ВЕРХНИЙ РЯД ОСНОВНЫХ КАТЕГОРИЙ
=================================== */

.mega-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #333;
}

.mega-main-item {
    flex: 1;
    cursor: pointer;
}

.mega-main-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 10px;
    border-radius: 6px;

    transition: .2s ease;
}

.mega-main-inline:hover {
    background: #333;  /* лёгкий hover */
}

/* Иконка категории слева */
.mega-main-inline img,
.mega-main-inline svg {
    width: 20px;
    height: 20px;
    filter: brightness(0.85);
}

.mega-main-text {
    color: #e5e5e5;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

/* убрать "active" подсветку */
.mega-main-item.active,
.mega-main-item.active .mega-main-inline {
    background: none !important;
    border: none !important;
}


/* ================================
   СЕТКА ПОДКАТЕГОРИЙ
=================================== */

.mega-subgrid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.mega-subcol {
    display: none;               /* показывается только активная */
    flex-direction: column;
    gap: 8px;
}

.mega-subitem {
    background: #2a2a2a;
    padding: 6px 10px;
    border-radius: 4px;
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.mega-subitem:hover {
    background: #383838;
    color: #fff;
}

.mega-empty {
    color: #666;
    font-style: italic;
    padding: 6px 10px;
}


/* ================================
   MOBILE FIX — NO HORIZONTAL SCROLL
================================ */

@media (max-width: 768px) {

    /* само меню */
    .mega-menu-dns {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* внутренний контейнер */
    .mega-dns-inner {
        display: block;          /* УБИРАЕМ GRID */
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    /* колонки превращаем в обычные блоки */
    .mega-dns-categories,
    .mega-dns-subcategories {
        width: 100%;
        max-width: 100%;
        border: none;
        padding: 10px 16px;
        box-sizing: border-box;
    }

    /* скрываем правую колонку по умолчанию */
    .mega-dns-subcategories {
        display: none;
    }

    /* показываем подкатегории, когда есть активная */
    .mega-dns-subcategories.active {
        display: block;
    }

    /* элементы категорий */
    .dns-category-item {
        width: 100%;
        padding: 14px 12px;
        border-bottom: 1px solid #333;
        font-size: 16px;
    }

    /* подкатегории */
    .dns-subcategory-group {
        display: none;
    }

    .dns-subcategory-group.active {
        display: block;
    }

    .dns-subcategory-item {
        display: block;
        width: 100%;
        padding: 14px 12px;
        font-size: 15px;
        border-bottom: 1px solid #2a2a2a;
    }

    /* убираем любые причины горизонтального скролла */
    body {
        overflow-x: hidden;
    }
}


/* =========================
   ВРЕМЕННО СКРЫТЬ BREADCRUMB
========================= */
.breadcrumb {
    display: none !important;
}

/* =========================
   ВРЕМЕННО СКРЫТЬ H1
========================= */
#content h1 {
  font-size: 2.5rem;
  color: #f9d407;
  margin: 3rem 0 0 0;
  text-align: center;
}

/* ================================
   DNS-STYLE MEGA MENU (DARK)
================================ */

.mega-menu-dns {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1e1e1e; /* тёмный фон */
    border-top: 1px solid #333;
    z-index: 999;
}

.mega-menu-dns.open {
    display: block;
}

.mega-dns-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 420px;
}

/* ================================
   ЛЕВАЯ КОЛОНКА — ОСНОВНЫЕ КАТЕГОРИИ
================================ */

.mega-dns-categories {
    border-right: 1px solid #333;
    padding: 20px 0;
    background: #1a1a1a;
}

.dns-category-item {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    color: #e5e5e5;
    transition: background .2s, color .2s;
}

.dns-category-item:hover,
.dns-category-item.active {
    background: #2a2a2a;
    color: #ffd700;
}

/* ЯВНЫЙ ЗАГОЛОВОК */
.mega-dns-categories::before {
    content: "Категории";
    display: block;
    padding: 0 24px 12px;
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

/* ================================
   ПРАВАЯ КОЛОНКА — ПОДКАТЕГОРИИ
================================ */

.mega-dns-subcategories {
    padding: 20px 30px;
    background: #1e1e1e;
}

.mega-dns-subcategories::before {
    content: "Подкатегории";
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.dns-subcategory-group {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 30px;
}

.dns-subcategory-group.active {
    display: grid;
}

.dns-subcategory-item {
    color: #ccc;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
}

.dns-subcategory-item:hover {
    color: #ffd700;
    text-decoration: underline;
}

.dns-uncategorized {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

.dns-uncategorized::before {
    content: "Другое";
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
}

/* ================================
   MOBILE: BACK BUTTON
================================ */

.dns-back {
    display: none;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #ffd700;
    border-bottom: 1px solid #333;
}

@media (max-width: 768px) {
    .dns-back {
        display: block;
    }
}
