/*
Theme Name: MajdanTheme Child
Template: majdantheme
Author: Lukasz 'Majdan' Paliwoda
Description: Project-specific child theme for MajdanTheme.
Requires at least: 7.0.2
Tested up to: 7.0.2
Requires PHP: 8.0
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: majdantheme-child
*/
/* Button */
.button-normal,
.single_add_to_cart_button,
.woocommerce-form-login__submit,
.wp-block-button .wp-block-button__link {
	padding: clamp(10px, calc(11.364px + 1.136vw), 15px) clamp(30px, calc(19.091px + 3.409vw), 55px);
}
.button-small {
	padding: clamp(5px, calc(11.364px + 1.136vw), 10px) clamp(15px, calc(19.091px + 3.409vw), 30px);
}
.wp-block-button .wp-block-button__link,
.wp-block-button.is-style-fill-accent-1 .wp-block-button__link {
	color: var(--wp--preset--color--text-1);
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button .wp-block-button__link:hover ,
	.wp-block-button.is-style-fill-accent-1 .wp-block-button__link:hover  {
		color: var(--wp--preset--color--color-light);
	}
}
.wp-block-button.is-style-fill-accent-2.is-style-fill-accent-2a .wp-block-button__link {
	color: var(--wp--preset--color--color-dark);
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-fill-accent-2.is-style-fill-accent-2a .wp-block-button__link:hover {
		color: var(--wp--preset--color--color-light);
	}
}
.wp-block-button.is-style-outline-accent-1.is-style-outline-accent-1a .wp-block-button__link {
	color: var(--wp--preset--color--color-dark);
	border-color: var(--wp--preset--color--color-dark);
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-outline-accent-1.is-style-outline-accent-1a .wp-block-button__link:hover,
	.wp-block-button .wp-block-button__link:hover {
		color: var(--wp--preset--color--color-light);
		background-color: var(--wp--preset--color--color-dark);
	}
}
:root :where(.wp-element-button:focus, .wp-block-button__link:focus) {
    outline-color: transparent;
}

/* Cookies YES */
.cky-notice-btn-wrapper {
    gap: 10px 10px;
}
.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
	background-color: #000 !important;
}
.cky-btn {
	margin: 0!important;
	background-color: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}

/* Post */
@media (hover: hover) and (pointer: fine) {
	.wp-block-post-title:hover a {
		color: var(--wp--preset--color--color-7);
	}
}

/* Responsive visibility previews for Gutenberg device modes. */
.is-mobile-preview .is-tablet-only,
.is-mobile-preview .is-desktop-only,
.is-mobile-preview .is-tablet-desktop-only {
	display: none !important;
}
.is-tablet-preview .is-mobile-only,
.is-tablet-preview .is-desktop-only {
	display: none !important;
}
.is-desktop-preview .is-mobile-only,
.is-desktop-preview .is-tablet-only,
.is-desktop-preview .is-mobile-tablet-only {
	display: none !important;
}

/* Scroll animation */
@media (min-width: 1024px) {
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade-up:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade-down:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade-left:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade-right:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--zoom-in:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--blur-in:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--fade-scale:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--clip-up:not(.is-visible),
	.msm-scroll-layout-animation-ready .msm-scroll-layout.has-scroll-animation--rotate-in:not(.is-visible) {
		/* opacity: 1 !important; */
	}
}

/* Sidebar */
.sidebar-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--color-11);
}
.sidebar-search .wp-block-search__label {
	position: absolute;
	top: clamp(3px, calc(-0.556px + 1.111vw), 15px);
	left: 27px;
	display: inline;
	width: auto;
	margin: 0;
	padding: 2px 10px;
	background-color: var(--wp--preset--color--color-4);
	color: var(--wp--preset--color--color-light);
}
.sidebar-search .wp-block-search__button {
	margin-left: 0;
}

/* Social Header */
header .header-social-icon .msm-link-overlay__content {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 25px;
	width: 25px;
}
header .header-social-icon img {
	height: 20px;
	width: auto;
	transition: 0.5s ease;
	padding: 2px;
}
@media (hover: hover) and (pointer: fine) {
	header .header-social-icon:hover {
		background-color: #333;
		/* border-radius: 50%; */

	}
}

/* Social Contact / Footer */
.social-icon .msm-link-overlay__content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background-color: var(--wp--preset--color--color-4);
	border-color: var(--wp--preset--color--color-4);
}
.social-icon img {
	height: 20px;
	width: auto;
	transition: 0.5s ease;
	padding: 2px;
}
@media (hover: hover) and (pointer: fine) {
	.social-icon:hover img {
		height: 30px;
	}
}

/* Slider arrow */
.msm-swiper-nav__icon.is-preset {
  transform: translateY(-5px);
}

/* WooCommerce My Account */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
	color: var(--wp--preset--color--color-light);
}

/* WooCommerce Cart */
@media (max-width: 768px) {
	.wc-block-mini-cart__amount {
	  display: none;
	}
}

/* WooCommerce Quantity */
.quantity.wc-block-components-quantity-selector {
  display: none;
}

/*
 *
 * Standard Theme Code End
 *
*/
/* List style 1 */
.list-style-1 {
	padding-left: 0;
	list-style: none;
}
.list-style-1 li {
	position: relative;
	padding-left: 30px;
}
.list-style-1 li::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 0;
	width: 16px;
	height: 13px;
	background-image: url('data:image/svg+xml,<svg width="16" height="13" viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.75 8.25024C0.75 8.25024 2.25 8.25024 4.25 11.7502C4.25 11.7502 9.809 2.58324 14.75 0.750244" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Woo Step Form */
.msm-step-form {
	background: transparent;
	border: none;
	box-shadow: none;
}
.msm-step-form__progress-number {
	border-radius: 50%;
	background: var(--wp--preset--color--color-9);
}
.msm-step-form__progress-item.is-active .msm-step-form__progress-number {
	background: var(--wp--preset--color--color-4);
	color: var(--wp--preset--color--color-dark);
}
.msm-step-form__step input, .msm-step-form__step select, .msm-step-form__step textarea {
	border-radius: 3px;
}
.msm-step-form__actions .wp-block-button__link {
	color: var(--wp--preset--color--color-dark);
}
.msm-step-form__previous {
	border-color: var(--wp--preset--color--color-dark)!important;
}
.msm-step-form__field-error:not([hidden]) {
	color: red;
}
button.msm-step-form__restart.wp-block-button__link {
    background: var(--wp--preset--color--color-4)!important;
}
@media (hover: hover) and (pointer: fine) {
	button.msm-step-form__restart.wp-block-button__link:hover {
		background: var(--wp--preset--color--color-dark)!important;
	}
}

/* WooCommerce Checkout - tło i obramowanie pól */

.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-blocks-components-select__select,
.wc-block-checkout textarea {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #B6CFE8 !important;
    border-radius: 0 !important;
}

/* Przezroczyste tło kontenera select */
.wc-block-checkout .wc-blocks-components-select__container {
    background: transparent !important;
}