/* ========================================
   style.css | okei.by
   Версия: 2.0.2
   Дата: 03.04.2026
   Описание: Оригинальные стили сохранены.
             Добавлены новые классы для inline-стилей.
             Удалены неиспользуемые блоки (S26).
======================================== */

:root { 
    --red: #e60000; 
    --black: #000000; 
    --gray-bg: #f5f5f7; 
    --border: #ededed;
    /* Новые переменные (для будущего, но не ломают существующее) */
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #fff; color: var(--black); line-height: 1.5; overflow-x: hidden; }

/* ===== ШАПКА (НОВЫЙ ДИЗАЙН) ===== */
.header {
    background: #fff;
    border-bottom: 1px solid #efefef;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
}
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.logo {
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}
.logo-black { color: #000; }
.logo-red { color: #e60000; }
.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
    color: #555;
}
.icon-btn:hover {
    color: #e60000;
    transform: scale(1.1);
}
.menu-btn {
    background: none;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu { 
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 85%;
    max-width: 350px;
    height: 100vh; 
    background: #fff; 
    z-index: 5000; 
    transition: 0.3s; 
    overflow-y: auto; 
}
.mobile-menu.active { right: 0; }
.menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--border); font-weight: 900; font-size: 20px; }
.close-menu { font-size: 24px; cursor: pointer; padding: 5px 10px; }
.menu-list { display: flex; flex-direction: column; }
.menu-item { border-bottom: 1px solid var(--border); }
.menu-link { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 20px; 
    text-decoration: none; 
    color: #000; 
    font-size: 16px; 
    font-weight: 600; 
    width: 100%; 
    background: none; 
    border: none; 
    text-align: left; 
    cursor: pointer; 
}
.menu-link i.fa-chevron-right { font-size: 14px; transition: 0.2s; color: #ccc; }
.menu-link.active i.fa-chevron-right { transform: rotate(90deg); }
.submenu { background: #fafafa; display: none; border-top: 1px solid #eee; }
.submenu.show { display: block; }
.submenu a { 
    display: block; 
    padding: 14px 40px; 
    text-decoration: none; 
    color: #555; 
    font-size: 14px; 
    border-bottom: 1px solid #f0f0f0; 
}
.submenu a:hover {
    color: #e60000;
    background: #f0f0f0;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    text-align: center;
    padding: 32px 20px;
    width: 100%;
    max-width: 100%;
}
.hero-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #e60000;
    color: #e60000;
    padding: 5px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 10px;
}
.hero h1 span { color: #e60000; }
.hero p { font-size: 14px; color: #555; max-width: 550px; margin: 0 auto; }

/* ===== РАЗДЕЛИТЕЛИ ===== */
.section-divider { 
    background: #f5f5f7 !important; 
    display: block !important; 
    width: 100% !important; 
    margin: 20px 0 !important; 
    padding: 15px 20px !important; 
    box-sizing: border-box !important; 
    font-size: 15px !important; 
    font-weight: 800 !important; 
    text-transform: uppercase !important; 
    color: #666 !important; 
    letter-spacing: 0.8px !important; 
    border-top: 1px solid #ededed !important; 
    border-bottom: 1px solid #ededed !important; 
    text-align: left !important; 
    clear: both !important; 
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 24px 20px;
    max-width: 1280px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}
.section-title span { color: #e60000; }

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.feature {
    text-align: center;
    padding: 14px;
    background: #fafafa;
    border-radius: 20px;
}
.feature i { font-size: 26px; color: #e60000; margin-bottom: 8px; }
.feature h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: 11px; color: #666; }
.feature a {
    display: block;
    color: #333;
}
.feature a:hover {
    color: #e60000;
}

/* ===== КАТЕГОРИИ ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.category-card {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 18px;
    padding: 14px;
}
.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.category-header i { font-size: 20px; color: #e60000; }
.category-header h3 { font-size: 14px; font-weight: 800; }
.category-card p {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 10px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 30px;
    font-size: 10px;
    text-decoration: none;
    color: #333;
}
.tag:hover { background: #e60000; color: #fff; }
.tag.highlight { background: #e60000; color: #fff; }
.tag.other { background: transparent; border: 1px dashed #ccc; }

/* ===== СТРАНИЦЫ УСТРОЙСТВ ===== */
.device-container { padding: 0; margin: 0; }
.device-flex-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.device-image { flex-shrink: 0; text-align: center; }
.device-image img { max-width: 220px; height: auto; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.device-info { text-align: center; }
.device-info h1 { font-size: 26px; font-weight: 900; margin-bottom: 16px; color: #000; }
.device-description { font-size: 15px; line-height: 1.5; color: #555; max-width: 700px; margin: 0 auto; }

/* ===== СЕТКА УСЛУГ ===== */
.service-section-title { 
    background: var(--gray-bg); 
    padding: 10px 20px; 
    font-size: 15px; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: #666; 
    letter-spacing: 0.5px; 
    border-top: 1px solid var(--border); 
}
.service-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    background: #fff; 
    border: 1px solid #efefef;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px 0;
}
.service-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px 10px; 
    border-bottom: 1px solid var(--border); 
    border-right: 1px solid var(--border); 
    cursor: pointer; 
    transition: 0.2s; 
}
.service-item:nth-child(2n) { border-right: none; }
.service-item:last-child,
.service-item:nth-last-child(2):nth-child(2n) { border-bottom: none; }
.service-item:hover { background: #fafafa; }
.service-item i { font-size: 28px; color: var(--red); margin-bottom: 8px; }
.service-item span { font-size: 13px; font-weight: 600; text-align: center; margin-bottom: 4px; color: #333; }
.service-item .price { font-size: 13px; font-weight: 800; color: #e60000; margin-top: 6px; }

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 4000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(4px); 
    align-items: center; 
    justify-content: center; 
}
.modal-content { 
    background: #fff; 
    width: 92%; 
    max-width: 420px; 
    max-height: 85vh; 
    padding: 30px 25px; 
    border-radius: 30px; 
    position: relative; 
    animation: slideUp 0.3s ease-out; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    display: flex; 
    flex-direction: column; 
    overflow-y: auto;
}
.close-modal { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 30px; 
    color: #ccc; 
    cursor: pointer; 
    z-index: 10; 
}
.modal-red-title { 
    color: #e60000; 
    font-size: 22px; 
    font-weight: 800; 
    text-align: center; 
    margin-bottom: 12px; 
    line-height: 1.2; 
}
.modal-description { 
    font-size: 13px; 
    color: #555; 
    text-align: center; 
    margin-bottom: 20px; 
    line-height: 1.5; 
    padding: 0 10px; 
}
.price-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 16px; 
    background: #f8f9fa; 
    border: 1px solid #eee; 
    border-radius: 16px; 
    margin-bottom: 10px; 
}
.row-name { 
    font-size: 12.5px; 
    font-weight: 600; 
    color: #333; 
    line-height: 1.3; 
    flex: 1; 
    padding-right: 15px; 
}
.row-price { 
    background: #28a745; 
    color: #fff; 
    padding: 7px 12px; 
    border-radius: 10px; 
    font-weight: 800; 
    font-size: 13px; 
    white-space: nowrap; 
}

/* ===== FAQ (АККОРДЕОН) ===== */
.faq-section { padding: 0; }
.faq-item { 
    border: 1px solid #eee; 
    border-radius: 6px; 
    margin-bottom: 6px; 
    background: #fff; 
}
.faq-trigger { 
    padding: 10px 15px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 14px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.faq-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: all 0.3s ease; 
    padding: 0 15px; 
    font-size: 13px; 
    color: #666; 
    line-height: 1.4; 
}
.faq-item.active .faq-content { 
    max-height: 500px; 
    padding: 10px 15px; 
    border-top: 1px solid #f9f9f9; 
}

/* ===== КАРТА ===== */
.map-container { 
    width: 92%; 
    height: 250px; 
    margin: 30px auto; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== КНОПКА ЗВОНКА ===== */
.call-btn { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background: var(--red); 
    width: 52px; 
    height: 52px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: #fff; 
    font-size: 22px; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(230,0,0,0.3); 
    animation: pulse-call 2s infinite; 
    text-decoration: none; 
}
@keyframes pulse-call { 
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230,0,0,0.7); } 
    70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(230,0,0,0); } 
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230,0,0,0); } 
}

/* ===== МОДЕЛИ IPHONE ===== */
.model-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    padding: 0; 
}
.model-card { 
    background: #fff; 
    border: 1px solid #ededed; 
    border-radius: 12px; 
    overflow: hidden; 
    text-decoration: none; 
    color: #000; 
    display: flex; 
    flex-direction: column; 
    transition: 0.2s; 
}
.model-card:hover { 
    transform: translateY(-4px); 
    border-color: #e60000; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}
.model-photo { 
    width: 100%; 
    height: 160px; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
}
.model-photo img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}
.model-info { 
    padding: 12px 8px; 
    text-align: center; 
    background: #fafafa; 
    border-top: 1px solid #f0f0f0; 
}
.model-info h3 { 
    font-size: 14px; 
    font-weight: 800; 
    margin: 0 0 4px 0; 
    color: #000; 
}
.model-info span { 
    font-size: 11px; 
    color: #e60000; 
    font-weight: 600; 
}

/* ===== БРЕНДЫ ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}
.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}
.brand-card:hover {
    transform: translateY(-5px);
    border-color: #e60000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.brand-photo { height: 110px; display: flex; align-items: center; justify-content: center; padding: 15px; }
.brand-photo img { max-width: 90%; max-height: 100%; object-fit: contain; }
.brand-info { padding: 10px; text-align: center; background: #fdfdfd; border-top: 1px solid #eee; }
.brand-info h3 { margin: 0; font-size: 15px; color: #222; text-transform: uppercase; }
.brand-info span { font-size: 11px; color: #e60000; display: block; margin-top: 3px; }

/* ===== SEO-ТЕКСТ ===== */
.seo-text {
    background: #f9f9f9;
    border-radius: 24px;
    margin: 24px auto;
    max-width: 1280px;
    padding: 24px 20px;
}
.seo-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}
.seo-description h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}
.seo-description p {
    margin-bottom: 12px;
}
.seo-description strong {
    color: #000;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 32px 20px;
    margin-top: 40px;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}
.footer-info {
    font-size: 12px;
    color: #aaa;
    text-align: right;
    line-height: 1.5;
}
.footer-info p {
    margin: 4px 0;
}
.footer-info a {
    color: #e60000;
    text-decoration: none;
}
.footer-info a:hover {
    color: #ff4d4d;
}
.contacts-link {
    display: inline-block;
    margin-top: 8px;
    background: #333;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
}
.contacts-link:hover {
    background: #e60000;
    color: #fff;
}
.footer-copyright {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-scroll {
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding: 8px 20px 16px !important;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.review-card {
    flex: 0 0 280px !important;
    background: #fff !important;
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
    border: 1px solid #f0f0f0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.review-stars {
    display: flex !important;
    gap: 4px !important;
    margin-bottom: 10px !important;
    color: #ffc107 !important;
}
.review-stars i,
.review-stars .fa-star,
.review-stars .fas.fa-star {
    color: #ffc107 !important;
}
.review-text {
    font-size: 13px !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}
.review-author {
    display: block !important;
    font-weight: 600 !important;
    color: #000 !important;
    font-size: 12px !important;
    text-align: right !important;
    margin-top: 8px !important;
}
.review-links {
    margin-top: 10px !important;
}
.review-link {
    font-size: 11px !important;
    color: #e60000 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.review-link:hover {
    color: #cc0000 !important;
    text-decoration: underline !important;
}
.reviews-main-btns {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}
.btn-yandex {
    background: #ffcc00 !important;
    padding: 6px 16px !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #000 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.btn-yandex:hover {
    background: #e6b800 !important;
}
.btn-google {
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 6px 16px !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #333 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.btn-google:hover {
    border-color: #e60000 !important;
    color: #e60000 !important;
}

/* ===== СВОРАЧИВАЕМОЕ ОПИСАНИЕ ===== */
.device-description-short p,
.device-description-full p {
    margin-bottom: 12px;
    line-height: 1.5;
    color: #555;
}
.read-more-btn {
    background: none;
    border: 1px solid #e60000;
    color: #e60000;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 30px;
    transition: 0.2s;
    margin-top: 8px;
}
.read-more-btn:hover {
    background: #e60000;
    color: #fff;
}
.read-more-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}
.read-more-btn.active i {
    transform: rotate(180deg);
}

/* ===== НОВЫЕ КЛАССЫ ДЛЯ INLINE-СТИЛЕЙ (ДОБАВЛЕНЫ) ===== */

/* Для header */
.header-container-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Для страниц M01 и A01 */
.device-title-wrapper {
    text-align: center;
    width: 100%;
}
.device-pretitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.device-main-title {
    color: #e60000;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.device-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

/* Для hero-badge */
.hero-badge-block {
    display: block;
    text-align: center;
    margin-bottom: 24px;
}

/* Для кнопок соцсетей на главной */
.social-buttons {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}
.social-btn {
    display: inline-block;
    flex: 1;
    max-width: 110px;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    color: #fff;
}
.social-btn-telegram { background: #24A1DE; }
.social-btn-viber { background: #7360f2; }
.social-btn-phone { background: #28a745; }

/* Для model-photo с flex */
.model-photo-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Для отступов между сетками */
.model-grid-margin {
    margin-top: 20px;
}

/* Для device-info центрированного */
.device-info-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== АДАПТИВ ===== */
@media (min-width: 768px) {
    .device-flex-header {
        flex-direction: row;
        text-align: left;
        gap: 30px;
        align-items: flex-start;
    }
    .device-info {
        text-align: left;
    }
    .device-info h1 {
        font-size: 32px;
    }
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .service-item {
        border-right: 1px solid var(--border);
        border-bottom: none;
    }
    .service-item:nth-child(4n) {
        border-right: none;
    }
    .model-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .review-card {
        flex: 0 0 300px !important;
    }
    .footer-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .footer-info {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .model-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero h1 {
        font-size: 42px;
    }
    .section {
        padding: 40px 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-info {
        text-align: left;
    }
    .model-grid-full .model-photo {
        gap: 12px;
    }
    .model-grid-full .model-photo img {
        width: 80px;
    }
    .model-grid-full {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .brand-photo { height: 90px; }
    .hero h1 { font-size: 24px; }
    .section { padding: 20px 16px; }
    .model-grid {
        gap: 10px;
    }
    .model-photo {
        height: 120px;
    }
}

/* ===== ОБЩИЕ ССЫЛКИ ===== */
a {
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}
a:hover {
    color: #e60000;
}

/* ===== ССЫЛКИ В МЕНЮ ===== */
.menu-link {
    color: #000;
}
.menu-link:hover {
    color: #e60000;
}
.submenu a {
    color: #555;
}
.submenu a:hover {
    color: #e60000;
    background: #f0f0f0;
}

/* ===== СТИЛИ ДЛЯ SAMSUNG S-СЕРИИ (СОХРАНЕНЫ) ===== */
.model-grid-full {
    width: 100%;
    margin-bottom: 20px;
}
.model-grid-full .model-card {
    width: 100%;
}
.model-grid-full .model-info .ultra-name {
    font-size: 14px;
    font-weight: 800;
    color: #e60000;
}
    .model-red {
        color: #e60000;
    }
    
    /* Стили для страницы MacBook */
    .service-category {
        background: #fafafa;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 16px;
        border-left: 4px solid #e60000;
    }
    .service-category-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #1a1a1a;
    }
    .service-category-title i {
        color: #e60000;
        margin-right: 10px;
    }
    .service-category p {
        color: #555;
        line-height: 1.5;
    }
    .problems-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
    .problem-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 20px;
        transition: all 0.3s;
    }
    .problem-card:hover {
        border-color: #e60000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .problem-icon {
        font-size: 32px;
        color: #e60000;
        margin-bottom: 12px;
    }
    .problem-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #1a1a1a;
    }
    .problem-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
    }
    
    @media (max-width: 768px) {
        .problems-grid {
            grid-template-columns: 1fr;
        }
        .service-category-title {
            font-size: 18px;
        }
    }
.section .model-grid {
    margin-bottom: 0;
}
.section .hero {
    width: 100%;
    max-width: 100%;
}
#device-services-placeholder {
    margin-top: 20px;
}

@media (max-width: 768px) {
    #device-services-placeholder {
        margin-top: 12px;
    }
}
#device-services-placeholder {
    margin-top: 0 !important;
}

#device-services-placeholder .section-divider:first-child {
    margin-top: 0 !important;
}
.device-description-short p,
.device-description-full p {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}
@media (max-width: 768px) {
    .device-description-short p,
    .device-description-full p {
        font-size: 13px;
    }
}
.device-title-wrapper {
    text-align: center;
    width: 100%;
}
.device-pretitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.device-main-title {
    color: #e60000;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.device-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}
/* Скрываем полное описание, показываем только по кнопке */
.device-description-full {
    display: none;
}