/* ===== css-0 (0-960px) ===== */

/* --- Мобильная шапка (header1m) --- */
#header1m {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.header1m_logo svg {
    display: block;
}
.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* --- Мобильный нижний бар (footer1m) --- */
#footer1m {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
}
.footer1m_item {
    text-align: center;
    font-size: 11px;
}
.footer1m_item a {
    color: #787878;
    text-decoration: none;
    font-size: 11px;
}
.footer1m_item a:hover {
    color: #000;
}


/* --- Контейнер шапки --- */
.header-wrapper {
    width: 960px;
    margin: 0 auto;
}

/* --- Контейнер контента --- */
.content-wrapper {
    width: 100%;
    margin: 20px auto 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* --- Хлебные крошки --- */
.breadcrumbs-bar {
    background-color: #EDEDED;
}
.breadcrumbs-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.breadcrumbs-inner table {
    width: 100%;
}

/* --- header1 (город, кнопки, телефон) --- */
#header1 {
    display: none;
}
/* --- header1 (город, кнопки, телефон) --- */
#header1.visible {
    background-color: #ededed;
    border-radius: 7px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}
#header1_block1 {
    font-size: 14px;
    padding: 5px 8px;
    display: flex;
    width: 220px;
    order: 1;
}
#header1_block1 A {
    color: #000;
    text-decoration: none;
}
#header1_block1 A:hover {
    color: #4f4f4f;
    text-decoration: underline;
}
#header1_menu {
    display: none;
}
#header1_block2 {
    order: 2;
}
#header1_block2 .btn {
    font-size: 12px;
    padding: 5px 12px;
}
#header1_block4 {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 8px;
    order: 3;
}
#header1_block5 {
    order: 4;
}
#header1_block5 .btn {
    font-size: 12px;
    padding: 5px 12px;
}
.btn {
    background-color: #fb832f;
    border-radius: 7px;
    color: #fff;
    border: 0px;
    padding: 7px 20px;
    font-family: "Roboto Condensed", serif;
    font-size: 14px;
    cursor: pointer;
}

/* --- header2 --- */
#header2 {
    display: none;
}
/* --- header2 --- */
#header2.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10px 0;
    gap: 8px;
}
.header2_logo {
    width: 220px;
    order: 1;
}
.header2_logo svg {
    width: 130px;
    height: auto;
}
.header2_catalogbtn {
    order: 2;
    width: 220px;
}
.header2_catalogbtn button {
    background: #ee5013;
    border: 0px;
    border-radius: 7px;
    color: #fff;
    height: 36px;
    font-size: 16px;
    width: 220px;
    background-image: url("/images/catalog.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center left 0.8em;
    background-size: 16px;
    padding-left: 32px;
    padding-right: 12px;
    cursor: pointer;
}
.header2_search {
    order: 5;
    width: 100%;
}
.header2_search input {
    border: 2px solid #f2f2f2;
    height: 36px;
    width: calc(100% - 20px);
    border-radius: 7px;
    padding-left: 10px;
    padding-right: 40px;
}
.searchicon {
    background-image: url("/images/search.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center right 0.5em;
}
.header2_icons {
    order: 3;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-grow: 1;
}
.header2_icons A {
    color: #787878;
    font-size: 12px;
    text-decoration: none;
}
.header2_icons A:hover {
    color: #000;
}

/* --- header3 (меню под шапкой) --- */
#header3 {
    background-color: #f5f5f5;
    border-radius: 7px;
    padding: 0 15px;
    margin: 0 15px 15px;
}
.header3_menu {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    gap: 20px;
}
.header3_menu LI {
    list-style-type: none;
}
.header3_menu LI A {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.header3_menu LI A:hover {
    color: #ec6608;
}
.header3_menu LI {
    position: relative;
}
.header3_menu LI:hover .header3_submenu {
    display: block;
}
.header3_submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    list-style: none;
    margin: 0;
}
.header3_submenu LI {
    list-style-type: none;
}
.header3_submenu LI A {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.header3_submenu LI A:hover {
    background: #f5f5f5;
    color: #ec6608;
}
