/*
Theme Name: Eclipse
Author: Demiweb
Version: 1.0
*/
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto; padding: 1rem 2rem; background: #fff; z-index: 10000; }

[hidden], .prod_item[hidden] { display: none !important; }

/* CF7 */
.wpcf7-not-valid { border-color: #FB2C36 !important; }
.wpcf7-not-valid-tip { font-size: 1.4rem; color: #FB2C36; margin-top: .4rem; }
.wpcf7-response-output { border: none !important; margin: 1rem 0 0 !important; padding: 0 !important; font-size: 1.6rem; }
.wpcf7 form.sent .wpcf7-response-output { display: none; }
.wpcf7-form-control-wrap { display: block; }
.feed_row .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.feed_row .wpcf7-form-control-wrap .form-control { width: 100%; }
.js-cf7-wrap.is-sent .feed_row,
.js-cf7-wrap.is-sent .wpcf7 { display: none; }
.js-cf7-wrap.is-sent .feed_sent,
.js-cf7-wrap.is-sent .contact_sent { display: block; }
.wpcf7-spinner { position: absolute; }

/* Reviews: стрілки тільки якщо відгуків > 3 */
@media (min-width: 1024px) {
	.revs_slider.no-arrows .swiper-button-prev,
	.revs_slider.no-arrows .swiper-button-next { display: none; }
}

/* Menu Economics */
fieldset.radios-btns { border: 0; padding: 0; min-width: 0; margin-top: 0; margin-left: 0; margin-right: 0; }
.countform_neg { margin-top: 2rem; font-size: 1.8rem; }

/* Bigvid / welcome video */
.bigvid video { display: block; }
.welcome_bg picture { display: contents; }

blockquote.cite_txt { margin: 0; padding: 0; border: 0; }

.inside_txt p:empty { height: 1.3846em; }

/* Contact / Get Eclipse: кнопка submit по центру */
.page-template-template-contact .wpcf7-form-control-wrap,
.page-template-template-contact .wpcf7-form-control,
.page-template-template-geteclipse .wpcf7-form-control-wrap,
.page-template-template-geteclipse .wpcf7-form-control { display: inline-flex; }
.page-template-template-contact .wpcf7-form-control-wrap,
.page-template-template-geteclipse .wpcf7-form-control-wrap,
.page-template-template-geteclipse .wpcf7-form-control-wrap .jq-selectbox { width: 100%; }
.page-template-template-contact .wpcf7-form-control-wrap,
.page-template-template-geteclipse .wpcf7-form-control-wrap { flex-direction: column; }

/* Повідомлення після відправки форми */
@media (min-width: 1024px) { .contact_sent { font-size: 2.5rem; min-height: 0; } }

p.js-cf7-sent-msg { text-align: center; }
.contact_sent .check_icon { margin-right: auto; margin-left: auto; }

/* Колаборації: фото займає стільки ж місця, як заглушка у верстці (tov5.png з полями) */
.prod-collab .prod_item_img-contain { display: flex; align-items: center; justify-content: center; }
.prod-collab .prod_item_img-contain img { width: auto; height: 62%; max-width: 70%; }

/* Impact: якщо вибір лише один — текст замість селекта */
.calc_sel-single .jq-selectbox { cursor: default; }
.calc_sel-single .jq-selectbox__select { padding-left: 1rem; padding-right: 1rem; }

/* Блог: заголовки старих постів (h2/h3) виглядають як h4 у верстці статті */
.article_txt h2, .article_txt h3, .article_txt h5 { font-size: 100%; line-height: inherit; padding-bottom: 0; }
.article_txt figure { margin: 0 0 5rem; }
.article_txt img { max-width: 100%; height: auto; border-radius: 0.5rem; }
.article_txt iframe { max-width: 100%; }
.article_photos_item img { object-fit: cover; }
.recipes .prod_item[hidden] { display: none !important; }
/* Кроки й інгредієнти рецепта в 2 колонки: пункт не розривається між колонками */
.recipe_steps li, .recipe_coltext li { break-inside: avoid; }
/* Анонс у featured-картці (Blog / Press): рівно 3 рядки з «…» замість обрізаного рядка */
.postcard_txt p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.inside_tabs_icon svg{ height: 40px; width: 40px;}
