/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

body.no-scroll {
    overflow: hidden;
}

/* Pasleptas mygtukas "Krepselis" */
.woocommerce a.added_to_cart {
    display: none !important;
}

/* Rodyti mygtuka "I Krepseli" */
.woocommerce ul.products li.product .button.added {
    display: inline-block !important;
}

/* Meniu Kategorijos icon css */
.menu-item-2538 i.wpmi__icon {
	font-size: 1.6em;
    color: #FDFDFD !important;
    line-height: 0.8;
    margin-right: 15px;
	transition: all 0.3s fade !important;
}

/* Meniu Kategorijos icon hover css */
.menu-item-2538:hover i.wpmi__icon {
	color:#FFFFFF !important;
}

/* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS */
/* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS */
/* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS *//* HOME PAGE CSS */


/* Baneriu kampuotumo sutvarkymas kuomet keiciasi banner */
.elementor-element-a158427 > .elementor-image-carousel-wrapper, 
.elementor-element-e826ffd > .elementor-image-carousel-wrapper, 
.elementor-element-b959ded > .elementor-image-carousel-wrapper{
	border-radius:10px !important;
}


/* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS */
/* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS */
/* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS *//* FOOTER CSS */

/* KATEGORIJOS ir DAUGIAU elementu padding*/
.elementor-element-01aa570 .elementor-element-0ed4c96 li > a {
	padding-left:0 !important;
}

.elementor-element-01aa570 .elementor-element-0ed4c96 img.menu-cat-thumb {
	display:none !important;
}

/* CheckoutWC grid fix */
body.woocommerce-checkout .cfw-grid {
    max-width: 1400px !important; /* arba tavo site max-width */
    width: 100% !important;
    margin: 0 auto !important;
}

body.woocommerce-checkout main.container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

@media (max-width: 1400px) {
    body.woocommerce-checkout main.container {
    	padding:50px;
		padding-top:0px;
	}
}

@media (max-width: 991.98px) {
    #cfw-breadcrumb {
        justify-content: left !important;
    }
}

@media (max-width: 991.98px) {
    body.woocommerce-checkout main.container {
    	padding:20px;
		padding-top:0px;
	}
}

@media (max-width: 689.98px) {
    .woocommerce-checkout-payment {
        position: relative;
        margin-inline: 0px;
    }
	.wp-block-woocommerce-cart-totals-block {
		padding:20px !important;
	}
}

/* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR */
/* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR */
/* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR *//* SEARCH BAR */

button.dgwt-wcas-om-return {
	background-color:#AD6EF5 !important;
}

.dgwt-wcas-close path {
    fill: #69727d !important;
}



/* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER */
/* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER */
/* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER *//* SEKELTON LOADER */

/* pradiniam load slepiam turinį */
body:not(.loaded) .site-wrapper {
  visibility: hidden;
}

/* loader overlay */
.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* gali naudoti gradient / skeleton spalvas */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* paprastas spinner */
.skeleton-loader::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #1863DC; /* tavo brand color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* FAVORITES PAGE *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  */
/* FAVORITES PAGE *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  */
/* FAVORITES PAGE *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  *//* FAVORITES PAGE  */

.tinv-wishlist table thead {
  display: none;
}

.tinv-wishlist table.tinvwl-table-manage-list {
	border:none !important;
}

.tinv-wishlist table.tinvwl-table-manage-list tfoot {
	display:none !important;
}

.tinv-wishlist table.tinvwl-table-manage-list tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.tinv-wishlist tr.wishlist_item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  padding: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tinv-wishlist tr.wishlist_item:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.tinv-wishlist .product-cb,
.tinv-wishlist .product-date {
  display: none;
}

.tinv-wishlist .product-thumbnail {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
  font-size:unset;
  padding:0px;
}

.tinv-wishlist .product-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit:contain;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 0px;
}

.tinv-wishlist .product-name a {
  font-weight: 600;
  display: block;
  margin: 12px 0 6px;
  color: #111;
  text-decoration: none;
}

.tinv-wishlist .product-price {
  font-size: 15px;
  margin-bottom: 10px;
}

.tinv-wishlist .product-stock {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 10px;
}

.tinv-wishlist .product-action button,
.tinv-wishlist .product-action .button {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
}

.tinv-wishlist .product-remove button {
    position:absolute;
	right:5px;
	top:5px;
	font-size:32px;
	padding:14px;
	border-radius:30px !important;
	color:red;
	background-color:white;
}

.tinv-wishlist .tinvwl-table-manage-list .product-remove {
    width: 0px;
    text-align: center;
    padding: 0em 0em;
}

.tinv-wishlist tr.wishlist_item {
    display: flex;
  flex-direction: column;
  height: 100%;
	max-height:500px;
	position:relative;
}

.tinv-wishlist tr.wishlist_item td {
    border:none;
}

.tinv-wishlist tr.wishlist_item td.product-name,
.tinv-wishlist tr.wishlist_item td.product-price,
.tinv-wishlist tr.wishlist_item td.product-stock {
    padding-bottom:0px;
}

.tinv-wishlist td.product-action {
  margin-top: auto;
}

.tinv-wishlist td.product-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tinv-wishlist .product-name {
  min-height: 3.9em;          /* ~3 eilutės */
  line-height: 1.3;
  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

   .tinv-wishlist .tinv-header h2 {
    	color: #ad6ef5;
	}


@media (max-width: 768px) {
  .tinv-wishlist table.tinvwl-table-manage-list tbody {
    grid-template-columns: 1fr 1fr;
	gap: 5px;
  }
  .tinv-wishlist .product-stock {
    display: none !important;
	}
	.tinv-wishlist .tinv-header {
    	margin-bottom: 0px;
		margin-top:-15px;
	}
   .tinv-wishlist .tinv-header h2 {
	   font-size: 28px;
    	text-align: center;
    	color: #ad6ef5;
    	text-decoration: underline;
	}
}

@media (max-width: 400px) {
  .tinv-wishlist tr.wishlist_item {
		width: 174px;
	}
}

/* INTERACTIVE SIDE CART *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  */
/* INTERACTIVE SIDE CART *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  */
/* INTERACTIVE SIDE CART *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  *//* INTERACTIVE SIDE CART  */
 
.elementor-menu-cart__main {
    width: 380px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px;
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	font-family:'Poppins', sans-serif;
}

.elementor-menu-cart__products {
	border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    box-shadow: 0 1px 6px 3px #80808024;
    border-radius: 10px;
}

/* FIX PADDING */
.elementor-menu-cart__products .elementor-menu-cart__product {
	padding-top:20px !important;
}

/* Product name */
.elementor-menu-cart__product-name {
	font-size: 14px;
    font-weight: 600;
	align-content: end;
	padding-left:10px;
	padding-right:10px;
}

/* Product price & quantity */
.elementor-menu-cart__product-price {
    font-size: 14px;
    color: #555;
	padding-left:10px;
}

/* Product Remove Button */

.elementor-menu-cart__product-remove {
    border: none;
    border-radius: var(--remove-item-button-size, 22px);
    top: 10px;
	width:30px;
}

/* ===== Subtotal & Footer Buttons ===== */
.elementor-menu-cart__subtotal {
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-left:20px;
    padding-right:20px;
	padding-bottom:0px;
	border-bottom:none;
	margin-top:auto;
}

.elementor-menu-cart__footer-buttons {
    display: flex;
    gap: 10px;
}

.elementor-menu-cart__footer-buttons .elementor-button {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background: #f0f0f0;
    color: #333;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
    background: #AD6EF5;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout {
    background: #ff5a5f;
    color: #fff;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background: #e0484f;
}

@media (max-width:767px) {
	.elementor-menu-cart__products {
		max-height: calc(100dvh - 135px);
		overflow: hidden;
		overflow-y: auto;
		width: 318px;
        margin: auto;
        margin-top: 5px;
		margin-bottom:10px;
	}
	.elementor-menu-cart__main {
		padding:8px;
		padding-top: 25px;
		padding-bottom: 25px;
	}
	.elementor-menu-cart__footer-buttons {
		padding-top:10px;
	}
	.elementor-menu-cart__subtotal {
		padding-top:10px;
	}
}