/* ==========================================================
   sd-content.css — Единый CSS для контента son-divan.ru
   ========================================================== */

/* ===== БАЗОВЫЕ ОБЩИЕ СТИЛИ ===== */
.delivery-info,
.delivery-terms,
.payment-methods,
.privacy-policy,
.warranty-return {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 30px 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}
.delivery-info .fade-block,
.delivery-terms .fade-block,
.payment-methods .fade-block,
.privacy-policy .fade-block,
.warranty-return .fade-block {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s ease;
}
.delivery-info .fade-block.visible,
.delivery-terms .fade-block.visible,
.payment-methods .fade-block.visible,
.privacy-policy .fade-block.visible,
.warranty-return .fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.delivery-info h2,
.delivery-terms h2,
.payment-methods h2,
.privacy-policy h2,
.warranty-return h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 28px;
    font-weight: 600;
    color: #1a365d;
    transition: all 0.25s;
}
.delivery-info h2:hover,
.delivery-terms h2:hover,
.payment-methods h2:hover,
.privacy-policy h2:hover,
.warranty-return h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.delivery-info h3,
.delivery-terms h3,
.payment-methods h3,
.privacy-policy h3,
.warranty-return h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #2c3e50;
    font-weight: 600;
    transition: transform 0.2s;
}
.delivery-info h3:hover,
.delivery-terms h3:hover,
.payment-methods h3:hover,
.privacy-policy h3:hover,
.warranty-return h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.warranty-return h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}
.warranty-return p {
    margin: 1rem 0;
    line-height: 1.6;
}
.delivery-info strong,
.delivery-terms strong,
.payment-methods strong,
.privacy-policy strong,
.warranty-return strong {
    color: #ed8936;
    font-weight: 600;
}
.delivery-info ul,
.delivery-terms ul,
.payment-methods ul,
.privacy-policy ul,
.warranty-return ul {
    list-style: none;
    padding-left: 0;
}
.delivery-info li,
.delivery-terms li,
.payment-methods li,
.privacy-policy li,
.warranty-return li {
    margin: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.2s;
}
.delivery-info li:hover,
.delivery-terms li:hover,
.payment-methods li:hover,
.privacy-policy li:hover,
.warranty-return li:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2rem;
}
.delivery-info li::before,
.delivery-terms li::before,
.payment-methods li::before,
.privacy-policy li::before,
.warranty-return li::before {
    content: "\2713";
    color: #2b6cb0;
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: transform 0.2s, color 0.2s;
}
.delivery-info li:hover::before,
.delivery-terms li:hover::before,
.payment-methods li:hover::before,
.privacy-policy li:hover::before,
.warranty-return li:hover::before {
    transform: scale(1.2);
    color: #ed8936;
}
.warranty-return hr {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}
.warranty-return a {
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 1px dashed #2b6cb0;
    transition: all 0.3s;
}
.warranty-return a:hover {
    color: #ed8936;
    border-bottom-color: #ed8936;
    border-bottom-style: solid;
}

/* ===== delivery-info / delivery-terms ===== */
.delivery-info .delivery-section,
.delivery-terms .delivery-section {
    background: #f9fafc;
    border-radius: 20px;
    padding: 20px 25px;
    margin: 20px 0;
    border-left: 4px solid #2b6cb0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.delivery-info .delivery-section:hover,
.delivery-terms .delivery-section:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.delivery-info .delivery-section h3,
.delivery-terms .delivery-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #2980b9;
}
.delivery-info .delivery-section h3:hover,
.delivery-terms .delivery-section h3:hover {
    transform: none;
    color: #ed8936;
}
.delivery-info .address-block,
.delivery-terms .address-block {
    background: #eef2ff;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 15px 0;
    border-left: 3px solid #2b6cb0;
    transition: background 0.2s;
}
.delivery-info .address-block:hover,
.delivery-terms .address-block:hover {
    background: #e0e7ff;
}
.delivery-info .truck-list,
.delivery-terms .truck-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}
.delivery-info .truck-list li,
.delivery-terms .truck-list li {
    background: #e2e8f0;
    border-radius: 40px;
    padding: 6px 18px;
    margin: 0;
    display: inline-block;
}
.delivery-info .truck-list li::before,
.delivery-terms .truck-list li::before {
    display: none;
}
.delivery-info .truck-list li:hover,
.delivery-terms .truck-list li:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

/* ===== payment-methods ===== */
.payment-methods .payment-section {
    background: #f9fafc;
    border-radius: 20px;
    padding: 20px 25px;
    margin: 20px 0;
    border-left: 4px solid #2b6cb0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.payment-methods .payment-section:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.payment-methods .payment-section h3 {
    margin-top: 0;
    color: #2980b9;
}
.payment-methods .bank-details {
    background: #f0f4ff;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    border-left: 3px solid #2b6cb0;
}
.payment-methods .bank-details p {
    margin: 0.3rem 0;
}

/* ===== delivery-terms ===== */
.delivery-terms .term-item {
    background: #f9fafc;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 12px 0;
    border-left: 4px solid #2b6cb0;
    transition: transform 0.2s;
}
.delivery-terms .term-item:hover {
    transform: translateX(3px);
}
.delivery-terms .term-item h3 {
    margin-top: 0;
    color: #2980b9;
}

/* ===== about_us (glass-container) ===== */
.glass-container {
    max-width: 1300px;
    margin: 0 auto;
    backdrop-filter: blur(2px);
}
.section-card {
    background: rgba(255, 252, 245, 0.92);
    backdrop-filter: blur(0px);
    border-radius: 2rem;
    padding: 1.8rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 245, 225, 0.6) inset;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: fadeSlideUp 0.6s ease-out forwards;
    opacity: 0;
}
.section-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 40px -16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 253, 250, 0.98);
    border-color: rgba(200, 160, 120, 0.3);
}
.section-card:nth-child(1) { animation-delay: 0.05s; }
.section-card:nth-child(2) { animation-delay: 0.15s; }
.section-card:nth-child(3) { animation-delay: 0.25s; }
.section-card:nth-child(4) { animation-delay: 0.35s; }
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(28px); }
    100% { opacity: 1; transform: translateY(0); }
}
.section-card h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ab7b54, #6b3e1c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    border-bottom: none;
    padding-bottom: 0;
}
.section-card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d9a066, #b5723a);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.section-card:hover h2::after { width: 110px; }
.section-card .company-text {
    font-size: 1.08rem;
    color: #3a332a;
    padding-right: 0.5rem;
    border-left: 3px solid #e2bc8c;
    padding-left: 1.2rem;
    margin-top: 0.5rem;
    transition: border-color 0.2s;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}
.contact-item {
    background: white;
    border-radius: 1.5rem;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0e2d2;
}
.contact-item i {
    font-size: 1.8rem;
    color: #b66f36;
    width: 2rem;
    text-align: center;
    transition: transform 0.2s, color 0.2s;
}
.contact-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 25px -12px rgba(110, 60, 20, 0.2);
    border-color: #e2bc8c;
    background: #fffef8;
}
.contact-item:hover i {
    transform: scale(1.08);
    color: #9b551f;
}
.contact-info { flex: 1; }
.contact-info a {
    text-decoration: none;
    font-weight: 500;
    color: #4b3a2c;
    transition: color 0.2s;
    word-break: break-word;
}
.contact-info a:hover {
    color: #b45a2b;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-info p { margin: 0; font-weight: 500; }
.domain-list {
    background: #fcf7ef;
    border-radius: 1.5rem;
    padding: 1rem 1.6rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-family: 'Menlo', 'Fira Code', monospace;
    font-size: 0.9rem;
    border-left: 4px solid #daa06a;
    transition: all 0.2s;
}
.domain-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    border-bottom: 1px dashed #e7d8c8;
    padding: 0.5rem 0;
    transition: transform 0.2s, background 0.2s;
    border-radius: 12px;
}
.domain-list li:hover {
    background: #fff7ed;
    transform: translateX(5px);
    padding-left: 8px;
}
.domain-list li i {
    width: 1.6rem;
    color: #c28549;
    font-size: 0.9rem;
}
.domain-badge {
    background: #e0c6ab;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4c2a12;
    margin-left: 0.5rem;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    animation: subtlePulse 2s infinite;
}
@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(182, 111, 54, 0.2); }
    70% { box-shadow: 0 0 0 5px rgba(182, 111, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(182, 111, 54, 0); }
}
.documents-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.doc-card {
    flex: 1 1 280px;
    background: #fef9f2;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    box-shadow: 0 12px 22px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eedfcb;
}
.doc-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 28px 32px -16px rgba(80, 45, 20, 0.3);
    border-color: #d6ad7c;
}
.doc-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.doc-card:hover .doc-img { transform: scale(1.03); }
.doc-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    background: #fffcf5;
    border-top: 1px solid #f0e2d2;
    font-size: 0.9rem;
    color: #825e3e;
}
.doc-caption i { margin-right: 6px; font-size: 0.8rem; }

/* Лайтбокс */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 12, 5, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.3s ease;
    cursor: pointer;
}
.lightbox.active { visibility: visible; opacity: 1; }
.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    background: #1e1914;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    animation: zoomFade 0.3s ease;
    border: 2px solid #e2bc8c;
}
@keyframes zoomFade {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.close-lightbox {
    position: absolute;
    top: 24px;
    right: 32px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: 0.2s;
}
.close-lightbox:hover { background: #b45a2b; transform: rotate(90deg); }
.close-lightbox i { transition: transform 0.2s; }
.close-lightbox:hover i { transform: rotate(90deg); }

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .delivery-info, .delivery-terms, .payment-methods, .privacy-policy, .warranty-return { padding: 16px; }
    .delivery-info h2, .delivery-terms h2, .payment-methods h2, .privacy-policy h2, .warranty-return h2 { font-size: 1.5rem; }
    .delivery-info h3, .delivery-terms h3, .payment-methods h3, .privacy-policy h3, .warranty-return h3 { font-size: 1.3rem; }
    .warranty-return h4 { font-size: 1.1rem; }
    .delivery-info .delivery-section, .delivery-terms .delivery-section, .payment-methods .payment-section { padding: 15px; }
    .delivery-info .truck-list li, .delivery-terms .truck-list li { padding: 4px 14px; font-size: 0.85rem; }
}
@media (max-width: 700px) {
    .section-card { padding: 1.2rem; }
    .section-card h2 { font-size: 1.6rem; }
    .contact-item { padding: 0.8rem; }
}

/* ===== СТИЛИ ДЛЯ ТОВАРОВ (современные opencart-product-*) ===== */

/* Групповой селектор для всех современных товаров */
.opencart-product-amkoyra,
.opencart-product-amstrutofayber,
.opencart-product-frstrutofayber,
.opencart-product-itkoyra,
.opencart-product-itstrutofayber,
.opencart-product-amorto,
.opencart-product-itorto {
    max-width: 1280px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
    background: #ffffff;
    border-radius: 28px;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

/* Анимация появления */
.opencart-product-amkoyra .fade-block,
.opencart-product-amstrutofayber .fade-block,
.opencart-product-frstrutofayber .fade-block,
.opencart-product-itkoyra .fade-block,
.opencart-product-itstrutofayber .fade-block,
.opencart-product-amorto .fade-block,
.opencart-product-itorto .fade-block {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s ease;
}
.opencart-product-amkoyra .fade-block.visible,
.opencart-product-amstrutofayber .fade-block.visible,
.opencart-product-frstrutofayber .fade-block.visible,
.opencart-product-itkoyra .fade-block.visible,
.opencart-product-itstrutofayber .fade-block.visible,
.opencart-product-amorto .fade-block.visible,
.opencart-product-itorto .fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Заголовки h2 */
.opencart-product-amkoyra h2,
.opencart-product-amstrutofayber h2,
.opencart-product-frstrutofayber h2,
.opencart-product-itkoyra h2,
.opencart-product-itstrutofayber h2,
.opencart-product-amorto h2,
.opencart-product-itorto h2 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    transition: all 0.25s;
}
.opencart-product-amkoyra h2:hover,
.opencart-product-amstrutofayber h2:hover,
.opencart-product-frstrutofayber h2:hover,
.opencart-product-itkoyra h2:hover,
.opencart-product-itstrutofayber h2:hover,
.opencart-product-amorto h2:hover,
.opencart-product-itorto h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}

/* Заголовки h3 */
.opencart-product-amkoyra h3,
.opencart-product-amstrutofayber h3,
.opencart-product-frstrutofayber h3,
.opencart-product-itkoyra h3,
.opencart-product-itstrutofayber h3,
.opencart-product-amorto h3,
.opencart-product-itorto h3 {
    font-size: 1.5rem;
    margin: 1.6rem 0 0.8rem;
    color: #2b6cb0;
    transition: transform 0.2s;
    font-weight: 600;
}
.opencart-product-amkoyra h3:hover,
.opencart-product-amstrutofayber h3:hover,
.opencart-product-frstrutofayber h3:hover,
.opencart-product-itkoyra h3:hover,
.opencart-product-itstrutofayber h3:hover,
.opencart-product-amorto h3:hover,
.opencart-product-itorto h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}

/* Параграфы */
.opencart-product-amkoyra p,
.opencart-product-amstrutofayber p,
.opencart-product-frstrutofayber p,
.opencart-product-itkoyra p,
.opencart-product-itstrutofayber p,
.opencart-product-amorto p,
.opencart-product-itorto p {
    margin: 1rem 0;
    line-height: 1.6;
}

/* Жирный текст */
.opencart-product-amkoyra strong,
.opencart-product-amstrutofayber strong,
.opencart-product-frstrutofayber strong,
.opencart-product-itkoyra strong,
.opencart-product-itstrutofayber strong,
.opencart-product-amorto strong,
.opencart-product-itorto strong {
    color: #ed8936;
    font-weight: 600;
}

/* Списки */
.opencart-product-amkoyra ul,
.opencart-product-amstrutofayber ul,
.opencart-product-frstrutofayber ul,
.opencart-product-itkoyra ul,
.opencart-product-itstrutofayber ul,
.opencart-product-amorto ul,
.opencart-product-itorto ul {
    list-style: none;
    padding-left: 0;
}
.opencart-product-amkoyra li,
.opencart-product-amstrutofayber li,
.opencart-product-frstrutofayber li,
.opencart-product-itkoyra li,
.opencart-product-itstrutofayber li,
.opencart-product-amorto li,
.opencart-product-itorto li {
    margin: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.2s;
}
.opencart-product-amkoyra li:hover,
.opencart-product-amstrutofayber li:hover,
.opencart-product-frstrutofayber li:hover,
.opencart-product-itkoyra li:hover,
.opencart-product-itstrutofayber li:hover,
.opencart-product-amorto li:hover,
.opencart-product-itorto li:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2rem;
}
/* ::before removed for old product classes */
/* ::before hover removed for old product classes */

/* Таблицы */
.opencart-product-amkoyra table,
.opencart-product-amstrutofayber table,
.opencart-product-frstrutofayber table,
.opencart-product-itkoyra table,
.opencart-product-itstrutofayber table,
.opencart-product-amorto table,
.opencart-product-itorto table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.opencart-product-amkoyra th,
.opencart-product-amstrutofayber th,
.opencart-product-frstrutofayber th,
.opencart-product-itkoyra th,
.opencart-product-itstrutofayber th,
.opencart-product-amorto th,
.opencart-product-itorto th {
    background: #1a365d;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}
.opencart-product-amkoyra td,
.opencart-product-amstrutofayber td,
.opencart-product-frstrutofayber td,
.opencart-product-itkoyra td,
.opencart-product-itstrutofayber td,
.opencart-product-amorto td,
.opencart-product-itorto td {
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}
.opencart-product-amkoyra tr:nth-child(even) td,
.opencart-product-amstrutofayber tr:nth-child(even) td,
.opencart-product-frstrutofayber tr:nth-child(even) td,
.opencart-product-itkoyra tr:nth-child(even) td,
.opencart-product-itstrutofayber tr:nth-child(even) td,
.opencart-product-amorto tr:nth-child(even) td,
.opencart-product-itorto tr:nth-child(even) td {
    background: #f7fafc;
}

/* Адаптив для таблиц */
@media (max-width: 768px) {
    .opencart-product-amkoyra table,
    .opencart-product-amstrutofayber table,
    .opencart-product-frstrutofayber table,
    .opencart-product-itkoyra table,
    .opencart-product-itstrutofayber table,
    .opencart-product-amorto table,
    .opencart-product-itorto table {
        font-size: 0.85rem;
    }
    .opencart-product-amkoyra th,
    .opencart-product-amstrutofayber th,
    .opencart-product-frstrutofayber th,
    .opencart-product-itkoyra th,
    .opencart-product-itstrutofayber th,
    .opencart-product-amorto th,
    .opencart-product-itorto th,
    .opencart-product-amkoyra td,
    .opencart-product-amstrutofayber td,
    .opencart-product-frstrutofayber td,
    .opencart-product-itkoyra td,
    .opencart-product-itstrutofayber td,
    .opencart-product-amorto td,
    .opencart-product-itorto td {
        padding: 8px 10px;
    }
}

    max-width: 100%;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
.oc3-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
}
.oc3-subtitle:first-of-type {
    margin-top: 0;
}
.oc3-text {
    margin: 12px 0;
    font-size: 15px;
    color: #555;
}
.oc3-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px 0;
}
.oc3-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 15px;
    color: #555;
    border-bottom: 1px dashed #f0f0f0;
}
.oc3-list li:last-child {
    border-bottom: none;
}
.oc3-list-marked li:before {
    content: "\2022";
    color: #4a90e2;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 5px;
    top: 6px;
}
.oc3-specs-grid {
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
}
.oc3-specs-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}
.oc3-specs-row:last-child {
    border-bottom: none;
}
.oc3-specs-label {
    font-weight: 600;
    color: #444;
    min-width: 220px;
    font-size: 15px;
}
.oc3-specs-value {
    color: #666;
    font-size: 15px;
}
.oc3-specs-compact {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
}
.oc3-specs-compact .oc3-specs-row {
    padding: 6px 0;
}
.oc3-specs-compact .oc3-specs-label {
    min-width: 100px;
}
.oc3-highlight-box {
    background: #e8f4fd;
    border-left: 4px solid #4a90e2;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
}
.oc3-highlight-box strong {
    color: #1a365d;
}
@media (max-width: 768px) {
    .oc3-specs-row {
        flex-direction: column;
        padding: 8px 0;
    }
    .oc3-specs-label {
        min-width: auto;
        margin-bottom: 4px;
    }
}

/* ===== СТИЛИ ДЛЯ КАТЕГОРИЙ (opencart-article-*) ===== */

/* Групповой селектор для всех категорий */
.opencart-article-french-final,
.opencart-article-american-final,
.opencart-article-mechanisms-final,
.opencart-article-mattresses,
.opencart-article-french-mattresses,
.opencart-article-american-mattresses,
.opencart-article-italian-mattresses,
.opencart-article-ikea {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 30px 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}
.opencart-article-french-final .fade-block,
.opencart-article-american-final .fade-block,
.opencart-article-mechanisms-final .fade-block,
.opencart-article-mattresses .fade-block,
.opencart-article-french-mattresses .fade-block,
.opencart-article-american-mattresses .fade-block,
.opencart-article-italian-mattresses .fade-block,
.opencart-article-ikea .fade-block {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s ease;
}
.opencart-article-french-final .fade-block.visible,
.opencart-article-american-final .fade-block.visible,
.opencart-article-mechanisms-final .fade-block.visible,
.opencart-article-mattresses .fade-block.visible,
.opencart-article-french-mattresses .fade-block.visible,
.opencart-article-american-mattresses .fade-block.visible,
.opencart-article-italian-mattresses .fade-block.visible,
.opencart-article-ikea .fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.opencart-article-french-final h2,
.opencart-article-american-final h2,
.opencart-article-mechanisms-final h2,
.opencart-article-mattresses h2,
.opencart-article-french-mattresses h2,
.opencart-article-american-mattresses h2,
.opencart-article-italian-mattresses h2,
.opencart-article-ikea h2 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    transition: all 0.25s;
    font-weight: 600;
}
.opencart-article-french-final h2:hover,
.opencart-article-american-final h2:hover,
.opencart-article-mechanisms-final h2:hover,
.opencart-article-mattresses h2:hover,
.opencart-article-french-mattresses h2:hover,
.opencart-article-american-mattresses h2:hover,
.opencart-article-italian-mattresses h2:hover,
.opencart-article-ikea h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.opencart-article-french-final h3,
.opencart-article-american-final h3,
.opencart-article-mechanisms-final h3,
.opencart-article-mattresses h3,
.opencart-article-french-mattresses h3,
.opencart-article-american-mattresses h3,
.opencart-article-italian-mattresses h3,
.opencart-article-ikea h3 {
    font-size: 1.5rem;
    margin: 1.6rem 0 0.8rem;
    color: #2b6cb0;
    font-weight: 600;
    transition: transform 0.2s;
}
.opencart-article-french-final h3:hover,
.opencart-article-american-final h3:hover,
.opencart-article-mechanisms-final h3:hover,
.opencart-article-mattresses h3:hover,
.opencart-article-french-mattresses h3:hover,
.opencart-article-american-mattresses h3:hover,
.opencart-article-italian-mattresses h3:hover,
.opencart-article-ikea h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.opencart-article-french-final h4,
.opencart-article-american-final h4,
.opencart-article-mechanisms-final h4,
.opencart-article-mattresses h4,
.opencart-article-french-mattresses h4,
.opencart-article-american-mattresses h4,
.opencart-article-italian-mattresses h4,
.opencart-article-ikea h4 {
    font-size: 1.25rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}
.opencart-article-french-final p,
.opencart-article-american-final p,
.opencart-article-mechanisms-final p,
.opencart-article-mattresses p,
.opencart-article-french-mattresses p,
.opencart-article-american-mattresses p,
.opencart-article-italian-mattresses p,
.opencart-article-ikea p {
    margin: 1rem 0;
    line-height: 1.6;
}
.opencart-article-french-final strong,
.opencart-article-american-final strong,
.opencart-article-mechanisms-final strong,
.opencart-article-mattresses strong,
.opencart-article-french-mattresses strong,
.opencart-article-american-mattresses strong,
.opencart-article-italian-mattresses strong,
.opencart-article-ikea strong {
    color: #ed8936;
    font-weight: 600;
}
.opencart-article-french-final ul,
.opencart-article-american-final ul,
.opencart-article-mechanisms-final ul,
.opencart-article-mattresses ul,
.opencart-article-french-mattresses ul,
.opencart-article-american-mattresses ul,
.opencart-article-italian-mattresses ul,
.opencart-article-ikea ul {
    list-style: disc;
    padding-left: 1.5rem;
}
.opencart-article-french-final ol,
.opencart-article-american-final ol,
.opencart-article-mechanisms-final ol,
.opencart-article-mattresses ol,
.opencart-article-french-mattresses ol,
.opencart-article-american-mattresses ol,
.opencart-article-italian-mattresses ol,
.opencart-article-ikea ol {
    list-style: decimal;
    padding-left: 1.5rem;
}
.opencart-article-french-final li,
.opencart-article-american-final li,
.opencart-article-mechanisms-final li,
.opencart-article-mattresses li,
.opencart-article-french-mattresses li,
.opencart-article-american-mattresses li,
.opencart-article-italian-mattresses li,
.opencart-article-ikea li {
    margin: 0.4rem 0;
    line-height: 1.6;
}
.opencart-article-french-final li::marker,
.opencart-article-american-final li::marker,
.opencart-article-mechanisms-final li::marker,
.opencart-article-mattresses li::marker,
.opencart-article-french-mattresses li::marker,
.opencart-article-american-mattresses li::marker,
.opencart-article-italian-mattresses li::marker,
.opencart-article-ikea li::marker {
    color: #9aa5b1;
}
.opencart-article-french-final hr,
.opencart-article-american-final hr,
.opencart-article-mechanisms-final hr,
.opencart-article-mattresses hr,
.opencart-article-french-mattresses hr,
.opencart-article-american-mattresses hr,
.opencart-article-italian-mattresses hr,
.opencart-article-ikea hr {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}
.opencart-article-french-final img,
.opencart-article-american-final img,
.opencart-article-mechanisms-final img,
.opencart-article-mattresses img,
.opencart-article-french-mattresses img,
.opencart-article-american-mattresses img,
.opencart-article-italian-mattresses img,
.opencart-article-ikea img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== СТИЛИ ДЛЯ СТАТЕЙ БЛОГА ===== */

/* -- Общий контейнер для статей знаний -- */
.comparison-article,
.operation-article,
.opencart-article-video,
.opencart-article-squeak,
.opencart-article-french-size,
.opencart-article-american,
.opencart-article-belgian,
.opencart-article-american-size,
.opencart-article-spartak,
.opencart-article-french,
.opencart-article-italian,
.opencart-article-materials,
.opencart-article-mistakes,
.opencart-article-enhanced,
.repair-article,
.spelling-article,
.gallery-section,
.product-article,
.card.product-card.mb-4 {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 30px 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}

/* Введение статьи */
.article-intro {
    font-size: 1.1rem;
    color: #4a5568;
    background: #f7fafc;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 2rem;
    border-left: 4px solid #2b6cb0;
    line-height: 1.7;
}

/* Заголовки */
.article-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    font-weight: 700;
}
.article-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}
.subsection-title {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #2b6cb0;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}
.comparison-article h2,
.operation-article h2,
.opencart-article-video h2,
.opencart-article-squeak h2,
.opencart-article-french-size h2,
.opencart-article-american h2,
.opencart-article-belgian h2,
.opencart-article-american-size h2,
.opencart-article-spartak h2,
.opencart-article-french h2,
.opencart-article-italian h2,
.opencart-article-materials h2,
.opencart-article-mistakes h2,
.opencart-article-enhanced h2,
.repair-article h2,
.spelling-article h2,
.gallery-section h2,
.product-article h2,
.card.product-card.mb-4 h2 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    font-weight: 600;
    transition: all 0.25s;
}
.comparison-article h2:hover,
.operation-article h2:hover,
.opencart-article-video h2:hover,
.opencart-article-squeak h2:hover,
.opencart-article-french-size h2:hover,
.opencart-article-american h2:hover,
.opencart-article-belgian h2:hover,
.opencart-article-american-size h2:hover,
.opencart-article-spartak h2:hover,
.opencart-article-french h2:hover,
.opencart-article-italian h2:hover,
.opencart-article-materials h2:hover,
.opencart-article-mistakes h2:hover,
.opencart-article-enhanced h2:hover,
.repair-article h2:hover,
.spelling-article h2:hover,
.gallery-section h2:hover,
.product-article h2:hover,
.card.product-card.mb-4 h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.comparison-article h3,
.operation-article h3,
.opencart-article-video h3,
.opencart-article-squeak h3,
.opencart-article-french-size h3,
.opencart-article-american h3,
.opencart-article-belgian h3,
.opencart-article-american-size h3,
.opencart-article-spartak h3,
.opencart-article-french h3,
.opencart-article-italian h3,
.opencart-article-materials h3,
.opencart-article-mistakes h3,
.opencart-article-enhanced h3,
.repair-article h3,
.spelling-article h3,
.gallery-section h3,
.product-article h3,
.card.product-card.mb-4 h3 {
    font-size: 1.5rem;
    margin: 1.6rem 0 0.8rem;
    color: #2b6cb0;
    font-weight: 600;
    transition: transform 0.2s;
}
.comparison-article h3:hover,
.operation-article h3:hover,
.opencart-article-video h3:hover,
.opencart-article-squeak h3:hover,
.opencart-article-french-size h3:hover,
.opencart-article-american h3:hover,
.opencart-article-belgian h3:hover,
.opencart-article-american-size h3:hover,
.opencart-article-spartak h3:hover,
.opencart-article-french h3:hover,
.opencart-article-italian h3:hover,
.opencart-article-materials h3:hover,
.opencart-article-mistakes h3:hover,
.opencart-article-enhanced h3:hover,
.repair-article h3:hover,
.spelling-article h3:hover,
.gallery-section h3:hover,
.product-article h3:hover,
.card.product-card.mb-4 h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.comparison-article h4,
.operation-article h4,
.opencart-article-video h4,
.opencart-article-squeak h4,
.opencart-article-french-size h4,
.opencart-article-american h4,
.opencart-article-belgian h4,
.opencart-article-american-size h4,
.opencart-article-spartak h4,
.opencart-article-french h4,
.opencart-article-italian h4,
.opencart-article-materials h4,
.opencart-article-mistakes h4,
.opencart-article-enhanced h4,
.repair-article h4,
.spelling-article h4,
.gallery-section h4,
.product-article h4,
.card.product-card.mb-4 h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 3px solid #ed8936;
    padding-left: 10px;
}
.comparison-article p,
.operation-article p,
.opencart-article-video p,
.opencart-article-squeak p,
.opencart-article-french-size p,
.opencart-article-american p,
.opencart-article-belgian p,
.opencart-article-american-size p,
.opencart-article-spartak p,
.opencart-article-french p,
.opencart-article-italian p,
.opencart-article-materials p,
.opencart-article-mistakes p,
.opencart-article-enhanced p,
.repair-article p,
.spelling-article p,
.gallery-section p,
.product-article p,
.card.product-card.mb-4 p {
    margin: 1rem 0;
    line-height: 1.6;
    color: #4a5568;
}
.comparison-article strong,
.operation-article strong,
.opencart-article-video strong,
.opencart-article-squeak strong,
.opencart-article-french-size strong,
.opencart-article-american strong,
.opencart-article-belgian strong,
.opencart-article-american-size strong,
.opencart-article-spartak strong,
.opencart-article-french strong,
.opencart-article-italian strong,
.opencart-article-materials strong,
.opencart-article-mistakes strong,
.opencart-article-enhanced strong,
.repair-article strong,
.spelling-article strong,
.gallery-section strong,
.product-article strong,
.card.product-card.mb-4 strong {
    color: #ed8936;
    font-weight: 600;
}
.comparison-article ul,
.operation-article ul,
.opencart-article-video ul,
.opencart-article-squeak ul,
.opencart-article-french-size ul,
.opencart-article-american ul,
.opencart-article-belgian ul,
.opencart-article-american-size ul,
.opencart-article-spartak ul,
.opencart-article-french ul,
.opencart-article-italian ul,
.opencart-article-materials ul,
.opencart-article-mistakes ul,
.opencart-article-enhanced ul,
.repair-article ul,
.spelling-article ul,
.gallery-section ul,
.product-article ul,
.card.product-card.mb-4 ul {
    list-style: none;
    padding-left: 0;
}
.comparison-article li,
.operation-article li,
.opencart-article-video li,
.opencart-article-squeak li,
.opencart-article-french-size li,
.opencart-article-american li,
.opencart-article-belgian li,
.opencart-article-american-size li,
.opencart-article-spartak li,
.opencart-article-french li,
.opencart-article-italian li,
.opencart-article-materials li,
.opencart-article-mistakes li,
.opencart-article-enhanced li,
.repair-article li,
.spelling-article li,
.gallery-section li,
.product-article li,
.card.product-card.mb-4 li {
    margin: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.2s;
    color: #4a5568;
}
.comparison-article li:hover,
.operation-article li:hover,
.opencart-article-video li:hover,
.opencart-article-squeak li:hover,
.opencart-article-french-size li:hover,
.opencart-article-american li:hover,
.opencart-article-belgian li:hover,
.opencart-article-american-size li:hover,
.opencart-article-spartak li:hover,
.opencart-article-french li:hover,
.opencart-article-italian li:hover,
.opencart-article-materials li:hover,
.opencart-article-mistakes li:hover,
.opencart-article-enhanced li:hover,
.repair-article li:hover,
.spelling-article li:hover,
.gallery-section li:hover,
.product-article li:hover,
.card.product-card.mb-4 li:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2rem;
}
.comparison-article li::before,
.operation-article li::before,
.opencart-article-video li::before,
.opencart-article-squeak li::before,
.opencart-article-french-size li::before,
.opencart-article-american li::before,
.opencart-article-belgian li::before,
.opencart-article-american-size li::before,
.opencart-article-spartak li::before,
.opencart-article-french li::before,
.opencart-article-italian li::before,
.opencart-article-materials li::before,
.opencart-article-mistakes li::before,
.opencart-article-enhanced li::before,
.repair-article li::before,
.spelling-article li::before,
.gallery-section li::before,
.product-article li::before,
.card.product-card.mb-4 li::before {
    content: "\2713";
    color: #2b6cb0;
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: transform 0.2s, color 0.2s;
}
.comparison-article li:hover::before,
.operation-article li:hover::before,
.opencart-article-video li:hover::before,
.opencart-article-squeak li:hover::before,
.opencart-article-french-size li:hover::before,
.opencart-article-american li:hover::before,
.opencart-article-belgian li:hover::before,
.opencart-article-american-size li:hover::before,
.opencart-article-spartak li:hover::before,
.opencart-article-french li:hover::before,
.opencart-article-italian li:hover::before,
.opencart-article-materials li:hover::before,
.opencart-article-mistakes li:hover::before,
.opencart-article-enhanced li:hover::before,
.repair-article li:hover::before,
.spelling-article li:hover::before,
.gallery-section li:hover::before,
.product-article li:hover::before,
.card.product-card.mb-4 li:hover::before {
    transform: scale(1.2);
    color: #ed8936;
}

/* Стандартный список (с кружками) */
.standard-list {
    list-style: disc !important;
    padding-left: 1.5rem !important;
}
.standard-list li {
    padding-left: 0.5rem !important;
    list-style: disc !important;
}
.standard-list li::before {
    display: none !important;
}
.standard-list li:hover {
    background: transparent !important;
    padding-left: 0.5rem !important;
}

/* Запрещающий список (с крестиками) */
.prohibited-list li::before {
    content: "\2718" !important;
    color: #e53e3e !important;
}
.prohibited-list li:hover::before {
    color: #c53030 !important;
    transform: scale(1.2) !important;
}

/* ===== FEATURE COMPARISON (таблица сравнения) ===== */
.feature-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.feature-comparison th {
    background: #1a365d;
    color: #ffffff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}
.feature-comparison td {
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: top;
}
.feature-comparison tr:nth-child(even) td {
    background: #f7fafc;
}
.feature-comparison tr:hover td {
    background: #edf2f7;
}

/* ===== COMPARISON ITEM (блоки сравнения) ===== */
.comparison-item {
    background: #f7fafc;
    border-radius: 20px;
    padding: 20px 24px;
    margin: 20px 0;
    border-left: 4px solid #2b6cb0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.comparison-item:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.comparison-item h4 {
    margin-top: 0;
    color: #1a365d;
    font-size: 1.2rem;
    border-left: none;
    padding-left: 0;
}
.comparison-item p {
    margin: 0.5rem 0;
}
.comparison-item ul {
    margin: 0.5rem 0;
}

/* ===== PROS/CONS блок ===== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.pros-box {
    background: #f0fff4;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #c6f6d5;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pros-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(72,187,120,0.12);
}
.cons-box {
    background: #fff5f5;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #fed7d7;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cons-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245,101,101,0.12);
}
.pros-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #276749;
}
.cons-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #9b2c2c;
}
.pros-list li::before {
    content: "\2713" !important;
    color: #38a169 !important;
}
.cons-list li::before {
    content: "\2718" !important;
    color: #e53e3e !important;
}
.pros-list li:hover::before,
.cons-list li:hover::before {
    transform: scale(1.2);
}
.pros-list li,
.cons-list li {
    padding-left: 1.8rem;
    position: relative;
    margin: 0.5rem 0;
    transition: all 0.2s;
}
.pros-list li:hover,
.cons-list li:hover {
    padding-left: 2rem;
    border-radius: 12px;
}
.pros-list li:hover {
    background: rgba(72,187,120,0.06);
}
.cons-list li:hover {
    background: rgba(245,101,101,0.06);
}
.pros-list {
    list-style: none;
    padding-left: 0;
}
.cons-list {
    list-style: none;
    padding-left: 0;
}

/* ===== MYTH/FACT блок ===== */
.myth-box {
    background: #fffbeb;
    border-radius: 20px;
    padding: 20px 24px;
    margin: 1.5rem 0;
    border: 1px solid #fde68a;
    border-left: 5px solid #d69e2e;
    transition: transform 0.2s, box-shadow 0.2s;
}
.myth-box:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(214,158,46,0.1);
}
.myth-box .myth {
    color: #92400e;
    font-weight: 600;
    font-size: 1.1rem;
}
.myth-box .fact {
    color: #276749;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
.myth-box p {
    margin: 0.5rem 0;
}
.myth-box strong {
    color: #92400e;
}

/* ===== SELECTION GUIDE ===== */
.selection-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}
.guide-item {
    background: #f7fafc;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.guide-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.07);
    border-color: #bee3f8;
}
.guide-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b6cb0;
    margin-top: 0;
    margin-bottom: 0.8rem;
}
.guide-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.guide-list li {
    padding: 0.4rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.95rem;
    color: #4a5568;
}
.guide-list li::before {
    content: "\2192";
    color: #2b6cb0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== SUMMARY ===== */
.summary {
    background: linear-gradient(135deg, #ebf8ff, #e0edff);
    border-radius: 20px;
    padding: 24px 28px;
    margin: 2rem 0;
    border: 1px solid #bee3f8;
    border-left: 5px solid #2b6cb0;
}
.summary h3 {
    color: #1a365d;
    margin-top: 0;
    font-size: 1.4rem;
}
.summary p {
    margin: 0.8rem 0;
    color: #2d3748;
}
.summary-list {
    list-style: none;
    padding-left: 0;
    margin: 0.8rem 0;
}
.summary-list li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #2d3748;
}
.summary-list li::before {
    content: "\2605";
    color: #3182ce;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* ===== SITE LINK ===== */
.site-link {
    text-align: center;
    margin: 2rem 0;
}
.site-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2b6cb0, #2c5282);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(43,108,176,0.35);
}
.site-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43,108,176,0.45);
    background: linear-gradient(135deg, #2c5282, #1a365d);
    color: #ffffff;
    text-decoration: none;
}
.product-link {
    display: inline-block;
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.2s;
}
.product-link:hover {
    color: #ed8936;
    border-bottom-color: #ed8936;
}
.article-link {
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 1px dashed #2b6cb0;
    transition: all 0.2s;
}
.article-link:hover {
    color: #ed8936;
    border-bottom-color: #ed8936;
    border-bottom-style: solid;
}

/* ===== INFO CARD ===== */
.info-card {
    background: #ebf8ff;
    border-radius: 20px;
    padding: 20px 24px;
    margin: 1.5rem 0;
    border: 1px solid #bee3f8;
    border-left: 5px solid #3182ce;
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(49,130,206,0.1);
}
.info-card h4 {
    color: #2b6cb0;
    margin-top: 0;
    font-size: 1.2rem;
    border-left: none;
    padding-left: 0;
}
.info-text {
    margin: 0.8rem 0;
    color: #2d3748;
    line-height: 1.6;
}

/* ===== WARNING CARD ===== */
.warning-card {
    background: #fffff0;
    border-radius: 20px;
    padding: 20px 24px;
    margin: 1.5rem 0;
    border: 1px solid #fde68a;
    border-left: 5px solid #d69e2e;
    transition: transform 0.2s, box-shadow 0.2s;
}
.warning-card:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(214,158,46,0.1);
}
.warning-card h4 {
    color: #92400e;
    margin-top: 0;
    font-size: 1.2rem;
    border-left: none;
    padding-left: 0;
}
.warning-card strong {
    color: #92400e;
}
.warning-list {
    list-style: none;
    padding-left: 0;
    margin: 0.8rem 0;
}
.warning-list li {
    padding: 0.4rem 0;
    padding-left: 1.6rem;
    position: relative;
    color: #744210;
}
.warning-list li::before {
    content: "\26A0";
    color: #d69e2e;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* ===== CONCLUSION BOX ===== */
.conclusion-box {
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border-radius: 20px;
    padding: 24px 28px;
    margin: 2rem 0;
    border: 1px solid #c6f6d5;
    border-left: 5px solid #38a169;
}
.conclusion-box h3 {
    color: #276749;
    margin-top: 0;
    font-size: 1.4rem;
}
.conclusion-box p {
    margin: 0.8rem 0;
    color: #2d3748;
}
.conclusion-box strong {
    color: #276749;
}

/* ===== IMAGE CONTAINER ===== */
.image-container {
    text-align: center;
    margin: 1.5rem 0;
}
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.image-caption {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ===== ALERT INFO ===== */
.alert-info {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 1rem 0;
    color: #2b6cb0;
}
.alert-info a {
    color: #2b6cb0;
    text-decoration: underline;
}

/* ===== FULL WIDTH ===== */
.full-width {
    width: 100%;
    margin: 1.5rem 0;
}
.full-width img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ===== META теги ===== */
.guest {
    background: #fffbeb;
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-block;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
}
.daily {
    background: #f0fff4;
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-block;
    font-size: 0.85rem;
    color: #276749;
    font-weight: 500;
}

/* ===== АДАПТИВ ДЛЯ СТАТЕЙ ===== */
@media (max-width: 768px) {
        .comparison-article,
    .operation-article,
    .opencart-article-video,
    .opencart-article-squeak,
    .opencart-article-french-size,
    .opencart-article-american,
    .opencart-article-belgian,
    .opencart-article-american-size,
    .opencart-article-spartak,
    .opencart-article-french,
    .opencart-article-italian,
    .opencart-article-materials,
    .opencart-article-mistakes,
    .opencart-article-enhanced,
    .repair-article,
    .spelling-article,
    .gallery-section,
    .product-article,
    .card.product-card.mb-4 {
        padding: 16px;
    }
    .pros-cons {
        grid-template-columns: 1fr;
    }
    .selection-guide {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 1.5rem;
    }
    .feature-comparison {
        font-size: 0.85rem;
    }
    .feature-comparison th,
    .feature-comparison td {
        padding: 10px 12px;
    }
}

/* ===== АДАПТИВ ДЛЯ КАТЕГОРИЙ ===== */
@media (max-width: 768px) {
    .opencart-article-french-final,
    .opencart-article-american-final,
    .opencart-article-mechanisms-final,
    .opencart-article-mattresses,
    .opencart-article-french-mattresses,
    .opencart-article-american-mattresses,
    .opencart-article-italian-mattresses,
    .opencart-article-ikea {
        padding: 16px;
    }
    .opencart-article-french-final h2,
    .opencart-article-american-final h2,
    .opencart-article-mechanisms-final h2,
    .opencart-article-mattresses h2,
    .opencart-article-french-mattresses h2,
    .opencart-article-american-mattresses h2,
    .opencart-article-italian-mattresses h2,
    .opencart-article-ikea h2 {
        font-size: 1.5rem;
    }
}

/* ===== СТИЛИ ДЛЯ ТОВАРОВ (new classes from PHP script) ===== */

/* Основной контейнер */
.opencart-product-card {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 24px 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}

/* Заголовки */
.opencart-product-title {
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    transition: all 0.25s;
    font-weight: 600;
}
.opencart-product-title:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.opencart-product-h3 {
    font-size: 1.4rem;
    margin: 1.6rem 0 1rem;
    color: #2b6cb0;
    font-weight: 600;
    transition: transform 0.2s;
}
.opencart-product-h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.opencart-product-h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}

/* Параграфы */
.opencart-product-p {
    margin: 1rem 0;
    line-height: 1.6;
}
.opencart-product-strong {
    color: #1a365d;
    font-weight: 600;
}
.opencart-product-strong:hover {
    color: #ed8936;
}

/* Списки */
.opencart-product-ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 20px;
}
.opencart-product-li {
    margin: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.2s;
}
.opencart-product-li:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2rem;
}
.opencart-product-icon {
    position: absolute;
    left: 0;
    color: #2b6cb0;
    transition: transform 0.2s, color 0.2s;
}
.opencart-product-li:hover .opencart-product-icon {
    transform: scale(1.2);
    color: #ed8936;
}
.opencart-product-badge {
    color: #2b6cb0;
    font-weight: bold;
}

/* Таблицы */
.opencart-product-table-wrap {
    overflow-x: auto;
    margin: 15px 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.opencart-product-table {
    width: 100%;
    border-collapse: collapse;
}
.opencart-product-td-label {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #f1f5f9;
    font-weight: 600;
    color: #1a365d;
    width: 40%;
}
.opencart-product-td-value {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}
/* --- td для таблиц товаров (общий стиль) --- */
.opencart-product-td {
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.95rem;
    vertical-align: top;
    text-align: center;
}
.opencart-product-td:first-child {
    text-align: left;
}
.opencart-product-tr:first-child .opencart-product-td,
.opencart-product-tr:first-child .opencart-product-td-label {
    padding-top: 14px;
}
.opencart-product-tr:last-child .opencart-product-td,
.opencart-product-tr:last-child .opencart-product-td-label {
    border-bottom: none;
    padding-bottom: 14px;
}
.opencart-product-tr:nth-child(even) .opencart-product-td {
    background: #f7fafc;
}
.opencart-product-tr:nth-child(even) .opencart-product-td-label {
    background: #edf2f7;
}
.opencart-product-tr:hover .opencart-product-td {
    background: #edf2f7;
}
@media (max-width: 768px) {
    .opencart-product-td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

.opencart-product-tr-alt td {
    background: #fafcff;
}
.opencart-product-link {
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 1px dotted #2b6cb0;
    transition: all 0.2s;
}
.opencart-product-link:hover {
    color: #ed8936;
    border-bottom-color: #ed8936;
    border-bottom-style: solid;
}

/* Блоки */
.product-status-discontinued {
    background: #fef9e3;
    border: 1px solid #f0d68a;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
}
.product-info-block {
    background: #eef2ff;
    border-left: 4px solid #2b6cb0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 20px 0;
}
.product-note-block {
    background: #fef9e3;
    border-left: 4px solid #ed8936;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 15px 0;
}
.product-divider {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}

/* Разделитель hr */
.opencart-product-card hr {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}
/* ===== СТИЛИ ДЛЯ СПЕЦИФИЧЕСКИХ КЛАССОВ СТАТЕЙ ===== */

/* -- opencart-article-squeak (статья про скрип) -- */
.opencart-article-squeak {
max-width: 1280px;
margin: 0 auto 30px;
background: #ffffff;
border-radius: 28px;
box-shadow: 0 8px 30px rgba(0,0,0,0.05);
padding: 30px 35px;
line-height: 1.5;
color: #2d3748;
}
.opencart-article-squeak h2 {
font-size: 1.8rem;
margin-top: 0.5rem;
margin-bottom: 1.5rem;
padding-bottom: 0.75rem;
border-bottom: 3px solid #e2e8f0;
color: #1a365d;
font-weight: 600;
}
.opencart-article-squeak h3 {
font-size: 1.5rem;
margin: 1.6rem 0 0.8rem;
color: #2b6cb0;
font-weight: 600;
}
.opencart-article-squeak p {
margin: 1rem 0;
line-height: 1.6;
color: #4a5568;
}
.opencart-article-squeak ul, .opencart-article-squeak ol {
padding-left: 1.5rem;
}
.opencart-article-squeak li {
margin: 0.6rem 0;
color: #4a5568;
line-height: 1.5;
}
.opencart-article-squeak li strong {
color: #ed8936;
font-weight: 600;
}
.opencart-article-squeak img {
max-width: 100%;
height: auto;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
margin: 1rem 0;
}
.opencart-article-squeak h4 {
font-size: 1.1rem;
margin: 1rem 0 0.5rem;
color: #1a365d;
font-weight: 600;
}

/* -- section-intro (введение в раздел) -- */
.section-intro {
font-size: 1.1rem;
color: #4a5568;
background: #f7fafc;
border-radius: 12px;
padding: 16px 20px;
margin-bottom: 1.5rem;
border-left: 4px solid #2b6cb0;
line-height: 1.7;
}

/* -- comparison-grid (сетка сравнения) -- */
.comparison-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin: 1.5rem 0;
}
.comparison-card {
background: #f7fafc;
border-radius: 20px;
padding: 24px;
border: 1px solid #e2e8f0;
transition: transform 0.2s, box-shadow 0.2s;
}
.comparison-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}
.comparison-card .card-title {
font-size: 1.2rem;
font-weight: 600;
margin-top: 0;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #e2e8f0;
}
.french-card {
border-top: 4px solid #2b6cb0;
}
.french-title {
color: #2b6cb0 !important;
}
.american-card {
border-top: 4px solid #ed8936;
}
.american-title {
color: #ed8936 !important;
}

/* -- feature-list (список характеристик) -- */
.feature-list {
list-style: none;
padding-left: 0;
margin: 0.5rem 0;
}
.feature-list li {
padding: 0.4rem 0 0.4rem 1.4rem;
position: relative;
color: #4a5568;
font-size: 0.95rem;
}
.feature-list li::before {
content: "\2713";
color: #2b6cb0;
position: absolute;
left: 0;
font-weight: bold;
}

/* -- schema-image (изображение схемы) -- */
.schema-image {
margin: 1rem 0;
text-align: center;
}
.schema-image img {
max-width: 100%;
height: auto;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.img-responsive {
max-width: 100%;
height: auto;
display: block;
}

/* -- criteria-grid (сетка критериев) -- */
.criteria-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin: 1.5rem 0;
}
.criteria-card {
background: #ffffff;
border-radius: 20px;
padding: 20px 24px;
border: 1px solid #e2e8f0;
transition: transform 0.2s, box-shadow 0.2s;
}
.criteria-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.criteria-title {
font-size: 1.1rem;
font-weight: 600;
margin-top: 0;
margin-bottom: 0.8rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #e2e8f0;
}
.criteria-list {
list-style: none;
padding-left: 0;
margin: 0.5rem 0;
}
.criteria-list li {
padding: 0.4rem 0 0.4rem 1.4rem;
position: relative;
color: #4a5568;
font-size: 0.95rem;
}
.criteria-list li::before {
content: "\2713";
color: #38a169;
position: absolute;
left: 0;
font-weight: bold;
}

/* -- specs-grid (сетка характеристик) -- */
.specs-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin: 1.5rem 0;
}
.specs-card {
background: #f7fafc;
border-radius: 20px;
padding: 20px 24px;
border: 1px solid #e2e8f0;
transition: transform 0.2s, box-shadow 0.2s;
}
.specs-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.specs-title {
font-size: 1.1rem;
font-weight: 600;
margin-top: 0;
margin-bottom: 0.8rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #e2e8f0;
}
.specs-list {
list-style: none;
padding-left: 0;
margin: 0.5rem 0;
}
.specs-list li {
padding: 0.5rem 0;
color: #4a5568;
font-size: 0.95rem;
border-bottom: 1px dashed #e2e8f0;
}
.specs-list li:last-child {
border-bottom: none;
}
.spec-label {
font-weight: 600;
color: #1a365d;
margin-right: 4px;
}

/* -- shop-block (блок магазина) -- */
.shop-block {
background: #f0fff4;
border-radius: 20px;
padding: 24px 28px;
margin: 1.5rem 0;
border: 1px solid #c6f6d5;
transition: transform 0.2s, box-shadow 0.2s;
}
.shop-block:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(72,187,120,0.1);
}
.shop-title {
font-size: 1.2rem;
font-weight: 600;
color: #276749;
border-left: 4px solid #38a169;
padding-left: 12px;
margin-bottom: 1rem;
}
.shop-intro {
font-size: 1.05rem;
color: #276749;
margin-bottom: 1rem;
}

/* -- offer-grid (сетка предложений) -- */
.offer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin: 1rem 0;
}
.offer-item {
display: flex;
align-items: center;
gap: 10px;
background: #ffffff;
border-radius: 14px;
padding: 12px 16px;
border: 1px solid #e2e8f0;
transition: transform 0.2s, box-shadow 0.2s;
font-size: 0.95rem;
color: #2d3748;
}
.offer-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.offer-icon {
font-size: 1.3rem;
color: #2b6cb0;
width: 24px;
text-align: center;
}
.french-icon { color: #2b6cb0; }
.american-icon { color: #ed8936; }
.mattress-icon { color: #805ad5; }
.consulting-icon { color: #38a169; }
.warranty-icon { color: #d69e2e; }

/* -- delivery-info внутри shop-block -- */
.shop-block .delivery-info {
background: transparent;
border: none;
padding: 0.5rem 0 0;
margin: 0;
box-shadow: none;
}
.shop-block .delivery-info p {
color: #4a5568;
font-size: 0.95rem;
}

/* -- Адаптив -- */
@media (max-width: 768px) {
.opencart-article-squeak {
padding: 16px;
}
.comparison-grid,
.criteria-grid,
.specs-grid {
grid-template-columns: 1fr;
}
.offer-grid {
grid-template-columns: 1fr;
}
}


/* ===== ДОПОЛНИТЕЛЬНЫЕ БЛОКИ СТАТЕЙ ===== */

/* --- models-grid (сетка моделей) --- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.model-card {
    background: #f7fafc;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #2b6cb0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}
.model-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.model-description {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* --- specs-box (характеристики модели) --- */
.specs-box {
    margin: 0.8rem 0;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.spec-item:last-child {
    border-bottom: none;
}
.spec-label {
    font-weight: 600;
    color: #1a365d;
}
.spec-value {
    color: #2b6cb0;
    text-align: right;
}

/* --- features-box (особенности модели) --- */
.features-box {
    margin: 0.8rem 0;
}
.features-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2b6cb0;
    margin: 0 0 0.5rem;
}
.features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.features-list li {
    padding: 3px 0 3px 1.2rem;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
}
.features-list li::before {
    content: \2713;
    color: #38a169;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- tech-specs (технические характеристики) --- */
.tech-specs {
    background: #f7fafc;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}
.tech-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.tech-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    color: #4a5568;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}
.tech-list li:last-child {
    border-bottom: none;
}
.tech-list li::before {
    display: none;
}

/* --- info-box / alert-warning --- */
.info-box {
    background: #ebf8ff;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 1rem 0;
    border: 1px solid #bee3f8;
    border-left: 4px solid #3182ce;
    color: #2b6cb0;
}
.alert-warning {
    background: #fffff0;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 1rem 0;
    border-left: 4px solid #d69e2e;
    color: #92400e;
}

/* --- offer-grid --- */
.product-article .offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.product-article .offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #2d3748;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-article .offer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --- section-intro --- */
.section-intro {
    font-size: 1.1rem;
    color: #4a5568;
    background: #f7fafc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2b6cb0;
    line-height: 1.7;
}

/* ===== ТАБЛИЦЫ В СТАТЬЯХ ===== */
.opencart-article-french-size table,
.opencart-article-american-size table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.opencart-article-french-size table th,
.opencart-article-american-size table th {
    background: #1a365d;
    color: #ffffff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}
.opencart-article-french-size table td,
.opencart-article-american-size table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: top;
}
.opencart-article-french-size table tr:nth-child(even) td,
.opencart-article-american-size table tr:nth-child(even) td {
    background: #f7fafc;
}
.opencart-article-french-size table tr:hover td,
.opencart-article-american-size table tr:hover td {
    background: #edf2f7;
}
@media (max-width: 768px) {
    .opencart-article-french-size table,
    .opencart-article-american-size table {
        font-size: 0.85rem;
    }
    .opencart-article-french-size table th,
    .opencart-article-american-size table th,
    .opencart-article-french-size table td,
    .opencart-article-american-size table td {
        padding: 10px 12px;
    }
}

/* ===== TABLE WRAPPER (горизонтальный скролл таблиц) ===== */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    border-radius: 12px;
}
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.table-wrapper th {
    background: #1a365d;
    color: #ffffff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}
.table-wrapper td {
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: middle;
    white-space: nowrap;
}
.table-wrapper tr:nth-child(even) td {
    background: #f7fafc;
}
.table-wrapper tr:hover td {
    background: #edf2f7;
}
@media (max-width: 768px) {
    .table-wrapper {
        position: relative;
    }
    .table-wrapper table {
        min-width: 450px;
        padding-bottom: 30px;
    }
    .table-wrapper th,
    .table-wrapper td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ===== ИНДИКАТОР СКРОЛЛА ТАБЛИЦ (JS) ===== */
.table-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: #2b6cb0;
    background: #ebf8ff;
    padding: 6px 0;
    border-radius: 0 0 12px 12px;
    border: 1px solid #bee3f8;
    border-top: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
}
.table-scroll-hint.visible {
    display: block;
}
.table-scroll-hint.hidden {
    display: none;
}
@media (min-width: 769px) {
    .table-scroll-hint.visible {
        display: none !important;
    }
}

/* ===== АДАПТИВ ДЛЯ ДОПОЛНИТЕЛЬНЫХ БЛОКОВ ===== */
@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
    .product-article .offer-grid,
    .offer-grid {
        grid-template-columns: 1fr;
    }
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .spec-value {
        text-align: left;
    }
}

/* ==========================================================
   ✨ ЕДИНЫЙ СТИЛЬ КАРТОЧЕК ТОВАРОВ (2025)
   ========================================================== */

/* --- Контейнер карточки --- */
.opencart-product-card,
.product-card.oc3-content,
.product-2st-rich {
    max-width: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2d3748;
    line-height: 1.6;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* --- Заголовки --- */
.opencart-product-card h2,
.opencart-product-card .opencart-product-title,
.product-card.oc3-content h2,
.product-2st-rich h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a202c;
    margin: 1.6rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3182ce;
    transition: border-color 0.2s;
}
.opencart-product-card h2:first-child,
.opencart-product-card .opencart-product-title:first-child,
.product-card.oc3-content h2:first-child,
.product-2st-rich h2:first-child {
    margin-top: 0;
}

.opencart-product-card h3,
.opencart-product-card .opencart-product-h3,
.product-card.oc3-content .oc3-subtitle,
.product-2st-rich h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2b6cb0;
    margin: 1.4rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #e2e8f0;
}

/* h4 */
.opencart-product-card h4,
.opencart-product-card .opencart-product-h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a365d;
    margin: 1rem 0 0.4rem;
    border-left: 3px solid #ed8936;
    padding-left: 10px;
}

/* --- Параграфы --- */
.opencart-product-card p,
.opencart-product-card .opencart-product-p,
.product-card.oc3-content .oc3-text,
.product-2st-rich p {
    margin: 0.7rem 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.65;
}

/* --- Жирный текст --- */
.opencart-product-card strong,
.opencart-product-card .opencart-product-strong,
.product-card.oc3-content strong,
.product-2st-rich strong {
    color: #c05621;
    font-weight: 600;
}

/* --- Списки --- */
.opencart-product-card ul,
.opencart-product-card .opencart-product-ul,
.product-card.oc3-content .oc3-list,
.product-2st-rich ul {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 1.2rem;
}
.opencart-product-card li,
.opencart-product-card .opencart-product-li,
.product-card.oc3-content .oc3-list li,
.product-2st-rich li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.95rem;
    color: #4a5568;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s;
}
.opencart-product-card li:last-child,
.product-card.oc3-content .oc3-list li:last-child,
.product-2st-rich li:last-child {
    border-bottom: none;
}
/* ::before removed for unified product classes */
/* ::before hover removed for unified product classes */

/* --- Сетка характеристик (flexbox, не таблица) --- */
.opencart-product-card .oc3-specs-grid,
.product-card.oc3-content .oc3-specs-grid,
.product-2st-rich .specs-grid {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
}
.opencart-product-card .oc3-specs-row,
.product-card.oc3-content .oc3-specs-row,
.product-2st-rich .specs-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    gap: 10px;
}
.opencart-product-card .oc3-specs-row:last-child,
.product-card.oc3-content .oc3-specs-row:last-child,
.product-2st-rich .specs-row:last-child {
    border-bottom: none;
}
.opencart-product-card .oc3-specs-label,
.product-card.oc3-content .oc3-specs-label,
.product-2st-rich .spec-label,
.opencart-product-td-label {
    font-weight: 600;
    color: #2d3748;
    min-width: 180px;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.opencart-product-card .oc3-specs-value,
.product-card.oc3-content .oc3-specs-value,
.product-2st-rich .spec-value,
.opencart-product-td-value {
    color: #4a5568;
    font-size: 0.95rem;
    flex: 1;
}

/* Компактная сетка */
.oc3-specs-compact {
    background: #fff;
    border: 1px solid #edf2f7;
    padding: 6px 12px;
}
.oc3-specs-compact .oc3-specs-row {
    padding: 5px 0;
}
.oc3-specs-compact .oc3-specs-label {
    min-width: 90px;
}

/* --- HTML-таблицы (для старых описаний) --- */
.opencart-product-table-wrap,
.table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    -webkit-overflow-scrolling: touch;
}
.opencart-product-table,
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}
.opencart-product-table td,
.table-wrapper td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: top;
}
.table-wrapper th {
    background: #2d3748;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.93rem;
}
.opencart-product-table tr:last-child td,
.table-wrapper tr:last-child td {
    border-bottom: none;
}
.opencart-product-td-label {
    background: #f1f5f9;
    width: 35%;
}
.opencart-product-td-value {
    background: #fff;
}

/* --- Highlight box --- */
.opencart-product-card .oc3-highlight-box,
.product-card.oc3-content .oc3-highlight-box {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 1rem 0;
}
.opencart-product-card .oc3-highlight-box p,
.product-card.oc3-content .oc3-highlight-box p {
    margin: 0;
    color: #2b6cb0;
}

/* --- Product info / note blocks --- */
.product-info-block,
.product-note-block {
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 16px 0;
    font-size: 0.92rem;
}
.product-info-block {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
}
.product-note-block {
    background: #fffff0;
    border-left: 4px solid #d69e2e;
}

/* --- Discontinued status --- */
.product-status-discontinued {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    color: #c53030;
}

/* --- Divider --- */
.opencart-product-card hr,
.opencart-product-card .product-divider {
    margin: 1.4rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* --- Links --- */
.opencart-product-card a,
.opencart-product-link {
    color: #3182ce;
    text-decoration: none;
    border-bottom: 1px dashed #3182ce;
    transition: color 0.2s, border-color 0.2s;
}
.opencart-product-card a:hover,
.opencart-product-link:hover {
    color: #c05621;
    border-bottom-color: #c05621;
    border-bottom-style: solid;
}

/* --- Адаптив --- */
@media (max-width: 768px) {
    .opencart-product-card .oc3-specs-row,
    .product-card.oc3-content .oc3-specs-row,
    .product-2st-rich .specs-row {
        flex-direction: column;
        padding: 6px 0;
        gap: 2px;
    }
    .opencart-product-card .oc3-specs-label,
    .product-card.oc3-content .oc3-specs-label,
    .product-2st-rich .spec-label,
    .opencart-product-td-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    .opencart-product-card h2,
    .opencart-product-card .opencart-product-title,
    .product-card.oc3-content h2,
    .product-2st-rich h2 {
        font-size: 1.2rem;
    }
    .opencart-product-card h3,
    .opencart-product-card .opencart-product-h3,
    .product-card.oc3-content .oc3-subtitle,
    .product-2st-rich h3 {
        font-size: 1.05rem;
    }
    .opencart-product-table-wrap .opencart-product-table,
    .table-wrapper table {
        min-width: 400px;
    }
    .table-wrapper th,
    .table-wrapper td,
    .opencart-product-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
/* ===== ТАБЛИЦЫ В КАРТОЧКАХ ТОВАРОВ ===== */
.opencart-product-card table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 15px;
}

.opencart-product-card table th,
.opencart-product-card table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.opencart-product-card table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.opencart-product-card table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.opencart-product-card table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* ===== TABLITSY V KARTOTCHKAH TOVAROV ===== */
.opencart-product-card table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 15px;
}

.opencart-product-card table th,
.opencart-product-card table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.opencart-product-card table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.opencart-product-card table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.opencart-product-card table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* ===== Списки внутри карточек товаров матрасов ===== */
.opencart-product-amkoyra ul,
.opencart-product-amorto ul,
.opencart-product-amstrutofayber ul,
.opencart-product-itkoyra ul,
.opencart-product-itorto ul,
.opencart-product-itstrutofayber ul,
.opencart-product-frstrutofayber ul {
    list-style: disc !important;
    padding-left: 1.5rem !important;
}
.opencart-product-amkoyra li,
.opencart-product-amorto li,
.opencart-product-amstrutofayber li,
.opencart-product-itkoyra li,
.opencart-product-itorto li,
.opencart-product-itstrutofayber li,
.opencart-product-frstrutofayber li {
    list-style: disc !important;
    padding-left: 0.3rem !important;
}

/* ===== product-specs (бывшие таблицы) ===== */
.product-specs {
    margin: 0.8rem 0;
}
.product-specs p {
    margin: 0.4rem 0;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.product-specs p:last-child {
    border-bottom: none;
}
.product-specs strong {
    color: #2b6cb0;
    font-weight: 600;
}

/* ===== Shop page (category welcome / article) ===== */
.article {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 30px 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}
.article .fade-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s ease;
}
.article .fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.article h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 28px;
    font-weight: 600;
    color: #1a365d;
    transition: all 0.25s;
}
.article h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.article h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #2c3e50;
    font-weight: 600;
    transition: transform 0.2s;
}
.article h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.article h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}
.article strong {
    color: #ed8936;
    font-weight: 600;
}
.article ul.styled-list {
    list-style: none;
    padding-left: 0;
}
.article ul.styled-list li {
    margin: 0.6rem 0;
    padding: 0.4rem 0.8rem 0.4rem 1.8rem;
    position: relative;
    transition: all 0.2s;
}
.article ul.styled-list li:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2.2rem;
}
.article ul.styled-list li i {
    color: #2b6cb0;
    margin-right: 8px;
    transition: color 0.2s, transform 0.2s;
    width: 1.2rem;
    text-align: center;
}
.article ul.styled-list li:hover i {
    color: #ed8936;
    transform: scale(1.15);
}
.article .contact-info p {
    margin: 0.6rem 0;
    padding: 0.4rem 0.8rem 0.4rem 1.8rem;
    position: relative;
    transition: all 0.2s;
}
.article .contact-info p:hover {
    background: #f7fafc;
    border-radius: 16px;
    padding-left: 2.2rem;
}
.article .contact-info p i {
    color: #2b6cb0;
    margin-right: 8px;
    width: 1.2rem;
    text-align: center;
    transition: color 0.2s;
}
.article .contact-info p:hover i {
    color: #ed8936;
}
.article hr {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}
.article .guarantee {
    text-align: center;
    padding: 20px 25px;
    margin-top: 30px;
    background: linear-gradient(135deg, #fefcbf, #f6e05e);
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #744210;
    transition: transform 0.2s, box-shadow 0.2s;
}
.article .guarantee:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(246, 224, 94, 0.4);
}
.article .guarantee i {
    margin-right: 8px;
    color: #d69e2e;
    font-size: 1.3rem;
}
.article a {
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 1px dashed #2b6cb0;
    transition: all 0.3s;
}
.article a:hover {
    color: #ed8936;
    border-bottom-style: solid;
}

/* ===== ARTICLE CATEGORY LINKS ===== */
.article-cat-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 28px 0;
    flex-wrap: wrap;
}
.article-cat-links .cat-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(43,108,176,0.2);
    background: #2b6cb0;
    color: #ffffff;
}
.article-cat-links .cat-btn:hover {
    background: #1a365d;
    box-shadow: 0 4px 14px rgba(43,108,176,0.3);
    color: #ffffff;
    text-decoration: none;
}
.article-cat-links .cat-btn-sep {
    display: inline-block;
    padding: 0 10px;
    color: #cbd5e0;
    font-size: 1.2rem;
}
@media (max-width: 600px) {
    .article-cat-links {
        flex-direction: column;
        gap: 10px;
        margin: 0 0 20px 0;
    }
    .article-cat-links .cat-btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 1rem;
    }
    .article-cat-links .cat-btn-sep {
        display: none;
    }
}

/* ===== СТИЛИ ИЗ АДМИНКИ (FAQ, таблицы, заголовки) ===== */

/* Делаем каждый вопрос отдельной карточкой */
.panel-faq .panel {
    background-color: #f8f9fa;
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}
.panel-faq .panel-heading {
    background-color: #f8f9fa;
    padding: 16px 20px;
    border: none;
}
.panel-faq .panel-title a {
    font-size: 15px !important;
}
.panel-faq .panel-title a {
    font-size: 15px;
}
.panel-faq .panel-body {
    font-size: 14px;
    line-height: 1.5;
}
.panel-faq .panel-title a {
    color: #1a1a1a !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}
.panel-faq .panel-title a:hover {
    color: #007bff !important;
}
.panel-faq .panel-title .badge {
    background-color: #007bff;
    color: white;
    border-radius: 30px;
    padding: 5px 10px;
    margin-right: 12px;
    font-weight: normal;
}
.panel-faq .panel-body {
    background-color: white;
    padding: 20px;
    border-top: 2px solid #f0f0f0;
    color: #333;
    line-height: 1.6;
}
#faq > h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}
#faq > h3 {
    font-size: 20px;
}
h1 {
    font-size: 26px;
    margin-bottom: 20px;
}
#content h2 {
    font-size: 23px;
}
#content h3 {
    font-size: 18px;
}
#content h4 {
    font-size: 16px;
}
.opencart-product-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 !important;
}
.opencart-product-table-wrap table.opencart-product-table th,
.opencart-product-table-wrap table.opencart-product-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.opencart-product-table-wrap table.opencart-product-table th {
  background: #f5f5f5;
  font-weight: 600;
}
.table-wrapper {
  border: none !important;
  border-radius: 0 !important;
  margin: 15px 0;
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrapper th,
.table-wrapper td {
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
  background: transparent !important;
  color: inherit !important;
  font-weight: normal !important;
  border: none !important;
  word-break: break-word;
  overflow-wrap: break-word;
}
.table-wrapper th {
  font-weight: 600 !important;
}

/* ===== Extra tabs: fix wide tables on mobile ===== */
@media (max-width: 768px) {
    .us-product-extra-tab-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ===== Extra tabs: force full width on mobile ===== */
@media (max-width: 768px) {
    .us-product-extra-tab-content {
        padding: 0 !important;
    }
    .us-product-extra-tab-content > * {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .us-product-extra-tab-content .opencart-product-table-wrap {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: auto !important;
        border-radius: 0 !important;
    }
    .us-product-extra-tab-content .opencart-product-table-wrap table.opencart-product-table {
        min-width: 600px !important;
    }
}
.opencart-product-table td {
        padding: 3px 3px;
        font-size: 0.78rem;
    }
}


/* ===== Table columns: compact, no overflow on desktop ===== */
.opencart-product-table-wrap {
    overflow-x: hidden !important;
}
.opencart-product-table {
    table-layout: fixed;
    width: 100%;
}
.opencart-product-table .opencart-product-td-label {
    width: auto;
}
.opencart-product-table td {
    padding: 4px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.opencart-product-table td:first-child {
    white-space: normal;
    text-align: left;
    overflow: visible;
    text-overflow: clip;
    width: 25%;
}
.opencart-product-table td + td {
    width: 9.375%;
}
@media (max-width: 768px) {
    .opencart-product-table-wrap {
        overflow-x: auto !important;
    }
    .opencart-product-table {
        table-layout: auto;
        min-width: 600px;
    }
    .opencart-product-table td {
        padding: 3px 6px;
        font-size: 0.78rem;
        overflow: visible;
        text-overflow: clip;
    }
    .opencart-product-table td:first-child {
        width: auto;
        min-width: 100px;
    }
    .opencart-product-table td + td {
        width: auto;
    }
}


/* ===== HOME PAGE: H1/SEO блок главной (sofa-article) ===== */
.sofa-article {
    padding: 10px 0;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fff;
}

.sofa-article .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sofa-article .article-title {
    text-align: center;
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding: 0;
    border: none;
    position: relative;
    letter-spacing: -0.3px;
}

.sofa-article .article-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #c0a16b;
    margin: 20px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.sofa-article .article-title:hover:after {
    width: 120px;
}

.sofa-article .article-content {
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sofa-article .article-content:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.sofa-article .article-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c0a16b, transparent);
    transition: left 0.5s ease;
}

.sofa-article .article-content:hover:before {
    left: 100%;
}

.sofa-article .company-name {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.sofa-article .company-name strong {
    color: #000;
    font-weight: 700;
}

.sofa-article .experience {
    font-size: 14px;
    color: #c0a16b;
    margin: 0;
    font-weight: 600;
}

.sofa-article .experience strong {
    color: #c0a16b;
    font-weight: 700;
}

/* Анимации */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOME PAGE: SEO-текст главной ===== */
.sofa-article .article-lead {
    max-width: 100%;
    margin: 0 auto 12px;
    text-align: left;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.sofa-article .article-subtitle {
    text-align: left;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
    position: relative;
    letter-spacing: -0.2px;
}

.sofa-article .article-subtitle:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c0a16b;
    margin: 15px auto 0;
    border-radius: 2px;
}

.sofa-article .article-list {
    list-style: none;
    max-width: 100%;
    margin: 0 auto 12px;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    text-align: left;
}

.sofa-article .article-list li {
    margin-bottom: 10px;
}

.sofa-article .article-list li:before {
    content: '\2022';
    color: #c0a16b;
    font-weight: 700;
    margin-right: 8px;
}

.sofa-article .article-list strong {
    color: #000;
}

.sofa-article .article-paragraph {
    max-width: 100%;
    margin: 0 auto 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    text-align: left;
}

/* Адаптив для главной */
@media (max-width: 768px) {
    .sofa-article {
        padding: 5px 0;
    }
    .sofa-article .article-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .sofa-article .article-title:after {
        width: 60px;
    }
    .sofa-article .article-title:hover:after {
        width: 80px;
    }
    .sofa-article .company-name {
        font-size: 16px;
    }
    .sofa-article .experience {
        font-size: 14px;
    }
    .sofa-article .article-content {
        padding: 12px;
        margin: 0 0 15px;
    }
    .sofa-article .article-lead {
        font-size: 14px;
    }
    .sofa-article .article-subtitle {
        font-size: 20px;
    }
    .sofa-article .article-list,
    .sofa-article .article-paragraph {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sofa-article .article-title {
        font-size: 18px;
    }
    .sofa-article .company-name {
        font-size: 14px;
    }
    .sofa-article .experience {
        font-size: 13px;
    }
}

@media print {
    .sofa-article {
        padding: 0;
    }
    .sofa-article .article-title:after {
        background: #000;
    }
    .sofa-article .article-content {
        background: none;
        box-shadow: none;
    }
    .sofa-article .experience strong {
        color: #000;
    }
}

/* ===== ИНФО-СТРАНИЦЫ (единый стиль, как описания категорий) ===== */
.info-page {
    max-width: 1280px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    padding: 30px 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #2d3748;
}
.info-page h2 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    color: #1a365d;
    transition: all 0.25s;
    font-weight: 600;
}
.info-page h2:hover {
    border-bottom-color: #2b6cb0;
    color: #2b6cb0;
    padding-left: 6px;
}
.info-page h3 {
    font-size: 1.5rem;
    margin: 1.6rem 0 0.8rem;
    color: #2b6cb0;
    font-weight: 600;
    transition: transform 0.2s;
}
.info-page h3:hover {
    transform: translateX(5px);
    color: #ed8936;
}
.info-page h4 {
    font-size: 1.25rem;
    margin: 1.2rem 0 0.5rem;
    color: #1a365d;
    font-weight: 600;
    border-left: 4px solid #2b6cb0;
    padding-left: 12px;
}
.info-page p {
    margin: 1rem 0;
    line-height: 1.6;
}
.info-page strong {
    color: #ed8936;
    font-weight: 600;
}
.info-page ul {
    list-style: disc;
    padding-left: 1.3rem;
}
.info-page ol {
    list-style: decimal;
    padding-left: 1.3rem;
}
.info-page li {
    margin: 0.4rem 0;
    line-height: 1.6;
}
.info-page li::marker {
    color: #9aa5b1;
}
.info-page hr {
    margin: 1.8rem 0;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #2b6cb0, #e2e8f0);
    border-radius: 2px;
}
@media (max-width: 768px) {
    .info-page {
        padding: 16px;
    }
    .info-page h2 {
        font-size: 1.5rem;
    }
    .info-page h3 {
        font-size: 1.3rem;
    }
}

/* ===== Pros/cons заголовки внутри карточек категорий (все обёртки) ===== */
[class^="opencart-article-"] .pros-title,
[class^="opencart-article-"] .cons-title {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    border-left: none;
    padding-left: 0;
}
[class^="opencart-article-"] .pros-title {
    color: #276749;
}
[class^="opencart-article-"] .cons-title {
    color: #9b2c2c;
}
