/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 18px 0;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    min-width: 200px;
    flex-shrink: 0;
}
.logo img {
    height: 40px;
    margin-right: 12px;
    display: block;
}
.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    letter-spacing: 0.5px;
}
.main-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.main-menu ul {
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-menu li a {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    padding: 6px 0;
    transition: color .2s;
    position: relative;
}
.main-menu li a:after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #FF6B00;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.main-menu li a:hover:after {
    width: 100%;
}
.main-menu li a:hover {
    color: #FF6B00;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 270px;
    justify-content: flex-end;
}
.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #555;
    position: relative;
}
.action-icon {
    font-size: 22px;
    margin-bottom: 2px;
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #FF6B00;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* SECTIONS & GENERAL UI */
.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF6B00;
}

/* PRODUCTS GRID */
.products-section {
    padding: 50px 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}
.product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF6B00;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    z-index: 2;
}
.product-out-of-stock {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.product-info {
    padding: 15px;
}
.product-title {
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 40px;
    overflow: hidden;
}
.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #FF6B00;
    margin-bottom: 15px;
}
.product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    margin-left: 10px;
}
.product-actions {
    display: flex;
    justify-content: space-between;
}
.btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
}
.btn-primary {
    background: #FF6B00;
    color: #fff;
}
.btn-primary:hover {
    background: #e05d00;
}
.btn-outline {
    background: transparent;
    border: 2px solid #FF6B00;
    color: #FF6B00;
}
.btn-outline:hover {
    background: #FF6B00;
    color: #fff;
}

/* BANNER */
.banner {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}
.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.banner p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* ABOUT */
.about-section {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0;
}
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
}
.advantages {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.advantage-item {
    display: flex;
    align-items: center;
}
.advantage-item i {
    font-size: 24px;
    color: #FF6B00;
    margin-right: 15px;
}

/* BLOG */
.blog-section {
    padding: 60px 0;
    background: #f5f5f5;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}
.blog-image {
    height: 200px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    padding: 20px;
}
.blog-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}
.blog-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.blog-excerpt {
    color: #666;
    margin-bottom: 15px;
}
.read-more {
    color: #FF6B00;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}
.read-more i { margin-left: 5px; }

/* FAQ */
.faq-section {
    padding: 60px 0;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}
.faq-question i {
    transition: transform 0.3s;
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}
.faq-answer.active {
    padding: 15px 20px;
    max-height: 500px;
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 40px; height: 2px;
    background: #FF6B00;
}
.footer-menu li {
    margin-bottom: 10px;
}
.footer-menu a {
    color: #bbb;
    transition: color 0.3s;
}
.footer-menu a:hover {
    color: #fff;
}
.contact-info { color: #bbb; }
.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    margin-right: 10px;
    color: #FF6B00;
}
.subscribe-form {
    display: flex;
    margin-top: 20px;
}
.subscribe-form input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}
.subscribe-form button {
    background: #FF6B00;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.footer-bottom {
    background: #111;
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}
.social-links {
    display: flex;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    margin-right: 10px;
    transition: background 0.3s;
}
.social-links a:hover {
    background: #FF6B00;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .about-content { flex-direction: column; }
    .main-menu ul { gap: 15px; }
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .main-menu { justify-content: flex-start; }
    .main-menu ul {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }
    .header-actions { justify-content: flex-start; }
    .banner h1 { font-size: 32px; }
    .banner p { font-size: 16px; }
}
@media (max-width: 576px) {
    .footer-content { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages { grid-template-columns: 1fr; }
    .banner h1 { font-size: 26px; }
    .section-title { font-size: 21px; }
    .logo-text { font-size: 17px; }
    .header-actions { min-width: unset; gap: 8px; }
}
/* Каталог товаров — стилизация внутренних страниц */
.products-section {
    padding: 48px 0 56px 0;
    background: #f9f9f9;
}

.products-section .container {
    /* Оставляем стандартную ширину */
}

.products-section .section-title,
.products-section h1.section-title {
    font-size: 30px;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 6px;
    padding-bottom: 20px;
    color: #FF6B00;
    letter-spacing: 1px;
    background: none;
    position: relative;
}

.products-section .section-title:after {
    content: '';
    display: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.product-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    transform: translateY(-3px) scale(1.015);
}
.product-image {
    background: #f3f3f3;
    border-bottom: 1px solid #eee;
    padding: 24px 10px 16px 10px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF6B00;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    padding: 2px 10px;
    font-weight: bold;
    z-index: 2;
}
.product-info {
    flex: 1;
    padding: 18px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-title {
    font-size: 17px;
    margin-bottom: 10px;
    min-height: 42px;
    color: #222;
    font-weight: 600;
}
.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #FF6B00;
    margin-bottom: 12px;
}
.product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
    margin-left: 10px;
}
.product-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.btn {
    border-radius: 4px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 14px;
    transition: all .2s;
}
.btn-primary {
    background: #FF6B00;
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background: #e05d00;
}
.btn-outline {
    background: transparent;
    border: 2px solid #FF6B00;
    color: #FF6B00;
}
.btn-outline:hover {
    background: #FF6B00;
    color: #fff;
}
@media (max-width: 768px) {
    .products-section .section-title,
    .products-section h1.section-title {
        font-size: 22px;
        margin-bottom: 24px;
        padding-bottom: 14px;
    }
    .products-grid {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card {
        min-width: 0;
    }
}
@media (max-width: 500px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
.catalog-intro {
    margin-bottom: 32px;
    font-size: 16px;
    color: #444;
    background: #fff7f1;
    border-left: 4px solid #FF6B00;
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(255, 107, 0, 0.03);
}
.info-section {
    padding: 54px 0 60px 0;
    background: #fff;
}
.info-title {
    font-size: 30px;
    margin-bottom: 22px;
    font-weight: 700;
    color: #FF6B00;
}
.info-lead {
    font-size: 17px;
    color: #3a3a3a;
    margin-bottom: 32px;
    background: #fff7f1;
    border-left: 4px solid #FF6B00;
    padding: 16px 20px;
    border-radius: 8px;
}
.info-block {
    margin-bottom: 36px;
}
.info-block h2 {
    font-size: 21px;
    margin-bottom: 14px;
    color: #FF6B00;
}
.info-list, .info-benefits, .info-steps {
    margin-left: 20px;
    margin-bottom: 18px;
}
.info-list li,
.info-benefits li,
.info-steps li {
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
}
.info-list li strong {
    color: #FF6B00;
}
.info-benefits {
    list-style: disc;
}
.info-steps {
    list-style: decimal;
}
.info-faq {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 18px 18px 4px 18px;
    box-shadow: 0 1px 8px rgba(255,107,0,0.03);
}
.info-faq .faq-q {
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 4px;
    margin-top: 14px;
}
.info-faq .faq-a {
    margin-bottom: 10px;
    color: #444;
}
.info-image {
    margin-top: 38px;
    text-align: center;
}
.info-image img {
    max-width: 540px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(255,107,0,0.10);
}
@media (max-width: 700px) {
    .info-title {font-size: 22px;}
    .info-image img {max-width: 100%;}
}
.blog-article {
    background: #fff;
    border-radius: 8px;
    padding: 34px 26px 22px 26px;
    margin-bottom: 40px;
    box-shadow: 0 2px 14px rgba(255,107,0,0.04);
    color: #222;
}
.blog-article h2 {
    font-size: 22px;
    color: #FF6B00;
    margin-bottom: 16px;
}
.blog-article ul, .blog-article ol {
    margin: 12px 0 18px 20px;
}
.blog-products-inline {
    margin-top: 22px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
@media (max-width: 800px) {
    .blog-article {padding: 18px 10px;}
}
