/*
 * Site-wide rules that lived in the Customizer's Additional CSS on minimalstep.pl until 2026-12-01 (custom_css post
 * 7170), moved into the theme so every shop gets the same rules from one place (minimalstep.com was a fresh install and
 * had none). Enqueued last (functions.php ms_site_css_enqueue, after plugin styles), as the inline block printed last.
 * Dropped on the move, because they matched nothing: BeRocket and block-filter rules (plugins gone), the returns
 * banner, the size-swatch hide for cards (markup gone), four rules whose child combinator was stored HTML-escaped (never
 * valid), a rule after a stray closing brace and the malformed `.md:py-20`.
 */

/* Header and layout stacking */
/* Desktop sticky sidebar only — on mobile the same element is a
   full-screen overlay drawer that must paint above everything (z set in
   theme/css/woocommerce/fibofilters-archive.css). Scoped 2026-06-06. */
@media (min-width: 768px) {
.flineo-filters {
    z-index: 10!important;
}
}
#top-bar {
    z-index: 2;
}
@media only screen and (max-width: 767px) {
	header.shadow{
    z-index: 50 !important;
	background-color:white;
}
}
header.shadow{
    z-index: 11;
	background-color:white;
}
.bg-white.container {
    z-index: 0!important;
}

@media only screen and (max-width: 767px) {
#main-container {

    width: 100%;     
    height: 100%;

}
}
/* Links: no underline site-wide (the promo-bar link below re-adds it) */
a {
	text-decoration: none !important
}
/* Product cards in the loop: size swatches spaced, swatches always at the bottom */
.products .variations{
	margin-top:5px !important;
}
/* --- Product card alignment: swatches always at bottom --- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product > a:not(.flineo-product-image) {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product .vi_wpvs_loop_variation_form {
    margin-top: auto !important;
    padding-bottom: 0.75rem !important;

}

.woocommerce .splide ul ul,
.woocommerce .splide ul ul li.product
{
	height: 100%;
}

.woocommerce .splide ul li {
	display: flex;
}
/* Checkout login toggle and social login (Heateor) */
.woocommerce-form-login-toggle {
	margin-left:20px;
	}
.heateor_sl_outer_login_container {
	margin-top: 10px;
	margin-left: 20px;
	}
.heateor_sl_title {
    font-family: Montserrat, sans-serif; /* Change to your preferred font */
    font-size: 15px; /* Adjust to the desired size */
    font-weight: bold; /* Adjust to normal, lighter, etc., based on your preference */
    color: #000000; /* Change to the color you want */
    margin-bottom: 15px; /* Optional: Adjust spacing below the text */
}
/* Adjust margin for the social login icons to reduce space */
.heateor_sl_outer_login_container {
	margin-bottom: 65px;
}
/* Mobile menu, login field, product tabs on phones */
#menu-main-mobile .sub-menu{
	overflow:scroll;
}

#user_login{
	background:white;
}
@media(max-width:600px){
	.wc-tabs {
		flex-direction:column !important
		
	}
	
}
/* Payment methods and logos */
ul.payment_methods li {
    margin-bottom: 15px !important; /* Adjust the spacing as needed */
}

ul.payment_methods li img {
    max-width: 100px; /* Adjust the size of the logos */
    margin-right: 10px; /* Add space between the logos and text */
}
/* Hidden duplicates: an empty spacer after the social login, the plugin's own NIP field (the theme renders its own) */
div[style*="clear:both; margin-bottom: 6px"] {
    display: none;
}
#billing_nip_field {
    display: none !important; /* Hide the NIP field */
}
/* reCAPTCHA badge */
.grecaptcha-badge {
	margin-bottom: 10px;
}
/* Pagination: compact layout */
.woocommerce nav.woocommerce-pagination ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
    justify-content: center !important;
}
.woocommerce nav.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    padding: 0 0.5rem !important;
    font-size: 0.875rem !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    --tw-bg-opacity: 1;
    background-color: rgb(191 54 12 / var(--tw-bg-opacity));
    color: #ffffff;
}
/* TrustMate widgets in the theme's font */
.tm-grade-label__text.tm-score-platforms {
    font-family: "Jost", sans-serif !important;
		color: #404040;
}

.tm-hydra.tm-hydra *, 
.tm-hydra.tm-hydra *::after, 
.tm-hydra.tm-hydra *::before {
    font-family: 'Jost', sans-serif !important;
}
/* Product gallery image centred */
.woocommerce div.product div.images img{
width:auto !important;;
	margin-inline: auto !important;}
/* Checkout inputs at 16px (no zoom on iPhone) */
.woocommerce-checkout input, 
.woocommerce-checkout textarea, 
.woocommerce-checkout select {
    font-size: 16px !important;
}
/* InPost point picker button */
#select-point-container #select-point {
    display: inline-block !important;
    padding: 6px 12px !important;
    background-color: #bf360c !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    font-size: 0.9rem !important;
    transition: background-color 0.3s ease !important;
    font-weight: 600 !important;
    overflow: visible !important;
}

#select-point-container #select-point:hover {
    background-color: #9c2d0a !important;
}
/* Voucher (mpv-vouchers) apply button and wrapper */
#mpv_voucher_apply {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #ffffff !important;
}

#mpv_voucher_apply:hover {
    background-color: #256428 !important;
    border-color: #256428 !important;
}

/* Mobile responsive padding */
@media only screen and (max-width: 768px) {
    .mpv-voucher-wrapper {
        margin-left: 20px;
        margin-right: 20px;
    }
}
/* Button styling (no rounded corners) */
.bapf_button_dark_rounded .bapf_button {
    border-radius: 0 !important;
    font-size: 16px;
    padding: 10px;
    flex: 1;
}
/* Base styles for all notice containers */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  position: relative;
  padding: 1em;
  padding-right: 2.5rem;
  margin-bottom: 1em;
  list-style: none;
}

/*notyfikacje o dodaniu do koszyka itp.*/
/* Apply flexbox layout */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

/* Button alignment */
.woocommerce-error .button,
.woocommerce-message .button,
.woocommerce-info .button {
  margin: 0;
  padding: 0.5em 1em;
  white-space: nowrap;
}

/* Move Woo icon top-right */
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  left: auto;
  margin: 0;
}
/* TrustMate – wyłącz wyświetlanie opinii dla danego produktu, obecnie: lily 3.0, cany suede, vegan laces, belenka breeze mesa wp men */
.postid-70342,
.postid-75692,
.postid-56692,
.postid-20369,
.postid-81568,
.postid-73001
{

    /* 1. “Hornet” badge under the title */
    .tm-hornet-container { display: none !important; }

    /* 2a. placeholder div that TrustMate replaces with Hydra */
    #ec387775-42cc-4161-ba3a-5a3c411489a0 { display: none !important; }

    /* 2b. the real Hydra widget once it’s injected */
    .tm-hydra.tm-widget { display: none !important; }
}
/* Specialists directory (minimalstep-specialist-cpt) */
.specjalisci-search-form{
	display: flex;
	gap: 1em;
}
.specjalisci-search-form input[type=search]{
	flex-grow: 1;
}
.specialist-contact{
	display: grid;
	gap: .3em;
	color: var(--e-global-color-secondary);
}
.specialist-contact li{
	display: flex;
	gap: 1em;
	align-items: center;
}
.specialist-contact img{
	width: 1.5em;
}
/* Links inside article text */
.prose :where(a):not(:where([class~="not-prose"] *)){
	font-weight:600;
}
/* Product summary column and variation swatches on phones */
.entry-summary .sticky {
	display: flex;
	flex-direction: column;
	gap: 0px !important;
}
@media screen and (max-width:768px) {
	.vi-wpvs-variation-style {
		margin-top: -10px !important;
		margin-bottom:4px;
	}

}
/* Sticky main header — search/cart always reachable while scrolling. Header is
 * already z-index: 10/11 (mobile/desktop) at the source; bump to 50 here so the
 * sticky sidebar (z=10 from .flineo-filters above) can't paint over it. Added
 * 2026-05-16. */
header.shadow {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* FiboSearch — hide the redundant magnifying-glass submit button inside the
 * theme's #search modal. The clear-input X (.dgwt-wcas-preloader.dgwt-wcas-close)
 * is positioned directly on top of it once the user types, producing the
 * "two X buttons" visual confusion. The X is the useful one (clears input);
 * the submit button does nothing extra because the search live-fires on keyup.
 * Added 2026-05-16. */
#search .dgwt-wcas-search-submit { display: none !important; }



/* --- Promo announcement bar link (VIVO promo, added 2026-06-30) ----------
 * #top-bar renders the `top_header_information` theme mod (header.php:18-24).
 * Bar stays in normal flow (static) and scrolls away with the page.
 * Just make the in-bar link visibly clickable (global a{} kills underline). */
.ms-promo-link {
    text-decoration: underline !important;
    font-weight: 700;
}
