/* Исправление для иконок FurnitureIcons */
@font-face {
    font-family: FurnitureIcons;
    src: url(../fonts/FurnitureIcons.eot);
    src: url(../fonts/FurnitureIcons.eot) format('embedded-opentype'),
         url(../fonts/FurnitureIcons.ttf) format('truetype'),
         url(../fonts/FurnitureIcons.woff) format('woff'),
         url(../fonts/FurnitureIcons.svg) format('svg');
    font-weight: 400;
    font-style: normal;
}

.f-icon {
    font-family: FurnitureIcons !important;
    font-variant: normal;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Icon mappings with Unicode symbols from SVG */
.f-icon-dining-table:before { content: '\e900' !important; }
.f-icon-accessories:before { content: '\e901' !important; }
.f-icon-armchair:before { content: '\e902' !important; }
.f-icon-bar-set:before { content: '\e903' !important; }
.f-icon-bathroom:before { content: '\e904' !important; }
.f-icon-bedroom:before { content: '\e905' !important; }
.f-icon-bookcase:before { content: '\e906' !important; }
.f-icon-carpet:before { content: '\e907' !important; }
.f-icon-chair:before { content: '\e908' !important; }
.f-icon-children-room:before { content: '\e909' !important; }
.f-icon-kitchen:before { content: '\e90a' !important; }
.f-icon-lightning:before { content: '\e90b' !important; }
.f-icon-media-cabinet:before { content: '\e90c' !important; }
.f-icon-nightstand:before { content: '\e90d' !important; }
.f-icon-office:before { content: '\e90e' !important; }
.f-icon-retro:before { content: '\e90f' !important; }
.f-icon-sho-cabinet:before { content: '\e910' !important; }
.f-icon-sofa:before { content: '\e911' !important; }
.f-icon-table:before { content: '\e912' !important; }
.f-icon-wardrobe:before { content: '\e913' !important; }

/* Дополнительные иконки (алиасы для совместимости) */
.f-icon-shoe-cabinet:before { content: '\e910' !important; } /* используем sho-cabinet */
.f-icon-furniture:before { content: '\e901' !important; } /* используем accessories как default */

/* Стили для секции иконок на главной странице */
.owl-icons-wrapper.owl-icons-frontpage {
    margin-top: -165px !important;
    background: transparent !important;
    border-bottom: 1px solid #c9c9c9;
}

.owl-icons-wrapper.owl-icons-frontpage .owl-icons.owl-theme .owl-controls .owl-buttons div span,
.owl-icons-wrapper.owl-icons-frontpage a,
.owl-icons-wrapper.owl-icons-frontpage a:active,
.owl-icons-wrapper.owl-icons-frontpage a:focus,
.owl-icons-wrapper.owl-icons-frontpage a:hover,
.owl-icons-wrapper.owl-icons-frontpage figure:hover {
    color: #fff !important;
}

@media(min-width:992px) {
    .owl-icons-wrapper.owl-icons-frontpage {
        margin-top: -188px !important;
        background: transparent !important;
    }
    
    .owl-icons-wrapper .owl-icons figcaption {
        font-size: 14px !important;
    }
}

/* Убедимся, что иконки в owl-icons отображаются правильно */
.owl-icons-wrapper {
    padding: 0 !important;
}

.owl-icons-wrapper .owl-icons {
    position: relative !important;
    padding: 15px 0 5px !important;
}

.owl-icons-wrapper .owl-icons a:hover,
.owl-icons-wrapper .owl-icons figure:hover {
    color: #000 !important;
}

.owl-icons-wrapper .owl-icons figure {
    text-align: center !important;
    padding: 10px 0 20px !important;
}

.owl-icons-wrapper .owl-icons figure:hover .f-icon {
    -moz-transform: scale(1.3) !important;
    -ms-transform: scale(1.3) !important;
    -o-transform: scale(1.3) !important;
    -webkit-transform: scale(1.3) !important;
    transform: scale(1.3) !important;
}

.owl-icons-wrapper .owl-icons figure .f-icon {
    /* font-size: 70px !important; */
    -moz-transition: all .5s !important;
    -o-transition: all .5s !important;
    -webkit-transition: all .5s !important;
    transition: all .5s !important;
    color: #fff !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.owl-icons-wrapper .owl-icons figcaption {
    font-family: 'Open Sans', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    width: 100% !important;
    color: #fff !important;
}

/* Дополнительная отладка для иконок */
.owl-icons i[class*="f-icon"]:before {
    font-family: FurnitureIcons !important;
    display: block !important;
}

/* Принудительное применение к каждому классу */
.f-icon-dining-table, 
.f-icon-accessories, 
.f-icon-armchair, 
.f-icon-bar-set, 
.f-icon-bathroom, 
.f-icon-bedroom, 
.f-icon-bookcase, 
.f-icon-carpet, 
.f-icon-chair, 
.f-icon-children-room, 
.f-icon-kitchen, 
.f-icon-lightning, 
.f-icon-media-cabinet, 
.f-icon-nightstand, 
.f-icon-office, 
.f-icon-retro, 
.f-icon-sho-cabinet, 
.f-icon-sofa, 
.f-icon-table, 
.f-icon-wardrobe, 
.f-icon-shoe-cabinet {
    font-family: FurnitureIcons !important;
}

/* Стили для иконок в навигации (выпадающее меню каталога) */
nav .categories {
    background-color: transparent !important;
    padding: 10px !important;
}

nav .categories a {
    display: block !important;
    color: #fff !important;
}

nav .categories figure .f-icon {
    font-size: 60px !important;
    line-height: 40px !important;
    color: #fff !important;
    display: block !important;
    margin-bottom: 0 !important;
}

nav .categories figure {
    text-align: center !important;
    margin-bottom: 3px !important;
    min-height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

nav .categories .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -2px !important;
    margin-right: -2px !important;
}

nav .categories .row>div {
    margin-bottom: 5px !important;
    display: flex !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

nav .categories a {
    width: 100% !important;
    height: 100% !important;
}

nav .categories figure figcaption {
    color: #fff !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    min-height: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    margin-top: 0 !important;
}

@media(min-width:992px) {
    nav .categories {
        padding: 20px !important;
    }
    
    nav .categories a {
        color: #fff !important;
    }
    
    nav .categories figure {
        background-color: #111;
        margin-bottom: 3px !important;
        min-height: 100px !important;
        justify-content: center !important;
        border-radius: 10px;
    }
    
    nav .categories .row>div {
        margin-bottom: 8px !important;
    }
}

@media(max-width:991px) {
    nav .categories {
        padding: 0 !important;
    }
    
    nav .categories .row>div {
        margin-bottom: 2px !important;
    }
    
    nav .categories figure {
        background-color: #111 !important;
        padding: 10px 3px !important;
        min-height: 85px !important;
    }
    
    nav .categories figure figcaption {
        min-height: 16px !important;
        font-size: 9px !important;
        align-items: flex-start !important;
    }
    
    nav .categories figure .f-icon {
        font-size: 42px !important;
        line-height: 32px !important;
        margin-bottom: 2px !important;
    }
}

/* Принудительно переопределяем любые пустые content */
.f-icon:before {
    font-family: FurnitureIcons !important;
}

/* Специфичность для front-page */
.owl-icons-frontpage .f-icon:before {
    font-family: FurnitureIcons !important;
}

/* Стили для секции отзывов - оригинальные */
.quotes {
    padding: 60px 0;
    background-color: #de0200;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

@media(min-width:992px) {
    .quotes {
        padding: 80px 0;
        min-height: 500px;
    }
}

.quotes:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    top: 0;
    left: 0;
    z-index: 0;
}

.quotes .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.quotes header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 50px;
}

.quotes header .title {
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

.quotes .row {
    position: relative;
    z-index: 10;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 300px;
}

.quotes .row > div {
    margin: 0;
    padding: 0;
}

/* Центрирование quote-carousel */
.quote-carousel {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Отдельный отзыв по центру */
.quotes .quote {
    color: #fff;
    text-align: center;
    background: transparent;
    border: none;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.quotes .quote .text {
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.quotes .quote .text h4 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: none;
    border-bottom: none;
    padding-bottom: 0;
}

.quotes .quote .text p {
    color: #fff;
    line-height: 1.8;
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    max-width: 100%;
    margin: 0 auto;
}

.quote .video_ {
    display: none !important;
}

/* Owl Carousel стили для отзывов */
.quotes .owl-carousel {
    width: 100%;
}

.quotes .owl-carousel .owl-item {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotes .owl-carousel .owl-nav {
    margin-top: 40px;
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
}

.quotes .owl-carousel .owl-nav button {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    pointer-events: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.quotes .owl-carousel .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

.quotes .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.quotes .owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 8px;
}

.quotes .owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.quotes .owl-carousel .owl-dot.active span,
.quotes .owl-carousel .owl-dot:hover span {
    background: #fff;
    transform: scale(1.2);
}

/* Адаптивность для отзывов */
@media (max-width: 992px) {
    .quotes {
        padding: 60px 0;
        min-height: 350px;
    }
    
    .quotes .quote {
        padding: 30px 15px;
        min-height: 200px;
    }
    
    .quotes .quote .text h4 {
        font-size: 20px;
    }
    
    .quotes .quote .text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .quotes {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .quotes header .title {
        font-size: 28px;
    }
    
    .quotes .quote .text p {
        font-size: 15px;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .quote-carousel {
        padding: 0 15px;
    }
    
    .quotes .owl-carousel .owl-nav {
        padding: 0 20px;
    }
    
    .quotes .owl-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .quotes .quote {
        padding: 20px 10px;
        min-height: 180px;
    }
    
    .quotes .quote .text h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .quotes .quote .text p {
        font-size: 14px;
    }
    
    .quotes .owl-carousel .owl-nav {
        padding: 0 10px;
    }
}

/* Стили для секции партнеров */
.owl-iconsgen {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.owl-iconsgen .owl-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.owl-iconsgen .owl-icons a {
    display: block;
    transition: all 0.3s ease;
}

.owl-iconsgen .owl-icons a:hover {
    transform: scale(1.05);
}

.owl-iconsgen .owl-icons figure {
    margin: 0;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-iconsgen .owl-icons figure:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.owl-iconsgen .owl-icons figure img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Адаптивность для партнеров */
@media (max-width: 768px) {
    .owl-iconsgen {
        padding: 30px 0;
    }
    
    .owl-iconsgen .owl-icons {
        gap: 20px;
    }
    
    .owl-iconsgen .owl-icons figure {
        max-width: 120px;
        height: 80px;
        padding: 10px;
    }
    
    .owl-iconsgen .owl-icons figure img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .owl-iconsgen {
        padding: 20px 0;
    }
    
    .owl-iconsgen .owl-icons {
        gap: 15px;
    }
    
    .owl-iconsgen .owl-icons figure {
        max-width: 100px;
        height: 70px;
        padding: 8px;
    }
    
    .owl-iconsgen .owl-icons figure img {
        max-height: 50px;
    }
}

/* Contact section styling */
.contact {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-block {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 25px !important;
}

.contact-info figure {
    margin-bottom: 50px;
    color: #fff;
}

.contact-info .icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: transparent;
/* border: 2px solid #fff; */
    color: #fff;
    font-size: 30px;
    margin-bottom: 20px;
    font-family: 'FontAwesome';
}

.contact-info .icon-map-marker::before {
    content: '\f041';
    font-family: 'FontAwesome';
}

.contact-info .icon-phone::before {
    content: '\f095';
    font-family: 'FontAwesome';
}

.contact-info .icon-clock::before {
    content: '\f017';
    font-family: 'FontAwesome';
}

.contact-info figcaption {
    color: #fff;
}

.contact-info figcaption strong {
    display: block;
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-info figcaption span {
    color: #fff;
}

.contact-info figcaption p {
    margin: 8px 0;
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
}

.contact-info figcaption p strong {
    color: #fff;
    font-size: 18px;
    display: inline;
    text-transform: none;
    margin: 0;
}

.contact-info figcaption a {
    color: #fff;
    text-decoration: none;
}

.contact-info figcaption a:hover {
    color: #ddd;
}

.contact .banner {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact .banner .title {
    color: #fff;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    padding: 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus {
    border-color: #fff;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.contact-form .btn-clean {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 50px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .btn-clean:hover {
    background: #fff;
    color: #333;
    transform: none;
}

.contact-form .btn-clean:active {
    transform: none;
}

.messages2 {
    margin-bottom: 20px;
    min-height: 20px;
    color: #fff;
}

/* Contact section адаптивность */
@media (max-width: 992px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact-info .icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 26px;
    }
    
    .contact-info figcaption strong {
        font-size: 20px;
    }
    
    .contact .banner .title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-info .icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .contact-info figcaption strong {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .contact-info figcaption p {
        font-size: 15px;
    }
    
    .contact .banner .title {
        font-size: 28px;
    }
    
    .contact-form .form-control {
        height: 55px;
        font-size: 15px;
    }
    
    .contact-form .btn-clean {
        padding: 12px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 0 0;
    }
    
    .contact-info figure {
        margin-bottom: 40px;
    }
    
    .contact-info .icon {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .contact-info figcaption strong {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .contact-info figcaption p {
        font-size: 14px;
    }
    
    .contact-info figcaption p strong {
        font-size: 15px;
    }
    
    .contact .banner .title {
        font-size: 24px;
    }
    
    .contact-form .form-control {
        height: 50px;
        padding: 15px;
        font-size: 14px;
    }
    
    .contact-form .btn-clean {
        padding: 12px 30px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .contact .banner {
        margin-top: 40px;
        padding-top: 40px;
    }
}

/* Дополнительные иконки для блока преимуществ на странице товара */
/* Используем Unicode символы как fallback вместо иконочного шрифта */
[class^="icon-"], [class*=" icon-"] {
    font-family: LinearIcons !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Иконки для блока преимуществ - используем символы как fallback */
.icon-pencil:before {
    content: "✏"; /* карандаш */
}

.icon-cog:before {
    content: "⚙"; /* шестеренка */
}

.icon-user:before {
    content: "👤"; /* пользователь */
}

.icon-bookmark:before {
    content: "🔖"; /* закладка */
}

.icon-thumbs-up:before {
    content: "👍"; /* большой палец вверх */
}

.icon-sun:before {
    content: "☀"; /* солнце */
}

.icon-star:before {
    content: "⭐"; /* звезда */
}

.icon-pie-chart:before {
    content: "📊"; /* диаграмма */
}

/* Дополнительные иконки */
/* .icon-phone:before {
    content: "📞";
} */

.icon-mail:before {
    content: "✉";
}

.icon-location:before {
    content: "📍";
}

.icon-cart:before {
    content: "🛒";
}

.icon-heart:before {
    content: "❤";
}

.icon-search:before {
    content: "🔍";
}

.icon-menu:before {
    content: "☰";
}

.icon-close:before {
    content: "✕";
}

.icon-arrow-right:before {
    content: "→";
}

.icon-arrow-left:before {
    content: "←";
}
