footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

header,
.header-top {
    background-color: #1e1d1d;
    color: white;
    padding: 10px 0;
}

.header-inner {
    display: flex;
}

.logo {
    width: 150px;
    height: auto;
    margin-left: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    color: #ffcc80;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
}
.mobile-header-phone {
    color: #ffcc80;
    font-weight: bold;
    text-decoration: none;
}
.header-login {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-right: 20px;
}

.header-cart {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid #ff7043;
    border-radius: 8px;
    transition: 0.25s;
}

.header-cart:hover {
    background-color: #ff7043;
    color: white;
}

.categories-bar {
    background-color: #353535;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0;
}

.categories-bar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.categories-bar a:hover {
    background-color: #4a4a4a;
    color: #fff;
}
body {
    background: #f8f8f8;
    color: #222;
    margin: 0;
    padding: 0;
}

.hero {
    background: linear-gradient(135deg, #161616 0%, #262626 100%);
    color: #fff;
    padding: 60px 20px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 35px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 25px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-main,
.hero-btn-second {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.hero-btn-main {
    background: #ff7a2f;
    color: #fff;
    border: 2px solid #ff7a2f;
}

.hero-btn-main:hover {
    background: transparent;
    color: #ff7a2f;
}

.hero-btn-second {
    background: transparent;
    color: #fff;
    border: 2px solid #555;
}

.hero-btn-second:hover {
    border-color: #ff7a2f;
    color: #ff7a2f;
}

.hero-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 25px;
}

.hero-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.hero-box li {
    margin-bottom: 12px;
    color: #f1f1f1;
}

.home-section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin: 25px 0 30px;
    color: #222;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #222;
    border: 1px solid #eee;
    transition: 0.25s ease;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #ff7a2f;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.category-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.category-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.category-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

.products-preview {
    margin-bottom: 50px;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: 0.25s ease;
}

.product-card:hover {
    border-color: #ff7a2f;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 18px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    min-height: 54px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.buy-btn,
.more-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 30px;
    border: 2px solid #ff7a2f;
    color: #ff7a2f;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    background: transparent;
}

.buy-btn:hover,
.more-btn:hover {
    background: #ff7a2f;
    color: #fff;
}

.section-btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.benefit-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    text-align: center;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.55;
}

.info-block {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.info-block h2 {
    font-size: 30px;
    margin-bottom: 18px;
}

.info-block p,
.info-block li {
    font-size: 17px;
    line-height: 1.65;
    color: #444;
}

.info-block ul {
    margin-bottom: 0;
}

.faq-item {
    border-bottom: 1px solid #ececec;
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .hero-inner,
    .category-grid,
    .home-products-grid,
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .hero-inner,
    .category-grid,
    .home-products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .home-section-title {
        font-size: 28px;
    }

    .info-block {
        padding: 22px;
    }
}


@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 112, 67, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 112, 67, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 112, 67, 0);
    }
}

.mobile-menu-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    font-size: 28px;
    color: #ff7043;
    background: none;
    border: 1px solid rgb(255, 112, 67);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-10px);
    animation:
            slideDownFade 0.5s ease-out forwards,
            pulseGlow 2.5s infinite ease-out 1s;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.15);
    color: #ff7043;
    border-color: #ff7043;
    box-shadow: 0 0 8px rgba(255, 112, 67, 0.5);
}

@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Скрыть кнопку меню, когда меню открыто */
.mobile-categories.open + .mobile-menu-btn {
    display: none !important;
}
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none !important;
        visibility: hidden;
        opacity: 0;
    }
}

@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Скрыть кнопку меню, когда меню открыто */
.mobile-categories.open + .mobile-menu-btn {
    display: none !important;
}
.mobile-categories {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #1e1d1d;
    color: #fff;
    padding: 20px;
    transition: 0.3s ease;
    z-index: 9999;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
}

.mobile-categories.open {
    left: 0;
}

.mobile-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffccbc;
    border-bottom: 1px solid #ff7043;
    padding-bottom: 10px;
}

.mobile-categories a {
    display: block;
    color: #ffccbc;
    padding: 14px 0;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease;
}

.mobile-categories a:hover {
    color: #ff7043;
}

/* Пульсирующий крестик */
.close-btn {
    font-size: 30px;
    cursor: pointer;
    color: #ff7043;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.2);
}


/* ------------------------------
   МОБИЛЬНАЯ АДАПТАЦИЯ
------------------------------ */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    .header-right {
        display: none !important;
    }
    .categories-bar {
        display: none !important;
    }

}

.mobile-cart-wrapper {
    background: #353535;
    padding: 12px;
    display: flex;
    justify-content: center;
}

.mobile-cart-btn {
    background-color: transparent;
    border: 1px solid #ff7043;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.2s;
}

.mobile-cart-btn:hover {
    background-color: #ff7043;
    color: #fff;
}

@media (min-width: 992px) {
    .mobile-cart-wrapper {
        display: none !important;
    }
}

/* ------------------------------
   МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ КАРТОЧЕК
------------------------------ */
@media (max-width: 480px) {
    .product-card {
        padding: 18px 14px;
    }
    .product-card img {
        max-height: 150px;
    }
}


/* Затемнение фона */
.order-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn .25s ease-out;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Окно */
.order-popup {
    background: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    animation: scaleIn .25s ease-out;
}

@keyframes scaleIn {
    from {transform: scale(0.85); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Заголовок */
.order-popup h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: -0.3px;
}

/* Текст */
.order-popup p {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.55;
    color: #555;
}

.order-popup::before {
    content: "✔";
    display: block;
    font-size: 42px;
    color: #4CAF50 !important;
    margin-bottom: 15px;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Кнопка */
.order-popup-btn {
    background: linear-gradient(90deg, #ff7a4d, #ff5b2a);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    width: 100%;
    box-shadow: 0 4px 14px rgba(255, 120, 70, 0.35);
}

.order-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 120, 70, 0.45);
}

.order-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
    color: #ff6f43 !important;
    transition: 0.25s;
    font-weight: 400;
}

.order-popup-close:hover {
    color: #ff5722 !important;
    transform: rotate(90deg);
}

/* Само окно — добавляю премиум стиль */
.order-popup {
    background: #ffffff;
    padding: 30px 34px;
    border-radius: 18px;
    max-width: 430px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    animation: popupSlide .35s ease-out;
}

@keyframes popupSlide {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.seo-text a {
    color: #ff7043;
    text-decoration: none;
    font-weight: 600;
}

/* Эффект при наведении (опционально, но красиво) */
.seo-text a:hover {
    text-decoration: none;
    color: #ff5722;
}

.category-card img {
    width: 150px !important;
    height: 150px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}
footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

footer a {
    color:#ff7a4d;
    text-decoration: none !important;
    font-size: 14px;
}

footer a:hover {
    color: #ff7a4d;
}
footer a {
    color: #ff7a4d;       /* желтый */
    text-decoration: none !important; /* убираем подчеркивание */
}


.faq-block {
    max-width: 760px;       /* было 700 → чуть шире */
    margin: 70px 0;
    padding: 15px 0;
}

.faq-title {
    text-align: left;
    font-size: 28px;        /* чуть больше */
    font-weight: 700;
    margin-bottom: 25px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;     /* было 12px → чуть больше */
    margin-bottom: 12px;
    border: 1px solid #eee;
    transition: 0.25s;
}

.faq-item:hover {
    border-color: #ff7a2f;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-size: 16px;        /* было 15 → чуть больше */
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 20px;        /* было 18 */
    color: #ff7a2f;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
    font-size: 15px;        /* было 14 */
}

.faq-item.active .faq-answer {
    display: block;
}
.faq-answer a {
    color: #ff7a00; /* оранжевый под сайт */
    text-decoration: none; /* убрать подчеркивание */
    transition: 0.2s;
}

.faq-answer a:hover {
    color: #e66a00; /* чуть темнее при наведении */
}
main a {
    color: #ff7a00;
    text-decoration: none;
    transition: 0.2s;
}

main a:hover {
    color: #e66a00;
}

.breadcrumbs {
    font-size: 14px;
    color: #aaa;
    margin: 20px 0 12px;
    line-height: 1.6;
}

.breadcrumbs a {
    color: #ff7043;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.breadcrumbs a:hover {
    color: #ff8a65;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #777;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #9aa0a6;
    margin: 20px 0 12px;
    line-height: 1;
}

.breadcrumbs a {
    color: #9aa0a6;
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumbs a:hover {
    color: #ff7043;
}

.breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-home svg {
    width: 22px;
    height: 22px;
    display: block;
}

.breadcrumb-separator {
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1;
}