/* --- 1. FUNDAMENTY I ZMIENNE --- */
:root {
    --ch-bg: #fcfcfc;
    --ch-card: #ffffff;
    --ch-accent: #000000;
    --ch-border: #eef0f2;
    --ch-text-main: #1a1a1a;
    --ch-text-dim: #727272;
    --ch-radius: 16px;
    --ch-success: #10b981;
}

body { background-color: var(--ch-bg); }

.custom-checkout-layout {
    margin: 40px auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ch-text-main);
}

.checkout-columns {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 1100px) {
    .checkout-columns { grid-template-columns: 1fr; gap: 30px; }
}

/* --- 2. LEWA KOLUMNA: FORMULARZ --- */
.checkout-section-card {
    background: var(--ch-card);
    padding: 20px 0;
}

.section-header {
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--ch-border);
    padding-bottom: 20px;
}

.section-header h3 { 
    margin: 0 !important; 
    font-size: 22px !important; 
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.woocommerce-checkout input[type="text"], 
.woocommerce-checkout input[type="tel"], 
.woocommerce-checkout input[type="email"], 
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #f3f4f6 !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout input:focus {
    background-color: #ffffff !important;
    border-color: var(--ch-accent) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04) !important;
    outline: none !important;
}

/* --- 3. SIDEBAR: CAŁKOWITY RESET TABELI --- */
.sticky-sidebar {
    position: sticky;
    top: 30px;
    background: #ffffff;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout-review-order-table tr,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* --- 8. PRZYCISK ZAMÓWIENIA --- */
#place_order {
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 22px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    border: none !important;
    transition: 0.2s;
    cursor: pointer !important;
}

#place_order:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- 9. TRUST BADGES --- */
.checkout-payment-trust-badges {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--ch-border);
    text-align: center;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 28px;
    color: #444;
    margin-bottom: 10px;
}

.security-note {
    font-size: 12px;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Select2 Fix */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 15px !important;
}

















































.woocommerce .star-rating{
	float:none;
}
/* Układ Ceny */
.ks-price-display { margin-bottom: 25px; }
.ks-price-wrapper { display: flex; align-items: center; gap: 15px; }
.ks-old-price { font-size: 18px; color: #94a3b8; text-decoration: line-through; font-weight: 500; }
.ks-new-price { font-size: 32px; color: var(--ks-blue); font-weight: 800; }
.ks-main-price { font-size: 32px; color: #1e293b; font-weight: 800; }
.ks-sale-badge { background: #ef4444; color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; }

/* Przycisk Dodaj do Koszyka */
.ks-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ks-blue);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ks-add-to-cart-btn:hover { background: #000; transform: translateY(-2px); }
.ks-add-to-cart-btn.wide { width: 100%; justify-content: center; }

/* Formularz Ilości */
.ks-buy-row { display: flex; gap: 15px; align-items: center; }
.quantity input.qty {
    width: 60px; height: 54px; border-radius: 12px; border: 1px solid var(--ks-border);
    background: var(--ks-bg); text-align: center; font-weight: 700;
}

/* Tabela Produktu Grupowego */
.ks-grouped-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; border: 1px solid var(--ks-border); border-radius: 15px; overflow: hidden; }
.ks-grouped-table tr { border-bottom: 1px solid var(--ks-border); }
.ks-grouped-table td { padding: 15px; vertical-align: middle; }
.ks-label-cell label { font-weight: 600; color: #1e293b; }
.ks-price-cell { text-align: right; font-weight: 700; color: var(--ks-blue); }
.ks-qty-cell .quantity input.qty { height: 40px; width: 50px; }

/* Kafelki Informacyjne */
.ks-horizontal-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 40px 0; }
.ks-info-tile { display: flex; align-items: center; gap: 20px; background: #fff; padding: 25px; border-radius: 20px; border: 1px solid var(--ks-border); }
.ks-info-tile i { font-size: 40px; color: var(--ks-blue); }
.ks-info-tile h5 { margin: 0; font-weight: 800; }
.ks-info-tile p { margin: 5px 0 0; font-size: 14px; color: var(--ks-slate); }
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block{
	background:#ec80880d;
	padding:20px;
	border-radius:19px;
}
.wp-block-woocommerce-checkout-order-summary-block{
		background:#ec80880d;
	padding:20px;
	border-radius:19px;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: var(--wp--preset--font-size--medium, 22px);
    line-height: 27px;
	color:black;
	font-weight:700;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax{
	color:black;
	text-transform:lowercase;
	font-size:14px;
	
}
.wc-block-components-formatted-money-amount {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: black;
}
.wp-block-post-title :where(a) {
    display: inline-block;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-decoration: inherit;
	    font-family: 'Archivo', sans-serif!important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.wp-block-woocommerce-product-collection h2.wp-block-heading {
    font-size:20px;
    line-height: 20px;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: #ec80881f;
    color: #515151;
    border-top: 2px solid #ec8088;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
	border-radius:15px;
}
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    display: block;
    font-size: 17px;
	font-weight:700;
    line-height: 20px;
	text-decoration:none;
    line-height: 1.4;
    max-width: max-content;
}

.woocommerce table.shop_attributes th{
	width:30%;
}
.woocommerce table.shop_attributes td {
    font-style: normal!important;
    padding: 10px!important;
    border-top: 0;
    border-bottom: 1px dotted rgba(0, 0, 0, .1);
    margin: 0;
    line-height: 1.5;
}
table.shop_attributes th, table.woocommerce-product-attributes th {
    width: 30%;
    padding: 12px 15px;
    text-align: left;
    background: #ec80881f!important;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Stylizacja kontenera taba */
#ks-tab-atts {
    padding: 20px 0;
}

/* Główna tabela atrybutów */
table.shop_attributes, 
table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-top: 1px solid #eee; /* Delikatna linia na górze */
}

/* Stylizacja wierszy */
table.shop_attributes tr, 
table.woocommerce-product-attributes tr {
    border-bottom: 1px solid #eee;
}

/* Stylizacja lewej kolumny (Nazwa atrybutu) */
table.shop_attributes th, 
table.woocommerce-product-attributes th {
    width: 30%;
    padding: 12px 15px;
    text-align: left;
    background: #f9f9f9; /* Bardzo jasne tło dla etykiet */
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Stylizacja prawej kolumny (Wartość atrybutu) */
table.shop_attributes td, 
table.woocommerce-product-attributes td {
    padding: 12px 15px;
    font-style: normal;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Usuwamy puste akapity, jeśli WooCommerce je dodaje */
table.shop_attributes td p, 
table.woocommerce-product-attributes td p {
    margin: 0;
    padding: 0;
}

/* RWD: Responsywność dla telefonów */
@media (max-width: 600px) {
    table.shop_attributes th, 
    table.woocommerce-product-attributes th {
        width: 40%; /* Więcej miejsca na etykietę na małych ekranach */
        font-size: 0.75rem;
        padding: 10px;
    }
    
    table.shop_attributes td, 
    table.woocommerce-product-attributes td {
        padding: 10px;
        font-size: 0.85rem;
    }
}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text{
background: #ec8088;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link){
   background: #ec8088;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);  
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name{
	font-weight:700!important;
	color:#000;
	font-size:15px;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description p{
	font-size:13px;
	line-height:1.5;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 0em;
    color: #000;
    font-family: 'Arial';
    font-size: 13px;
}
.wc-blocks-components-select .wc-blocks-components-select__select{
	    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 0em;
    color: #000;
    font-family: 'Arial';
    font-size: 13px;
}
/* =================================================
   WOOCOMMERCE ARCHIVE – KRYSTALSPACE PREMIUM
================================================= */

/* --- CONTAINER --- */
.ks-shop-container {
    max-width: 1400px;
    margin: 40px auto 80px;
    padding: 0 24px;
}

/* --- GRID: SIDEBAR + CONTENT --- */
.ks-shop-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* --- BREADCRUMBS --- */
.ks-shop-breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
}

/* --- SIDEBAR --- */
.ks-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ks-sidebar .widget {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 25px;
}

.ks-sidebar .widget-title {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Kategorie */
.ks-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ks-sidebar ul li {
    margin-bottom: 8px;
}

.ks-sidebar ul li a {
    text-decoration: none;
    font-size: 14px;
    color: var(--ks-slate);
    transition: color .25s ease;
}

.ks-sidebar ul li a:hover {
    color: var(--ks-blue);
}

/* --- HEADER KATEGORII --- */
.ks-shop-header {
    margin-bottom: 45px;
}

.ks-page-title {
    margin-bottom: 15px;
}

.ks-term-description {
    color: var(--ks-slate);
    line-height: 1.7;
    max-width: 900px;
    font-size: 17px;
}

/* --- TOOLBAR --- */
.ks-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    margin-bottom: 40px;
}

.ks-result-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--ks-slate);
}

/* --- PRODUCT GRID --- */
.ks-shop-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Usunięcie floatów WooCommerce */
.ks-shop-content ul.products::before,
.ks-shop-content ul.products::after {
    display: none !important;
}

/* --- PAGINATION --- */
.ks-pagination-wrap {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.ks-pagination-wrap .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
}

/* =================================================
   RESPONSIVE
================================================= */

@media (max-width: 1150px) {
    .ks-shop-wrapper {
        grid-template-columns: 1fr;
    }

    .ks-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 850px) {
    .ks-shop-content ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .ks-sidebar {
        grid-template-columns: 1fr;
    }

    .ks-shop-content ul.products {
        grid-template-columns: 1fr !important;
    }

    .ks-shop-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        border-radius: 20px;
    }
}
/* Style dla gwiazdek na liście produktów */
.ks-card-rating .star-rating {
    font-family: 'star';
    font-size: 14px;
    position: relative;
    width: 5.4em;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    display: inline-block;
}

.ks-card-rating .star-rating::before {
    content: '\73\73\73\73\73';
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.ks-card-rating .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.ks-card-rating .star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    left: 0;
    position: absolute;
    color: #ffb400; /* Złoty kolor */
}





/* Kontener główny Moje Konto */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

/* Sidebar z nawigacją */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

/* Stan aktywny i Hover */
.woocommerce-MyAccount-navigation li:hover,
.woocommerce-MyAccount-navigation li.is-active {
    background: #f8fafc;
}

.woocommerce-MyAccount-navigation li.is-active a {
    color: #ef4444; /* Twój koralowy kolor ze screena */
    position: relative;
}

.woocommerce-MyAccount-navigation li.is-active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #ef4444;
    border-radius: 0 4px 4px 0;
}

/* Prawa kolumna z treścią */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    line-height: 1.6;
}

/* Stylizacja przywitań i linków wewnątrz treści */
.woocommerce-MyAccount-content p {
    color: #1e293b;
    font-size: 16px;
}

.woocommerce-MyAccount-content a {
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation {
        flex: 1 0 100%;
        width: 100%;
    }
}
/* Kontener siatki */
.krystal-addresses-grid {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

/* Karta adresu */
.krystal-address-card {
    flex: 1;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

/* Nagłówek wewnątrz karty - teraz osobne elementy */
.krystal-address-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.krystal-address-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    max-width: 60%; /* Zapewnia miejsce dla przycisku */
    line-height: 1.2;
}

/* Przycisk Edytuj/Dodaj */
.krystal-address-card .edit-link {
    background: #fff5f5;
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #fee2e2;
    white-space: nowrap;
}

.krystal-address-card .edit-link:hover {
    background: #ef4444;
    color: #fff;
}

/* Treść adresu */
.krystal-address-card address {
    font-style: normal;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .krystal-addresses-grid { flex-direction: column; }
}
/* Kontener pól formularza */
.woocommerce-edit-account p.form-row {
    margin-bottom: 20px;
}

/* Stylizacja etykiet (Label) */
.woocommerce-edit-account label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

/* Stylizacja pól wejściowych (Input) */
.woocommerce-edit-account input.input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: all 0.3s;
}

.woocommerce-edit-account input.input-text:focus {
    border-color: #ef4444; /* Twój koralowy */
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Naprawienie sekcji Zmiana Hasła (Fieldset) */
.woocommerce-edit-account fieldset {
    border: none;
    padding: 0;
    margin: 30px 0 0 0;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.woocommerce-edit-account fieldset legend {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    padding: 0 10px;
    margin-bottom: 20px;
    float: left; /* Naprawia dziwne zachowanie legendy w niektórych motywach */
    width: 100%;
}

/* Podpis pod wyświetlaną nazwą (Italic) */
.woocommerce-edit-account em {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-style: normal;
    font-size: 0.85rem;
}

/* Przycisk zapisu zmian */
.woocommerce-edit-account button.button {
    background-color: #ef4444;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.woocommerce-edit-account button.button:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* Układ Imię i Nazwisko w jednej linii na PC */
@media (min-width: 768px) {
    .woocommerce-edit-account p.form-row-first,
    .woocommerce-edit-account p.form-row-last {
        width: 48%;
        float: left;
    }
    .woocommerce-edit-account p.form-row-last {
        float: right;
    }
    .woocommerce-edit-account .clear {
        clear: both;
    }
}
/* Stylizacja przycisku "Zapisz preferencje" */
input[type="submit"][value="Zapisz preferencje"] {
    /* Reset domyślnych styli systemowych */
    -webkit-appearance: none;
    appearance: none;
    border: none;
    
    /* Kolory i tło */
    background-color: #ef4444; /* Twój koralowy kolor */
    color: #ffffff;
    
    /* Typografia */
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    
    /* Rozmiar i kształt */
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    
    /* Animacja i cień */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    
    /* Margines */
    margin-top: 15px;
    display: inline-block;
}

/* Efekt po najechaniu myszką */
input[type="submit"][value="Zapisz preferencje"]:hover {
    background-color: #dc2626; /* Nieco ciemniejszy czerwony */
    transform: translateY(-2px); /* Delikatne uniesienie */
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

/* Efekt w momencie kliknięcia */
input[type="submit"][value="Zapisz preferencje"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
    opacity: 0.9;
}

/* Styl dla stanu "disabled" (np. podczas wysyłania) */
input[type="submit"][value="Zapisz preferencje"]:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}
/* Stylizacja przycisku "Zresetuj hasło" */
button.woocommerce-Button.button[value="Zresetuj hasło"] {
    /* Reset tła WooCommerce */
    background: #ef4444 !important;
    color: #ffffff !important;
    
    /* Rozmiar i kształt */
    padding: 14px 30px !important;
    border-radius: 12px !important;
    border: none !important;
    
    /* Typografia */
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    
    /* Interakcja */
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
    
    /* Wyśrodkowanie jeśli potrzeba */
    display: inline-block;
    width: auto;
}

/* Efekt po najechaniu */
button.woocommerce-Button.button[value="Zresetuj hasło"]:hover {
    background-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
}

/* Efekt po kliknięciu */
button.woocommerce-Button.button[value="Zresetuj hasło"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

/* Naprawa szerokości na urządzeniach mobilnych */
@media (max-width: 480px) {
    button.woocommerce-Button.button[value="Zresetuj hasło"] {
        width: 100% !important;
        text-align: center;
    }
}
/* Kontener główny logowania/rejestracji */
.u-columns.col2-set {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

/* Stylizacja kolumn (Logowanie i Rejestracja) */
.u-column1, .u-column2 {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

/* Stylizacja etykiet i pól */
.woocommerce-form-row label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-form-row input.input-text {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.woocommerce-form-row input.input-text:focus {
    border-color: #ef4444;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Zapamiętaj mnie (Checkbox) */
.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #64748b;
    margin: 15px 0;
    cursor: pointer;
}

/* Przyciski (Zaloguj się / Zarejestruj się) */
.woocommerce-form-login .button, 
.woocommerce-form-register .button {
    width: 100%;
    background-color: #ef4444 !important;
    color: #fff !important;
    padding: 14px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.woocommerce-form-login .button:hover, 
.woocommerce-form-register .button:hover {
    background-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Link "Nie pamiętasz hasła?" */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 20px;
}

.woocommerce-LostPassword a {
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Teksty informacyjne w rejestracji */
.woocommerce-privacy-policy-text, 
.register p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 15px;
}

/* Responsywność */
@media (max-width: 768px) {
    .u-columns.col2-set {
        flex-direction: column;
    }
}
/* Kontener formularza edycji adresu */
.woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4%; /* Odstęp między kolumnami */
}

/* Stylizacja wierszy formularza */
.woocommerce-address-fields__field-wrapper .form-row {
    width: 100%; /* Domyślnie pełna szerokość */
    margin-bottom: 20px;
}

/* Pola w dwóch kolumnach (Imię/Nazwisko, Miasto/Kod pocztowy) */
@media (min-width: 768px) {
    .woocommerce-address-fields__field-wrapper .form-row-first,
    .woocommerce-address-fields__field-wrapper .form-row-last {
        width: 48%;
    }
}

/* Wygląd pól tekstowych */
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-size: 15px;
}

.woocommerce-address-fields input.input-text:focus {
    border-color: #ef4444;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Stylizacja Labeli */
.woocommerce-address-fields label {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

/* Przycisk Zapisz Adres */
.woocommerce-address-fields button.button {
    background-color: #ef4444 !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
    margin-top: 20px;
}

.woocommerce-address-fields button.button:hover {
    background-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Stylizacja selecta (Województwo/Kraj) */
.select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0 !important;
    height: 48px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
}