/*
Theme Name: D0 E-SHOP Theme
Theme URI:
Author: D0
Author URI:
Description: Custom WordPress/WooCommerce theme with editable ecommerce layout, cart/checkout/account UX, live product search, product actions, stock notifications and question popups.
Version: 4.5.28
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fpvdronas
Tags: ecommerce, woocommerce, custom-colors, custom-logo, custom-menu, featured-images, responsive-layout
*/


/* Main stylesheet split into ordered modules. Keep these imports in order. */
@import url('assets/css/style-parts/01-foundation-header-navigation.css');
@import url('assets/css/style-parts/02-woocommerce-products-cart-account.css');
@import url('assets/css/style-parts/03-page-category-filter-layouts.css');
@import url('assets/css/style-parts/04-blog-homepage-slider-footer.css');
@import url('assets/css/style-parts/05-contact-wishlist-blocks-hero.css');
@import url('assets/css/style-parts/06-product-grid-stock-mobile.css');


/* V4.5.16 - Loyalty dashboard hard visual override.
   Kept in style.css (not only imported parts) so the theme version query string
   reliably busts browser/CDN cache after theme update. */
body.woocommerce-account .fpv-account-loyalty-badge {
  border-radius: 5px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 11px 18px !important;
}

body.woocommerce-account a.fpv-account-loyalty-link,
body.woocommerce-account a.fpv-account-loyalty-link:link,
body.woocommerce-account a.fpv-account-loyalty-link:visited,
body.woocommerce-account a.fpv-account-loyalty-link:hover,
body.woocommerce-account a.fpv-account-loyalty-link:focus,
body.woocommerce-account a.fpv-account-loyalty-link:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

/* V4.5.23 - Header icon + search border colour binding.
   Account, wishlist and cart SVG artwork follows the same Customizer colour
   as the header/menu text. The complete desktop search field outline follows
   the active accent colour. */
html body .site-header .header-button svg,
html body .site-header .header-button svg *,
html body .site-header .cart-button svg,
html body .site-header .cart-button svg *,
html body .site-header .mobile-search-toggle svg,
html body .site-header .mobile-search-toggle svg *,
html body .site-header .mobile-nav-toggle svg,
html body .site-header .mobile-nav-toggle svg * {
  color: var(--c-menu-text, var(--c-text, #3A3A3A)) !important;
  stroke: currentColor !important;
}

html body .site-header .search-bar,
html body .site-header .search-bar:focus-within {
  border-color: var(--c-accent, #FF6A00) !important;
}


/* V4.5.27 - "Pagaminta Lietuvoje" image badge on product featured images. */
.fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge,
body.single-product .woocommerce-product-gallery__image .fpvdronas-made-in-lithuania-badge {
  position: absolute !important;
  z-index: 8 !important;
  display: block !important;
  width: var(--fpvdronas-made-in-lt-badge-width, 58px) !important;
  height: auto !important;
  line-height: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge img,
body.single-product .woocommerce-product-gallery__image .fpvdronas-made-in-lithuania-badge img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fpvdronas-made-in-lithuania-badge.is-bottom-left {
  left: 10px !important;
  right: auto !important;
  bottom: 10px !important;
  top: auto !important;
}

.fpvdronas-made-in-lithuania-badge.is-bottom-right {
  right: 10px !important;
  left: auto !important;
  bottom: 10px !important;
  top: auto !important;
}

.fpvdronas-made-in-lithuania-badge.is-top-left {
  left: 10px !important;
  right: auto !important;
  top: 10px !important;
  bottom: auto !important;
}

.fpvdronas-made-in-lithuania-badge.is-top-right {
  right: 10px !important;
  left: auto !important;
  top: 10px !important;
  bottom: auto !important;
}

body.single-product .woocommerce-product-gallery__image {
  position: relative !important;
}

@media (max-width: 600px) {
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-bottom-left,
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-bottom-right {
    bottom: 7px !important;
  }
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-top-left,
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-top-right {
    top: 7px !important;
  }
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-bottom-left,
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-top-left {
    left: 7px !important;
  }
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-bottom-right,
  .fpvdronas-product-card-image .fpvdronas-made-in-lithuania-badge.is-top-right {
    right: 7px !important;
  }
}
