.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: var(--color1);
    color: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.views-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg2);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: var(--text2);
    margin-bottom: 15px;
}
.views-counter i { color: var(--color1); }

.gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    justify-content: center;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-track { background: var(--bg2); border-radius: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--color1); border-radius: 4px; }

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #f5f5f5;
    flex-shrink: 0;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item.active {
    border-color: var(--color1);
    box-shadow: 0 0 0 2px rgba(44, 94, 45, 0.2);
}
.thumb-item:hover:not(.active) {
    border-color: var(--text2);
}

.action-block {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--bg2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.price-unit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg2);
}
.price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.price-block .store-pattern_price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color1);
}
.price-block .old-price {
    font-size: 1rem;
    color: #9e9b98;
    text-decoration: line-through;
}
.pattern-wrapper select, 
.pattern-wrapper .store-pattern_item {
    background: var(--bg2);
    border: 1px solid #e2e8dd;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text);
}

.quantity-cart-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.quantity-cart-row .store-count {
    margin: 0;
    padding: 0;
    border: 1px solid var(--bg2);
    border-radius: 50px;
    background: var(--bg2);
    display: flex;
    align-items: center;
}
.quantity-cart-row .store-count a {
    padding: 10px 18px;
    border-radius: 50px;
    color: var(--text2);
}
.quantity-cart-row .store-count a:hover { color: var(--color1); }
.quantity-cart-row .store-count input[type="text"] {
    padding: 10px 0;
    width: 50px;
    text-align: center;
    background: transparent;
    color: var(--text);
}
.store-pattern_add {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    background: var(--color1);
    color: white;
}
.store-pattern_add:hover {
    transform: translateY(-2px);
    background: var(--color2);
    color: white;
}
.fast-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #f5a623, #e8920c);
    color: white;
}
.fast-order-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e8920c, #d47a00);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.3);
}

.extra-buttons-row {
    display: flex;
    gap: 12px;
    margin: 15px 0 20px 0;
    flex-wrap: wrap;
}
.callback-btn, .calculator-btn {
    flex: 1;
    border: none;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg2);
    color: var(--text2);
}
.callback-btn:hover, .calculator-btn:hover {
    transform: translateY(-2px);
    background: var(--color1);
    color: white;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.characteristics-list.compact {
    margin-top: 20px;
    margin-bottom: 0;
    list-style: none;
    background: var(--bg2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--bg2);
}
.characteristics-list.compact li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg2);
    font-size: 0.85rem;
}
.characteristics-list.compact li:last-child { border-bottom: none; }
.characteristics-list.compact li span { color: var(--text2); font-weight: 500; }
.characteristics-list.compact li strong { color: var(--text); font-weight: 600; }

.compact-services {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bg2);
}
.compact-service {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    background: var(--bg2);
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
    border: 1px solid var(--bg2);
    cursor: pointer;
}
.compact-service:hover {
    background: var(--color1);
    color: white;
    border-color: var(--color1);
    transform: translateY(-2px);
}
.compact-service i { font-size: 1.1rem;color: #ea950f;}
.extra-buttons-row i {
    color: #ea950f;
}

.lumber-tabs {
    max-width: 1300px;
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #e8ede6;
}
.lumber-tabs-nav {
    display: flex;
    background: #f9faf7;
    border-bottom: 1px solid #e2e8dd;
    flex-wrap: wrap;
}
.lumber-tab-btn {
    padding: 16px 32px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text2);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lumber-tab-btn:hover { color: var(--color1); background: #f0f4ea; }
.lumber-tab-btn.active { color: var(--color1); background: #fff; }
.lumber-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color1);
}
.lumber-tabs-content { padding: 36px 40px; }
.lumber-tab-pane { display: none; animation: fadeIn 0.3s ease; }
.lumber-tab-pane.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(379px, 1fr));
    gap: 12px;
    background: var(--bg2);
    border-radius: 16px;
    padding: 20px;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8dd;
    transition: all 0.2s;
}
.spec-item:hover { border-color: var(--color1); transform: translateX(3px); }
.spec-label { font-weight: 600; color: var(--text2); font-size: 0.85rem; text-transform: uppercase; }
.spec-value { font-weight: 600; color: var(--text); font-size: 0.9rem; }

.lumber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.lumber-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s;
    border: 1px solid #e8ede6;
    position: relative;
}
.lumber-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
    border-color: #cbdcc2;
}
.lumber-card-icon { font-size: 40px; margin-bottom: 16px; color: var(--color1); }
.lumber-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.lumber-card p { font-size: 0.88rem; line-height: 1.5; color: var(--text2); margin: 0; }
.lumber-card.highlight { 
    background: #f6faf2; 
    border-color: #c5d9b5;
}
.lumber-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: var(--color1);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 40px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    margin: auto;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    position: relative;
    animation: modalFadeIn 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text2);
    cursor: pointer;
}
.modal-close:hover { color: var(--color1); }
.modal-icon { font-size: 64px; text-align: center; margin-bottom: 16px; color: var(--color1); }
.modal-content h3 { font-size: 1.6rem; font-weight: 700; color: var(--text); text-align: center; margin: 0 0 16px; }
.modal-content p { font-size: 0.95rem; line-height: 1.55; color: var(--text2); margin-bottom: 20px; }
.modal-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: var(--bg2);
    border-radius: 16px;
    padding: 16px;
}
.modal-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid #e2e8dd;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-list li:last-child { border-bottom: none; }
.modal-list li i { color: var(--color1); width: 20px; }
.modal-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8dd;
    text-align: center;
}
.modal-contact a { color: var(--color1); font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.modal-link { margin-top: 16px; text-align: center; }
.modal-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 40px;
    background: #f0f4ea;
    transition: all 0.2s;
}
.modal-page-link:hover { background: var(--color1); color: white; }

.calculator-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.calc-row label { font-weight: 600; color: var(--text2); min-width: 100px; }
.calc-row input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #cbdcc2;
    border-radius: 12px;
    font-size: 0.9rem;
    background: white;
    color: var(--text);
}
.calc-result {
    background: var(--color1);
    color: white;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    margin-top: 10px;
}
.calc-result strong { font-size: 1.3rem; margin-left: 10px; }
.calc-note { font-size: 0.7rem; color: var(--text2); text-align: center; margin-top: 15px; }

.fastorder-form, .pricematch-form, .ask-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.fastorder-form input, .fastorder-form textarea,
.pricematch-form input, .pricematch-form textarea,
.ask-form input, .ask-form textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8dd;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
}
.fastorder-form input:focus, .fastorder-form textarea:focus,
.pricematch-form input:focus, .pricematch-form textarea:focus,
.ask-form input:focus, .ask-form textarea:focus {
    outline: none;
    border-color: var(--color1);
}
.fastorder-submit, .pricematch-submit, .ask-submit-btn {
    background: var(--color1);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.fastorder-submit:hover, .pricematch-submit:hover, .ask-submit-btn:hover { 
    background: var(--color2);
    transform: translateY(-2px);
}
.fastorder-product {
    background: var(--bg2);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.product-name { font-weight: 600; color: var(--text); }
.product-qty { color: var(--text2); }
.form-note { font-size: 0.7rem; color: var(--text2); text-align: center; margin: 0; }

img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}
img[data-src].loaded {
    opacity: 1;
}

.faq-section {
    margin: 60px auto;
}
.faq-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e8ede6;
}
.faq-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    padding: 30px 32px 20px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8faf5 0%, #ffffff 100%);
    border-bottom: 2px solid var(--color1);
}
.faq-title i {
    color: var(--color1);
    font-size: 1.8rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}
.faq-item {
    border-bottom: 1px solid #eef2f0;
    transition: all 0.3s ease;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}
.faq-question:hover {
    background: #f9faf7;
    padding-left: 36px;
}
.faq-question i:first-child {
    color: var(--color1);
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
}
.faq-question strong {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
    color: #1a2e3f;
    line-height: 1.4;
}
.faq-toggle {
    color: #9e9b98;
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--color1);
}
.faq-answer {
    display: none;
    background: #fafbf9;
    border-top: 1px solid #eef2f0;
    overflow: hidden;
}
.faq-item.active .faq-answer {
    display: block;
    animation: faqSlideDown 0.3s ease;
}
@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-answer-content {
    padding: 24px 32px 24px 71px;
    color: #5a6b52;
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-answer-content p {
    margin: 0 0 12px 0;
}
.faq-answer-content p:last-child {
    margin-bottom: 0;
}
.faq-answer-content ul,
.faq-answer-content ol {
    margin: 10px 0;
    padding-left: 20px;
}
.faq-answer-content li {
    margin: 6px 0;
}
@media (max-width: 768px) {
    .faq-section {
        margin: 40px auto;
        padding: 0 15px;
    }
    .faq-title {
        font-size: 1.4rem;
        padding: 20px 20px 15px 20px;
    }
    .faq-title i {
        font-size: 1.4rem;
    }
    .faq-question {
        padding: 16px 20px;
        gap: 12px;
    }
    .faq-question:hover {
        padding-left: 24px;
    }
    .faq-question strong {
        font-size: 0.9rem;
    }
    .faq-question i:first-child {
        font-size: 1rem;
        width: 20px;
    }
    .faq-answer-content {
        padding: 18px 20px 18px 52px;
        font-size: 0.85rem;
        line-height: 1.6;
    }
}
@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
    }
    .faq-question strong {
        font-size: 0.85rem;
    }
    .faq-answer-content {
        padding: 14px 16px 14px 48px;
        font-size: 0.8rem;
    }
}

.along-sect {
    max-width: 1300px;
    margin: 60px auto;
}
.along-sect_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.along-sect_title h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.along-sect_title a {
    color: var(--text2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.along-sect_title a:hover {
    color: var(--color1);
}
.along-sect_items {
    position: relative;
}

.classic-table-wrapper {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8dd;
    overflow: hidden;
}
.classic-table-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a2e3f;
    padding: 14px 20px;
    margin: 0;
    background: #f8faf5;
    border-bottom: 1px solid #e2e8dd;
}
.classic-table-title i {
    color: #2c5e2d;
    font-size: 1.1rem;
}
.classic-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.classic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.classic-table thead th {
    text-align: left;
    padding: 14px 20px;
    background: var(--color1);
    color: #fff;
}
.classic-table tbody tr {
    border-bottom: 1px solid #eef2f6;
    transition: background 0.2s ease;
}
.classic-table tbody tr:hover {
    background: #f9faf7;
}
.classic-table tbody tr:last-child {
    border-bottom: none;
}
.classic-table tbody td {
    padding: 14px 20px;
    color: #5a6b52;
}
.classic-table .param-cell {
    font-weight: 500;
    color: #4a5b40;
    width: 50%;
}
.classic-table .param-cell i {
    color: #2c5e2d;
    width: 24px;
    margin-right: 10px;
    font-size: 1rem;
}
.classic-table .value-cell {
    font-weight: 600;
    color: #1a2e3f;
    text-align: center;
}
.classic-table .value-cell strong {
    color: #2c5e2d;
    font-weight: 700;
}

/* ===== СТИЛИ ДЛЯ ВКЛАДКИ "ЗАДАТЬ ВОПРОС" ===== */
.ask-question-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.ask-header {
    text-align: center;
    margin-bottom: 32px;
}
.ask-header i {
    font-size: 3rem;
    color: var(--color1);
    margin-bottom: 16px;
}
.ask-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
}
.ask-header p {
    font-size: 0.9rem;
    color: var(--text2);
}
.ask-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.ask-form__group {
    margin-bottom: 20px;
}
.ask-form__group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.ask-form__group label span {
    color: #e74c3c;
}
.ask-form__group label i {
    color: var(--color1);
    width: 20px;
}
.ask-form__product {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.ask-form__product i {
    color: var(--color1);
    font-size: 1.2rem;
}
.ask-form__product span {
    font-size: 0.85rem;
    color: var(--text2);
}
.ask-form__product strong {
    color: var(--text);
}
.ask-form__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.ask-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg);
    color: var(--text2);
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e2e8dd;
    cursor: pointer;
    transition: all 0.3s;
}
.ask-clear-btn:hover {
    background: var(--bg2);
    color: var(--text);
}
.ask-form__note {
    font-size: 0.7rem;
    color: var(--text2);
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ask-form__note i {
    color: var(--color1);
}
.ask-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--bg2);
}
.ask-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ask-contact-item i {
    font-size: 1.5rem;
    color: var(--color1);
}
.ask-contact-item div {
    display: flex;
    flex-direction: column;
}
.ask-contact-item span {
    font-size: 0.7rem;
    color: var(--text2);
}
.ask-contact-item a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.ask-contact-item a:hover {
    color: var(--color1);
}

@media (max-width: 860px) {
    .along-screen { height: 350px; }
    .thumb-item { width: 60px; height: 60px; }
    .faq-question { padding: 14px 18px; }
    .faq-answer { padding: 0 18px 18px 50px; }
}
@media (max-width: 768px) {
    .gallery-thumbs { justify-content: flex-start; }
    .thumb-item { width: 60px; height: 60px; }
    .compact-services { flex-direction: column; gap: 8px; }
    .compact-service { justify-content: flex-start; padding: 10px 16px; }
    .lumber-tab-btn { padding: 12px 20px; font-size: 0.85rem; }
    .lumber-tabs-content { padding: 24px 20px; }
    .lumber-grid { grid-template-columns: 1fr; gap: 16px; }
    .specs-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 30px 24px; }
    .modal-content h3 { font-size: 1.3rem; }
    .calc-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    .calc-row label { min-width: auto; }
    .calc-row input { width: 100%; }
    .price-unit-row { flex-direction: column; align-items: flex-start; }
    .quantity-cart-row { flex-direction: column; }
    .quantity-cart-row .store-count { width: 100%; display: flex; justify-content: center; }
    .store-pattern_add { width: 100%; }
    .fast-order-btn { width: 100%; }
    .extra-buttons-row { flex-direction: column; }
    .faq-title { font-size: 1.4rem; }
    .ask-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ask-header h3 {
        font-size: 1.2rem;
    }
    .ask-form__actions {
        flex-direction: column;
    }
    .ask-contact-item {
        flex-direction: column;
        text-align: center;
    }
    .classic-table thead {
        display: none;
    }
    .classic-table tbody tr {
        display: block;
        border: 1px solid #e2e8dd;
        border-radius: 12px;
        margin-bottom: 12px;
        background: white;
    }
    .classic-table tbody tr:hover {
        background: white;
    }
    .classic-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-bottom: 1px solid #eef2f6;
    }
    .classic-table tbody td:last-child {
        border-bottom: none;
    }
    .classic-table .param-cell {
        font-weight: 600;
        width: auto;
    }
    .classic-table .value-cell {
        text-align: right;
    }
}
@media (max-width: 480px) {
    .lumber-tab-btn { padding: 10px 14px; font-size: 0.75rem; }
    .price-block .store-pattern_price { font-size: 1.4rem; }
    .thumb-item { width: 55px; height: 55px; }
    .classic-table tbody td { padding: 10px 14px; font-size: 0.85rem; }
    .classic-table-title { padding: 12px 16px; font-size: 0.9rem; }
    .classic-table .param-cell i { width: 20px; margin-right: 8px; }
}