* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.45;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ТЕЛЕФОН В САМОМ ВЕРХУ — БЕЗ ОБРАМЛЕНИЯ */
.top-phone {
    background-color: #2c5a2e;
    padding: 6px 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.top-phone a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.top-phone a:hover {
    text-decoration: underline;
}

/* ШАПКА */
.header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.logo img {
    height: 42px;
    width: auto;
}
.logo span {
    font-size: 22px;
    font-weight: 700;
    color: #2c5a2e;
    letter-spacing: -0.3px;
}

/* ДЕСКТОПНОЕ МЕНЮ */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}
.desktop-nav a {
    text-decoration: none;
    color: #2c3e2f;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}
.desktop-nav a:hover {
    color: #2c5a2e;
}
.cart-count {
    background: #2c5a2e;
    color: white;
    border-radius: 30px;
    padding: 1px 7px;
    font-size: 11px;
    margin-left: 5px;
}

/* БУРГЕР */
.burger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c5a2e;
}

/* МОБИЛЬНОЕ МЕНЮ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}
.mobile-menu.open {
    left: 0;
}
.mobile-menu .close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 30px;
    color: #2c5a2e;
}
.mobile-menu ul {
    list-style: none;
}
.mobile-menu li {
    margin-bottom: 20px;
}
.mobile-menu a {
    text-decoration: none;
    color: #2c3e2f;
    font-weight: 500;
    font-size: 16px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    display: none;
}
.overlay.active {
    display: block;
}

/* СТРАНИЦЫ (ШАПКА) */
.page-header {
    background: #2c5a2e;
    color: white;
    padding: 40px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ГЛАВНАЯ (hero) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: white;
    text-align: center;
}
.hero h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero h1 span {
    color: #ffdd00;
}
.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 24px;
}
.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hero-features div {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* КНОПКИ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #2c5a2e;
    color: white;
}
.btn-primary:hover {
    background: #1e4020;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}
.btn-secondary:hover {
    background: white;
    color: #2c5a2e;
}

/* СЕКЦИИ */
.section {
    padding: 60px 0;
    border-bottom: 1px solid #eaeaea;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #222;
}
.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #2c5a2e;
    margin: 12px auto 0;
}

.advantages-grid, .categories-grid, .steps-grid {
    display: grid;
    gap: 28px;
}
.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center;
}
.advantage-item, .category-card {
    background: white;
    padding: 28px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.category-card {
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.advantage-item i, .category-card i {
    color: #2c5a2e;
    margin-bottom: 16px;
}
.step-num {
    width: 48px;
    height: 48px;
    background: #2c5a2e;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.delivery-note {
    text-align: center;
    margin-top: 40px;
    padding: 16px;
    background: #f0f0f0;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* КАТАЛОГ (фильтры и товары) */
.catalog-filters {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 75px;
    z-index: 90;
}
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background: #2c5a2e;
    color: white;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    padding: 40px 0;
}
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-img {
    height: 160px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5a2e;
}
.product-info {
    padding: 20px;
}
.product-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}
.product-price {
    color: #2c5a2e;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}
.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #2c5a2e;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.add-to-cart:hover {
    background: #1e4020;
}

/* ПОДВАЛ */
.footer {
    background: #1e2a1e;
    color: #ccc;
    padding: 40px 0 24px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}
.footer-col p, .footer-col a {
    font-size: 0.85rem;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}
.footer-col a:hover {
    color: white;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4a3a;
    font-size: 0.75rem;
}
.copyright a {
    color: #ffdd00;
    text-decoration: none;
}

/* ФИКСИРОВАННАЯ КНОПКА ЗВОНКА */
.float-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2c5a2e;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 90;
}
.float-phone a {
    color: white;
    font-size: 1.4rem;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .burger { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .hero-features { gap: 16px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.5rem; }
    .container { padding: 0 16px; }
    .page-header h1 { font-size: 1.6rem; }
    .page-header { padding: 30px 0; }
    .catalog-filters { top: 68px; }
    .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero { padding: 50px 0; }
    .btn { padding: 10px 20px; font-size: 13px; }
    .advantages-grid, .categories-grid, .steps-grid { grid-template-columns: 1fr; }
}