/*
Theme Name: Eventicity Child Theme
Theme URI: https://eventicity.themerex.net/
Description: Eventicity is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.11.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: celebration, event, event planner, event theme, invitation, venue, wedding, wedding planner, party, events calendar, catering, conference, birthday party, event agency, party planning
Text Domain: eventicity
Template: eventicity
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* ── FF Category Page ── */
.ff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ff-category-description {
    padding: 40px 0;
}

.ff-category-products {
    padding: 40px 0;
}

/* ── FAQ ── */
.ff-category-faq {
    padding: 60px 0;
}

.ff-faq-title {
    margin-bottom: 30px;
}

.ff-faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.ff-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 500;
}

.ff-faq-icon {
    font-size: 20px;
    color: #b97339;
    transition: transform 0.3s;
}

.ff-faq-item.active .ff-faq-icon {
    transform: rotate(45deg);
}

.ff-faq-answer {
    display: none;
    padding: 0 0 20px;
    color: #555;
    line-height: 1.7;
}

.ff-faq-item.active .ff-faq-answer {
    display: block;
}
/* ── Shop layout ── */
.ff-shop-wrapper {
    padding: 40px 0;
}

.ff-shop-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ── Сайдбар ── */
.ff-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.ff-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-cat-item {
    border-bottom: 1px solid #e8e0d8;
}

.ff-cat-item a {
    display: block;
    padding: 12px 0;
    color: #2b2420;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.ff-cat-item a:hover,
.ff-cat-item.active a {
    color: #b97339;
}

.ff-cat-item.active a {
    font-weight: 500;
}

/* ── Товари ── */
.ff-products {
    flex: 1;
    min-width: 0;
}

/* ── Адаптив ── */
@media (max-width: 768px) {
    .ff-shop-layout {
        flex-direction: column;
    }
    .ff-sidebar {
        width: 100%;
    }
}
/* ── CTA кнопки ── */
.ff-cta-buttons {
    padding: 30px 0;
}

.ff-cta-buttons .ff-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ff-cta-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid #b97339;
    color: #b97339;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s;
}

.ff-cta-btn:hover,
.ff-cta-btn.active {
    background: #b97339;
    color: #fff;
}
/* ── Центрування кнопок ── */
.ff-cta-buttons .ff-container {
    justify-content: center;
}

/* ── Sticky сайдбар ── */
.ff-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}
@media(max-width:768px){
	.ff-sidebar{ position: relative;
    top: 0;
	}
}

ul.products li.product .post_item {
	background: #fffaf3;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #f0e6d8;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

ul.products li.product .post_item:hover {
	box-shadow: 0 10px 24px rgba(189, 112, 58, 0.12);
	transform: translateY(-4px);
}


ul.products li.product .post_featured {
	margin: 0;
	overflow: hidden;
}

ul.products li.product .post_featured img {
	transition: transform 0.4s ease;
	display: block;
}

ul.products li.product .post_item:hover .post_featured img {
	transform: scale(1.06);
}


ul.products li.product .post_data_inner {
	padding: 16px 18px 18px;
}


ul.products li.product .post_header,
ul.products li.product .woocommerce-loop-product__title {
	margin-bottom: 0px !important;
}

ul.products li.product .woocommerce-loop-product__title a {
	font-size: 17px;
	/*font-weight: 600;
	line-height: 1.35;*/
	color: #2c2117;
	transition: color 0.2s ease;
}

ul.products li.product .woocommerce-loop-product__title a:hover {
	color: #bd703a;
}


ul.products li.product .post_data_inner {
	display: flex;
	flex-direction: column;
}

ul.products li.product .price_wrap {
	order: 1;
}

ul.products li.product .add_to_cart_wrap {
	order: 2;
}

ul.products li.product .post_header {
	order: 0;
}
.woocommerce ul.products li.product .post_featured{
	margin-bottom:0px;
}
/*  ціна та кнопка в один ряд + прибрати flex-direction: column вище)
*/
/*
ul.products li.product .post_data_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
ul.products li.product .post_header {
	flex: 0 0 100%;
}

ul.products li.product .price_wrap {
	margin-bottom: 12px !important;
}

ul.products li.product .price,
ul.products li.product .price .woocommerce-Price-amount {
	font-size: 18px;
	font-weight: 600;
	color: #bd703a;
}

ul.products li.product .add_to_cart_wrap .button {
	width: 100%;
	border-radius: 10px;
	font-weight: 600;
	letter-spacing: 0.2px;
	padding: 11px 18px;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

ul.products li.product .add_to_cart_wrap .button:hover {
	background-color: #a8632f;
	transform: translateY(-1px);
}

ul.products li.product .add_to_cart_wrap .button:active {
	transform: translateY(0);
}
ul.products.columns-3 li.product {
	margin-bottom: 28px;
}
/*стилі картки товару */


ul.products {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
}
ul.products li.product {
	float: none !important;
}

ul.products li.product {
	display: flex;
	flex-direction: column;
}

.post_item {
	height: 100%;
}
.post_data {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
}
.post_data_inner {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	height: 100% !important;
}


.post_data_inner .post_header      { order: 1 !important; }
.post_data_inner .price_wrap,
.post_data_inner > .price          { order: 2 !important; }
.post_data_inner .ff-card-excerpt  { order: 3 !important; }
.post_data_inner .ff-qty-wrap      { order: 4 !important; }
.post_data_inner .add_to_cart_wrap { order: 5 !important; }
.post_data_inner .ff-cart-row      { order: 4 !important; }

.ff-card-excerpt {
	font-size: 13px;
	line-height: 1.4;
	color: #8a8a8a;
	text-align: center;
	margin: 6px 0 10px;
	padding: 0 8px;
}

ul.products li.product .price {
	color: #c08552;
	font-weight: 600;
	font-size: 18px;
	text-align: center;
}

.ff-cart-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

.ff-qty-wrap {
	display: flex;
	align-items: stretch;
	border: 1px solid #e2d9d0;
	border-radius: 6px !important;
	overflow: hidden;
	flex-shrink: 0;
}
li.product .ff-qty-btn {
	width: 32px !important;
	height: 34px !important;
	min-width: 32px !important;
	border: none !important;
	background: #fff !important;
	color: #8a8a8a !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	line-height: 1 !important;
	padding: 0 !important;
	cursor: pointer;
	transition: background .2s, color .2s;
}
li.product .ff-qty-btn:hover {
	background: #f5efe7 !important;
	color: #c08552 !important;
}
.ff-qty-input {
	width: 36px;
	height: 34px;
	text-align: center;
	border: none;
	border-left: 1px solid #e2d9d0;
	border-right: 1px solid #e2d9d0;
	font-size: 14px;
	color: #333;
	-moz-appearance: textfield;
}
.ff-qty-input::-webkit-outer-spin-button,
.ff-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

ul.products li.product .add_to_cart_button {
	margin-top: 0;
	background: #c08552 !important;
	color: #fff !important;
	border-radius: 8px;
	padding: 9px 22px;
	text-align: center;
	font-weight: 600;
	white-space: nowrap;
	transition: background .2s;
}
ul.products li.product .add_to_cart_button:hover {
	background: #a56c3e !important;
}
.woocommerce ul.products li.product .post_data .post_data_inner > div + .button.product_type_variable, .woocommerce ul.products li.product .post_data .post_data_inner > div + .button.product_type_simple, .woocommerce ul.products li.product .post_data .add_to_cart_wrap, .woocommerce-page ul.products li.product .post_data .post_data_inner > div + .button.product_type_variable, .woocommerce-page ul.products li.product .post_data .post_data_inner > div + .button.product_type_simple, .woocommerce-page ul.products li.product .post_data .add_to_cart_wrap{
	margin-top:auto !important;
}
.woocommerce ul.products li.product .post_data .post_data_inner .button, .woocommerce-page ul.products li.product .post_data .post_data_inner .button{
	padding:10px 25px !important;
	border-radius:15px;
}
.ff-cart-row .added_to_cart.wc-forward {
	display: none !important;
}
.woocommerce .products.related ul.products li.product > .post_item.post_layout_thumbs{
	flex:1 1 auto;
}

 .woocommerce ul.products li.product .post_featured{
	margin-bottom:0 !important;
}
/* ==== Frame Food: банер мінімальної суми в кошику ==== */
.framefood-cart-notice {
    background: #fff4ea;
    border-left: 4px solid #bd703a;
    color: #4a4a4a;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
}

.woocommerce-error {
    border-left: 4px solid #bd703a;
}
.ff-min-qty-notice {
    font-size: 12px;
    color: #bd703a;
    margin: 4px 0 8px;
    text-align: center;
}

.ff-min-qty-notice--error {
    color: #c0392b;
    font-weight: 600;
}
.ff-min-order-strip {
    background: #bd703a;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
}

.ff-min-order-strip p {
    margin: 0;
}
.ff-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    border: 1px solid #bd703a;
    background: transparent;
    color: #bd703a;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.ff-cta-btn:hover {
    background: #bd703a;
    color: #fff;
}

.ff-cta-btn.is-active {
    background: #bd703a;
    color: #fff;
}