#avp-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fffcfccf;
    display: flex; align-items: center; justify-content: center;
    z-index: 999999;
}
#avp-popup {
    text-align: center;
    background: #000;
    color: #fff;
    padding: 30px;
    max-width: 400px;
    border-radius: 8px;
}
.avp-logo {
    max-width: 150px;
    margin-bottom: 15px;
}
.avp-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.avp-btn.green { background: #28a745; color: #fff; }
.avp-btn.red { background: #dc3545; color: #fff; }
.avp-warning {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}


/* Professional Input Field */
.avp-input {
    display: block;
    width: -webkit-fill-available;
    padding: 14px 16px;
    margin: 15px 0;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #444;
    background: #1a1a1a;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Placeholder style */
.avp-input::placeholder {
    color: #888;
    font-size: 14px;
}

/* Focus effect */
.avp-input:focus {
    border-color: #28a745;
    background: #111;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
}

/* Calendar icon styling */
.avp-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}



/* Flatpickr customization */
.flatpickr-calendar {
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
}
.flatpickr-day {
    color: #fff;
}
.flatpickr-day.selected {
    background: #28a745;
    color: #fff;
}


/* Ensure Flatpickr calendar is above the overlay */
.flatpickr-calendar {
    z-index: 9999999 !important; /* higher than your overlay */
}


#avp-popup {
	background: #f7f7f7;
}

#avp-popup h1 {
	font-size: 42px;	
}

#avp-popup h2, #avp-popup h3 {
	font-size: 18px;	
}

#avp-popup h2 {
    margin-bottom: 8px;
}

#avp-popup h3 {
    margin-top: 8px;
}

.avp-warning {
	display: none;
}

#avp-yes {
    font-size: 24px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 16px;
}

#avp-yes .qodef-btn-text, #avp-no .qodef-btn-text {
    margin: 0px auto;
}

#avp-no {
    font-size: 18px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
}

/* loader */
.apayo-smooth-transition-loader {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #000;
	z-index: 2000;
    opacity: 1;
    transition: opacity 1000ms ease !important;
}

.apayo-smooth-transition-loader.apayo-loader-fade-out {
    opacity: 0;
}

.apayo-st-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2100;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.apayo-st-loader1 {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 100%;
}

.apayo-st-loader .apayo-thelma-preloader {
	width: 220px;
}

.apayo-st-loader .apayo-thelma-preloader img {
	clip-path: inset(0 100% 0 100%);
	-webkit-clip-path: inset(0 100% 0 100%);
	-webkit-animation: apayo-thelma-preloader-reveal 2s .4s forwards;
	animation: apayo-thelma-preloader-reveal 2s .4s forwards;
}

@-webkit-keyframes apayo-thelma-preloader-reveal {
  0% {
    clip-path:inset(0 100% 0 100%);
    -webkit-clip-path:inset(0 100% 0 100%)
  }
  100% {
    clip-path:inset(0 0 0 0);
    -webkit-clip-path:inset(0 0 0 0)
  }
}
@keyframes apayo-thelma-preloader-reveal {
  0% {
    clip-path:inset(0 100% 0 100%);
    -webkit-clip-path:inset(0 100% 0 100%)
  }
  100% {
    clip-path:inset(0 0 0 0);
    -webkit-clip-path:inset(0 0 0 0)
  }
}

.force-italic {
    font-style: italic !important;
    font-weight: 400 !important;
    font-family: "Ibarra Real Nova",serif !important;
}

body.product-template-default .force-italic {
    font-size: 20px;
}

#qodef-woo-page.qodef--single .product_meta {
    margin-top: 12px !important;
}

.apayo-cart-login-notice {
            background: #f8f9fa !important; 
            border: 1px solid #dee2e6 !important; 
            border-radius: 8px !important; 
            padding: 20px !important; 
            margin-bottom: 30px !important; 
            text-align: center !important;
        }
        .apayo-cart-login-notice h3 {
            margin: 0 0 15px 0 !important; 
            color: #495057 !important; 
            font-size: 18px !important;
        }
        .apayo-cart-login-notice p {
            margin: 0 0 20px 0 !important; 
            color: #6c757d !important; 
            font-size: 14px !important;
        }
        .apayo-login-buttons {
            display: flex !important; 
            gap: 15px !important; 
            justify-content: center !important; 
            flex-wrap: wrap !important;
        }
        .apayo-cart-login-notice .qodef-button {
            display: inline-block !important;
            min-width: 150px !important;
            padding: 10px 20px !important;
            transition: all 0.3s ease !important;
            text-decoration: none !important;
        }
        .apayo-cart-login-notice .qodef-button:hover {
            transform: translateY(-2px) !important;
        }
        @media (max-width: 768px) {
            .apayo-login-buttons {
                flex-direction: column !important;
                align-items: center !important;
            }
            .apayo-cart-login-notice .qodef-button {
                width: 100% !important;
                max-width: 250px !important;
            }
        }


.woocommerce-account .form-row:nth-of-type(3) {
  display: initial !important;
}

.woocommerce-form.woocommerce-form-register.register a {
    text-decoration: underline;
}

.woocommerce-Addresses a {
    text-decoration: underline;
}

.qodef-mobile-header-navigation .menu-item.menu-item-widget {
    text-align: center;
}

.qodef-mobile-header-navigation .menu-item.menu-item-widget ul {
    display: flex;
}

.qodef-mobile-header-navigation .menu-item.menu-item-widget ul a {
    padding-right: 5px;
}

.qodef-mobile-header-navigation .menu-item.menu-item-widget ul a:hover {
    padding-left: 0.25em;
}

.qodef-mobile-header-navigation .menu-item.menu-item-widget ul path {
    fill: var(--qode-main-color) !important
}

body.page-id-15 p[id="thwcfe-block/nip_field"] {
    display: none !important;
}

.price .woocommerce-price-suffix /*, .woocommerce-error */ {
    display: none !important;
}

.checkout-inline-error-message {
	color: red;
	font-size: 0.9em;
	top: -10px;
	position: relative;
}

ul.woocommerce-error li, ul.woocommerce-error li a {
    color: red;
}

ul.woocommerce-error {
    border: 1px solid red;
}

.woocommerce-input-wrapper select {
    margin-bottom: 10px;
}

.woocommerce-Price-amount.amount {
	margin-top: 0px !important;
}

.order-total .includes_tax .woocommerce-Price-amount.amount {
    font-size: 80% !important;
    margin-top: 0px !important;
    font-style: normal !important;
    font-weight: bold !important;
    line-height: 0;
}

.woocommerce-shipping-destination strong {
    font-weight: inherit;
}

body .widget.widget_block .wp-block-social-link {
	margin-right: 0px !important;
}

.wc-block-customer-account__link {
	margin-right: 10px !important;
}

body.page-id-9871 #qodef-page-inner {
	padding-top: 40px;
}

/* stylowanie button */
.apayo-imit-button {
	display: table !important;
	margin: 0px auto;
	min-width: 360px;
    max-width: 100%;
}

body.page-id-9871 a.checkout-button.button.alt.wc-forward,
body.page-id-9872 #place_order
{
    background: var(--qode-gurkha-color) !important;
    color: #fff !important;
}

/* stylowanie form - checkboxes */
.woocommerce-shipping-methods label {
    display: inline-block;
}

.woocommerce-shipping-totals.shipping p.woocommerce-shipping-destination {
    padding-left: 25px;
}

ul.wc_payment_methods.payment_methods.methods input.input-radio {
    top: 25px !important;
}

.woocommerce-Address-title.title a {
    text-decoration: underline;
}

nav.woocommerce-MyAccount-navigation li a br,
.woocommerce-EditAccountForm.edit-account br,
.woocommerce-form.woocommerce-form-login br, .woocommerce-form.woocommerce-form-register br
{
    display: none;
}

/* wyjatki */
.woocommerce-form.woocommerce-form-login .form-row br {
    display: block;
}

body.page-id-15.woocommerce-account .woocommerce-form-login .woocommerce-form__label-for-checkbox {
    margin-left: 0px;
}

.woocommerce-privacy-policy-text {
	margin-bottom: 20px;
}

.woocommerce-terms-and-conditions {
    margin-bottom: 20px;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    text-decoration: underline;
}