/*
Theme Name: DesignMeb Theme
Author: Modern WP Setup
Version: 8.0
*/

:root {
    --green-accent: #32cd32;
    --green-dark: #228b22;
    --dark: #1e293b;
    --text-body: #334155;
    --light-gray: #f8fafc;
    --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text-body); background: #ffffff; line-height: 1.6; }

.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.green-heading { color: #00c853; font-size: 2rem; font-weight: 800; margin: 45px 0 30px; text-align: left; }

/* Шапка */
.site-header { background: #ffffff; padding: 14px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.logo { font-size: 1.6rem; font-weight: 900; text-decoration: none; color: #1e293b; }
.logo-bold { color: #1e293b; }
.logo-accent { color: #c48b36; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; list-style: none; gap: 14px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-menu li a { text-decoration: none; font-size: 0.88rem; font-weight: 600; color: #334155; }
.nav-menu li a:hover { color: #00c853; }
.header-right { display: flex; align-items: center; gap: 15px; }
.header-phone-item { font-size: 0.98rem !important; font-weight: 700 !important; color: #1e293b !important; text-decoration: none !important; display: block; }
.btn-primary-header { background: #c48b36; color: #fff; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.88rem; }

/* Баннер оригинального сайта */
.original-hero { background: #1e293b url('https://designmeb.ru/wp-content/uploads/catalog/hero-bg.jpg') center/cover no-repeat; padding: 65px 20px; color: #ffffff; text-align: center; }
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero-banner-title { display: inline-block; background: rgba(0, 200, 83, 0.85); color: #fff; padding: 12px 30px; font-size: 2.2rem; font-weight: 700; border-radius: 4px; margin-bottom: 15px; }
.hero-banner-sub { background: rgba(0,0,0,0.65); display: inline-block; padding: 6px 20px; border-radius: 4px; font-size: 1rem; color: #e2e8f0; margin-bottom: 40px; }

.hero-callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; text-align: left; margin-top: 20px; }
.callout-card { background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 22px; display: flex; gap: 16px; }
.co-icon { font-size: 2.2rem; line-height: 1; }
.co-content h3 { color: #00e676; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.co-content p { font-size: 0.88rem; line-height: 1.5; color: #cbd5e1; }
.co-content a { color: #00e676; text-decoration: underline; font-weight: 600; }

/* Как мы работаем */
.steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; text-align: center; margin-bottom: 50px; }
.step-item { display: flex; flex-direction: column; align-items: center; }
.step-circle { width: 70px; height: 70px; border-radius: 50%; background: #f1f5f9; border: 2px solid #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 14px; }
.step-item h4 { font-size: 1.05rem; font-weight: 700; color: #00c853; margin-bottom: 6px; }
.step-item p { font-size: 0.8rem; line-height: 1.4; color: #64748b; }

/* О нашей фирме */
.about-firm-text p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; color: #334155; }
.about-firm-cta { color: #00c853; font-size: 1.05rem; margin-top: 15px; }

/* Мы производим */
.produce-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.produce-card { text-decoration: none; display: flex; flex-direction: column; align-items: center; border: 1px solid #f1f5f9; padding: 15px; border-radius: 8px; transition: transform 0.2s, box-shadow 0.2s; }
.produce-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.produce-card h4 { color: #00c853; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; text-align: center; }
.p-thumb { width: 100%; height: 210px; background: #e2e8f0; border-radius: 6px; overflow: hidden; }
.p-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #94a3b8; font-size: 1.1rem; }

/* Каталог и карточки */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.catalog-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.catalog-card.card-hidden { display: none !important; }
.card-thumb { height: 230px; background: #e2e8f0; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-weight: 700; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: #1e293b; line-height: 1.35; }
.btn-card { display: block; text-align: center; border: 1px solid #c48b36; color: #c48b36; padding: 8px 0; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.88rem; margin-top: auto; }
.btn-card:hover { background: #c48b36; color: #fff; }
.btn-load-more { background: #fff; border: 2px solid #00c853; color: #00c853; padding: 12px 30px; font-weight: 700; border-radius: 6px; cursor: pointer; font-size: 0.95rem; }
.btn-load-more:hover { background: #00c853; color: #fff; }

/* Контакты */
.contacts-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 60px; }
.contacts-details p { margin-bottom: 12px; font-size: 0.95rem; }
.contacts-details a { color: #00c853; text-decoration: none; }

/* Подвал */
.original-footer { background: #f8fafc; border-top: 1px solid var(--border); padding: 50px 0 25px; font-size: 0.9rem; color: #475569; }
.footer-columns { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 30px; }
.f-title { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
.f-col a { color: #475569; text-decoration: none; }
.f-col a:hover { color: #00c853; }
.f-list { list-style: none; padding: 0; margin: 0; }
.f-list li { margin-bottom: 10px; }
.footer-copy { text-align: center; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; font-size: 0.82rem; color: #94a3b8; }

@media (max-width: 900px) {
    .hero-callout-grid, .contacts-grid-two, .footer-columns { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .produce-grid, .catalog-grid { grid-template-columns: 1fr; }
    .site-nav { display: none; }
}