/*
Theme Name: VVAI
Theme URI: https://vvai.ru
Author: VVAI Team
Description: Каталог строительных материалов — ВВ. Всегда Выгодно
Version: 1.0.0
Text Domain: vvai
Tags: custom, catalog, b2b, b2c
*/

/* Base reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e2f49;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* WP editor content styling for static pages */
.vvai-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e2f49;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.vvai-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e2f49;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.vvai-content p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.vvai-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.vvai-content ol {
    list-style: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.vvai-content li {
    margin-bottom: 0.25rem;
    color: #374151;
    line-height: 1.75;
}

.vvai-content a {
    color: #67859b;
    text-decoration: underline;
}

.vvai-content a:hover {
    color: #1e2f49;
}

/* ── Print styles ────────────────────────────────────────────────────────────── */

@media print {
    /* Скрываем всё лишнее при печати */
    header, footer, nav,
    .vvai-print-hide {
        display: none !important;
    }

    /* Печатный заголовок с реквизитами: скрыт на экране, виден при печати */
    .vvai-print-header {
        display: block !important;
        margin-bottom: 24pt;
        padding-bottom: 12pt;
        border-bottom: 2px solid #000;
    }
    .vvai-print-header h1 {
        font-size: 18pt;
        font-weight: 700;
        margin-bottom: 4pt;
    }
    .vvai-print-header p {
        font-size: 11pt;
        margin-bottom: 2pt;
    }

    body {
        font-size: 11pt;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    /* Таблица позиций заказа */
    .vvai-print-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 12pt;
    }
    .vvai-print-table th,
    .vvai-print-table td {
        border: 1px solid #999;
        padding: 5pt 8pt;
        text-align: left;
        font-size: 10pt;
    }
    .vvai-print-table th {
        background: #eee;
        font-weight: 600;
    }
    .vvai-print-table .text-right {
        text-align: right;
    }

    /* Контактные данные */
    .vvai-print-info {
        margin-bottom: 12pt;
    }
    .vvai-print-info dt {
        display: inline;
        font-weight: 600;
    }
    .vvai-print-info dd {
        display: inline;
        margin: 0;
    }
}
