/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

:root {
    --wd-header-el-font-size: 20px !important;
    --wd-header-el-font-weight: 400 !important;
    --wd-header-el-transform: none !important;
}

/* Прижимаем футер к низу страницы */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Основной контейнер страницы растягивается */
.wd-page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Основной контент растягивается */
.wd-page-content,
#main-content {
    flex: 1 0 auto;
}

/* Футер прижат к низу */
.wd-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.wd-page-wrapper {
    background-color: #c60f01 !important;
}
.wd-page-content,
.wd-page-title {
    border-radius: 64px 64px 0 0;
    background-color: #FFFDFA !important;
}

.wd-open-popup,
.btn-account,
.btn-logout {
    border-style: solid;
    border-width: 2px;
    border-color: #FFFFFF1F !important;
}

.wd-toolbar {
    background-color: #000000 !important;
}
.wd-toolbar-label {
    color: #FFFFFF !important;
}


.elementor-button-text {
    display: inline-flex;
    align-items: center;
}
.wd-menu>.widget-title {
    padding: 0px !important;
    text-transform: none !important;
}
.wd-nav>li>a {
    min-height: auto !important;
}
.woodmart-nav-link .nav-link-text {
    font-weight: 400 !important;
}


/* Исправляем проблему с невидимым контентом из-за .wd-animation */
.wd-animation {
    opacity: 1 !important;
}

.elementor-widget-jet-listing-dynamic-image {
    height: 100% !important;
}

.jet-listing-dynamic-image {
    height: 100% !important;
}

/* Правильные классы с одним подчеркиванием */
.jet-listing-dynamic-image__link {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
}

@media (max-width: 1024px) {
    .wd-logo img {
        padding-bottom: 5px !important;
    }
    .wd-open-popup,
    .btn-account,
    .btn-logout {
        border-style: none;
        border-width: 0px;
        border-color: transparent !important;
    }
}