/*
Theme Name: GreenMart Child
Theme URI: https://demo.thembay.com/greenmart/
Author: Thembay
Description: This is a child theme for GreenMart
Version: 1.0
Author URI: https://thembay.com/
Template: greenmart
Text Domain: greenmart-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

html .elementor-section.elementor-section-boxed>.elementor-container {
	max-width: 1200px
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: flex;
	flex-direction: column
}

.footer-contact-form {
	overflow: hidden
}

.wpcf7 .footer-contact-form input {
	max-width: 100% !important
}

.faq-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.faq-question {
  padding: 10px;
  background-color: #f1f1f1;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #fff;
}

p {
    text-indent: 30px; /* или любой другой размер отступа */
}

.woocommerce span.onsale {
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
    z-index: 11;
    pointer-events: none;
    display: none;
}

.fasovka-container {
    /* Стили для div-контейнера, если нужно */
}

.fasovka {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    padding-top: 2px;
    color: #ffffff;
    background: #2ecc71;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none; /* Убирает подчеркивание текста ссылки */
    display: inline-block; /* Ссылка будет вести себя как блочный элемент внутри div */
}


.digits-main_style, .digits-tp_style, .digits-form_page, .digits-form_container {
    --dprimary: rgb(0, 0, 0);
    --dtitle: rgb(0, 0, 0);
    --dfield_bg: rgb(229, 229, 229);
    --daccent: rgb(0, 171, 85);
    --dform_bg: rgb(255, 255, 255);
    --dbutton_text: rgb(255, 255, 255);
	  margin: 0px 500px;
  
}

 .container-dostavka {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }
    .column-dostavka {
        flex: 1;
        min-width: 300px; /* Минимальная ширина колонок для мобильных */
    }
    @media (max-width: 768px) {
        .container-dostavka {
            flex-direction: column;
            gap: 10px;
        }
    }

.woocommerce-product-details__short-description .fasovka {
      margin-bottom: 18px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    padding-top: 2px;
    color: #fff;
    background: #2ecc71;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
}

.woocommerce-product-details__short-description .fasovka:hover, .fasovka:focus, .fasovka:active {
    background-color: #FFC107;
    color: #000000;
}

label[for="pickup_location"] {
    font-size: 20px;
    line-height: 28px;
    color: #212b36;
    font-weight: 600;
    text-transform: none !important;
}

/* 
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E);
    right: 10px;
    left: auto;
    color: #ffffff; !important;
    font-weight: 900; !important;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E);
    left: 10px;
    right: auto;
	 color: #ffffff; !important;
    font-weight: 900; !important;
}
/* */


/* Switches */
.custom-lang-switcher {
	position: relative;
	display: inline-block;
	font-family: sans-serif;
    width: 120px;
    margin-left: 40px;
}

.lang-toggle {
	background-color: #fff;
	border: 1px solid #ccc;
    cursor: pointer;
	padding: 4px;
    width: 100%;
    padding-left: .5em;
	cursor: pointer;
	border-radius: 5px;
    background-image: url(/wp-content/themes/greenmart-child/images/down-arrow.svg);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: calc(100% - 12px);
}

.lang-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
    width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	z-index: 9999;
}

.lang-list li a {
	display: block;
	padding: 4px;
    padding-left: .5em;
	text-decoration: none;
	color: #000;
}

.lang-list li a:hover {
	background: #eee;
}

.lang-list li:first-child a:hover {
    border-radius: 5px 5px 0 0;
}

.lang-list li:last-child a:hover {
	border-radius: 0 0 5px 5px;
}

