/*
Theme Name: EnergoFox
Template: hello-elementor
*/

/* Основные стили */
body {
    font-family: 'Space Grotesk', sans-serif !important;
    background-color: #fffbf0 !important;
/*    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
    color: #626D84 !important;
    background-color: #FFFBF0E0 !important;*/
}
button, input, optgroup, select, textarea, p, span, a {
	font-family: 'Space Grotesk', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
}

#tahefobu-header.tahefobu-ready {
	--ta-sticky-top: 0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}
.breadcrumbs {
	margin-top: -80px;
	color: #1B2232;
}
.breadcrumbs a {
	color: #626d84;
}
.container-blok{
	margin-top: 80px;
}
.page-title {
    margin: 40px 0;
    text-align: center;
}
.page-description {
    text-align: center;
}

/* Сетка каталога */
.gorki-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 15px;
}
.blog-grid .gorki-card:nth-child(4) {
    display: none;
}
.gorki-card {
	display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gorki-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gorki-card:hover img {
/*    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);*/
    transform: scale(1.05);
}
.gorki-card h3 {
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	color: #1b2232;
    margin: 15px;
    font-size: 1.2rem;
    transition: color 0.2s ease;
     min-height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.gorki-card h3:hover {
	color: #ff9900;
}
.blog-excerpt {
	flex-grow: 0; /* не растягивается */
    min-height: calc(1.4em * 2.5); /* примерно 2.5 строки, подберите */
    margin-bottom: 10px;
    font-size: 14px;
	line-height: 20px;
    padding: 10px 15px;
    color: #626d84;
}
@supports not (display: -webkit-box) {
    .gorki-card .blog-excerpt {
        max-height: calc(1.4em * 3);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
}

.params {
    padding: 0 15px;
    margin-bottom: 16px;
   	color: #626d84;
	font-size: 12px;
	line-height: 16px;
}
.params span:first-child {
	margin-right: 4px;
}
.params span {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background-color: #f1ede4;
	border-radius: 9999px;
}
.params span svg, .blog-button svg {
	width: 12px;
	margin-right: 4px;
}
.price {
	display: flex;
    padding: 10px 15px;
    margin-bottom: 16px;
    font-weight: 500;
    color: #ff9900;
}
/*.price-text {
	color: black;
	font-weight: 600;
	margin-right: 8px;
}*/
.buttons {
	margin-top: auto;
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
}
.button {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900, #ff791a);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s;
}
.button-secondary {
    background: #ffffff;
    border:1px solid #FF9900;
    color: #333;
    transition: transform .2s;
}
.button:hover {
	color: #ffffff;
	transform: scale(1.1);
}
.button-secondary:hover {
    color: #333;
    transform: scale(1.1);
}
.blog-button {
	display: flex;
	background: none;
	color: #FF9900;
	transition: transform .2s;
	align-items: center;
}
.blog-button svg {
	fill: #FF9900;
	margin-left: 4px;
}
.blog-button:hover {
	color: #FF9900;
	transform: scale(1.1);
}

/* Галерея и видео */
/*.gorki-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.gorki-gallery img {
    width: calc(33% - 10px);
    border-radius: 16px;
    cursor: pointer;
}*/

/*.gorki-params {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}
.gorki-params th,
.gorki-params td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.gorki-price {
    font-size: 1.5rem;
    margin: 20px 0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.related-card {
    text-align: center;
}
.related-card img {
    border-radius: 16px;
}*/

/* Стили фильтров */
.filters {
    text-align: center;
    margin: 30px 0;
}
.filter-btn {
	color: #FF9900;
    background: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 24px;
    margin: 0 5px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
	background: #ffffff;
	color: #FF9900;
    border:1px solid #FF9900;
}

/* Плавное появление карточек при загрузке и после фильтрации */
.gorki-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gorki-card.visible, .gorki-card-block{
    opacity: 1;
    transform: translateY(0);
}

/* Сетка блога */
/*.page-title {
	font-family: 'Nunito', sans-serif;
    font-size: 36px;
    line-height: 40px;
    font-weight: 800;
    color: #1B2232;
}
.page-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #626D84;
}*/
./*blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
.blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover img {
    transform: scale(1.05);
}
.blog-card h3 {
    margin: 15px;
    font-size: 1.2rem;
}
.blog-meta {
    padding: 0 15px;
    color: #666;
    font-size: 0.85rem;
}
.blog-excerpt {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 14px;
	line-height: 20px;
    padding: 10px 15px;
    color: #626d84;
}
.blog-card .button {
    margin: 0 15px 15px;
    display: inline-block;
}*/
.wrap {
    margin-top: 0;
}
.grid {
    display: grid; 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 32px;
    margin-top: 80px;
}
.gorki-gallerys {
	
}
.gorki-gallerys img {
	width: 100%;
    border-radius: 16px;
}
.video-review-title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 12px;
}
.video-review-title svg {
    width: 20px;
    color: #ff9900;
}
.gorki-video {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 12px;
    height: 400px;
}
.gorki-video iframe {
    width: 100%;
    height: 400px;
    border-radius: 16px;
}
.gorki-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
}
.gorki-description {
	margin-bottom: 24px;
}
.characteristics {
	padding: 20px;
	background-color: #f1ede4;
	border-radius: 16px;
	margin-bottom: 24px;
}
.characteristics-title {
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	margin-bottom: 12px;
}
.characteristics-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.characteristics-items {
	display: flex;
	gap: 8px;
	align-items: center;
}
.characteristics-items svg{
	color: #ff9900;
	width: 16px;
}
.characteristics-text {
	font-size: 14px;
	line-height: 20px;
}
/*.characteristics-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}*/
.price-text {
	color: #626d84;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
	padding: 0;
}
.characteristics-price {
	color: #ff9900;
	font-size: 30px;
	line-height: 36px;
}
.characteristics-price-block {
    font-size: 24px;
}
.booking {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 8px 30px -8px #ff990026;
}
.booking-input, #your-gorki-options {
    padding: 16px 12px !important;
    margin-top: 12px;
    background-color: #fffbf0;
    border-radius: 12px !important;
    border-color: #eae3d7 !important;
}
#your-gorki-options {
    display: inline-block;
}
.booking-input-text {
    color: #333;
}
.booking-button {
    display: black !important;
    background: linear-gradient(135deg, #ff9900, #ff791a)!important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    border: none !important;
    border-radius: 9999px !important;
    align-items: center !important;
    width: 100% !important;
    transition: transform .2s;
}
.booking-button:hover {
    transform: scale(1.02);
}
.similar {
    margin-top: 0;
    background: linear-gradient(135deg, #fff9e5, #faecd1);
}

.block-wrap {
    max-width: 768px;
    margin: 40px auto;

}
.meta-date, .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #626d84;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}
.meta-date svg {
    width: 16px;
}
.blog-tags a {
    color: #626d84;
    font-size: 14px;
    line-height: 20px;
    padding: 4px 12px;
    background-color: #f1ede4;
    border-radius: 9999px;
}
.blog-thumbnail {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 32px;
}

.post {
    display: flex;

}
.post a img {
    max-height: 100px !important;
}
.post a {
    margin-right: 16px;
}
.archive-title {
    margin: 0;
}
.archive-title a {
    font-size: 24px;
    line-height: 28px;
    color: inherit !important;
}

@media (max-width: 1159px) {
    .gorki-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gorki-grid .gorki-card:nth-child(4) {
        display: none;
    }
}
@media (max-width: 869px) {
    .gorki-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gorki-grid .gorki-card:nth-child(4) {
        display: inherit;
    }
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 860px) {
    .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width: 574px) {
    .container {
        padding: 10px 10px;
    }

    .gorki-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
        .blog-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .blog-grid .gorki-card:nth-child(4) {
        display: none;
    }
    .filters {
        margin: 15px 0;
    }
    .filter-btn {
        padding: 6px 16px;
        margin: 0 3px 6px;
    }
    .characteristics-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));    }
}

@media (max-width:1024px)
.elementor-196 .elementor-element.elementor-element-f578ca9.e-con {
--order: -99999 /* order start hack */;
flex-wrap: nowrap !important;
}
@media (max-width:767px) {
    .custom {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
}


.site-header .header-inner {
    align-items: center;
    width: 100% !important;
    max-width: 1200px !important;
}
.site-header {
    padding: 0 10px;
    background-color: #fffffff2;
    border-bottom-width: 1px;
    border-color: #eae3d7;
    z-index: 50;
    top: 0;
    position: sticky !important;
}
.custom-logo-link-combined {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #FF791A;
}
.custom-logo-link-combined:hover {
    color: #FF791A;
}
.custom-logo {
    width: 38px;
}
.site-navigation ul.menu li a {
    font-size: 14px;
    font-weight: 600;
    color: #1B2232;
    transition: transform 0.4s ease;
}
.site-navigation ul.menu li a:hover {
    color: #FF791A;
    transform: scale(1.2);
}
.header-phone-button {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    background-color: #FF791A;
    padding: 6px 10px;
    border-radius: 9999px;
    transition: transform .4s;
}
.phone-svg {
    width: 16px;
}
.header-phone-button:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.site-footer .footer-inner {
    width: 100% !important;
    max-width: 1200px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 20px 20px !important;
}
.site-footer {
    padding: 0 10px;
    background-color: #1b2232;
    top: 0;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li, .footer-col ul li a {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.footer-description, .footer-col ul li, .footer-col ul li a {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    opacity: 0.8;
}
.footer-col .lucide {
    width: 20px;
    color: #ff9900;
}
.footer-col ul li a:hover {
    opacity: 1;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 14px;
    color: #888;
}
/*.footer-description {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.8;
}*/

@media (max-width: 992px) {
    #site-header.site-header.menu-dropdown-tablet .site-navigation {
        display: flex !important;
    }
}
@media (min-width: 992px) {
    .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
        display: none !important;
    }
}
.site-navigation-toggle-holder {
    align-items: center;
    display: none !important;
    padding: 8px 15px;
}
@media (max-width: 860px) {
    #site-header.site-header.menu-dropdown-tablet .site-navigation {
        display: none !important;
    }
    .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
        display: flex !important;
    }
    .header-cta-wrapper {
        display: none;
    }
    .site-navigation-dropdown ul.menu {
        position: relative !important; /* Теперь оно занимает место в блоке */
        width: 100% !important;
        z-index: 1;
    }
    .mobile-menu-inner-container {
        display: flex;
        flex-direction: column; /* Меню сверху, кнопка снизу */
        background: #fff; /* Фон для всего выпадающего блока */
        width: 100%;
        position: absolute; /* Контейнер может быть абсолютным */
        left: 0;
        top: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .mobile-phone-wrap {
        padding: 20px;
        background: #fff;
        display: block !important;
        visibility: visible !important;
        z-index: 2;
    }
    .mobile-phone-wrap .header-phone-button {
        justify-content: center;
        width: calc(100% - 40px); /* Кнопка с отступами */
        margin: 0 auto;
    }
    .site-navigation-dropdown ul.menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .site-navigation-dropdown ul.menu li {
        padding: 0 10px;
    }
    .site-navigation-dropdown ul.menu li a {
        box-shadow: none !important;
        padding: 12px 16px !important;
        font-weight: 600;
        border-radius: 9999px;
    }
    .site-navigation-dropdown ul.menu li a:hover {
        background-color: #f1ede4;
    }
    .site-navigation-dropdown ul.menu li.current-menu-item a {
        background-color: #ff9900 !important;
        color: #fff;
    }
    .header-phone-button {
        padding: 12px 16px;
    }
    .site-navigation-toggle-holder .site-navigation-toggle {
        background-color: transparent !important;
    }
}

@media (max-width: 786px) {
    .site-footer .footer-inner {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}


