.share { font-size:0.9em; margin-right:10px; }
#banner { color: #fff; height: 300px; width: 100%; overflow: hidden; background: #000 url('img/banner.jpg'); background-position: bottom center; background-repeat: no-repeat; box-shadow: inset 0 -10px 20px 0 rgba(0, 0, 0, 0.5); }
#banner .container { padding-top:50px; }
#banner .container h1 { color: #fff; font-size:3.2em; letter-spacing:-1px; text-shadow:0 1px 5px rgb(0, 0, 0); }

/* Сalculator
---------------------- */
.calc_block { float:right;max-width:400px;width:100%; }
.calc_block h3 { font-size:1.8em; text-align:center; margin-bottom:20px; color:rgb(235, 212, 139); }
.calc{background:#713E21 url('img/calc.jpg') repeat-x 0 0;border-radius:5px;overflow:hidden;box-shadow:inset 0 -2px 10px 0 #E0C69E, 0 1px 10px 0 #000000;}
.calc ul { margin:0; padding:0; height:50px; }
.calc ul li { float:left;display:block;line-height:45px;height:50px;width:50%;text-align:center;background-color:rgba(0, 0, 0, 0.32);border-radius:0 0 5px 5px;box-shadow:inset 0 -5px 8px 0 rgba(0, 0, 0, 0.4);cursor:pointer;overflow:hidden; }
.calc ul li.select { background-color:transparent;box-shadow:none;cursor:default; }
.calc ul li span { border-bottom:1px dashed; text-transform:uppercase; color:#FFEB9B; }
.calc ul li:hover span { color:#FFFFFF; }
.calc ul li.select span { border-bottom:0;color:#FFFFCC; }
.calc p { margin-bottom: 5px; font-size:0.9em; }
.calc input{width:40%;padding:8px 0.5em;background:rgb(39, 17, 10);background:linear-gradient(to top, rgba(213, 179, 133, 0.47), rgba(39, 17, 10, 0.94));border:1px solid rgba(145, 106, 62, 1);border-top:1px solid #513619;border-bottom:1px solid #BA9061;color:#FFFFFF;border-radius:4px;outline:none;}
.calc input:focus{border-color:rgba(228, 206, 136, 1);}
.calc .button{float:right;margin-top:0;}
.calc .calc_content{margin:5px 25px 25px;color:#FFFFFF;}

.tracks { padding: 30px; }
.tracks .tracks-count { font-weight: 600; color: #996633; font-size: 4em; }

.logo_block{ max-width:400px;width:100%;height:97px;background:url('img/logo_opacity.png') no-repeat 50% 0;float:right;margin-bottom:30px; }
#pre-full { position:fixed;height:100%;width:100%;z-index:1000;overflow:auto;top:0;left:0; }
#full-window { width:100%; height:100%; display:table; z-index:10000; background: rgba(255, 255, 255, 0.5); padding:10px 0 150px; }
#full-window .cross { font-size:17px;right:0;color:#990126;cursor:pointer;position:absolute;padding:15px;z-index:100;}
#full-window .form-cent {display:table-cell;vertical-align:middle;text-align:center;max-height:100%;}
#full-window .form-cent2 {position:relative;display:inline-block;vertical-align:middle;text-align:left;max-width:900px;width:100%;background-color:white;box-shadow:8px 8px 8px rgba(0, 0, 0, 0.2);padding-bottom:65px;}
#full-window .form-cent2 p {margin-top:65px;font-size:1.2em;}

.row{clear:both;}
.col{float:left;}
.col.w1{width:50%;}
.col.w2{width:33.33%;}
.col.w3{width:60%;}
.col.w4{width:40%;}
.col.w5{width:50%;}
.col.w6{width:30%;}

.container:before, .container:after { content:" "; visibility: hidden; display:block; height:0; clear:both; }
.container h2 { color:#130A4D; margin-bottom:35px; text-align: center; }

#brand { background:#FFFFFF;background-attachment:fixed;background-position:center center; }
#brand .bx-wrapper .bx-viewport { left: auto; border: 0; }
#brand .bx-wrapper .bx-pager.bx-default-pager a { width: 12px; height: 10px; }
.brand { margin: 20px; line-height:1.45em; }
.brand_img{float:left;text-align:center;width:100px;height:100px;border:2px solid #D2D2D2;padding:10px;margin:0 20px 20px 0;}
.brand_img:hover{border:2px solid #990126;}
.brand_img img { height: auto; max-width: 93px; max-height: 78px; }

.topical {margin:20px;}
.topical h3 {color:#130A4D;margin:10px 0;}
.topical_img, .miniature_block{text-align:center;border:2px solid #D2D2D2;background:#FFFFFF;line-height:0;}
.topical_img img{max-width:500px;max-height:200px;vertical-align:middle;}
.topical_img div{overflow:hidden;margin:10px;text-align:center;}
.room{margin-right:40px;}

#advantages .advant [class^="icon-"], #advantages .advant [class*=" icon-"]{font-size:5em;color:#996633;}
#advantages .advant{margin:20px;}
#advantages h3{font-size:1.4em;margin:15px 0;}

.about_img{max-height:250px;overflow:hidden;margin:0 20px;border:2px solid #FFFFFF;border-radius:5px;}
.about_img img{width:100%;}
/* ===== ВРЕМЕННАЯ ГЛАВНАЯ - РЕДИЗАЙН ===== */

/* Баннер "Обновляемся" */
#renovation-banner {
    background: linear-gradient(135deg, #8B0000 0%, #5c1515 100%);
    padding: 60px 0;
    text-align: center;
}
#renovation-banner .renovation-notice {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}
#renovation-banner .renovation-icon {
    font-size: 64px;
    margin-bottom: 20px;
}
#renovation-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}
#renovation-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}
#renovation-banner .renovation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
#renovation-banner .button {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
#renovation-banner .button:not(.outline) {
    background: #fff;
    color: #8B0000;
}
#renovation-banner .button.outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
#renovation-banner .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Категории */
#categories {
    padding: 50px 0;
}
#categories header h2 {
    text-align: center;
    margin-bottom: 30px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: #f9f9f9;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #8B0000;
}
.category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-icon img {
    max-width: 100%;
    max-height: 100%;
}
.category-icon .icon-box {
    width: 50px;
    height: 50px;
    background: #8B0000;
    border-radius: 10px;
}
.category-name {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
.category-count {
    font-size: 12px;
    color: #888;
}

/* Модели */
#models {
    padding: 50px 0;
}
#models header h2 {
    text-align: center;
    margin-bottom: 30px;
}
.models-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #8B0000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}
.model-card:hover {
    background: #5c1515;
    transform: translateY(-3px);
}
.model-card strong {
    font-size: 20px;
    margin-bottom: 5px;
}
.model-card span {
    font-size: 12px;
    opacity: 0.8;
}

/* Каталог (секция для мобильных) - горизонтальный scroll-snap */
#catalog {
    padding: 20px 0;
}
#catalog header h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
}
.catalog-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 15px 5px;
    margin: 0 -15px;
}
.catalog-scroll::-webkit-scrollbar {
    display: none;
}
.catalog-card {
    flex: 0 0 calc((100vw - 40px) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #8B0000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    min-height: 80px;
    box-sizing: border-box;
    scroll-snap-align: start;
}
.catalog-card:active {
    background: #5c1515;
}
.catalog-card strong {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.catalog-card span {
    font-size: 11px;
    opacity: 0.85;
    line-height: 1.3;
}

/* Мини-преимущества */
#advantages-mini {
    padding: 40px 0;
    background: #f5f5f5;
}
.advantages-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.advantage-item span[class^="icon-"] {
    font-size: 24px;
    color: #8B0000;
}
.advantage-item strong {
    font-size: 14px;
}

/* Ссылка на услуги */
#services-link {
    padding: 40px 0;
    text-align: center;
}
#services-link p {
    margin-bottom: 15px;
    font-size: 18px;
}
#services-link .button {
    display: inline-block;
    padding: 15px 30px;
    background: #8B0000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}
#services-link .button:hover {
    background: #5c1515;
}

/* ===== КОНЕЦ СТИЛЕЙ ВРЕМЕННОЙ ГЛАВНОЙ ===== */

/* Fix feedback modal */
#feedback-dialog .dialog-window {
    max-height: 90vh;
    overflow-y: auto;
}
#feedback-dialog .callback-body .wa-form {
    width: 100% !important;
    max-width: 400px;
}
#feedback-dialog .callback-body .wa-field .wa-value {
    margin-left: 0 !important;
}
#feedback-dialog .callback-body .wa-field input,
#feedback-dialog .callback-body .wa-field textarea {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
}

/* ===== QUICK ORDER MODAL ===== */
.quick-order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}
.quick-order-modal.active {
    display: flex;
}
.quick-order-modal__content {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    padding-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    -webkit-overflow-scrolling: touch;
}
.quick-order-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.quick-order-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.quick-order-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.quick-order-modal__close:hover {
    color: #333;
}
.quick-order-modal__desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
}
.quick-order-modal__desc code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.quick-order-modal__textarea {
    width: 100%;
    min-height: 140px;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.quick-order-modal__textarea:focus {
    outline: none;
    border-color: #2563eb;
}
.quick-order-modal__buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.quick-order-modal__btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.2;
    box-sizing: border-box;
    min-height: 48px;
}
.quick-order-modal__btn--check {
    background: #2563eb;
    color: #fff;
}
.quick-order-modal__btn--check:hover {
    background: #1d4ed8;
}
.quick-order-modal__btn--cart {
    background: #059669;
    color: #fff;
}
.quick-order-modal__btn--cart:hover {
    background: #047857;
}
.quick-order-modal__btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Quick Order Results */
.quick-order-result {
    margin-top: 16px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #86efac;
}
.quick-order-result__title {
    font-weight: 600;
    color: #166534;
    margin-bottom: 12px;
}
.quick-order-result__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-order-result__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
}
.quick-order-result__list li:last-child {
    border-bottom: none;
}
.quick-order-result__list .sku {
    font-family: monospace;
    color: #666;
    min-width: 90px;
}
.quick-order-result__list .name {
    flex: 1;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quick-order-result__list .qty {
    color: #059669;
    font-weight: 600;
}
.quick-order-result__list .price {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    text-align: right;
}
.quick-order-result__total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid #10b981;
    font-size: 16px;
    color: #065f46;
}
.quick-order-result__login {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}
.quick-order-result__login a {
    color: #2563eb;
}
.quick-order-notfound {
    margin-top: 12px;
    padding: 12px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 13px;
}

/* ===== TOOLBAR: История, Файл, Фото ===== */
.quick-order-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.quick-order-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    height: 38px;
    box-sizing: border-box;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button.quick-order-tool {
    margin: 0;
}
.quick-order-tool:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}
.quick-order-tool span {
    font-size: 16px;
}

/* ===== ИСТОРИЯ ===== */
.quick-order-history {
    margin-bottom: 12px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 10px;
    border: 1px solid #fcd34d;
}
.quick-order-history__title {
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}
.quick-order-history__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.history-item {
    display: inline-block;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
    color: #78350f;
    cursor: pointer;
    transition: all 0.15s;
}
.history-item:hover {
    background: #fef3c7;
    transform: translateY(-1px);
}
.history-clear {
    padding: 4px 10px;
    background: transparent;
    border: 1px dashed #d97706;
    border-radius: 6px;
    font-size: 11px;
    color: #d97706;
    cursor: pointer;
}
.history-clear:hover {
    background: #fef3c7;
}
.quick-order-history__list .empty {
    color: #92400e;
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 480px) {
    .quick-order-modal__content {
        padding: 16px;
    }
    .quick-order-modal__title {
        font-size: 18px;
    }
    .quick-order-modal__buttons {
        flex-direction: column;
    }
    .quick-order-toolbar {
        gap: 6px;
    }
    .quick-order-tool {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
        font-size: 12px;
    }
}
