/* Omega Modern — адаптивный слой поверх Tech9. Палитра сохранена (#7AAA50, #687B72, #fa8406). */

#wrapper, #wrap, #rapper { max-width: 100%; box-sizing: border-box; }
#omg-burger { display: none; }
.omg-mobile-logo { display: none; }

/* Контент/сайдбар — адаптив */
#sow { overflow: hidden; }
#content { box-sizing: border-box; }
#content img, .entry img { max-width: 100%; height: auto; }

/* Типографика контента */
#content .entry h2 { font-size: 20px; margin: 20px 0 10px; padding-left: 10px; border-left: 4px solid #7AAA50; color: #1F2122; }
#content .entry h3 { font-size: 17px; margin: 16px 0 8px; color: #177245; }
#content .entry table { border-collapse: collapse; margin: 12px 0; max-width: 100%; }
#content .entry th, #content .entry td { border: 1px solid #d9d9d9; padding: 6px 10px; }
#content .entry th { background: #f3fbe4; }
#content .entry .btn { display: inline-block; min-width: 200px; }

/* Футер — современный тёмный, 4 колонки */
#footer { background: #1F2122 !important; background-image: none !important; margin: 34px 0 0 !important; padding: 0 !important; width: 100% !important; }
#footer .inner { background: none !important; width: auto !important; max-width: 1100px; margin: 0 auto; padding: 30px 16px 16px; color: #cfd8d0; }
.omg-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.omg-fcol h3 { color: #fff; font-size: 16px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid #7AAA50; }
.omg-fcol ul { list-style: none; margin: 0; padding: 0; }
.omg-fcol li { margin: 0 0 6px; }
.omg-fcol a { color: #cfe0c8 !important; text-decoration: none; font-size: 14px; line-height: 1.4; }
.omg-fcol a:hover { color: #fff !important; text-decoration: underline; }
.omg-fcol--contacts p { margin: 0 0 10px; font-size: 14px; }
.omg-fcol--contacts a { color: #fff !important; }
.omg-fcol__cta { display: inline-block; margin-top: 8px; padding: 9px 18px; background: #7AAA50; color: #fff !important; border-radius: 4px; font-weight: bold; }
.omg-fcol__cta:hover { background: #177245; text-decoration: none !important; }
.omg-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #3a3f3a; }
.omg-footer-bottom .copy { color: #9aa79c; font-size: 13px; text-align: left; float: none !important; }
.omg-footer-bottom .copy a { color: #cfe0c8; }
.omg-footer-bottom .credits { float: none !important; }
.omg-footer-bottom .credits ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.omg-footer-bottom .credits a { color: #9aa79c !important; font-size: 13px; }
.omg-footer-search { margin-top: 16px; }
.omg-footer-search .b-form-input__input { width: 100%; max-width: 320px; padding: 8px 12px; border: 1px solid #3a3f3a; background: #2a2d2a; color: #dfe6e0; border-radius: 4px; }

/* Каталог: карточки */
.omg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 14px 0; }
.omg-card { border: 1px solid #d9d9d9; border-top: 3px solid #7AAA50; background: #fff; padding: 14px 16px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.omg-card a { color: #177245; text-decoration: none; font-weight: 600; }

/* === Дизайн-проход 2: видимая модернизация (бренд сохранён) === */
/* Заголовки страниц — крупнее, чище */
#content h1 { color: #177245; font-size: 26px; line-height: 1.3; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #e3e3e3; }
#content .entry { color: #333; }
#content .entry > p:first-of-type { font-size: 16px; }
/* Списки — аккуратные маркеры */
#content .entry ul { list-style: none; margin: 10px 0 16px; padding: 0; }
#content .entry ul li { position: relative; padding: 4px 0 4px 22px; margin: 0; }
#content .entry ul li:before { content: "›"; position: absolute; left: 6px; top: 4px; color: #7AAA50; font-weight: bold; font-size: 17px; }
/* Кнопки ссылок в контенте */
#content .entry a[href*="order"], #content .entry a.omg-btn { display: inline-block; padding: 10px 22px; background: #7AAA50; color: #fff !important; text-decoration: none !important; border-radius: 5px; font-weight: bold; }
#content .entry a[href*="order"]:hover, #content .entry a.omg-btn:hover { background: #177245; }
/* Сайдбар — карточки виджетов */
#leftsidebar .widget, #leftsidebar .form_zakaz, #leftsidebar .specialist { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
#leftsidebar h4, #leftsidebar h2, #leftsidebar h3.widgettitle { color: #177245 !important; background: none !important; font-size: 16px; margin: 0 0 10px; padding: 0 0 8px; border-bottom: 2px solid #e3e3e3; }
/* Поля формы — современнее */
#leftsidebar input[type="text"], #leftsidebar input[type="email"], #leftsidebar input[type="tel"], #leftsidebar textarea, #leftsidebar select { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #cfcfcf; border-radius: 4px; font-size: 14px; }
#leftsidebar input[type="submit"], #leftsidebar input[type="button"], #leftsidebar button { background: #fa8406; color: #fff; border: 0; border-radius: 4px; padding: 10px 18px; font-weight: bold; cursor: pointer; }
#leftsidebar input[type="submit"]:hover { filter: brightness(.95); }

/* Мобильные */
@media (max-width: 860px) {
	#wrap, #wrapper { width: auto !important; }
	#header { height: auto !important; background-size: cover; background-position: center top; }
	/* Текстовый логотип вместо баннера */
	.omg-mobile-logo { display: block !important; font-size: 28px; font-weight: 800; color: #177245; text-decoration: none; padding: 10px 0 2px; letter-spacing: .02em; }
	#header .head { display: none !important; }
	#content, #leftsidebar { width: auto !important; float: none !important; }
	#leftsidebar { margin-top: 16px; }
	#omg-burger { display: inline-block; padding: 8px 14px; font-size: 15px; cursor: pointer; background: #7AAA50; color: #fff; border: 0; border-radius: 4px; }
	#omg-navwrap { display: none; }
	body.omg-nav-open #omg-navwrap { display: block; }
	#nav, #nav ul, #nav li { float: none !important; display: block !important; }
	#nav li a:link { padding: 8px 4px; }
	#nav li ul { position: static !important; left: auto !important; width: auto !important; box-shadow: none !important; }
	#nav li ul a { width: auto !important; }
	.adres_header { margin-top: 8px; }
	.adres_header p { padding-left: 0 !important; }
	#footer .inner { width: auto !important; }
	.omg-footer-grid { grid-template-columns: 1fr; gap: 18px; }
	#content .entry table { display: block; overflow-x: auto; }
}
