/*!
Theme Name: zyczmi
Theme URI: http://underscores.me/
Author: Bartosz Romaniuk
Author URI: https://bartoszromaniuk.pl
Description: Description
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zyczmi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

zyczmi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	font-family: "Lexend Deca", sans-serif;
    margin: 0;
	touch-action: pan-y, pan-x;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	resize: vertical;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
a.button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
	background-color: #2765FF;
    font-family: "Lexend Deca", Sans-serif;
    font-size: 16px!important;
    font-weight: 800!important;
    font-style: normal;
    text-decoration: none!important;
    color: #FFF!important;
    border-radius: 32px 32px 32px 32px;
    padding: 19px 32px 20px 32px;
	cursor: pointer;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    font-size: 18px;
	font-family: "Lexend Deca", Sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: #382626;
	margin: 8px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
	margin-top 0;
	margin-block-start: 0;
}

h1 {
	font-size: 52px;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 30px;
}

p {
    margin: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 0.5em 0.5em;
    padding: 0 0 0 1.5em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

ol li ol{
    list-style: lower-alpha;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 0.5em;
    padding: 0 0 0 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
	text-align: left;
}

/* Links
--------------------------------------------- */

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    border-color: none;
    border-radius: 32px 32px 32px 32px;
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-kadence7);
    line-height: 1;
    font-weight: 800;
    font-style: normal;
    text-decoration: none;
    padding: 19px 32px 20px 32px;
}

button:hover,
a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #3A73FF;
    color: #F7FAFC!important;
    box-shadow: 4px 6px 21px 0px rgba(0, 0, 0, 0.1);
}

span.required{
	color: red;
}

span.password-input{
	position: relative;
    display: block; 
    width: 100%;
}
button.show-password-input {
position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent !important; 
    border: none !important;            
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    cursor: pointer;
    color: #382626;
    font-size: 14px;
    font-weight: 600;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    width: 100%;
    font-size: 18px;
    color: #382626;
    border: 2px solid #EFC0C1;
    border-radius: 32px;
    background: #FFF6F9;
    padding: 16px 24px;
    box-sizing: border-box;
}


input[type="date"] {
	cursor: pointer;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

/* --- Ikony SVG (Maski) --- */
.myaccount-nav a::before {
    content: '' !important;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    vertical-align: middle;
    background-color: #3B2526;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Zmiana koloru ikony na biały przy aktywnym */
.myaccount-nav a:hover::before,
.myaccount-nav a.is-active::before {
    background-color: #fff; 
    opacity: 1;
}

/* Linki do ikon */
a.woocommerce-MyAccount-navigation-link--orders::before {
	mask-image: url('https://zyczmi.pl/wp-content/uploads/list.svg');
	-webkit-mask-image: url('https://zyczmi.pl/wp-content/uploads/list.svg');
}
a.woocommerce-MyAccount-navigation-link--moje-ksiegi::before {
	mask-image: url('https://zyczmi.pl/wp-content/uploads/tools.svg');
	-webkit-mask-image: url('https://zyczmi.pl/wp-content/uploads/tools.svg');
}
a.woocommerce-MyAccount-navigation-link--edit-address::before {
	mask-image: url('https://zyczmi.pl/wp-content/uploads/list.svg');
	-webkit-mask-image: url('https://zyczmi.pl/wp-content/uploads/list.svg');
}
a.woocommerce-MyAccount-navigation-link--edit-account::before {
	mask-image: url('https://zyczmi.pl/wp-content/uploads/person.svg');
	-webkit-mask-image: url('https://zyczmi.pl/wp-content/uploads/person.svg');
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0;
}

body.woocommerce-checkout .site-main {
	max-width: 1140px; /* szerokość kontenera */
    margin: 0 auto;    /* wyśrodkowanie */
    padding: 0 30px;   /* odstęp od krawędzi */
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */

/* Widgets
--------------------------------------------- */

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 10000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* =================================================================
   1. STYLE GLOBALNE I FORMULARZE
   ================================================================= */

/* Zaznaczanie tekstu */
::selection,
::-moz-selection {
    background: rgba(255, 68, 104, .2);
}

/* Typografia */
h1 span,
h2 span {
    font-weight: 400 !important;
}

label {
    display: block;
	margin: 0;
}

/* Fix dla daty w Webkit (Safari/Chrome) */
input::-webkit-date-and-time-value {
    text-align: left !important;
}

#billing_country_field {
	display: none;
}

/* =================================================================
   2. HEADER (NAGŁÓWEK)
   ================================================================= */

/* Kontener główny */
.site-header {
    width: 100%;
    padding: 32px 16px;
    background: #FFE4E8;
    border-radius: 0 0 12rem 0; /* Desktop default */
    position: relative;
    z-index: 998;
}

/* zaokrąglenie Headera () */
@media (max-width: 1366px) {
    header.site-header {
        border-radius: 0 0 3rem 0;
    }
}

/* Transparent Header TYLKO na stronie głównej */
body.home .site-header {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* =================================================================
   3. NAWIGACJA GŁÓWNA (DESKTOP)
   ================================================================= */

.main-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li a {
    position: relative;
    text-decoration: none;
    color: #3B2526;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.11;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* --- Animacja podkreślenia (Pigułka) --- */
.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 0;
    background-color: #FF4468;
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Stan Hover i Active */
.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after,
.main-navigation ul li.current_page_item > a::after,
.main-navigation ul li.current-menu-parent > a::after {
    width: 14px;
    border-radius: 2px;
}

/* Linki kotwice (#) nie powinny być "active" domyślnie */
.main-navigation ul li.current-menu-item > a[href*="#"]::after,
.main-navigation ul li.current_page_item > a[href*="#"]::after {
    width: 0 !important;
}

/* Ale kotwice muszą reagować na hover */
.main-navigation ul li.current-menu-item > a[href*="#"]:hover::after,
.main-navigation ul li.current_page_item > a[href*="#"]:hover::after {
    width: 14px !important;
    border-radius: 2px;
}

/* =================================================================
   4. NAWIGACJA MOBILNA I BURGER
   ================================================================= */

.menu-toggle {
    display: none;
}

/* Burger Button (Stylizacja kresek) */
.burger-btn {
    position: relative;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    position: absolute;
    left: 6px;
    width: 36px;
    height: 4px;
    border-radius: 8px;
    background: #382626;
    transition: .2s;
}

/* Pozycjonowanie kresek */
.burger-btn span:nth-child(1) { top: 12px; }
.burger-btn span:nth-child(2),
.burger-btn span:nth-child(3) { top: 50%; margin-top: -2px; }
.burger-btn span:nth-child(4) { bottom: 12px; }

/* Animacja Burgera (Active) */
.burger-btn.is-active span:nth-child(1),
.burger-btn.is-active span:nth-child(4) { opacity: 0; }
.burger-btn.is-active span:nth-child(2) { transform: rotate(45deg); }
.burger-btn.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* Zachowanie menu na mobilu (< 1024px) */
@media (max-width: 1024px) {
    
    /* Ukryj przycisk konta, pokaż toggle */
    #myaccount-btn { display: none; }
    
    .menu-toggle {
        display: block;
        padding: 12px 6px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none;
        z-index: 999;
        position: relative;
    }

    /* Pełnoekranowe menu */
    .main-navigation ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .main-navigation.toggled ul {
        transform: translateX(0);
    }

    /* Blokada scrollowania body */
    body.menu-open-lock {
        overflow: hidden;
        height: 100vh;
    }
}

/* =================================================================
   5. FOOTER (STOPKA)
   ================================================================= */

.site-footer {
    background: #0B2770;
    color: #fff;
    padding: 64px 0 24px;
    border-radius: 0 12rem 0 0; /* Desktop default */
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Górna sekcja stopki */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 32px 8px 120px 8px;
    gap: 80px;
}

/* Branding w stopce */
.footer-branding figure {
    margin: 0;
}

.footer-branding img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Nawigacja w stopce */
.footer-navs {
    display: flex;
    justify-content: flex-end;
    gap: 64px;
    padding: 8px 32px;
}

.site-footer h3 {
	line-height: 32px;
    margin-bottom: 32px;
    margin-top: 0;
}

ul.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin: 0 0 16px 0;
    padding: 0;
}

.footer-nav-list li a {
    color: #5E8BFF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav-list li a:hover {
    color: #FFF;
}

/* Dolna sekcja (copyright) */
.site-info {
    border-top: 2px solid #143383;
    padding: 56px 32px 32px;
    display: flex;
    justify-content: space-between;
    color: #4F8CFF;
    font-size: 18px;
}

.site-info p {
    margin: 0;
}

.site-info p a {
    color: #fff;
    text-decoration: none;
}

.site-info p a:hover {
    color: #fcfcfc;
}

/* --- Responsywność Stopki --- */

/* Zaokrąglenie na mniejszych ekranach */
@media (max-width: 1366px) {
    footer.site-footer {
        border-radius: 0 6rem 0 0;
    }
}

/* Zmniejszenie odstępów w nawigacji */
@media (max-width: 1050px) {
    .footer-navs {
        gap: 32px;
    }
}

/* Pełna responsywność (Pionowy układ) */
@media (max-width: 968px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-branding,
    .footer-navs {
        width: 100%;
        max-width: 100%;
    }

    .footer-branding img {
        margin: auto;
    }

    .footer-navs {
        flex-direction: column;
        gap: 32px;
    }

    .site-info {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   1. RESET I UKŁAD GŁÓWNY (APP LAYOUT)
   ========================================================================== */

/* Reset kontenerów motywu, aby dashboard był na pełny ekran */
body.woocommerce-account #primary,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body.woocommerce-account .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .myaccount-content form input {
	max-width: 394px;
}

/* Główny Wrapper - Blokuje scroll całej strony (App feel) */
.myaccount-dashboard-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;       /* Pełna wysokość okna */
    overflow: hidden;    /* Brak scrolla na body */
    background: #fff;
    font-family: inherit;
}

/* ==========================================================================
   2. LEWY PANEL (SIDEBAR)
   ========================================================================== */

.myaccount-sidebar {
    width: 316px;
    flex-shrink: 0;      /* Stała szerokość */
    height: auto;        /* Auto, żeby nie ucinało contentu */
    min-height: 100%;    
    background: #FFE5E8;
    display: flex;
    flex-direction: column;
    overflow: visible;   
    position: relative;
    z-index: 10;
    border-right: 1px solid #FFF4F4;
    box-sizing: border-box;
}

/* --- Logo --- */
.myaccount-logo {
    display: flex;
    height: 144px;       
    padding: 0 0 0 72px; 
    align-items: center; 
    border-bottom: 2px solid #FFF4F4;
    flex-shrink: 0;
}

.custom-logo-link img {
    height: 64px;
    width: auto;
    display: block;
}

/* --- Nagłówek sekcji Menu --- */
.myaccount-sidebar-tab-header h2 {
	font-size: 13px;
    padding: 32px;
    margin: 0;
}

.zyczmi-breadcrumb--text {
	color: #FF2564;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

/* ==========================================================================
   3. NAWIGACJA (ZAKŁADKI)
   ========================================================================== */

.myaccount-nav {
	width: 90%;
    display: flex;
    flex-direction: column;
	justify-content: center;
    gap: 8px;
    margin-left: 32px; 
    position: relative;
    padding-left: 16px;
}

.myaccount-nav a {
    position: relative;
    display: block;
	line-height: 1.1;
	height: 56px;
    text-decoration: none;
	border-radius: 32px; 
    color: #3B2526;
    font-size: 18px;
    font-weight: 400;
    padding: 16px 28px;
    transition: all 0.25s ease;
    white-space: nowrap;
    z-index: 20;
		transition: width 0.3s ease;
}

.myaccount-nav a.is-active,
.myaccount-nav a:hover {
    background: #2765FF;
    color: #fff;
    width: calc(100% + 54px);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

/* --- Strzałka (Pseudo-element) --- */
.myaccount-nav a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 32px;
    width: 11px;
    height: 11px;
    background: url("/wp-content/uploads/arrow-right.svg") no-repeat center / contain;
    transform: translateY(-50%);
    opacity: 0;
    transition: background 0.2s ease;
}

.myaccount-nav a:hover::after,
.myaccount-nav a.is-active::after {
    opacity: 1;
    right: 32px;
}

/* --- Przycisk Wyloguj --- */
.myaccount-logout {
    margin-top: auto;
    padding: 20px 32px;
    text-align: center;
}

.myaccount-logout a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 207px;
    margin: 0 auto;
    padding: 16px 20px 16px 16px;
    border-radius: 32px;
    background: #FF2564;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.myaccount-logout a:hover {
    background: #e01550;
}

/* Stopka Sidebara */
.myaccount-sidebar-footer {
    color: #3B2526;
    text-align: right;
    font-size: 12px;
    padding: 0 32px 64px 32px;
    margin-top: 16px;
}
.myaccount-sidebar-footer a {
    text-decoration: none;
    color: #3B2526;
    font-weight: 700;
}

/* ==========================================================================
   4. PRAWA STRONA (MAIN CONTENT)
   ========================================================================== */

.myaccount-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    z-index: 1;
}

/* --- Header Panelu --- */
.myaccount-header {
    flex-shrink: 0;
    height: 144px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 2px solid #FFF4F4;
    padding: 0 96px 0 128px;
}

.myaccount-tab-title {
    margin: 0;
    color: #3B2526;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
}

/* User Info */
.myaccount-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.myaccount-user-info-wrapper {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end;
}
.myaccount-user-name {
    font-size: 18px;
    color: #3B2526;
    font-weight: 400;
}
a.myaccount-user-name-logout {
    text-decoration: none;
    color: #FF2564;
    font-size: 15px;
}

/* --- Kontener Treści (Scrollowany) --- */
.myaccount-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 96px 40px 128px;
}

/* ==========================================================================
   5. ELEMENTY FORMULARZA I SCROLLBAR
   ========================================================================== */

/* Ukrycie pola kraju (Wsparcie dla kodu PHP) */
.zyczmi-hide-country {
    display: none !important;
}

/* Przycisk "Pokaż hasło" wewnątrz inputa */
.woocommerce-input-wrapper {
    position: relative; 
    display: block; 
}
button.show-password-input {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: #0B2770;
    font-weight: 600;
    z-index: 10;
}
/* .woocommerce-input-wrapper input[type="password"],
.woocommerce-input-wrapper input[type="text"] {
    padding-right: 60px !important;
} */

.myaccount-hamburger {
	display: none;	
}

/* =========================================
   STYLIZACJA TABELI ZAMÓWIEŃ (CARD STYLE)
   ========================================= */

/* 1. Reset i ustawienie tabeli */
table.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    border: none !important;
}

/* 2. Nagłówki (Thead) */
table.woocommerce-orders-table thead th {
    padding: 0 48px 8px;
    font-size: 12px;
    color: #3B2526;
    font-weight: 400;
    border: none !important;
    text-align: left;
}

/* 4. Stylizacja Komórek (Wnętrze karty) */
table.woocommerce-orders-table tbody td,
table.woocommerce-orders-table tbody th {
	height: 128px;
    background-color: #f6f6f6; 
    padding: 32px 48px;
    vertical-align: middle;
    border: none;
    font-size: 18px;
    color: #382626;
}

/* 5. Zaokrąglanie rogów (Efekt karty) */

/* Pierwsza komórka (Numer zamówienia) */
table.woocommerce-orders-table tbody tr td:first-child,
table.woocommerce-orders-table tbody tr th:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    font-weight: 400;
}
table.woocommerce-orders-table tbody tr td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Numer zamówienia - link */
table.woocommerce-orders-table a {
    color: #2765FF;
    text-decoration: none;
}

table.woocommerce-orders-table a:hover {
    text-decoration: underline;
}

/* 7. Ukrycie mobilnych etykiet WooCommerce (opcjonalne) */
@media (max-width: 768px) {
    .woocommerce-MyAccount-orders {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =========================================
   POWIADOMIENIA WOOCOMMERCE (ALERTY)
   ========================================= */

/* 1. Kontener powiadomień */
.woocommerce-notices-wrapper {
    width: 100%;
    margin-bottom: 24px;
    display: block;
}

/* 2. Baza dla wszystkich dymków */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	width: fit-content;
    padding: 16px 24px;
    margin: 0 0 16px 0;
    border-radius: 12px;
    position: relative;
    display: flex; 
    flex-wrap: wrap;
    align-items: center;
	gap: 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid transparent;
}

/* Linki wewnątrz powiadomień (np. "Cofnij") */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
    font-weight: 700;
    text-decoration: none;
}

/* -----------------------------------------
   TYPY POWIADOMIEŃ (KOLORYSTYKA)
   ----------------------------------------- */

/* A. SUKCES */
.woocommerce-message {
    background-color: #E8F7F3;
    color: #007F5F;
    border-color: #BEE3DB;
}
.woocommerce-message a { color: #007F5F; }

.woocommerce-message:focus-visible {
    outline: none;
}

/* B. INFO */
.woocommerce-info {
    background-color: #F0F6FF;
    color: #2765FF; 
    border-color: #D6E4FF;
}
.woocommerce-info a { color: #2765FF; }

/* C. BŁĄD */
.woocommerce-error {
    background-color: #FFE5E8; /* Bardzo jasny róż */
    color: #FF2564;            /* Twój róż */
    border-color: #FFCCD5;
}
.woocommerce-error a { color: #FF2564; }

ul.woocommerce-error {
    display: block;
}
ul.woocommerce-error li {
    padding-left: 0;
    margin-bottom: 4px;
    list-style: none;
}

/* -----------------------------------------
   PRZYCISK WEWNĄTRZ POWIADOMIENIA
   ----------------------------------------- */

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right; /* Dla pewności w starszych wersjach */
    margin-left: auto; /* Flexbox push to right */
    
    background-color: #fff !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
    line-height: 1 !important;
}

/* Kolory przycisków zależnie od tła */
.woocommerce-message .button { color: #007F5F !important; }
.woocommerce-info .button    { color: #2765FF !important; }
.woocommerce-error .button   { color: #FF2564 !important; }

/* Hover na przyciskach */
.woocommerce-message .button:hover { background-color: #007F5F !important; color: #fff !important; }
.woocommerce-info .button:hover    { background-color: #2765FF !important; color: #fff !important; }
.woocommerce-error .button:hover   { background-color: #FF2564 !important; color: #fff !important; }

/* -----------------------------------------
   MOBILE
   ----------------------------------------- */
@media (max-width: 768px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }
    
    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* --- Główny kontener siatki (Desktop) --- */
.zyczmi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
	margin-bottom: 16px;
    gap: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.hidden-fields-container {
	display: none;
}

/* --- Elementy formularza --- */
.zyczmi-grid input:not([type="submit"], [type="checkbox"]),
.zyczmi-grid textarea {
    width: 100%;
    box-sizing: border-box;
}

.zyczmi-grid .full-width {
    grid-column: 1 / -1;
}

.wpcf7-form label {
    display: block;
	margin-top: 8px;
    margin-left: 16px;
}

/* --- Stopka (zgoda+przycisk) --- */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
	margin-top: 12px;
}

.footer-acceptance {
    flex: 1;
	max-width: 396px;
}

.footer-submit {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	align-items: center;
    flex-shrink: 0;
}

/* --- Responsywność (Mobile) --- */
@media (max-width: 768px) {
    .zyczmi-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
	
	.footer-acceptance {
	max-width: 100%;
}
	
	.wpcf7-acceptance {
		font-size: 14px;
	}
	.footer-submit {
		justify-content: flex-start;
	}
	
	.footer-submit input.wpcf7-submit {
		width: fit-content!important;
	}

    /* Stopka na mobilu: jeden pod drugim */
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
		margin: 0;
    }
    
    .footer-submit {
        width: 100%; /* Przycisk na całą szerokość na telefonie */
    }
    
    .footer-submit input {
        width: 100%;
    }
}

.footer-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
	margin: 0;
    flex-shrink: 0; 
    accent-color: #FF2564; 
    cursor: pointer;
    border-radius: 4px;
}

.wrapper-side {
	display: flex;
}

/* --- CUSTOM LOGIN PAGE WRAPPER --- */
.custom-login-wrapper {
    max-width: 468px;
    margin: 96px auto;
    padding: 30px;
}

.login-logo {
	margin: 8px auto;
}

.zyczmi-h1 {
	margin: 0 0 20px 0;
}

.zyczmi-login-header {
	margin-top: 16px;
	margin-bottom: 48px;
}

.zyczmi-login-button {
	width: 100%;
}

body.woocommerce-account {
	background: #FFE4E8;
}

.login-form-row__checkbox-lostpassword {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	margin-bottom: 32px;
}

.zyczmi-form__label-for-checkbox {
	display: flex;
	gap: 10px;
}

/* Logo w loginie - nadpisanie */
.custom-login-wrapper .myaccount-logo img {
    max-width: 150px;
}

.custom-login-header p {
    margin: 5px 0;
}

.custom-login-header h2 {
    margin-bottom: 10px;
}

.custom-login-form .form-row {
    margin-bottom: 15px;
    text-align: left;
}

.custom-login-form label {
    display: block;
    margin-bottom: 5px;
}

.custom-login-form,
.custom-login-form .woocommerce-button {
    width: 100%;
}

.custom-login-form input[type="checkbox"] {
    margin-right: 5px;
}

.woocommerce-LostPassword a {
    font-size: 14px;
    text-decoration: none;
}

.custom-login-footer {
    margin-top: 20px;
	text-align: center;
}

.custom-login-footer a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
}

/* --- RESET I BAZA --- */
.custom-checkout-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    position: relative;
	padding-bottom: 128px;
}

a {
	color: #3B2526;
}

.custom-checkout-layout * {
    box-sizing: border-box;
}

/* --- LEWA STRONA (FORMULARZ) --- */
.checkout-col-left {
    flex: 1 1 45%;
    min-width: 300px;
}

/* Układ pól formularza - jedno pod drugim, czysto */
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.form-row {
    width: 100%;
    margin: 0;
}

/* --- PRAWA STRONA (ZAMÓWIENIE) --- */
.checkout-col-right {
    flex: 1 1 45%; 
    min-width: 300px;
}

/* Sticky container */
.checkout-sticky-inner {
    position: sticky;
    top: 32px; 
    background: #FFF6F9;
    padding: 48px;
    border-radius: 32px;
}

.wc-terms-checkbox {
	display: flex;
}

body.woocommerce-checkout {
    background-color: #FFE5E8;
}

button#place_order {
	margin-top: 40px;
    width: 100%;
	line-height: 1.5;
}

.woocommerce-additional-fields {
	margin-top: 54px;
}

.woocommerce-form__label-for-checkbox {
	margin-top: 8px;
	display: flex;
	gap: 10px;
}

.checkout-form-header h3{
	margin-bottom: 8px;
}

.checkout-form-header p{
	margin-bottom: 32px;
}

.wc-coupon-fields-wrapper {
	display: flex;
	gap: 10px;
}

.checkout-inline-error-message,
.coupon-error-notice {
	margin-left: 8px;
	margin-bottom: 4px;
	color: #FF4468;
	font-size: 14px;
}

/* Wymuszenie wyświetlania formularza kuponu na stałe */
.checkout_coupon.woocommerce-form-coupon {
    display: block !important;
    visibility: visible !important;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 990px) {
    .custom-checkout-layout {
        flex-direction: column;
        gap: 0;
		padding-bottom: 64px;
    }

    .checkout-col-left,
    .checkout-col-right {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
    }

    .checkout-sticky-inner {
        position: static; 
		margin-top: 40px;
		padding: 32px;
    }

    .checkout-col-right .section-header {
        display: block; 
    }
}


body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_postcode_field {
    width: calc(50% - 8px);
}

body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #billing_city_field {
    margin-left: 15px;
}

@media (max-width: 576px) {
    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field,
    body.woocommerce-checkout #billing_city_field,
    body.woocommerce-checkout #billing_postcode_field {
        width: 100%;
        margin-left: 0;
    }
}


@media (max-width: 476px) {
	.wc-coupon-fields-wrapper {
		flex-direction: column;
     	gap: 0;
}
}

/* --- TABELA BAZA --- */
.modern-checkout-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.modern-checkout-table thead {
    display: none;
}

/* --- PRODUKT (tbody) --- */
.modern-checkout-table tbody {
    display: block;
    border-bottom: 2px solid #EFC0C1;
    width: 100%;
}

.modern-checkout-table tr.cart_item {
    display: flex;
    padding: 32px 0;
    width: 100%;
}

.modern-checkout-table td.product-name {
    display: block;
    width: 100%;
    padding: 0;
}

/* Całkowite ukrycie zbędnej kolumny */
.modern-checkout-table td.product-total {
    display: none; 
}

.modern-product-wrapper {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.product-thumbnail img {
    width: 96px;
    height: auto;
}

.product-title {
    display: block;
	margin-top: 8px;
}

/* --- CENY --- */
.price-sale, .price-normal {
	color: #FF4468;
    font-weight: 700;
}

.price-old {
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin-left: 4px;
	font-size: 14px;
}

/* --- RESPONSYWNY FOOTER (sumy) --- */
.modern-checkout-table tfoot {
    display: block;
    width: 100%;
    padding-top: 16px;
}

.modern-checkout-table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.modern-checkout-table tfoot th, 
.modern-checkout-table tfoot td {
    display: block;
    padding: 0;
    border: none;
    background: none;
}

.modern-checkout-table tfoot th {
    text-align: left;
    font-weight: 400;
}

.modern-checkout-table tfoot td {
    text-align: right;
    font-weight: 700;
}

/* --- GRAND TOTAL (Kluczowa sekcja) --- */
.modern-checkout-table tr.order-total {
    border-bottom: none;
    margin-top: 10px;
}

.modern-checkout-table tr.order-total th,
.modern-checkout-table tr.order-total td {
    font-size: clamp(1.5rem, 5vw, 1.875rem);
    font-weight: 800;
}

/* --- ZNIŻKI --- */
.cart-discount th,
.cart-discount td {
    color: #FF4468;
}

/* --- MEDIA QUERIES (Mobile) --- */
@media (max-width: 480px) {
    .modern-checkout-table tfoot tr {
        flex-direction: row;
        font-size: 0.9rem;
    }
    
    .modern-product-wrapper {
        gap: 10px;
    }
    
    .product-thumbnail img {
        width: 80px;
    }
}

.woocommerce-remove-coupon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    color: transparent;
    text-decoration: none;
}

.woocommerce-remove-coupon::after {
	position: absolute;
	top: 0;
	left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FF4468" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="16" y1="8" x2="8" y2="16"/><line x1="8" y1="8" x2="16" y2="16"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Fullscreen overlay WooCommerce */
.blockUI.blockOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.85) !important;
    z-index: 999 !important;
    cursor: wait;
}

/* Wycentrowana zawartość */
.blockUI.blockOverlay:before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    margin: -50px 0 0 -21px;
    border: 4px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: wc-spin 1s linear infinite;
}

/* Tekst */
.blockUI.blockOverlay:after {
    content: "Przetwarzanie…";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 30px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: center;
    max-width: 90vw;
}

/* Animacja */
@keyframes wc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* GŁÓWNY WRAPPER */
.modern-thankyou-wrapper {
    max-width: 800px;
	background: #fff;
    margin: 0 auto;
    padding: 32px;
	border-radius: 32px;
	margin-bottom: 64px;
}

/* NAGŁÓWEK I STATUS */
.thankyou-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* PRZYCISK PANELU KLIENTA */
.btn-my-account {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
}

/* GRID Z DANYMI ZAMÓWIENIA */
.thankyou-order-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.order-detail-card {
    flex: 1 1 calc(25% - 20px); /* 4 kolumny na desktopie */
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.detail-value {
    font-size: 1.1rem;
}

/* STATUS BŁĘDU */
.thankyou-status.failed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    text-align: center;
}

.status-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .order-detail-card {
        flex: 1 1 calc(50% - 20px); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 480px) {
    .order-detail-card {
        flex: 1 1 100%; /* 1 kolumna na mobile */
        text-align: center;
    }
    
    .thankyou-order-grid {
        flex-direction: column;
    }
}

p#terms_description.checkout-inline-error-message {
	margin-top: 8px;
}

/* Stylizacja inputa z ikonką błędu */
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
    border-color: #e51e1e !important;
    background-color: #fff9f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e51e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center; /* Pozycja: 12px od prawej, wyśrodkowana w pionie */
    background-size: 20px 20px;
    padding-right: 40px !important; 
}

.woocommerce-checkout .form-row.woocommerce-invalid select {
    background-image: none;
}

.woocommerce-checkout .form-row.woocommerce-invalid label,
.woocommerce-checkout .form-row.woocommerce-invalid label a {
    color: #e51e1e;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 30, 30, 0.2);
}

/* Kontener zbiorczy powiadomień */
.woocommerce-NoticeGroup-checkout {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 456px;
    width: 90%;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Stylizacja listy błędów */
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Odstępy między błędami */
.woocommerce-error li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.woocommerce-error li:last-child {
    margin-bottom: 0;
}

.woocommerce-NoticeGroup-checkout .woocommerce-error {
    position: relative; 
    padding-right: 40px !important;
}

/* Stylizacja przycisku X */
.close-notice {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    user-select: none;
}

.close-notice:hover {
    opacity: 1;
    color: #FF4468;
}

/* Animacja wjazdu z prawej strony */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .woocommerce-NoticeGroup-checkout {
        top: auto !important; 
        bottom: 20px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
}

/* --- LAYOUT KARTY --- */
.modern-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
}

.modern-auth-card {
    width: 100%;
    max-width: 496px;
    border-radius: 16px;
}

.modern-auth-card button {
	width: 100%;
}

.auth-header h2 {
	margin-bottom: 16px;
}

.auth-header p{
	max-width: 380px;
}

.auth-header {
	margin-bottom: 32px;
}

/* --- STOPKA --- */
.auth-footer {
    margin-top: 25px;
    text-align: center;
}

.back-to-login {
    text-decoration: none;
    transition: color 0.2s;
}

.back-to-login:hover {
    color: #FF4468;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 480px) {
	.login-form-row__checkbox-lostpassword {
		font-size: 0.85em;
	}
	.zyczmi-form__label-for-checkbox,
	.login-form-row__checkbox-lostpassword {
		align-items: center;		
	}
}

.woocommerce-customer-details {
	margin: 32px 0;
}

.woocommerce-thankyou-order-received {
	max-width: 320px;
}