/*!
Theme Name: agrovio
Description: My free theme template
Version: 1.0.0
Tested up to: 8.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agrovio
*/
@keyframes rotation {
   0% {
      transform: rotate(0deg)
   }

   to {
      transform: rotate(360deg)
   }
}

.gallery {
   margin-bottom: 1.5em;
   display: grid;
   grid-gap: 1.5em
}

.gallery-item {
   display: inline-block;
   text-align: center;
   width: 100%
}

.gallery-columns-2 {
   grid-template-columns: repeat(2, 1fr)
}

.gallery-columns-3 {
   grid-template-columns: repeat(3, 1fr)
}

.gallery-columns-4 {
   grid-template-columns: repeat(4, 1fr)
}

.gallery-columns-5 {
   grid-template-columns: repeat(5, 1fr)
}

.gallery-columns-6 {
   grid-template-columns: repeat(6, 1fr)
}

.gallery-columns-7 {
   grid-template-columns: repeat(7, 1fr)
}

.gallery-columns-8 {
   grid-template-columns: repeat(8, 1fr)
}

.gallery-columns-9 {
   grid-template-columns: repeat(9, 1fr)
}

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer,
.woocommerce-cart .cart_totals table {
   display: none
}

.gallery-caption,
.infinity-end.neverending .site-footer {
   display: block
}

.screen-reader-text {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);
   clip-path: inset(50%);
   height: 1px;
   margin: -1px;
   overflow: hidden;
   padding: 0;
   position: absolute !important;
   width: 1px;
   word-wrap: normal !important
}

.screen-reader-text:focus {
   background-color: #f1f1f1;
   border-radius: 3px;
   box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
   clip: auto !important;
   clip-path: none;
   color: #21759b;
   display: block;
   font-size: .875rem;
   font-weight: 700;
   height: auto;
   left: 5px;
   line-height: normal;
   padding: 15px 23px 14px;
   text-decoration: none;
   top: 5px;
   width: auto;
   z-index: 100000
}

#primary[tabindex="-1"]:focus {
   outline: 0
}

.alignleft {
   float: left;
   margin-right: 1.5em;
   margin-bottom: 1.5em
}

.alignright {
   float: right;
   margin-left: 1.5em;
   margin-bottom: 1.5em
}

.aligncenter {
   clear: both;
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 1.5em
}

.grecaptcha-badge {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);
   -webkit-clip-path: inset(50%);
   clip-path: inset(50%);
   height: 1px;
   margin: -1px;
   overflow: hidden;
   padding: 0;
   position: absolute;
   width: 1px;
   word-wrap: normal !important
}

.blockUI::before {
   content: "";
   width: 48px;
   height: 48px;
   border: 5px solid #fff;
   border-bottom-color: transparent;
   border-radius: 50%;
   display: inline-block;
   box-sizing: border-box;
   animation: rotation 1s linear infinite;
   position: relative;
   top: 35%;
   left: 50%
}

button[name=update_cart] {
   display: none !important
}

#billing_country_field,
#place_order,
.added_to_cart,
.cart__aside-coupon .coupon,
.woocommerce-checkout .checkout__del-item .woocommerce-Price-amount,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
   display: none
}

.coupon__form-open {
   cursor: pointer;
   user-select: none
}

.checkout-coupons-widget {
   margin-top: 20px
}

.checkout-coupons-title {
   font-weight: 600;
   font-size: 16px;
   margin-bottom: 12px
}

.checkout-coupons-table {
   border: 1px solid #e5e5e5;
   border-radius: 8px;
   overflow: hidden
}

.checkout-coupons-head,
.checkout-coupons-row {
   display: flex;
   align-items: center
}

.checkout-coupons-head {
   background: #f7f7f7;
   font-size: 14px;
   font-weight: 500
}

.checkout-coupons-row {
   border-top: 1px solid #e5e5e5
}

.checkout-coupons-head>div,
.checkout-coupons-row>div {
   padding: 10px 12px
}

.col-name {
   flex: 1
}

.col-discount {
   width: 120px;
   text-align: right;
   white-space: nowrap
}

.col-remove {
   width: 40px;
   text-align: center
}

.remove-coupon img {
   width: 14px;
   height: 14px;
   cursor: pointer
}

.thankyou-none {
   display: none
}

.blog-select {
   position: relative;
   width: 220px
}

.blog-select__trigger {
   width: 100%;
   height: 44px;
   padding: 0 16px;
   border-radius: 999px;
   border: 1px solid #e5e7eb;
   background: #fff;
   display: flex;
   align-items: center;
   justify-content: space-between;
   cursor: pointer;
   font-size: 14px
}

.blog-select__icon {
   transition: transform .2s ease
}

.blog-select.open .blog-select__icon {
   transform: rotate(180deg)
}

.blog-select__dropdown {
   position: absolute;
   top: calc(100% + 6px);
   left: 0;
   width: 100%;
   background: #fff;
   border: 1px solid #e5e7eb;
   border-radius: 12px;
   list-style: none;
   padding: 6px 0;
   margin: 0;
   box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
   display: none;
   z-index: 10
}

.blog-select.open .blog-select__dropdown {
   display: block
}

.blog-select__dropdown li {
   padding: 10px 16px;
   cursor: pointer;
   font-size: 14px
}

.blog-select__dropdown li:hover {
   background: #f3f4f6
}


/* ===== PRICE FILTER HEADER ===== */


.filter-bage {
   margin-left: 8px;
   padding: 3px 8px;
   background: #E8F6EF;
   color: #2DBE64;
   font-size: 12px;
   font-weight: 700;
   border-radius: 6px;
}

.wpc-wrap-icons>* {
   flex-grow: 0 !important;
}

/* Скрываем форму купона по умолчанию */
.cart__aside-coupon .coupon {
   display: none;
}

/* Класс-индикатор, который мы будем вешать на родителя */
.cart__aside-coupon.is-open .coupon {
   display: block;
}

.paginav_btn_nubmer {
   display: none;
}

.blog__search-clear svg {
   width: 36px;
   height: 36px;
   fill: red;
   display: block;
}

.variable-select {
   border-radius: 999px;
   padding: 16px 20px;
   font-size: 16px;
}

.agro-variation-price {
   margin-bottom: 20px;
   font-size: 32px;
   font-weight: 700;
}



/* ====== LOADER ====== */
.add_to_cart_button.is-loading::before {
   content: '';
   position: absolute;
   width: 18px;
   height: 18px;
   border: 2px solid rgba(255, 255, 255, .4);
   border-top-color: #fff;
   border-radius: 50%;
   animation: wc-spin 1s linear infinite;
   inset: 0;
   margin: auto;
   z-index: 2;
}


.add_to_cart_button.is-added::after {
   content: '✓';
   position: absolute;
   inset: 0;
   margin: auto;
   width: fit-content;
   height: fit-content;
   font-size: 16px;
   font-weight: 700;
   color: currentColor;
   z-index: 2;
}


.add_to_cart_button.is-loading>*,
.add_to_cart_button.is-added>* {
   opacity: 0;
}



@keyframes wc-spin {
   to {
      transform: rotate(360deg);
   }
}

/* ====== LOADER ====== */

.card .tab__items table{
   width: 100%;
  border-spacing: unset;
}
.card .tab__items table td{
    color: #00423E;
}
.card .tab__items table tr:has(td:nth-child(2)) td{
    text-align: left;
}
.card .tab__items table tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}
.card .tab__items table tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}
.card .tab__items img,.card__content p img{
	width: fit-content;
	max-width: 100%;
	object-fit: contain;
}
.card .tab__items img{
	height: fit-content;
	width: 100%;
}
.card__content p:has(img){
	display:flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

table td,
 table th {
    border-color: #000 !important;
}

#billing_country_field {
	display: none !important;
}