/*
Theme Name: Esu Ieva
Theme URI: https://example.com/
Author: Custom
Author URI: https://example.com/
Description: Minimal WordPress theme compatible with Elementor and WooCommerce.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esu-ieva
*/

body {
    margin: 0;
    padding: 0;
}

.dropdown-menu-right-side {
    position: absolute;
    top: 0;
    /* left: 100%; */
    margin-top: 0;
    margin-left: .125rem;
    padding-top: 0;
    z-index: 1050;
    margin-top: -.5rem;
}


/* Desktop meniu hover efektas */

header {
    z-index: 9;
}

header.navbar {
    transition: background-color .2s ease, backdrop-filter .2s ease;
}

.site-title-wrap a {
    color: inherit;
}

.custom-logo {
    max-height: 40px;
    /* pasireguliuok pagal savo navbar */
    height: auto;
    width: auto;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
}

h3,
h4,
h5,
h6 {
    font-family: 'Marcellus', serif;
}


/* Body text */

body {
    font-family: 'Lora', serif;
    /* arba 'Quicksand', sans-serif jei nori lengvesnio jausmo */
    font-size: 18px;
    line-height: 1.6;
}


/* Buttons & UI */

button,
.btn,
input[type="submit"],
.menu-item a {
    /* font-family: 'Raleway', sans-serif; */
    font-family: 'Marcellus', serif;
    text-transform: capitalize;
    letter-spacing: 0.7px !important;
    font-size: 14px;
    font-weight: 600 !important;
}


/* Quotes / numbers */

.quote,
.big-number {
    font-family: 'Cormorant Garamond', serif;
}


#fly-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 0.375rem;
}

#fly-cart-btn .fly-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#fly-cart-btn .fly-cart-icon-wrap i {
    font-size: 16px;
}

#fly-cart-btn .fly-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 0.375rem;
    background: #f44336; /* raudonas burbulas */
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}

#fly-cart-btn .fly-cart-text {
    white-space: nowrap;
}

.menu-item.woofc-menu-item.menu-item-type-woofc, .related.products, .added_to_cart.wc-forward, .product_meta{
    display: none !important;
}


/* Į krepšelį – normalus tekstas */
.single_add_to_cart_button .loading-text {
    display: none;
}
.single_add_to_cart_button .default-text {
    display: inline-block;
}

/* Kai deda į krepšelį */
.single_add_to_cart_button.loading .default-text {
    display: none;
}
.single_add_to_cart_button.loading .loading-text {
    display: inline-block;
}

/* Spinner ikonėlė */
.single_add_to_cart_button .loading-text::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

#ei-page-loader {
  display: none;
}


.ei-post-card.card{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(43,42,40,.08);
  backdrop-filter: blur(14px);
}

.ei-post-card__thumb { display:block; overflow:hidden; border-radius:18px 18px 0 0; }
.ei-post-card__thumb-inner{ width:100%; aspect-ratio: 4/5; background: rgba(255,255,255,.25); overflow:hidden; }
.ei-post-card__img{ width:100% !important; height:100% !important; object-fit:cover; display:block; }
.ei-post-card__thumb--placeholder{ background: rgba(255,255,255,.35); }

.ei-post-card__title a{ color: var(--ink); font-family:"Marcellus", serif; text-decoration:none; }
.ei-post-card__excerpt{ color: var(--ink-70); font-family:"Lora", serif; }


.section-blog-home .ei-post-card__thumb-inner{
  aspect-ratio: 16 / 10; 
}

.newsletter__hint.form-text{
    display: none !important;
}

.page-id-896 .wp-block-list, .page-id-908 .wp-block-list{
    text-align: left;
}