/*
Theme Name: Very Very Foods
Theme URI: https://veryveryfoods.com
Description: Custom child theme for Very Very Foods - online store of collagen broths. Based on Hello Elementor theme.
Author: Doba Digital
Author URI: https://doba.digital/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veryveryfoods
Tags: e-commerce, woocommerce, recipes, food, collagen
*/

/* ==========================================================================
   WOO normalize
   ========================================================================== */

.added_to_cart.wc-forward {
  display: none !important;
}

/* ==========================================================================
   ELEMENTOR normalize
   ========================================================================== */

.elementor-element.elementor-widget.elementor-widget-icon {
	line-height: 0;
}

.elementor-button .elementor-button-icon svg {
    width: 24px;
}

.elementor-button .elementor-button-content-wrapper {
    align-items: center;
}



/* ==========================================================================
   Contact Form 7 - Стилі форми зворотного зв'язку
   ========================================================================== */

/* Ряд форми */
.wpcf7 .form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    width: 100%;
}

/* Ряд з двома полями (Ім'я та Телефон) */
.wpcf7 .form-row-half {
    display: flex;
    gap: 24px;
}

.wpcf7 .form-row-half .form-field {
    flex: 1;
    min-width: 0; /* Щоб поля коректно зменшувалися */
}

/* Окреме поле */
.wpcf7 .form-field {
    width: 100%;
}

/* Лейбли */
.wpcf7 .form-field label {
	margin-bottom: 16px;
}


/* Інпути та текстареа */
.wpcf7 .form-field input[type="text"],
.wpcf7 .form-field input[type="tel"],
.wpcf7 .form-field input[type="email"],
.wpcf7 .form-field textarea {
    width: 100%;
}

.wpcf7 .form-field input:focus,
.wpcf7 .form-field textarea:focus {
    outline: none;
}

/* Текстареа */
.wpcf7 .form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 .form-field p {
	margin: 0;
}

/* Чекбокс згоди */
.wpcf7 .form-field-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wpcf7 .form-field-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .form-field-acceptance label {
    margin: 0;
	color: #7e7e7e;
	font-weight: 500;
	font-family: var(--e-global-typography-9d8c2fd-font-family), Sans-serif;
	text-transform: none;
	
}

.wpcf7 .form-field-acceptance a {
    color: #000;
    text-decoration: underline;
}

.wpcf7 .form-field-acceptance a:hover {
    text-decoration: none;
}

/* Кнопка відправки */
.wpcf7 .form-field input[type="submit"] {

}

.wpcf7 .form-field input[type="submit"]:hover {

}

/* Повідомлення про помилки */

.wpcf7 form .wpcf7-not-valid-tip {
    font-size: 14px;
    margin-top: 3px;
}

.wpcf7 form .wpcf7-response-output, .wpcf7 form .wpcf7-mail-sent-ok, .wpcf7 form .wpcf7-validation-errors {
    margin: 0;
    padding: 0;
    border: none;
}



/* Мобільна адаптивність */
@media (max-width: 768px) {
    .form-row-half {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-field input[type="submit"] {
        width: 100%;
    }
}

/* Стилі для select категорій */
form select#cat {
    width: 100%;
    background-color: rgba(242, 241, 229, 1);
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    color: #000;
    font-size: 16px;
    appearance: none; /* прибирає стандартну стрілку */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    line-height: 1.2;
    position: relative;
}

/* Обгортка для кастомної стрілки */
form select#cat {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2369727d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

/* Hover */
form select#cat:hover {
    background-color: rgba(242, 241, 229, 0.85);
}

/* Стилі option */
form select#cat option {
    color: #000;
    background: #fff;
}

.products-loop-item .products-loop-item-img img {
	transition: 0.6s;
}

.products-loop-item:hover .products-loop-item-img img {
    transform: scale(1.05);
}

.elementor-widget-n-accordion .e-n-accordion-item-title .e-n-accordion-item-title-icon {
	background-color: var(--e-global-color-accent);
    border-radius: 16px;
    padding: 16px;
}

.single-product.postid-368 .yalovychyj-buljon-btn, .single-product.postid-383 .kuryachyj-buljon-btn {
	display: none !important;
}

.single-product.postid-492 .buljon-btns, .single-product.postid-1001 .buljon-btns {
	display: none !important;
}


.single-product .e-atc-qty-button-holder {
	display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

/* Контейнер кількості */
.e-atc-qty-button-holder .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 24px;
    background-color: rgba(242, 241, 229, 1);
    overflow: hidden;
    max-width: 154px;
	padding: 0 24px;
}

/* Інпут */
.e-atc-qty-button-holder .quantity input.qty {
  width: 70px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  -moz-appearance: textfield;
}

/* Прибираємо стрілки у Chrome */
.e-atc-qty-button-holder .quantity input::-webkit-outer-spin-button,
.e-atc-qty-button-holder .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0 !important;
	background: transparent !important;
	margin-inline-start: 0 !important;
}

.e-atc-qty-button-holder .quantity input::-webkit-outer-spin-button,
.e-atc-qty-button-holder .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* кнопки +/- */
.e-atc-qty-button-holder .quantity .qty-btn-minus,
.e-atc-qty-button-holder .quantity .qty-btn-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 25px;
  user-select: none;
  background: transparent;
  transition: 0.3s;
}
.e-atc-qty-button-holder .quantity .qty-btn-minus:hover,
.e-atc-qty-button-holder .quantity .qty-btn-plus:hover {
  color: var( --e-global-color-accent );
}

.single-product.woocommerce div.product form.cart .variations select {
    text-align: center;
    max-width: 35px;
    min-width: 34px;
    margin-right: 0;
    padding-right: 0;
    padding: 10px;
    border: none;
    font-weight: 700;
    background: none;
}

.single-product.woocommerce div.product form.cart .variations button {
	margin: 0;
    background: transparent;
    color: #000;
    border: none;
    padding: 8px;
}

.single-product.woocommerce div.product form.cart .variations .reset_variations, .single-product .woocommerce-variation-add-to-cart .e-atc-qty-button-holder .vv-qty-wrap {
	display: none !important;
}

.single-product.woocommerce div.product form.cart .variations .value {
    background-color: #f2f1e6;
    border-radius: 23px;
    line-height: 1;
    padding: 0 10px;
    margin: 0;
    vertical-align: middle;
    display: flex;
	width:100%;
	max-width: 157px;
}    

.single-product.woocommerce div.product form.cart .variations {
    margin: 0;
}

.single-product.woocommerce div.product form.cart .variations tr {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}
.single-product.woocommerce div.product form.cart .variations .label {
    border: 0;
    line-height: 1;
    vertical-align: middle;
}

.single-product table tbody tr>td, .single-product table tbody tr>th, .single-product table tbody tr:hover>td, .single-product table tbody tr:hover>th {
    background-color: transparent;
}

.single-product .e-atc-qty-button-holder .single_add_to_cart_button {
	margin: 0 !important;
	margin-inline-start: 0 !important;
}

.vv-acf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vv-acf-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.vv-acf-icon {
  width: 24px;
  height: auto;
  object-fit: contain;
}

.vv-qty-wrap {
	display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
}

.woocommerce-error, 
.woocommerce-message,
.woocommerce-info {
    border: 2px solid;
    border-radius: 24px;
    border-color: var(--e-global-color-accent);
    background: transparent;
    color: #000;
}

/* Текст у списках та посиланнях */
.woocommerce-error li, 
.woocommerce-info li, 
.woocommerce-message li,
.woocommerce-error a, 
.woocommerce-info a, 
.woocommerce-message a,
.woocommerce-error li a, 
.woocommerce-info li a, 
.woocommerce-message li a {
    color: #000;
}

/* Посилання з ховером */
.woocommerce-error a:hover, 
.woocommerce-info a:hover, 
.woocommerce-message a:hover {
    color: var(--e-global-color-accent);
    text-decoration: underline;
}

#elementor-menu-cart__toggle_button .elementor-button-icon svg {
	display: none !important;
}

#elementor-menu-cart__toggle_button .elementor-button-icon {
	width: 24px;
	height: 24px;
	background-image: url('https://veryveryfoods.com/wp-content/uploads/2025/10/icon-cart.svg');
	    background-repeat: no-repeat;
    background-size: contain;
}








