/*
Theme Name: Printella
Template: hello-elementor
Description: Motyw potomny Hello Elementora dla sklepu Printella. Katalog: printella, repozytorium: StevePositive/printella-theme.
Version: 5.1.0
Text Domain: printella
Domain Path: /languages
*/

/* Custom styles for Hello Child theme */

:root {
    --printella-max-width: 1400px;

    /* === Gray scale (Tailwind) === */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50:  #f9fafb;

    /* === Brand: plum === */
    --btn-primary: #6F3FA6;
    --btn-primary-hover: #5c3490;
    --btn-primary-active: #4e2b7a;
    --btn-primary-light: rgba(111, 63, 166, 0.06);
    --btn-primary-border: rgba(111, 63, 166, 0.15);

    /* === Brand: blue === */
    --btn-secondary: #3B82F6;
    --btn-secondary-hover: #2563eb;
    --btn-secondary-active: #1d4ed8;
    --btn-secondary-light: rgba(59, 130, 246, 0.06);
    --btn-secondary-border: rgba(59, 130, 246, 0.15);

    /* === Brand: pink === */
    --color-wishlist: #E63E7A;
    --color-wishlist-hover: #d42e6a;
    --color-wishlist-light: rgba(230, 62, 122, 0.08);
    --color-wishlist-border: rgba(230, 62, 122, 0.5);
    --color-wishlist-default: #cbd5e1;

    /* === Ghost === */
    --btn-ghost-color: #64748b;
    --btn-ghost-hover: #f1f5f9;

    /* === Semantic === */
    --color-success: #059669;
    --color-success-light: #ecfdf5;
    --color-error: #ef4444;
    --color-error-light: #fef2f2;
    --color-warning: #d97706;
    --color-warning-light: #fffbeb;
    --color-info: #3b82f6;
    --color-info-light: #eff6ff;

    /* === Button tokens === */
    --btn-height: 48px;
    --btn-radius: 8px;
    --btn-font-size: 15px;
    --btn-font-weight: 700;
    --btn-letter-spacing: 0.03em;
}

/* =============================================
   BUTTON SYSTEM — 3 roles
   ============================================= */

/* =============================================
   PRINTELLA OVERRIDES — .printella on body
   Specificity beats Elementor/WC/reset.css
   ============================================= */

/* Reset hello-elementor #c36 pink */
.printella a {
    color: var(--btn-secondary);
}
.printella a:hover,
.printella a:active {
    color: var(--color-wishlist);
}
/* Exclude filled buttons from pink hover — they need white text */
.printella a.btn-primary:hover,
.printella a.btn-secondary:hover,
.printella a.add_to_cart_button:hover,
.printella a.checkout-button:hover,
.printella .prnt-cart--simple a.prnt-cart-button:hover {
    color: #fff;
}
/* Outline buttons keep pink hover (via default a:hover rule) — except btn-outline which fills */
.printella a.btn-outline:hover {
    color: #fff;
}

.printella button,
.printella [type="button"],
.printella [type="submit"] {
    background-color: transparent;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--btn-radius);
    color: #64748b;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.printella button:hover,
.printella button:focus,
.printella [type="button"]:hover,
.printella [type="button"]:focus,
.printella [type="submit"]:hover,
.printella [type="submit"]:focus {
    background-color: var(--btn-ghost-hover);
    color: #334155;
    border-color: #94a3b8;
}

/* Reset Elementor button defaults */
.printella .elementor-button {
    background-color: transparent;
    color: inherit;
    border-color: currentColor;
}

/* Shared button base */
.printella .btn-primary,
.printella .btn-secondary,
.printella .btn-outline,
.printella .btn-ghost {
    height: var(--btn-height);
    border-radius: var(--btn-radius);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: var(--btn-letter-spacing);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-decoration: none;
    border: none;
}

/* 🟣 PRIMARY — decyzja zakupowa */
.printella .btn-primary {
    background-color: var(--btn-primary);
    color: #fff;
}
.printella .btn-primary:hover {
    background-color: var(--btn-primary-hover);
    color: #fff;
}
.printella .btn-primary:active {
    background-color: var(--btn-primary-active);
}

/* 🔵 SECONDARY — operacyjne / konfigurator */
.printella .btn-secondary {
    background-color: var(--btn-secondary);
    color: #fff;
}
.printella .btn-secondary:hover {
    background-color: var(--btn-secondary-hover);
    color: #fff;
}
.printella .btn-secondary:active {
    background-color: var(--btn-secondary-active);
}

/* 🔵 OUTLINE — secondary wariant z ramką */
.printella .btn-outline {
    background: transparent;
    border: 1.5px solid var(--btn-secondary);
    color: var(--btn-secondary);
}
.printella .btn-outline:hover {
    background: var(--btn-secondary);
    color: #fff;
}

/* ⚪ GHOST — neutralne / cofnięcie */
.printella .btn-ghost {
    background: transparent;
    color: var(--btn-ghost-color);
    border: none;
    font-weight: 500;
}
.printella .btn-ghost:hover {
    background: var(--btn-ghost-hover);
    color: #334155;
}

.printella,
.printella a,
.printella button,
.printella input,
.printella select,
.printella textarea,
.printella h1,
.printella h2,
.printella h3,
.printella h4,
.printella h5,
.printella h6 {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   PRINTELLA ELEMENTOR WIDGETS STYLES
   ============================================ */

/* Variant Display Widget */
.printella-variant-display {
    margin: 10px 0;
}

.printella-variant-label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

/* Dropdown Styles */
.printella-variant-dropdown-wrapper {
    margin-bottom: 15px;
}

.printella-variant-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.printella-variant-dropdown:hover {
    border-color: var(--gray-400);
}

.printella-variant-dropdown:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* PRNT Radio Button Styles */
.prnt-radio-wrapper {
    margin-bottom: 20px;
}

.prnt-radio-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

.prnt-radio-list li,
.prnt-radio-item {
    position: relative;
    list-style: none !important;
    list-style-type: none !important;
}

.prnt-radio-list li::before,
.prnt-radio-item::before {
    display: none !important;
}

.prnt-radio-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
}

.prnt-radio-label {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 8px 10px 8px 51px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    gap: 16px;
}

.prnt-radio-label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    background-color: #fff;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1;
    box-sizing: border-box;
}

.prnt-radio-label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    width: 8px;
    height: 8px;
    background-color: #6b8b6b;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s ease;
    z-index: 2;
}

.prnt-radio-input:checked + .prnt-radio-label {
    background-color: #edf2ed;
}

.prnt-radio-input:checked + .prnt-radio-label:before {
    border-color: #6b8b6b;
    background-color: #fff;
}

.prnt-radio-input:checked + .prnt-radio-label:after {
    transform: translateY(-50%) scale(1);
}

.prnt-radio-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.prnt-radio-label:hover {
    background-color: #f9f9f9;
}

.prnt-radio-label:hover:before {
    border-color: var(--gray-400);
}


.printella-variant-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.printella-variant-item {
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-200);
}

.printella-variant-item:last-child {
    border-bottom: none;
}

.printella-variant-rectangles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.printella-variant-rectangle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.printella-variant-rectangle:hover {
    background-color: #e0e0e0;
    border-color: var(--gray-300);
}

.printella-display-inline_rectangles .printella-variant-rectangles {
    display: flex;
    flex-wrap: wrap;
}

/* Product Listing Widget */
.printella-products-grid {
    display: grid;
    gap: 20px;
}

.printella-products-grid.columns-1 {
    grid-template-columns: 1fr;
}

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

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

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

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

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

@media (max-width: 768px) {
    .printella-products-grid.columns-4,
    .printella-products-grid.columns-5,
    .printella-products-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .printella-products-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .printella-products-grid {
        grid-template-columns: 1fr !important;
    }
}

.printella-product-item {
    text-align: center;
    border: 1px solid var(--gray-200);
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.printella-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.printella-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.printella-product-title {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.printella-product-title a {
    text-decoration: none;
    color: inherit;
}

.printella-product-title a:hover {
    text-decoration: underline;
}

.printella-product-price {
    margin: 10px 0;
    font-weight: bold;
}

.printella-product-button {
    margin-top: 15px;
}

.printella-product-button .button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.printella-product-button .button:hover {
    background-color: #005177;
    color: white;
}

.printella-product-button .added::after {
    content: " ✓";
    color: #46b450;
}

/* Add to Cart Widget */
.printella-add-to-cart-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.printella-add-to-cart-wrapper.printella-button-full-width {
    flex-direction: column;
    align-items: stretch;
}

.printella-add-to-cart-wrapper.printella-button-full-width .button {
    width: 100% !important;
}

.printella-cart-form {
    display: flex;
    align-items: center;
}

.printella-add-to-cart-wrapper .quantity {
    margin: 0;
}

.printella-add-to-cart-wrapper .quantity input[type="number"] {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    text-align: center;
}

/* Fix for View Cart button after adding to cart */
.printella-add-to-cart-wrapper .added_to_cart {
    display: block !important;
    width: 100%;
    margin-top: 10px;
    visibility: hidden; /* Temporarily hide View Cart button */
}

/* Prevent button shifting when View Cart appears */
.printella-add-to-cart-wrapper .add_to_cart_button {
    flex-shrink: 0;
}

/* Printella Variant Display Price and Cart Styles */
.printella-variant-price-display {
    margin: 20px 0 15px 0;
}

.printella-variant-price-display .price,
.printella-variant-price-display .price .woocommerce-Price-amount,
.woocommerce div.product .printella-variant-price-display span.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--gray-900);
}

/* Old price (strikethrough) — muted */
.printella .printella-variant-price-display .price del,
.printella .printella-variant-price-display .price del .woocommerce-Price-amount,
.printella .printella-product-price del,
.printella .printella-product-price del .woocommerce-Price-amount {
    color: #bbb;
    font-weight: 400;
    font-size: 0.87em;
    opacity: 1;
}
.printella .printella-variant-price-display .price del .woocommerce-Price-currencySymbol,
.printella .printella-product-price del .woocommerce-Price-currencySymbol {
    display: none;
}

/* Hide VAT suffix in old price */
.printella .printella-variant-price-display .price del .woocommerce-price-suffix,
.printella .printella-product-price del .woocommerce-price-suffix {
    display: none;
}

/* New price — no underline, bold */
.printella .printella-variant-price-display .price ins,
.printella .printella-product-price ins {
    text-decoration: none;
    font-weight: 700;
    color: var(--gray-900);
}

.printella-cart-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}
/* Hide "View cart" link after add-to-cart — feedback via toast/sticky */
.printella-cart-controls .added_to_cart {
    display: none;
}

.printella-cart-controls .quantity {
    margin: 0;
    flex-shrink: 0;
}

/* Quantity styles shared with .printella-quantity (see Global section below) */

.printella .printella-cart-controls .single_add_to_cart_button,
.printella .printella-cart-controls button.button.alt {
    flex: 1;
    width: auto;
    height: var(--btn-height);
    padding: 0 20px;
    background-color: var(--btn-primary);
    color: #fff;
    border: none;
    border-radius: var(--btn-radius);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    text-transform: uppercase;
    letter-spacing: var(--btn-letter-spacing);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.printella .printella-cart-controls .single_add_to_cart_button:hover:not(:disabled),
.printella .printella-cart-controls button.button.alt:hover:not(:disabled) {
    background-color: var(--btn-primary-hover);
}

.printella .printella-cart-controls .single_add_to_cart_button:active:not(:disabled),
.printella .printella-cart-controls button.button.alt:active:not(:disabled) {
    background-color: var(--btn-primary-active);
}

.printella-cart-controls .single_add_to_cart_button:disabled {
    background-color: var(--gray-300);
    cursor: not-allowed;
}

.printella-cart-controls .single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}

.printella-cart-controls .single_add_to_cart_button.added {
    background-color: var(--color-success);
    font-size: 0;
}
.printella-cart-controls .single_add_to_cart_button.added::after {
    content: 'Dodano';
    font-size: var(--btn-font-size, 15px);
}

/* Simple Product Styles */
.printella-simple-product-info {
    margin: 15px 0;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
}

/* Wishlist heart — hidden by default, visible on hover, pink when added */
.printella .jet-wishlist-button__container {
    position: relative;
    z-index: 10;
}

.printella .jet-wishlist-button__link {
    background: #fff;
    border-radius: 999px;
    padding: 6px;
}

.printella .jet-wishlist-button__link .jet-wishlist-button__plane {
    background-color: transparent;
    border-radius: 999px;
}

.printella .jet-wishlist-button__link {
    color: var(--color-wishlist, #E63E7A);
    transition: color 0.2s, transform 0.2s;
}

.printella .jet-wishlist-button__link svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 18;
    width: 16px;
    height: 16px;
}

/* Hover on product card — heart pulse */
.printella .jet-listing-grid__item:hover .jet-wishlist-button__link,
.printella .e-loop-item:hover .jet-wishlist-button__link {
    animation: prnt-heart-pulse 0.6s ease;
}

/* Hover on heart itself — scale */
.printella .jet-wishlist-button__link:hover {
    color: var(--color-wishlist);
    transform: scale(1.15);
}

/* Added to wishlist — filled pink */
.printella .jet-wishlist-button__link--added,
.printella .jet-wishlist-button__link[data-added="true"] {
    color: var(--color-wishlist);
}
.printella .jet-wishlist-button__link--added svg,
.printella .jet-wishlist-button__link[data-added="true"] svg {
    fill: var(--color-wishlist);
    stroke: var(--color-wishlist);
}

@keyframes prnt-heart-pulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* SVG fill */
.printella .jet-wishlist-button__link svg {
    fill: currentColor;
}

/* State: added — filled pink */
.printella .jet-wishlist-button__state-added {
    color: var(--color-wishlist);
}

/* Header icons (wishlist, account, cart) — pink on hover */
.printella .jet-wishlist-count-button__link:hover,
.printella .elementor-menu-cart__toggle .elementor-button:hover,
.printella .elementor-icon:hover,
.printella .jet-blocks-account__link:hover,
body.printella .elementor-widget-heading .elementor-heading-title a:hover {
    color: var(--color-wishlist);
}


/* WC buttons on listings — outline śliwka (excluding prnt-cart-button which has own styles) */
.printella .woocommerce a.button:not(.prnt-cart-button):not(.checkout-button),
.printella .woocommerce button.button:not(.prnt-cart-button):not(.checkout-button),
body.printella :where(:not(.edit-post-visual-editor)) .woocommerce a.button:not(.prnt-cart-button):not(.checkout-button) {
    background-color: #fff;
    border: 1.5px solid var(--btn-primary);
    color: var(--btn-primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    letter-spacing: var(--btn-letter-spacing);
    transition: background-color 0.2s, color 0.2s;
}
.printella .woocommerce a.button:not(.prnt-cart-button):not(.checkout-button):hover,
.printella .woocommerce button.button:not(.prnt-cart-button):not(.checkout-button):hover,
body.printella :where(:not(.edit-post-visual-editor)) .woocommerce a.button:not(.prnt-cart-button):not(.checkout-button):hover {
    background-color: var(--btn-primary);
    color: #fff;
    border-color: var(--btn-primary);
}

/* Flycart "Oszczędzasz" — usunięcie <br> przez PHP filter */

/* Qty badge (cart/wishlist count) — accent pink bubble */
.printella .elementor-button-icon-qty {
    --items-indicator-background-color: var(--color-wishlist);
    --items-indicator-text-color: #fff;
}

/* Unified WooCommerce button styles — all primary CTA buttons */
.printella .single_add_to_cart_button,
.printella .product_type_variable,
.printella .add_to_cart_button,
.printella .checkout-button,
.printella #place_order {
    background-color: var(--btn-primary);
    color: #fff;
    border: none;
    border-radius: var(--btn-radius);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    text-transform: uppercase;
    letter-spacing: var(--btn-letter-spacing);
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--btn-height);
    padding: 0 20px;
}

.printella .single_add_to_cart_button:hover,
.printella .product_type_variable:hover,
.printella .add_to_cart_button:hover,
.printella .checkout-button:hover,
.printella #place_order:hover {
    background-color: var(--btn-primary-hover);
    color: #fff;
}

.printella .single_add_to_cart_button:active,
.printella .product_type_variable:active,
.printella .add_to_cart_button:active,
.printella .checkout-button:active,
.printella #place_order:active {
    background-color: var(--btn-primary-active);
}

/* WooCommerce Messages - Minimalist Style
   (wraz z .printella-discount-panel z printella-core — stały panel rabatów) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.printella-discount-panel {
    padding: 12px 16px;
    margin: 16px 0;
    border: none !important;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
}

.woocommerce-message,
.printella-discount-panel {
    background-color: #f0f9ff;
    color: #0369a1;
    border-left: 3px solid #0ea5e9;
    max-width: var(--printella-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Checkout — białe tło */
body.woocommerce-checkout {
    background-color: #fff;
}

/* Checkout notices — delikatne tło + border */
.woocommerce-checkout div.woocommerce > .woocommerce-notices-wrapper:first-child:not(:empty) {
    padding: 0;
    max-width: var(--printella-max-width);
    margin: 1rem auto;
}
.woocommerce-checkout div.woocommerce > .woocommerce-notices-wrapper:first-child:empty {
    display: none;
}

/* Checkout discount panel */
.woocommerce-checkout div.woocommerce > .printella-discount-panel {
    max-width: var(--printella-max-width);
    margin: 1rem auto;
}

/* Checkout: ukryj WSZYSTKIE duplikaty — zostawiamy tylko pierwszy notices-wrapper + pierwszy discount-panel */
.woocommerce-checkout div.woocommerce > .woocommerce-notices-wrapper ~ .woocommerce-notices-wrapper,
.woocommerce-checkout div.woocommerce > [data-elementor-id="1377"],
.woocommerce-checkout #awdr_checkout_promotion_messages,
.woocommerce-checkout div.woocommerce > .printella-discount-panel ~ .printella-discount-panel {
    display: none !important;
}

.woocommerce-error {
    background-color: var(--color-error-light);
    color: var(--color-error);
    border-left: 3px solid var(--color-error);
}

/* Checkout notice group — constrain width */
.woocommerce-NoticeGroup-checkout {
    max-width: var(--printella-max-width, 1400px);
    margin: 0 auto 16px;
}

.woocommerce-info {
    background-color: #f8fafc;
    color: #475569;
    border-left: 3px solid #64748b;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    display: none;
}

.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-message a:hover,
.woocommerce-error a:hover,
.woocommerce-info a:hover {
    text-decoration: none;
}


/* ============================================
   PRODUCT IMAGE HOVER WIDGET
   ============================================ */

.prnt-product-image-hover {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.prnt-product-image-hover .prnt-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.prnt-product-image-hover img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.prnt-product-image-hover .prnt-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prnt-product-image-hover:hover .prnt-hover-image {
    opacity: 1;
}

/* Sale Badge (scoped to image hover widget — lowest-variant-price.css has its own) */
.prnt-product-image-hover .prnt-sale-badge {
    position: absolute;
    z-index: 10;
    padding: 5px 10px;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Badge Positions */
.prnt-badge-top-left .prnt-sale-badge {
    top: 10px;
    left: 10px;
}

.prnt-badge-top-right .prnt-sale-badge {
    top: 10px;
    right: 10px;
}

.prnt-badge-bottom-left .prnt-sale-badge {
    bottom: 10px;
    left: 10px;
}

.prnt-badge-bottom-right .prnt-sale-badge {
    bottom: 10px;
    right: 10px;
}

/* ============================================
   PRINTELLA QUANTITY INPUT (Global — product + cart)
   ============================================ */

.printella .printella-quantity,
.printella .product-quantity {
    margin: 0;
    flex-shrink: 0;
}

.printella .quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    height: var(--btn-height, 48px);
}

.printella .quantity-wrapper input[type="number"],
.printella .quantity-wrapper input.qty {
    width: 44px;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: #fff;
    -moz-appearance: textfield;
}

.printella .quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.printella .quantity-wrapper input[type="number"]::-webkit-inner-spin-button,
.printella .quantity-wrapper input.qty::-webkit-outer-spin-button,
.printella .quantity-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.printella .quantity-wrapper .quantity-btn {
    width: 36px;
    height: 100%;
    border: none;
    border-radius: 0;
    background: var(--gray-50);
    color: var(--gray-500);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    line-height: 1;
    user-select: none;
}

.printella .quantity-wrapper .quantity-btn:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Shipping - minimal display */
.printella-shipping-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.printella-shipping-label {
    font-weight: normal;
}

/* Shipping info tooltip icon (next to "Wysyłka" label) */
.cart_totals .shipping th,
.woocommerce-shipping-totals th {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.printella-shipping-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    cursor: help;
    position: relative;
}

.printella-shipping-info:hover {
    color: var(--gray-500);
}

.printella-shipping-info svg {
    display: block;
    width: 14px;
    height: 14px;
}

/* Custom tooltip */
.printella-shipping-info::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: translateY(-8px);
    background: var(--gray-700);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 250px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    pointer-events: none;
}

.printella-shipping-info::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 10px;
    transform: translateY(0);
    border: 6px solid transparent;
    border-top-color: var(--gray-700);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
}

.printella-shipping-info:hover::after,
.printella-shipping-info:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Hide native title tooltip */
.printella-shipping-info[title] {
    -webkit-touch-callout: none;
}

/* Hide shipping calculator on cart */
.woocommerce-shipping-calculator {
    display: none;
}

/* Hide shipping destination text */
.woocommerce-shipping-destination {
    display: none;
}

/* Order total styling - .includes_tax removed via PHP filter */

/* Cart item variation details */
.woocommerce-cart-form .variation,
.shop_table .variation,
.woocommerce-cart-form .wc-item-meta,
.shop_table .wc-item-meta {
    font-size: 13px;
}

/* ============================================
   CHECKOUT BILLING FORM - Postcode + City inline
   ============================================ */

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    flex: 0 0 100%;
    max-width: 100%;
}

/* First name + Last name: 50% each */
.woocommerce-billing-fields__field-wrapper #billing_first_name_field,
.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
    flex: 0 0 calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
}

/* Phone + Email: 100% each */
.woocommerce-billing-fields__field-wrapper #billing_phone_field,
.woocommerce-billing-fields__field-wrapper #billing_email_field {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Kod pocztowy: 160px na sztywno.
   Pływająca etykieta „Kod pocztowy" mierzy 105px w jednej linii, a pole ma po 20px
   paddingu — czyli minimum 145px. Przy dawnych 20% wychodziło 121px, etykieta łamała
   się na dwie linie i nachodziła na pole. Wartość w pikselach, nie w procentach, bo
   wymaganie bierze się z długości tekstu, nie z szerokości kolumny. */
.woocommerce-billing-fields__field-wrapper #billing_postcode_field {
    flex: 0 0 160px;
    max-width: 160px;
}

/* Miasto: reszta wiersza */
.woocommerce-billing-fields__field-wrapper #billing_city_field {
    flex: 1 1 auto;
    max-width: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper #billing_postcode_field {
        flex: 0 0 160px;
        max-width: 160px;
    }

    .woocommerce-billing-fields__field-wrapper #billing_city_field {
        flex: 1 1 auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .woocommerce-billing-fields__field-wrapper #billing_first_name_field,
    .woocommerce-billing-fields__field-wrapper #billing_last_name_field,
    .woocommerce-billing-fields__field-wrapper #billing_phone_field,
    .woocommerce-billing-fields__field-wrapper #billing_email_field,
    .woocommerce-billing-fields__field-wrapper #billing_postcode_field,
    .woocommerce-billing-fields__field-wrapper #billing_city_field {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============================================
   CHECKOUT SHIPPING FORM - Same layout as billing
   ============================================ */

.woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
}

.woocommerce-shipping-fields__field-wrapper .form-row {
    flex: 0 0 100%;
    max-width: 100%;
}

/* First name + Last name: 50% each */
.woocommerce-shipping-fields__field-wrapper #shipping_first_name_field,
.woocommerce-shipping-fields__field-wrapper #shipping_last_name_field {
    flex: 0 0 calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
}

/* Kod pocztowy: 160px na sztywno.
   Pływająca etykieta „Kod pocztowy" mierzy 105px w jednej linii, a pole ma po 20px
   paddingu — czyli minimum 145px. Przy dawnych 20% wychodziło 121px, etykieta łamała
   się na dwie linie i nachodziła na pole. Wartość w pikselach, nie w procentach, bo
   wymaganie bierze się z długości tekstu, nie z szerokości kolumny. */
.woocommerce-shipping-fields__field-wrapper #shipping_postcode_field {
    flex: 0 0 160px;
    max-width: 160px;
}

/* Miasto: reszta wiersza */
.woocommerce-shipping-fields__field-wrapper #shipping_city_field {
    flex: 1 1 auto;
    max-width: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .woocommerce-shipping-fields__field-wrapper #shipping_postcode_field {
        flex: 0 0 160px;
        max-width: 160px;
    }

    .woocommerce-shipping-fields__field-wrapper #shipping_city_field {
        flex: 1 1 auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .woocommerce-shipping-fields__field-wrapper #shipping_first_name_field,
    .woocommerce-shipping-fields__field-wrapper #shipping_last_name_field,
    .woocommerce-shipping-fields__field-wrapper #shipping_postcode_field,
    .woocommerce-shipping-fields__field-wrapper #shipping_city_field {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Country field - reduce padding */
#billing_country_field .select2-selection,
#shipping_country_field .select2-selection,
#billing_country_field select,
#shipping_country_field select {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    min-height: auto !important;
    height: auto !important;
}

#billing_country_field .select2-selection__rendered,
#shipping_country_field .select2-selection__rendered {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.5 !important;
}

#billing_country_field .select2-selection__arrow,
#shipping_country_field .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: auto !important;
}

/* ============================================
   APACZKA PLUGIN COMPATIBILITY
   Ensure map modal displays correctly
   ============================================ */

/* Apaczka map modal - ensure proper display */
.apaczka_pl_geowidget_modal {
    z-index: 999999 !important;
}

.apaczka_pl_geowidget_modal_inner {
    width: 90% !important;
    height: 80% !important;
    min-width: 320px !important;
    min-height: 400px !important;
}

#apaczka_pl_geowidget_modal_inner_content {
    width: 100% !important;
    height: calc(100% - 40px) !important;
    min-height: 350px !important;
}

/* BPWidget map container */
#apaczka_pl_geowidget_modal_inner_content #BPWidget,
.apaczka_pl_geowidget_modal #BPWidget {
    width: 100% !important;
    height: 100% !important;
    min-height: 350px !important;
}

/* Leaflet map container */
#apaczka_pl_geowidget_modal_inner_content .leaflet-container,
.apaczka_pl_geowidget_modal .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px !important;
}

/* Ensure Apaczka elements are visible on checkout */
.apaczka-parcel-machine,
.apaczka-parcel-machine-select,
#apaczka_pl_geowidget_classic,
#selected-parcel-machine {
    display: block !important;
}

.apaczka-parcel-machine-select {
    padding-bottom: 20px;
}

#apaczka_pl_geowidget_classic.apaczka-hidden,
#selected-parcel-machine.apaczka-hidden {
    display: none !important;
}

/* ============================================
   FAKTUROWNIA INVOICE FIELDS
   Custom checkbox with input outside label
   ============================================ */

/* Checkbox wrapper - flexbox layout */
.printella-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Checkbox input */
.printella-checkbox-wrapper input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

/* Checkbox label - override Elementor/JetWooBuilder border with ID selector */
#billing_faktura_field .printella-checkbox-label {
    margin: 0;
    padding: 0;
    border: 0;
    border-width: 0;
    border-style: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-800);
}

/* Company field inside checkbox container */
#billing_faktura_field #billing_company_field {
    margin-top: 15px;
    margin-left: 0;
    padding-left: 0;
}

/* NIP field inside checkbox container */
#billing_faktura_field #billing_nip_field {
    margin-top: 10px;
    margin-left: 0;
    padding-left: 0;
}

/* Hide "(opcjonalne)" / "(optional)" text from invoice fields */
#billing_company_field .optional,
#billing_nip_field .optional {
    display: none;
}

/* ============================================
   CHECKOUT: Order review "cardify"
   ============================================ */

/* === Order review: reset "śmieci" (linie, tło, odstępy) === */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table * {
    box-sizing: border-box;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* usuń archaiczne obramowania z motywu */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table tr {
    border: 0 !important;
    background: transparent !important;
}

/* nagłówków nie potrzebujemy */
.woocommerce-checkout-review-order-table thead {
    display: none !important;
}

/* ================================
   ORDER REVIEW: ONE CARD CONTAINER
   ================================ */

/* KARTA dla listy produktów */
.woocommerce-checkout-review-order-table tbody {
    display: block;
    padding: 15px 25px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Każdy produkt = WIERSZ (bez własnej karty) */
.woocommerce-checkout-review-order-table tbody tr.cart_item {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas: "name total";
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    margin: 0 !important;
    padding: 15px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Separator tylko POMIĘDZY wierszami */
.woocommerce-checkout-review-order-table tbody tr.cart_item + tr.cart_item {
    border-top: 1px solid var(--gray-100);
}

/* komórki przypisujemy do obszarów */
.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name {
    grid-area: name;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total,
.printella .woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total .amount {
    grid-area: total;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    align-self: start;
}

/* === Order review: ukryj stary wariant (WooCommerce dodaje go po naszym wrapperze) === */
.woocommerce-checkout-review-order-table td.product-name dl.variation,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta {
    display: none !important;
}

/* usuń ×1 w tekście (zostaje bubble) */
.woocommerce-checkout-review-order-table .product-quantity {
    display: none !important;
}

/* Kill margins inside product-name */
.woocommerce-checkout-review-order-table td.product-name * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* === Layout: miniatura + tekst === */
.printella-review-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.printella-review-item__thumb {
    position: relative;
    width: 56px;
    flex: 0 0 auto;
}

.printella-review-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: rgba(0,0,0,.03);
}

/* bubble ilości */
.printella-review-qty {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* tytuł + meta */
.printella-review-item__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding-left: 10px;
}

.printella-review-title {
    font-weight: 600;
    font-size: 1em;
    line-height: 1.2;
}

/* Variant badges (pills — spójne z koszykiem) */
.printella-review-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.printella-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6875rem;
    line-height: 1.4;
    padding: 3px 8px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}
.printella-review-badge__label {
    color: var(--gray-500);
    font-weight: 400;
}
.printella-review-badge__value {
    color: #444;
    font-weight: 500;
}

/* Scale badge — violet accent */
.printella-review-badge--scale {
    background: #f3f2ff;
    border-color: #e0defc;
}
.printella-review-badge--scale .printella-review-badge__label {
    color: #7a7aaa;
}
.printella-review-badge--scale .printella-review-badge__value {
    color: #4a4a7a;
    font-weight: 600;
}

/* ================================
   ORDER REVIEW: COMPACT MODE
   ================================ */

.printella-compact .woocommerce-checkout-review-order-table tbody {
    padding: 10px 12px;
}

.printella-compact .woocommerce-checkout-review-order-table tbody tr.cart_item {
    padding: 10px 0 !important;
    row-gap: 4px;
}

.printella-compact .printella-review-item__thumb,
.printella-compact .printella-review-thumb {
    width: 48px;
    height: 48px;
}

/* ================================
   ORDER REVIEW: TFOOT / PODSUMOWANIE
   ================================ */

.woocommerce-checkout-review-order-table tfoot {
    display: block;
    margin-top: 14px;
}

.woocommerce-checkout-review-order-table tfoot tr {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--gray-100);
}

/* usuń wszelkie pseudo-linie z motywu */
.woocommerce-checkout-review-order-table tfoot tr::before,
.woocommerce-checkout-review-order-table tfoot tr::after,
.woocommerce-checkout-review-order-table tfoot th::before,
.woocommerce-checkout-review-order-table tfoot th::after,
.woocommerce-checkout-review-order-table tfoot td::before,
.woocommerce-checkout-review-order-table tfoot td::after {
    content: none !important;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

.printella .woocommerce-checkout-review-order-table tfoot tr.order-total {
    font-size: 1.05em;
}

/* Ukryj dopisek "zawiera X VAT" */
.woocommerce-checkout-review-order-table .includes_tax {
    display: none !important;
}

/* ============================
   SHIPPING METHODS (Modivo-like)
   ============================ */

/* Kontener: jedna "karta" na metody wysyłki */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.shipping td {
    padding-top: 8px;
}

/* Sama lista metod wysyłki */
.woocommerce-checkout-review-order-table ul#shipping_method {
    margin: 0;
    padding: 12px 14px;
    list-style: none;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    background: #fff;
    overflow: hidden;
    width: 100%;
    max-width: none;
}

/* ===============================
   SHIPPING – clean grid layout
   =============================== */

/* Separator tylko między wierszami */
.woocommerce-checkout-review-order-table ul#shipping_method li + li {
    border-top: 1px solid var(--gray-100);
}

.woocommerce-checkout ul#shipping_method li {
    display: grid;
    grid-template-columns: 28px 1fr auto; /* radio | name | price */
    column-gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.woocommerce-checkout ul#shipping_method li:hover {
    background: var(--gray-50);
}

/* radio - custom styled */
.woocommerce-checkout ul#shipping_method li > input[type="radio"] {
    --selected-border: #3B82F6;
    --selected-bg: var(--color-info-light);

    grid-column: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background-color .15s;
}

.woocommerce-checkout ul#shipping_method li > input[type="radio"]:checked {
    border-color: var(--selected-border);
    background: var(--selected-bg);
}

.woocommerce-checkout ul#shipping_method li > input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--selected-border);
}

.woocommerce-checkout ul#shipping_method li > input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.1);
}

/* label rozciąga się od kolumny 2 do 3, wewnątrz flex wyrównuje nazwę do lewej, cenę do prawej */
.woocommerce-checkout ul#shipping_method li > label {
    grid-column: 2 / 4;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    gap: 12px;
    cursor: pointer;
}

/* cena - wyrównana do prawej dzięki margin-left: auto w flexbox */
.woocommerce-checkout ul#shipping_method li > label .woocommerce-Price-amount {
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    margin-left: auto;
}

/* opis pod nazwą - wyrównany do lewej, zaczyna od kolumny 2, rozciąga się do 3 */
.woocommerce-checkout ul#shipping_method li > p.shipping-method-description {
    grid-column: 2 / 4;
    justify-self: start;
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.78;
    margin: 0;
}

/* Stan aktywny — niebieski outline + delikatny tint */
.woocommerce-checkout-review-order-table ul#shipping_method li:has(input[type="radio"]:checked) {
    background: #fbfdff;
    border: 1.5px solid #3c82f699;
    border-radius: 10px;
    margin: -1px;
}

/* Tło aktywnego wiersza na całą szerokość karty */
.woocommerce-checkout-review-order-table ul#shipping_method li {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
}

/* Logos w label */
.woocommerce-checkout-review-order-table ul#shipping_method label img {
    height: 22px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: inline-block;
    order: -1;
}

/* ============================
   APACZKA / "Wybierz punkt" button
   ============================ */

.woocommerce-checkout-review-order-table .apaczka-pickup-point,
.woocommerce-checkout-review-order-table .apaczka_select_point,
.woocommerce-checkout-review-order-table .apaczka-point-select,
.woocommerce-checkout-review-order-table button[id*="apaczka"],
.woocommerce-checkout-review-order-table a[id*="apaczka"],
.woocommerce-checkout-review-order-table .printella-apaczka-button {
    grid-column: 2 / -1;
    justify-self: center;
    margin-top: 14px;
}

/* Odstęp w td */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td > * + * {
    margin-top: 10px;
}

/* =========================
   SHIPPING ROW: remove left column (th) and make td full width
   ========================= */

/* SHIPPING ROW as block layout */
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table tfoot tr.shipping {
    display: block !important;
}

/* th ukryte (nie zabiera miejsca) */
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tfoot tr.shipping th {
    display: none !important;
}

/* td 100% */
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tfoot tr.shipping td {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =========================================================
   CHECKOUT PAYMENTS – SAFE LIST STYLE
   - nie odkrywa ukrytych metod (nie dotyka display li)
   - label w jednej linii, bez ucinania logotypów
   - payment_box widoczny tylko dla zaznaczonej metody
   ========================================================= */

/* Usuń domyślne fioletowe tło z sekcji płatności */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0;
}

/* Karta dla listy metod płatności */
.woocommerce-checkout #payment ul.payment_methods {
    margin: 0;
    padding: 12px 14px;
    list-style: none;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    background: #fff;
    overflow: hidden;
}

/* Usuń border z każdego elementu i rozszerz na całą szerokość karty */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    padding: 18px 14px !important;
    margin: 0 -14px !important;
    border-bottom: 0 !important;
}

/* ...i dodaj separator tylko między kolejnymi metodami */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method + li.wc_payment_method {
    border-top: 1px solid var(--gray-100);
}

/* radio - custom styled */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    --selected-border: #3B82F6;
    --selected-bg: var(--color-info-light);

    -webkit-appearance: none;
    appearance: none;
    width: 22px !important;
    height: 22px !important;
    margin: 0 14px 0 0 !important;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background-color .15s;
    vertical-align: middle;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:checked {
    border-color: var(--selected-border);
    background: var(--selected-bg);
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--selected-border);
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.1);
}

/* label: jedna linia, brak obcinania (żeby nie ucinać logo P24) */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    vertical-align: middle;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

/* obrazki metod */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label img {
    display: inline-block !important;
    vertical-align: middle !important;
    max-height: 28px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

/* -------- Payment box visibility logic (ONLY active method) -------- */

/* Domyślnie chowamy panele (nie na sztywno !important, żeby nie popsuć JS bramek) */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > .payment_box {
    display: none;
    margin: 12px 0 0 0 !important;
    padding: 0 0 0 36px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Pokazuj tylko przy zaznaczonym radiu */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:checked ~ .payment_box {
    display: block;
}

/* usuń "dymek" */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > .payment_box::before,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > .payment_box::after {
    content: none !important;
    display: none !important;
}

/* ===== BLIK: clean up ===== */

/* Hide BLIK instructions and timer */
.woocommerce-checkout #payment li.payment_method_stripe_blik .payment_box ol,
.woocommerce-checkout #payment li.payment_method_stripe_blik .blik-timer-container {
    display: none;
}

/* Code inputs: horizontal row, compact */
.woocommerce-checkout #payment li.payment_method_stripe_blik .wc-stripe-blik-code {
    display: flex;
    gap: 4px;
    align-items: center;
}

.woocommerce-checkout #payment li.payment_method_stripe_blik .wc-stripe-blik-code .form-row {
    margin: 0;
    padding: 0;
    width: auto;
}

.woocommerce-checkout #payment li.payment_method_stripe_blik .wc-stripe-blik-code input.blik-code {
    width: 32px !important;
    height: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
}

.woocommerce-checkout #payment li.payment_method_stripe_blik .wc-stripe-blik-code input.blik-code:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    outline: none;
}

/* ===== Stripe card form: layout + spacing ===== */

/* wrapper payment_box dla Stripe */
.woocommerce-checkout #payment li.payment_method_stripe > .payment_box,
.woocommerce-checkout #payment li.payment_method_stripe_cc > .payment_box,
.woocommerce-checkout #payment li.payment_method_stripe_card > .payment_box {
    padding-left: 36px !important; /* jak reszta metod */
}

/* Kontener Stripe w payment_box */
.woocommerce-checkout #payment .wc-stripe-gateway-container {
    max-width: 680px;
}

/* Wiele instalacji Woo Stripe używa tych klas dla pól */
.woocommerce-checkout #payment .wc-stripe-gateway-container .form-row {
    margin: 0 0 14px 0 !important;
}

/* Ustawiamy siatkę dla pól karty: numer (2 kolumny), data, cvc */
.woocommerce-checkout #payment .wc-stripe-gateway-container .wc-stripe-card-elements,
.woocommerce-checkout #payment .wc-stripe-gateway-container .stripe-card-group,
.woocommerce-checkout #payment .wc-stripe-gateway-container .wc-stripe-card-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

/* Jeśli wtyczka ma oddzielne wiersze, też to złapiemy */
.woocommerce-checkout #payment .wc-stripe-gateway-container .form-row-first {
    width: auto !important;
}
.woocommerce-checkout #payment .wc-stripe-gateway-container .form-row-last {
    width: auto !important;
}

/* StripeElement — domyślnie bez ramki (local payments) */
.woocommerce-checkout #payment .StripeElement,
.woocommerce-checkout #payment .StripeElement--focus,
.woocommerce-checkout #payment .StripeElement--invalid {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Karta (stripe_cc) — przywróć ramkę */
.woocommerce-checkout #payment li.payment_method_stripe_cc .StripeElement {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 12px 14px;
    min-height: 44px;
}
.woocommerce-checkout #payment li.payment_method_stripe_cc .StripeElement iframe {
    height: 24px !important;
}
.woocommerce-checkout #payment li.payment_method_stripe_cc .StripeElement--focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}
.woocommerce-checkout #payment li.payment_method_stripe_cc .StripeElement--invalid {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

/* Responsywność: na mobile w kolumnie */
@media (max-width: 640px) {
    .woocommerce-checkout #payment .wc-stripe-gateway-container .wc-stripe-card-elements,
    .woocommerce-checkout #payment .wc-stripe-gateway-container .stripe-card-group,
    .woocommerce-checkout #payment .wc-stripe-gateway-container .wc-stripe-card-container {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   APACZKA – Wybierz punkt FIX
   (pewne wyrównanie do lewej)
   =========================== */

/* Apaczka: oryginalne <tr> ukryte — content przenoszony JS-em do wybranej metody wysyłki */
.woocommerce-checkout-review-order-table tr.apaczka-parcel-machine {
    display: none !important;
}

/* Apaczka selector wewnątrz shipping method <li> */
.printella-apaczka-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    grid-column: 1 / -1;
    width: 100%;
}

/* Apaczka cloned button — outline blue, fill on hover */
.printella .printella-apaczka-btn-clone {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    float: none;
    background: #fff;
    background-image: none;
    color: #3B82F6;
    border: 1.5px solid #3B82F6 !important;
    border-radius: var(--btn-radius, 8px);
    box-shadow: none !important;
    text-shadow: none;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    justify-self: end;
}
.printella .printella-apaczka-btn-clone:hover {
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6 !important;
}

/* Apaczka original panel in <tr> — hidden (clone in <li> shows rebuilt version) */
.printella tr.apaczka-parcel-machine #selected-parcel-machine {
    display: none;
}
/* Clone panel + hidden inputs — collapsed */
.printella-apaczka-inline .printella-apaczka-panel,
.printella-apaczka-inline input[type="hidden"] {
    display: none;
}

/* Apaczka clean point display (built by JS) */
.printella-apaczka-point {
    text-align: left;
    order: -1;
}
.printella-apaczka-point__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}
.printella-apaczka-point__desc,
.printella-apaczka-point__address {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-500);
    margin-top: 2px;
    line-height: 1.3;
}

/* "Punkt wybrany ✓" — flash confirmation on button */
.printella .printella-apaczka-btn--confirmed {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* "Zmień punkt" — ghost style */
.printella .printella-apaczka-btn--change {
    background: transparent;
    color: var(--gray-500);
    border-color: var(--gray-300) !important;
    font-size: 12px !important;
    padding: 6px 12px;
    text-transform: none;
    letter-spacing: 0;
}
.printella .printella-apaczka-btn--change:hover {
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6 !important;
}


/* =========================
   PODSUMOWANIE (tylko 3 wiersze)
   ========================= */

/* tfoot jako blok */
.printella .woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
}

/* wspólne reguły dla wierszy podsumowania */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-subtotal,
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-shipping,
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount,
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    padding: 10px 0;
    border: 0;
    background: transparent;
}

/* separator między wierszami (oprócz total) */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-subtotal,
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-shipping,
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount {
    border-bottom: 1px solid var(--gray-100);
}

/* th = etykieta (lewa) */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-subtotal > th,
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-shipping > th,
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount > th,
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total > th {
    display: block;
    width: auto;
    padding: 0;
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-800);
    text-align: left;
    border: 0;
    background: transparent;
}

/* td = kwota (prawa) */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-subtotal > td,
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-shipping > td,
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total > td {
    display: block;
    width: auto;
    padding: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-800);
    text-align: right;
    border: 0;
    background: transparent;
}

/* order-total — divider via border-bottom on preceding row + spacing */
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total {
    padding-top: 14px;
}
/* Divider przed Do zapłaty — nadpisuje reset wyżej */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-shipping + tr.order-total,
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount + tr.order-total {
    border-top: 1px solid var(--gray-200) !important;
    padding-top: 14px;
}
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total > th {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total > td {
    font-weight: 600;
    font-size: 18px;
    color: #111;
}

/* ukryj dopisek „(w tym VAT …)" */
.printella .woocommerce-checkout-review-order-table tfoot tr.order-total .includes_tax {
    display: none;
}

/* usuń strong wokół ceny w podsumowaniu */
.printella .woocommerce-checkout-review-order-table tfoot tr.printella-summary-subtotal td strong {
    font-weight: 600;
}

/* kupon — kwota zielona */
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount > td {
    display: block;
    width: auto;
    padding: 0;
    font-weight: 500;
    font-size: 15px;
    color: #2e7d32;
    text-align: right;
    border: 0;
    background: transparent;
}
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount .woocommerce-remove-coupon {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: none;
    margin-left: 6px;
}
.printella .woocommerce-checkout-review-order-table tfoot tr.cart-discount .woocommerce-remove-coupon:hover {
    color: var(--color-wishlist, #E63E7A);
}

/* 1. Zabijamy wpływ strong tylko w order-total */
.woocommerce-checkout-review-order-table tr.order-total strong {
    font-weight: inherit;
}

/* 2. Kontrolujemy wagę i rozmiar tam, gdzie trzeba */
.woocommerce-checkout-review-order-table tr.order-total td {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

/* 3. Opcjonalnie: trochę oddechu */
.woocommerce-checkout-review-order-table tr.order-total {
    padding-top: 12px;
}

/* Ship to different address checkbox */
.elementor-1351 .elementor-element.elementor-element-75f4041 .woocommerce-shipping-fields #ship-to-different-address,
.elementor-1351 .elementor-element.elementor-element-75f4041 .woocommerce-shipping-fields #ship-to-different-address label {
    font-size: 18px;
}

/* =========================
   Thank You Page - Global Font
   ========================= */
.woocommerce-order-received .woocommerce,
.woocommerce-order-received .woocommerce *,
.woocommerce-order-received h1.entry-title,
.woocommerce-order-received .entry-title {
    font-family: "Montserrat", sans-serif;
}

/* =========================
   Thank You Page - Order Overview Card
   ========================= */
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details,
.woocommerce .elementor-jet-thankyou-order ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    gap: 20px 32px;
    list-style: none;
    padding: 30px !important;
    margin: 0 0 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

/* pseudo-elements (clearfix) become grid items -> remove them */
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details::before,
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details::after {
    content: none !important;
    display: none !important;
}

/* Woo often floats li's in order overview -> must disable for grid */
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(0,0,0,.55);
    border-right: 1px solid var(--gray-100);
    padding-right: 24px !important;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li:last-child {
    border-right: none;
    padding-right: 0 !important;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li strong {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: rgba(0,0,0,.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Make total stand out */
.woocommerce-order-overview__total strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000;
}

/* Hide payment method (moved to address section) */
.woocommerce-order-overview__payment-method {
    display: none !important;
}

@media (max-width: 1023px) {
    .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
        padding: 24px;
    }
}

@media (max-width: 639px) {
    .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        border-radius: 12px;
    }
}

/* =========================
   Thank You Page - Order Details Table
   ========================= */
.woocommerce-order-details table.shop_table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100%;
    border: 0 !important;
}

/* table header (Produkt / Łącznie) */
.woocommerce-order-details table.shop_table thead {
    border-bottom: 1px solid var(--gray-100);
}

.woocommerce-order-details table.shop_table thead th {
    border: 0 !important;
    padding: 10px 16px 14px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(0,0,0,.75);
}

.woocommerce-order-details table.shop_table tbody tr,
.woocommerce-order-details table.shop_table tbody tr.order_item {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Separator only BETWEEN rows (like checkout) */
.woocommerce-order-details table.shop_table tbody tr + tr,
.woocommerce-order-details table.shop_table tbody tr.order_item + tr.order_item {
    border-top: 1px solid var(--gray-100);
}

/* Remove any WooCommerce alternating row styles */
.woocommerce-order-details table.shop_table tbody tr:nth-child(odd),
.woocommerce-order-details table.shop_table tbody tr:nth-child(even),
.woocommerce-order-details table.shop_table tbody tr.order_item,
.woocommerce-order-details table.shop_table tbody tr.woocommerce-table__line-item,
.woocommerce-order-details .shop_table tbody tr,
.printella-order-details .shop_table tbody tr,
.printella-order-details tbody tr.order_item,
.printella-order-table tbody tr.order_item {
    background: transparent !important;
    background-color: transparent !important;
}

.woocommerce-order-details table.shop_table td,
.woocommerce-order-details table.shop_table th {
    border: 0 !important;
    padding: 14px 16px !important;
    vertical-align: top;
    background: transparent !important;
    background-color: transparent !important;
}

/* product cell - unified with checkout */
.woocommerce-order-details table.shop_table td.woocommerce-table__product-name a,
.woocommerce-table__product-name > a {
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1em;
    color: rgba(0,0,0,.92);
    transition: color 0.2s;
}
.woocommerce-order-details table.shop_table td.woocommerce-table__product-name a:hover,
.woocommerce-table__product-name > a:hover {
    color: var(--color-wishlist, #E63E7A);
}
.woocommerce-order-details table.shop_table tbody tr.order_item:hover {
    background: var(--gray-50);
}

/* Variant label: font-weight 500, value: normal */
.woocommerce-order-details table.shop_table td.woocommerce-table__product-name strong {
    font-weight: 500;
    color: rgba(0,0,0,.7);
}

.woocommerce-order-details table.shop_table .wc-item-meta {
    font-size: 0.95em;
    color: rgba(0,0,0,.7);
}

.woocommerce-order-details table.shop_table .wc-item-meta li {
    font-weight: 400;
}

.woocommerce-order-details table.shop_table .wc-item-meta li strong,
.woocommerce-order-details table.shop_table .wc-item-meta li p:first-child {
    font-weight: 500;
}

/* right column (price) align */
.woocommerce-order-details table.shop_table td.woocommerce-table__product-total,
.woocommerce-order-details table.shop_table tfoot td {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
}

/* kill the vertical divider vibe */
.woocommerce-order-details table.shop_table thead th:last-child,
.woocommerce-order-details table.shop_table tbody td:last-child,
.woocommerce-order-details table.shop_table tfoot td:last-child {
    border-left: 0 !important;
}

/* Divider pod ostatnim produktem */
.woocommerce-order-details table.shop_table tbody {
    border-bottom: none;
}

/* Order totals card (nasz div — bez JetWooBuilder) */
.printella-order-totals {
    width: 50%;
    margin-left: auto;
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.printella-order-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
}
.printella-order-totals__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}
.printella-order-totals__value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: right;
}
.printella-order-totals__value .shipped_via {
    display: none;
}

/* Thank-you overview: hide payment method row */
.woocommerce-thankyou-order-details li.woocommerce-order-overview__payment-method,
.woocommerce-thankyou-order-details li.method {
    display: none;
}
/* Ukryj "(zawiera VAT)" i "Oszczędzasz" inline */
.printella-order-totals__value .includes_tax {
    display: none;
}
.printella-order-totals__value .awdr-you-saved-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #16a34a;
    margin-top: 2px;
}

/* Total row — podbity */
.printella-order-totals__total {
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
    margin-top: 6px;
}
.printella-order-totals__total .printella-order-totals__label {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}
.printella-order-totals__total .printella-order-totals__value {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

@media (max-width: 768px) {
    .printella-order-totals {
        width: 100%;
    }
}

/* Order tfoot — karta 50% po prawej */
.printella .woocommerce-order-details table.shop_table tfoot {
    display: block;
    width: 50%;
    float: right;
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.printella .woocommerce-order-details table.shop_table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border: 0 !important;
    background: transparent !important;
}
.printella .woocommerce-order-details table.shop_table tfoot th {
    display: block;
    width: auto;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-align: left;
    background: transparent !important;
    border: 0 !important;
}
.printella .woocommerce-order-details table.shop_table tfoot td {
    display: block;
    width: auto;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: right;
    background: transparent !important;
    border: 0 !important;
}

/* Total row (last) — podbity */
.printella .woocommerce-order-details table.shop_table tfoot tr:last-child {
    border-top: 1px solid var(--gray-200) !important;
    padding-top: 12px;
    margin-top: 6px;
}
.printella .woocommerce-order-details table.shop_table tfoot tr:last-child th {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}
.printella .woocommerce-order-details table.shop_table tfoot tr:last-child td {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

@media (max-width: 768px) {
    .printella .woocommerce-order-details table.shop_table tfoot {
        width: 100%;
        float: none;
    }
}

/* VAT row - subtle styling */
.woocommerce-order-details table.shop_table tfoot tr.vat-row th,
.woocommerce-order-details table.shop_table tfoot tr.vat-row td {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0,0,0,.5);
    padding-top: 6px !important;
    padding-bottom: 10px !important;
}

/* Order total row - make it stand out */
.woocommerce-order-details table.shop_table tfoot tr.order-total-row th,
.woocommerce-order-details table.shop_table tfoot tr.order-total-row td {
    font-size: 17px;
    font-weight: 700;
    color: rgba(0,0,0,.9);
    padding-top: 14px !important;
}

/* Shipping row - label and price same weight */
.woocommerce-order-details table.shop_table tfoot tr.shipping-row th,
.woocommerce-order-details table.shop_table tfoot tr.shipping-row td {
    font-size: 14px;
    font-weight: 600;
}

/* Hide "(zawiera X VAT)" text in order total */
.woocommerce-order-details table.shop_table tfoot .includes_tax,
.woocommerce-order-details table.shop_table tfoot small.includes_tax,
.printella-order-details tfoot .includes_tax {
    display: none !important;
}

@media (max-width: 640px) {
    .woocommerce-order-details table.shop_table thead {
        display: none !important;
    }

    .woocommerce-order-details table.shop_table tbody tr {
        display: grid;
        grid-template-columns: 1fr;
    }

    .woocommerce-order-details table.shop_table td.woocommerce-table__product-total {
        text-align: left;
        padding-top: 0 !important;
        color: rgba(0,0,0,.9);
    }
}

/* =========================
   Thank You Page - Hide payment method from order overview (moved to address section)
   ========================= */
.woocommerce-order-overview__payment-method {
    display: none !important;
}


/* Status column styling */
.woocommerce-order-overview__status strong {
    color: #79b91a;
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
}

/* Status column - processing/completed state (checkmark before text) */
body.status-processing .woocommerce-order-overview__status strong::before,
body.status-completed .woocommerce-order-overview__status strong::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}

/* Status column - pending/on-hold state (hourglass icon + yellow background) */
body.status-pending .woocommerce-order-overview__status strong,
body.status-on-hold .woocommerce-order-overview__status strong {
    background: #fff8e6;
    padding: 6px 12px;
    border-radius: 6px;
    color: #92400e;
}

body.status-pending .woocommerce-order-overview__status strong::before,
body.status-on-hold .woocommerce-order-overview__status strong::before {
    content: "\23F3";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

@media (max-width: 1023px) {
    .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================
   Thank You Page - Printella Order Details (with thumbnails)
   ========================= */

/* Container card */
.printella-order-details {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    margin-bottom: 24px;
}

.printella-order-details .woocommerce-order-details__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Table styles */
.printella-order-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.printella-order-table thead {
    border-bottom: 1px solid var(--gray-100);
}

.printella-order-table thead th {
    border: 0 !important;
    padding: 0 12px 14px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(0,0,0,.5);
    text-align: left;
}

.printella-order-table thead th.product-thumbnail {
    width: 70px;
    padding-left: 0 !important;
}

.printella-order-table thead th.product-quantity {
    width: 70px;
    text-align: center;
}

.printella-order-table thead th.product-total {
    text-align: right;
    padding-right: 0 !important;
}

/* Table body - no alternating background, reset borders */
.printella-order-table tbody tr,
.printella-order-details table tbody tr,
.printella-order-details .printella-order-table tbody tr,
.woocommerce-table--order-details tbody tr,
table.order_details tbody tr,
table.order_details tbody tr.order_item {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Separator only BETWEEN rows (like checkout) */
.printella-order-table tbody tr + tr,
.printella-order-details table tbody tr + tr,
.printella-order-details .printella-order-table tbody tr + tr,
.woocommerce-table--order-details tbody tr + tr,
.woocommerce-table--order-details tbody tr.order_item + tr.order_item,
table.order_details tbody tr + tr,
table.order_details tbody tr.woocommerce-table__line-item + tr.woocommerce-table__line-item {
    border-top: 1px solid var(--gray-100);
}

/* Remove any WooCommerce alternating row styles */
.printella-order-table tbody tr:nth-child(odd),
.printella-order-table tbody tr:nth-child(even),
.printella-order-table tbody tr.order_item,
.printella-order-table tbody tr.woocommerce-table__line-item {
    background: transparent !important;
    background-color: transparent !important;
}

.printella-order-table td,
.printella-order-details table td,
.printella-order-details .printella-order-table td {
    border: 0 !important;
    padding: 16px 12px !important;
    vertical-align: middle;
    background: transparent !important;
    background-color: transparent !important;
}

/* Thumbnail column */
.printella-order-table td.product-thumbnail {
    width: 70px;
    padding-left: 0 !important;
}

.printella-order-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: rgba(0,0,0,.03);
}

.printella-order-thumb-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0,0,0,.05);
}

/* Product name column */
.printella-order-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.printella-order-item-name {
    font-weight: 600;
    font-size: 1em;
    line-height: 1.3;
    color: rgba(0,0,0,.92);
}

.printella-order-item-name a {
    text-decoration: none !important;
    color: inherit;
}

.printella-order-item-name a:hover {
    color: #79b91a;
}

.printella-order-item-meta {
    font-size: 0.95em;
    color: rgba(0,0,0,.7);
    line-height: 1.4;
}

.printella-order-item-meta p {
    margin: 0 !important;
}

/* Variant label bold, value normal */
.printella-order-item-meta strong,
.printella-order-item-meta b {
    font-weight: 500;
}

.printella-order-item-meta .wc-item-meta,
.printella-order-details .wc-item-meta {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.printella-order-item-meta .wc-item-meta li {
    font-weight: 400;
}

.printella-order-item-meta .wc-item-meta li strong,
.printella-order-item-meta .wc-item-meta li p:first-child {
    font-weight: 500;
}

/* Quantity column */
.printella-order-table td.product-quantity {
    width: 70px;
    text-align: center;
}

.printella-order-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(0,0,0,.06);
    font-weight: 600;
    font-size: 14px;
    color: rgba(0,0,0,.8);
}

/* Total column */
.printella-order-table td.product-total {
    text-align: right;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    padding-right: 0 !important;
}

/* Table footer */
.printella-order-table tfoot {
    border-top: 1px solid var(--gray-100);
}

.printella-order-table tfoot tr {
    border: 0 !important;
}

.printella-order-table tfoot th,
.printella-order-table tfoot td {
    border: 0 !important;
    padding: 6px 0 !important;
}

.printella-order-table tfoot th {
    font-weight: 500;
    color: rgba(0,0,0,.6);
    text-align: left;
}

.printella-order-table tfoot td {
    text-align: right;
    font-weight: 600;
}

.printella-order-table tfoot tr:last-child th,
.printella-order-table tfoot tr:last-child td {
    font-size: 17px;
    font-weight: 700;
    padding-top: 16px !important;
    color: rgba(0,0,0,.92);
}

/* Order actions */
.woocommerce-order-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .printella-order-details {
        padding: 16px;
    }

    .printella-order-table thead {
        display: none !important;
    }

    .printella-order-table tbody tr {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "thumb name"
            "thumb qty-total";
        gap: 4px 12px;
        padding: 16px 0;
    }

    .printella-order-table td {
        padding: 0 !important;
    }

    .printella-order-table td.product-thumbnail {
        grid-area: thumb;
        width: auto;
    }

    .printella-order-table td.product-name {
        grid-area: name;
    }

    .printella-order-table td.product-quantity {
        grid-area: qty-total;
        width: auto;
        text-align: left;
    }

    .printella-order-table td.product-total {
        grid-area: qty-total;
        justify-self: end;
    }

    .printella-order-qty {
        min-width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .printella-order-table tfoot th[colspan] {
        display: none;
    }

    .printella-order-table tfoot tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* =========================
   Thank You Page - Customer Details (3 card columns)
   ========================= */
.woocommerce-customer-details .woocommerce-columns--addresses,
.woocommerce-customer-details .woocommerce-columns--3,
.woocommerce-customer-details .col3-set {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.woocommerce-customer-details .woocommerce-columns--addresses > div,
.woocommerce-customer-details .col3-set > div {
    float: none !important;
    width: auto !important;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 24px !important;
}

.woocommerce-customer-details .woocommerce-column__title {
    font-weight: 600;
    margin: 0 0 16px 0;
    padding: 0;
    text-transform: none;
}

.woocommerce-customer-details address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0,0,0,.9);
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Contact info section (phone + email) */
.woocommerce-customer-details--contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: 14px;
    color: rgba(0,0,0,.7);
}

.woocommerce-customer-details--contact .woocommerce-customer-details--phone,
.woocommerce-customer-details--contact .woocommerce-customer-details--email {
    display: block;
}

/* Invoice label styling */
.billing-invoice-label {
    color: rgba(0,0,0,.92);
}

.billing-nip {
    color: rgba(0,0,0,.7);
    font-size: 14px;
}

/* Payment method card styling */
.woocommerce-column--payment-method .payment-method-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.woocommerce-column--payment-method .payment-method-logo {
    width: 56px;
    height: 36px;
    object-fit: contain;
}

.woocommerce-column--payment-method .payment-method-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(0,0,0,.9);
}

/* Pay button for unpaid orders */
.woocommerce-column--payment-method .pay-button {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 16px;
    background: #141418;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.woocommerce-column--payment-method .pay-button:hover {
    background: #79b91a;
    color: #fff;
}

/* Shipping method card styling */
.woocommerce-column--shipping-address .shipping-method-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-column--shipping-address .shipping-method-name {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: rgba(0,0,0,.9);
}

.woocommerce-column--shipping-address .shipping-method-name strong {
    font-weight: 600;
}

/* Pickup point ID styling */
.woocommerce-column--shipping-address .pickup-point-id {
    display: inline;
    font-weight: 400;
    font-size: 15px;
    color: rgba(0,0,0,.7);
    margin-left: 6px;
}

.woocommerce-column--shipping-address .pickup-point-id::before {
    content: "•";
    margin-right: 6px;
    color: rgba(0,0,0,.4);
}

@media (max-width: 768px) {
    .woocommerce-customer-details .woocommerce-columns--addresses,
    .woocommerce-customer-details .col3-set {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================
   Order Pay Page - Printella Custom
   ========================= */
.printella-order-pay-page {
    max-width: 800px;
    margin: 0 auto;
}

.printella-order-pay-page .printella-order-details {
    margin-bottom: 32px;
}

/* Payment section */
.printella-payment-section {
    padding: 0;
}

.printella-payment-section .woocommerce-column__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Payment methods list - matching checkout style */
.printella-payment-section ul.payment_methods {
    margin: 0 0 24px 0;
    padding: 12px 14px;
    list-style: none;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    background: #f5f3ff;
    overflow: hidden;
}

.printella-payment-section ul.payment_methods li.wc_payment_method {
    padding: 18px 14px !important;
    margin: 0 -14px !important;
    border-bottom: 0 !important;
}

.printella-payment-section ul.payment_methods li.wc_payment_method + li.wc_payment_method {
    border-top: 1px solid var(--gray-100);
}

/* Radio - custom styled like checkout */
.printella-payment-section ul.payment_methods li.wc_payment_method > input[type="radio"] {
    --selected-border: #3B82F6;
    --selected-bg: var(--color-info-light);

    -webkit-appearance: none;
    appearance: none;
    width: 22px !important;
    height: 22px !important;
    margin: 0 14px 0 0 !important;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.printella-payment-section ul.payment_methods li.wc_payment_method > input[type="radio"]:checked {
    border-color: var(--selected-border);
    background: var(--selected-bg);
}

.printella-payment-section ul.payment_methods li.wc_payment_method > input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--selected-border);
}

.printella-payment-section ul.payment_methods li.wc_payment_method > input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.1);
}

/* Label styling like checkout */
.printella-payment-section ul.payment_methods li.wc_payment_method > label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    vertical-align: middle;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.printella-payment-section ul.payment_methods li.wc_payment_method > label img {
    display: inline-block !important;
    vertical-align: middle !important;
    max-height: 28px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

/* Payment box visibility */
.printella-payment-section ul.payment_methods li.wc_payment_method > .payment_box {
    display: none;
    margin: 12px 0 0 0 !important;
    padding: 0 0 0 36px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.printella-payment-section ul.payment_methods li.wc_payment_method > input[type="radio"]:checked ~ .payment_box {
    display: block;
}

.printella-payment-section ul.payment_methods li.wc_payment_method > .payment_box::before,
.printella-payment-section ul.payment_methods li.wc_payment_method > .payment_box::after {
    content: none !important;
    display: none !important;
}

.printella-payment-section .payment_box p {
    margin: 0;
    font-size: 14px;
    color: rgba(0,0,0,.7);
}

/* Place order row */
.printella-payment-section .place-order {
    margin-top: 24px;
}

/* Terms checkbox */
.printella-payment-section .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

.printella-payment-section .woocommerce-terms-and-conditions-wrapper label {
    font-size: 14px;
    color: rgba(0,0,0,.7);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .printella-payment-section ul.payment_methods {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .printella-payment-section ul.payment_methods li.wc_payment_method {
        padding: 14px 12px !important;
        margin: 0 -12px !important;
    }

    .printella-payment-section .payment_box {
        padding-left: 0 !important;
    }
}

/* =========================
   ProductCard — reusable (prnt-card)
   ========================= */
.prnt-card {
    display: flex;
    flex-direction: column;
    border: 2px solid #F3F4F6;
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.prnt-card a {
    color: inherit;
    text-decoration: none;
}
.prnt-card a:hover {
    color: inherit;
}
.prnt-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

/* Image */
.prnt-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-50);
}
.prnt-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s;
}
.prnt-card:hover .prnt-card__image img {
    transform: scale(1.03);
}

/* Wishlist heart */
.prnt-card__wishlist,
.printella .prnt-card__wishlist,
.printella button.prnt-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: var(--color-wishlist, #E63E7A);
    z-index: 10;
    padding: 6px;
    transition: transform 0.2s;
}
.prnt-card__wishlist:hover,
.printella .prnt-card__wishlist:hover,
.printella button.prnt-card__wishlist:hover {
    background: #fff;
    color: var(--color-wishlist, #E63E7A);
    border: none;
    transform: scale(1.15);
}
/* Heart outline (not on wishlist) */
.prnt-card__wishlist svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 18;
    width: 16px;
    height: 16px;
}
/* Heart filled (on wishlist) */
.prnt-card__wishlist.is-active svg {
    fill: var(--color-wishlist, #E63E7A);
    stroke: var(--color-wishlist, #E63E7A);
    stroke-width: 0;
}

/* Body */
.prnt-card__body {
    padding: 15px 15px 0;
    text-align: center;
}
.prnt-card__title {
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    line-height: 1.4;
}
.prnt-card__title:hover {
    color: var(--color-wishlist, #E63E7A);
}
.prnt-card__collection {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* Footer */
.prnt-card__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: center;
    gap: 10px;
    border-top: 1px solid #F3F4F6;
    padding: 10px;
    margin-top: auto;
    border-radius: 0 0 15px 15px;
}

/* Price */
.prnt-card__price {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
}
.prnt-card__price .prnt-lowest-price-amount,
.prnt-card__price .woocommerce-Price-amount {
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
}
.prnt-card__price .prnt-price-prefix {
    font-family: "Montserrat", Sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--gray-400);
}

/* Button */
.prnt-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
}
.prnt-card__btn--variable {
    background: rgba(230, 62, 122, 0.08);
    border: 1px solid rgba(230, 62, 122, 0.3);
    color: #c2185b;
}
.prnt-card__btn--variable:hover,
.prnt-card:hover .prnt-card__btn--variable {
    background: var(--color-wishlist, #E63E7A);
    border-color: var(--color-wishlist, #E63E7A);
    color: #fff;
}
.prnt-card__btn--simple {
    background: transparent;
    border: 1.5px solid #6F3FA6;
    color: #6F3FA6;
}
.prnt-card__btn--simple:hover,
.prnt-card:hover .prnt-card__btn--simple {
    background: #6F3FA6;
    border-color: #6F3FA6;
    color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .prnt-card__footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 8px;
    }
    .prnt-card__price {
        justify-content: center;
    }
    .prnt-card__btn {
        width: 100%;
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* =========================
   Search — pole w nagłówku (formularz natywny)
   ========================= */
/* Wypełnia rodzica w kontenerach flex Elementora */
.elementor-widget-shortcode:has(.printella-search) {
    width: 100%;
}
.e-con:has(.printella-search) {
    flex-grow: 1;
}
.printella-search {
    position: relative;
    width: 100%;
}
/* Etykieta pola wyszukiwania — czytana przez czytniki ekranu, niewidoczna wzrokowo.
   Definiujemy u siebie, bo `theme.css` motywu nadrzędnego bywa wyłączony w ustawieniach. */
.printella-search .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.printella-search__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.printella-search__icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    z-index: 1;
    color: var(--gray-400);
    pointer-events: none;
}
.printella-search__input,
.printella input[type="search"].printella-search__input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    font-size: 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 999px;
    background: #fff;
    color: var(--gray-800);
    outline: none;
    transition: border-color 0.2s;
}
.printella-search__input:focus {
    border-color: var(--gray-300);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.printella-search__input::placeholder {
    color: var(--gray-400);
}

/* =========================
   Search Results Page
   ========================= */
.printella-search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}
.printella-search-page__header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
}
.printella-search-page__count {
    font-size: 14px;
    color: var(--gray-400);
    margin: -16px 0 24px;
}

/* Lista wyników — jeden wzorzec dla tkanin, stron i wpisów, bo wyszukiwarka
   nie zawęża typu treści i wynik dowolnego rodzaju musi wyglądać tak samo. */
.printella-search-results {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.printella-search-result {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-100);
}
.printella-search-result:last-child {
    border-bottom: none;
}
.printella-search-result__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gray-50);
}
.printella-search-result__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.printella-search-result__body {
    min-width: 0;
}
.printella-search-result__type {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.printella-search-result__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
}
.printella-search-result__title:hover {
    text-decoration: underline;
}
.printella-search-result__excerpt {
    font-size: 14px;
    color: var(--gray-400);
    margin: 4px 0 0;
}

.printella-search-page__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}
.printella-search-page__empty svg {
    margin: 0 auto 16px;
}
.printella-search-page__empty p {
    font-size: 16px;
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .printella-search {
        max-width: 100%;
    }
    .printella-search-result__thumb {
        width: 56px;
        height: 56px;
    }
}
/* =========================
   My Account — clean cards + blue buttons
   ========================= */

/* My Account — bottom margin */
.printella .woocommerce-account .woocommerce {
    margin-bottom: 60px;
}

/* === Layout — flex: nav + content === */
body.woocommerce-account.printella .woocommerce {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation {
    width: 220px;
    flex-shrink: 0;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

/* === Navigation — vertical sidebar card === */
body.woocommerce-account.printella .woocommerce-MyAccount-navigation {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 12px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li {
    margin-bottom: 2px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li a:hover {
    color: var(--gray-700);
    background: var(--gray-50);
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li.is-active a {
    color: var(--btn-secondary, #3B82F6);
    background: rgba(59, 130, 246, 0.08);
    font-weight: 600;
}

/* Wyloguj — ghost button */
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 13px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-align: center;
    background: transparent;
}
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: var(--gray-500);
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* === Page heading === */
body.woocommerce-account.printella .woocommerce > h2:first-child,
body.woocommerce-account.printella .entry-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 24px 0 32px;
}

/* === Content cards === */
body.woocommerce-account.printella .woocommerce-MyAccount-content > h2,
body.woocommerce-account.printella .woocommerce-MyAccount-content > h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 16px;
}

/* Card wrapper for sections */
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
body.woocommerce-account.printella .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-address-fields {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
}

/* === Buttons — secondary blue === */
body.woocommerce-account.printella .woocommerce-MyAccount-content .button,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account.printella .woocommerce-MyAccount-content a.button,
body.woocommerce-account.printella .woocommerce-MyAccount-content button.button,
body.woocommerce-account.printella .woocommerce-MyAccount-content input[type="submit"] {
    background: var(--btn-secondary, #3B82F6);
    color: #fff;
    border: none;
    border-radius: var(--btn-radius, 8px);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account.printella .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account.printella .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account.printella .woocommerce-MyAccount-content input[type="submit"]:hover {
    background: var(--btn-secondary-hover, #2563eb);
    color: #fff;
}

/* All My Account buttons — force secondary blue */
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.button,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content button.button,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content input[type="submit"] {
    background: var(--btn-secondary, #3B82F6);
    border: 1.5px solid var(--btn-secondary, #3B82F6);
    color: #fff;
}
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content input[type="submit"]:hover {
    background: var(--btn-secondary-hover, #2563eb);
    border-color: var(--btn-secondary-hover, #2563eb);
    color: #fff;
}

/* "Zobacz" — outline blue */
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.button.view,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.woocommerce-button.button.view {
    background: transparent;
    border: 1.5px solid var(--btn-secondary, #3B82F6);
    color: var(--btn-secondary, #3B82F6);
    padding: 8px 16px;
    font-size: 13px;
}
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.button.view:hover,
body.woocommerce-account.printella .woocommerce .woocommerce-MyAccount-content a.woocommerce-button.button.view:hover {
    background: var(--btn-secondary, #3B82F6);
    border-color: var(--btn-secondary, #3B82F6);
    color: #fff;
}

/* === Orders — card layout === */
body.woocommerce-account.printella .prnt-orders__title {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900, #111827);
}
body.woocommerce-account.printella .prnt-orders {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
body.woocommerce-account.printella .prnt-order-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
}
/* Card header */
body.woocommerce-account.printella .prnt-order-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
body.woocommerce-account.printella .prnt-order-card__number {
    font-size: 18px;
    font-weight: 600;
    color: var(--btn-secondary, #3B82F6);
    text-decoration: none;
}
body.woocommerce-account.printella .prnt-order-card__number:hover {
    color: var(--btn-secondary-hover, #2563eb);
}
body.woocommerce-account.printella .prnt-order-card__date {
    font-size: 14px;
    color: var(--gray-500);
}
body.woocommerce-account.printella .prnt-order-card__status {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    background: var(--gray-100);
    color: var(--gray-500);
}
body.woocommerce-account.printella .prnt-order-card__status--processing { background: var(--color-info-light); color: #2563eb; }
body.woocommerce-account.printella .prnt-order-card__status--completed { background: var(--color-success-light); color: var(--color-success); }
body.woocommerce-account.printella .prnt-order-card__status--on-hold { background: #fffbeb; color: var(--color-warning); }
body.woocommerce-account.printella .prnt-order-card__status--cancelled,
body.woocommerce-account.printella .prnt-order-card__status--failed { background: var(--color-error-light); color: var(--color-error); }
body.woocommerce-account.printella .prnt-order-card__status--refunded { background: #faf5ff; color: #7c3aed; }

/* Card body */
body.woocommerce-account.printella .prnt-order-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
body.woocommerce-account.printella .prnt-order-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}
body.woocommerce-account.printella .prnt-order-card__total {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}
body.woocommerce-account.printella .prnt-order-card__count {
    font-size: 13px;
    color: var(--gray-400);
}

/* Card footer */
body.woocommerce-account.printella .prnt-order-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}
body.woocommerce-account.printella .prnt-order-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
body.woocommerce-account.printella .prnt-order-card__action {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    background: var(--btn-secondary, #3B82F6);
    border: none;
    border-radius: 6px;
    transition: background 0.2s;
}
body.woocommerce-account.printella .prnt-order-card__action:hover {
    background: var(--btn-secondary-hover, #2563eb);
    color: #fff;
}

/* Hide "Oszczędzasz" */
body.woocommerce-account.printella .prnt-order-card .awdr-you-saved-text {
    display: none;
}

/* Pagination — chevron arrows + page info */
body.woocommerce-account.printella .prnt-orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
body.woocommerce-account.printella .prnt-orders-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-700);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
body.woocommerce-account.printella .prnt-orders-pagination__btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
body.woocommerce-account.printella .prnt-orders-pagination__btn--disabled {
    color: var(--gray-300);
    cursor: default;
    pointer-events: none;
}
body.woocommerce-account.printella .prnt-orders-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: background 0.2s;
}
body.woocommerce-account.printella .prnt-orders-pagination__page:hover {
    background: var(--gray-100);
}
body.woocommerce-account.printella .prnt-orders-pagination__page--current {
    background: var(--gray-100);
    color: var(--btn-secondary, #3B82F6);
    font-weight: 600;
}
body.woocommerce-account.printella .prnt-orders-pagination__page--current:hover {
    background: var(--gray-100);
}

/* Thumbs */
body.woocommerce-account.printella .prnt-order-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
body.woocommerce-account.printella .prnt-order-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}
body.woocommerce-account.printella .prnt-order-thumbs-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 600;
}
body.woocommerce-account.printella .prnt-order-thumbs-fabric {
    margin-left: 4px;
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

/* === Reorder — inline expand === */

/* Toggle button */
body.woocommerce-account.printella .prnt-reorder-toggle {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--btn-secondary, #3B82F6);
    background: transparent;
    border: 1px solid var(--btn-secondary, #3B82F6);
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
body.woocommerce-account.printella .prnt-reorder-toggle:hover {
    background: rgba(59, 130, 246, 0.06);
}
body.woocommerce-account.printella .prnt-reorder-toggle.is-open {
    background: rgba(59, 130, 246, 0.06);
}
body.woocommerce-account.printella .prnt-reorder-icon {
    flex-shrink: 0;
}

/* Expand */
body.woocommerce-account.printella .prnt-reorder-expand {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

/* Panel */
body.woocommerce-account.printella .prnt-reorder-panel {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 16px;
}

/* Item list */
body.woocommerce-account.printella .prnt-reorder-items {
}
body.woocommerce-account.printella .prnt-reorder-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    cursor: default;
    font-size: 14px;
    color: var(--gray-800);
}
body.woocommerce-account.printella .prnt-reorder-item:last-child {
    border-bottom: none;
}
body.woocommerce-account.printella .prnt-reorder-item--disabled {
    opacity: 0.5;
}
body.woocommerce-account.printella .prnt-reorder-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--btn-secondary, #3B82F6);
    cursor: pointer;
}
body.woocommerce-account.printella .prnt-reorder-item--disabled input[type="checkbox"] {
    cursor: not-allowed;
}
body.woocommerce-account.printella .prnt-reorder-item__thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
}
body.woocommerce-account.printella .prnt-reorder-item__thumb--empty {
    background: var(--gray-100);
    display: inline-block;
}
body.woocommerce-account.printella .prnt-reorder-item__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}
body.woocommerce-account.printella .prnt-reorder-item__meta {
    font-size: 13px;
    color: var(--gray-400);
    white-space: nowrap;
}
body.woocommerce-account.printella .prnt-reorder-item__badge {
    font-size: 12px;
    color: var(--color-error);
    background: var(--color-error-light);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
body.woocommerce-account.printella .prnt-reorder-item__single {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--btn-secondary, #3B82F6);
    background: transparent;
    border: 1px solid var(--btn-secondary, #3B82F6);
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
body.woocommerce-account.printella .prnt-reorder-item__single:hover {
    background: var(--btn-secondary, #3B82F6);
    color: #fff;
}
body.woocommerce-account.printella .prnt-reorder-item__single:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
body.woocommerce-account.printella .prnt-reorder-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--gray-200);
}
body.woocommerce-account.printella .prnt-reorder-counter {
    font-size: 13px;
    color: var(--gray-500);
}
body.woocommerce-account.printella .prnt-reorder-cta {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--btn-secondary, #3B82F6);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
body.woocommerce-account.printella .prnt-reorder-cta:hover {
    background: var(--btn-secondary-hover, #2563eb);
}
body.woocommerce-account.printella .prnt-reorder-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === Detail reorder (view-order page) === */
.printella-order-details table.shop_table.printella-order-table {
    border-bottom: none;
    margin: 0 -1px 0 0;
}
.prnt-detail-reorder {
    padding: 0 0 16px;
    border-bottom: 1px solid var(--gray-200);
}
.prnt-detail-reorder__header {
    display: flex;
    justify-content: flex-end;
}
.prnt-detail-reorder__panel {
    margin-top: 16px;
}
/* Large thumbnails in detail view */
body.woocommerce-account.printella .prnt-reorder-item__thumb--lg {
    width: 72px;
    height: 72px;
    border-radius: 8px;
}
/* Item info stacked (name + fabric) */
body.woocommerce-account.printella .prnt-reorder-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
body.woocommerce-account.printella .prnt-reorder-item__info .prnt-reorder-item__name {
    white-space: normal;
}
/* Quantity input group */
body.woocommerce-account.printella .prnt-reorder-item__qty {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
body.woocommerce-account.printella .prnt-reorder-qty__btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-700);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
body.woocommerce-account.printella .prnt-reorder-qty__btn:hover {
    background: var(--gray-100);
}
body.woocommerce-account.printella .prnt-reorder-qty__minus {
    border-radius: 6px 0 0 6px;
}
body.woocommerce-account.printella .prnt-reorder-qty__plus {
    border-radius: 0 6px 6px 0;
}
body.woocommerce-account.printella .prnt-reorder-qty__input {
    width: 48px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    -moz-appearance: textfield;
    appearance: textfield;
    background: #fff;
}
body.woocommerce-account.printella .prnt-reorder-qty__input::-webkit-inner-spin-button,
body.woocommerce-account.printella .prnt-reorder-qty__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* === Toast === */
.prnt-toast {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 360px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: auto;
}
.prnt-toast--visible {
    transform: translateY(0);
    opacity: 1;
}
.prnt-toast--success {
    background: var(--color-success);
}
.prnt-toast--error {
    background: var(--color-error);
}
.prnt-toast a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 600;
}
.prnt-toast a:hover {
    opacity: 0.85;
}

/* === Sticky bar === */
.prnt-sticky-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    z-index: 9998;
    width: calc(100% - 32px);
    max-width: 1200px;
    background: #fff;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}
.prnt-sticky-bar--visible {
    transform: translateX(-50%) translateY(0);
}
.prnt-sticky-bar a {
    color: var(--btn-secondary, #3B82F6);
    font-weight: 600;
    text-decoration: none;
}
.prnt-sticky-bar a:hover {
    text-decoration: underline;
}

/* === Addresses — 2 cards side by side === */
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account.printella .woocommerce-MyAccount-content .u-columns,
body.woocommerce-account.printella .woocommerce-MyAccount-content .col2-set.addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
    border: none;
    background: transparent;
}
body.woocommerce-account.printella .woocommerce .col2-set::before,
body.woocommerce-account.printella .woocommerce .col2-set::after,
body.woocommerce-account.printella .woocommerce-page .col2-set::before,
body.woocommerce-account.printella .woocommerce-page .col2-set::after {
    content: none;
    display: none;
}
/* Notices wrapper — full width in grid + content level */
body.woocommerce-account.printella .woocommerce-Addresses .woocommerce-notices-wrapper,
body.woocommerce-account.printella .u-columns .woocommerce-notices-wrapper,
body.woocommerce-account.printella .col2-set .woocommerce-notices-wrapper,
body.woocommerce-account.printella .woocommerce-MyAccount-content > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account.printella .woocommerce-MyAccount-content .col2-set .col-1,
body.woocommerce-account.printella .woocommerce-MyAccount-content .col2-set .col-2,
body.woocommerce-account.printella .woocommerce-MyAccount-content .u-column1,
body.woocommerce-account.printella .woocommerce-MyAccount-content .u-column2,
body.woocommerce-account.printella .woocommerce .col2-set .col-1,
body.woocommerce-account.printella .woocommerce .col2-set .col-2 {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    width: auto;
    float: none;
    max-width: none;
    margin: 0;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address header {
    margin-bottom: 12px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address header h3,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-column__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 12px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address header a,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address .edit {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--btn-secondary, #3B82F6);
    text-decoration: none;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address header a:hover,
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address .edit:hover {
    color: var(--btn-secondary-hover, #2563eb);
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* === Edit account form === */
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
    border: none;
    padding: 0;
    margin: 24px 0 0;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-EditAccountForm legend {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row {
    margin-bottom: 16px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 4px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row input[type="text"],
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row input[type="email"],
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row input[type="password"],
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row input[type="tel"],
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row select,
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    color: var(--gray-800);
    transition: border-color 0.2s;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row input:focus,
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row select:focus,
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row textarea:focus {
    border-color: var(--btn-secondary, #3B82F6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Save button — align right */
body.woocommerce-account.printella .woocommerce-MyAccount-content p .woocommerce-Button,
body.woocommerce-account.printella .woocommerce-MyAccount-content .form-row .woocommerce-Button {
    float: right;
}

/* === Dashboard === */
body.woocommerce-account.printella .woocommerce-MyAccount-content > p:first-child {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
}
body.woocommerce-account.printella .woocommerce-MyAccount-content > p:first-child strong {
    color: var(--gray-800);
}

/* === Responsive === */
@media (max-width: 768px) {
    /* My Account layout — stack on mobile */
    body.woocommerce-account.printella .woocommerce {
        flex-direction: column;
        gap: 16px;
    }
    body.woocommerce-account.printella .woocommerce-MyAccount-navigation {
        width: 100%;
    }
    body.woocommerce-account.printella .woocommerce-MyAccount-content .woocommerce-Addresses,
    body.woocommerce-account.printella .woocommerce-MyAccount-content .u-columns {
        grid-template-columns: 1fr;
    }
    body.woocommerce-account.printella .woocommerce-MyAccount-navigation li a {
        padding: 8px 12px;
        font-size: 13px;
    }
    body.woocommerce-account.printella .prnt-order-thumb {
        width: 48px;
        height: 48px;
    }
    body.woocommerce-account.printella .prnt-order-thumbs-more {
        width: 48px;
        height: 48px;
        font-size: 12px;
    }
    /* Card mobile */
    body.woocommerce-account.printella .prnt-order-card {
        padding: 16px;
    }
    body.woocommerce-account.printella .prnt-order-card__header {
        flex-wrap: wrap;
        gap: 8px;
    }
    body.woocommerce-account.printella .prnt-order-card__body {
        flex-direction: column;
        align-items: flex-start;
    }
    body.woocommerce-account.printella .prnt-order-card__meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
    body.woocommerce-account.printella .prnt-order-card__footer {
        flex-wrap: wrap;
    }
    body.woocommerce-account.printella .prnt-order-card__actions {
        width: 100%;
        justify-content: flex-end;
    }
    body.woocommerce-account.printella .prnt-order-card__number {
        font-size: 16px;
    }
    body.woocommerce-account.printella .prnt-order-card__status {
        margin-left: 0;
    }
    /* Detail reorder mobile */
    .prnt-detail-reorder__header {
        justify-content: stretch;
    }
    .prnt-detail-reorder__header .prnt-reorder-toggle {
        width: 100%;
        justify-content: center;
    }
    /* Qty input mobile */
    body.woocommerce-account.printella .prnt-reorder-item--detail {
        flex-wrap: wrap;
    }
    body.woocommerce-account.printella .prnt-reorder-item__info {
        flex-basis: calc(100% - 90px);
    }
    body.woocommerce-account.printella .prnt-reorder-item__qty {
        margin-left: auto;
    }
    body.woocommerce-account.printella .prnt-reorder-qty__btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    body.woocommerce-account.printella .prnt-reorder-qty__input {
        width: 52px;
        height: 44px;
        font-size: 16px;
    }
    body.woocommerce-account.printella .prnt-reorder-item__thumb--lg {
        width: 56px;
        height: 56px;
    }
    /* Reorder mobile */
    body.woocommerce-account.printella .prnt-reorder-item__name {
        white-space: normal;
        font-size: 13px;
    }
    body.woocommerce-account.printella .prnt-reorder-item__single {
        display: none;
    }
    body.woocommerce-account.printella .prnt-reorder-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    body.woocommerce-account.printella .prnt-reorder-cta {
        text-align: center;
    }
    body.woocommerce-account.printella .prnt-reorder-counter {
        text-align: center;
    }
    /* Toast mobile */
    .prnt-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
    /* Pagination mobile */
    body.woocommerce-account.printella .prnt-orders-pagination {
        gap: 8px;
    }
    body.woocommerce-account.printella .prnt-orders-pagination__btn,
    body.woocommerce-account.printella .prnt-orders-pagination__page {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    /* Small phones */
    body.woocommerce-account.printella .prnt-order-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    body.woocommerce-account.printella .prnt-order-card__status {
        align-self: flex-start;
    }
    body.woocommerce-account.printella .prnt-order-card__actions {
        flex-direction: column;
        width: 100%;
    }
    body.woocommerce-account.printella .prnt-order-card__action,
    body.woocommerce-account.printella .prnt-order-card__actions .prnt-reorder-toggle {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    body.woocommerce-account.printella .prnt-reorder-item--detail {
        gap: 10px;
    }
    body.woocommerce-account.printella .prnt-reorder-item__thumb--lg {
        width: 48px;
        height: 48px;
    }
}

/* Back link — pointer cursor */
.js-back-link {
    cursor: pointer;
}

/* Sorting chips */
.printella-sort-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* Sort toggle button — mobile only */
.printella-sort-toggle,
button.printella-sort-toggle,
.printella button.printella-sort-toggle {
    display: none;
}
@media (max-width: 768px) {
    .printella-sort-toggle,
    button.printella-sort-toggle,
    .printella button.printella-sort-toggle {
        display: inline-flex;
    }
}
@media (max-width: 768px) {
    .printella-sort-toggle,
    button.printella-sort-toggle,
    .printella button.printella-sort-toggle {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 7px 30px;
        font-size: 13px;
        font-weight: 400;
        color: var(--gray-700);
        background: #fff;
        border: 1.5px solid var(--gray-200);
        border-radius: 999px;
        cursor: pointer;
        white-space: nowrap;
        line-height: 1.3;
        box-sizing: border-box;
        outline: none;
    }
    .printella-sort-toggle-arrow {
        font-size: 18px;
        line-height: 1;
        transition: transform 0.2s;
    }
    .printella-sort-chips {
        display: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 0 4px;
    }
    .printella-sort-chips::-webkit-scrollbar {
        display: none;
    }
    .printella-sort-chips.is-open {
        display: flex;
    }
}
.printella-sort-chip,
.printella button.printella-sort-chip,
button.printella-sort-chip {
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}
.printella-sort-chip:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
    background: var(--gray-50);
}
.printella-sort-chip.active,
.printella button.printella-sort-chip.active,
button.printella-sort-chip.active {
    border-color: var(--color-wishlist);
    color: var(--color-wishlist);
    background: var(--color-wishlist-light);
}
.printella-sort-arrow {
    display: inline-block;
    margin-left: 2px;
    font-size: 15px;
    transition: transform 0.2s;
}

/* Color filter — label + scrollable swatches */
/* Color filter — desktop: wrap normally */
.jet-smart-filters-color-image {
    display: flex;
    align-items: center;
    gap: 12px;
}
.jet-smart-filters-color-image .jet-filter-label {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
}
.jet-smart-filters-color-image .jet-color-image-list-wrapper fieldset {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* Color filter — scroll when colors don't fit */
@media (max-width: 1240px) {
    .jet-smart-filters-color-image {
        display: flex;
        align-items: center;
        gap: 12px;
        max-width: 100%;
        position: relative;
    }
    .jet-smart-filters-color-image::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 28px;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, #fff);
        z-index: 2;
    }
    .jet-smart-filters-color-image .jet-color-image-list {
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .jet-smart-filters-color-image .jet-color-image-list::-webkit-scrollbar {
        display: none;
    }
    .jet-smart-filters-color-image .jet-color-image-list-wrapper fieldset {
        flex-wrap: nowrap;
        padding-right: 24px;
    }
    .jet-smart-filters-color-image .jet-color-image-list__row {
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
    }
    .jet-smart-filters-color-image .jet-color-image-list__row .jet-color-image-list__button {
        margin: 0 auto;
    }
}

/* Mobile: sortowanie + filtry */
@media (max-width: 768px) {
    .sklep-sortowanie-mobile > .e-con-inner {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    /* Filtry button — stały rozmiar */
    .sklep-sortowanie-mobile .elementor-widget-button {
        flex-shrink: 0;
    }
    /* Sorting widget — nie rozrasta się */
    .sklep-sortowanie-mobile .elementor-widget-jet-smart-filters-sorting {
        flex-shrink: 0;
    }
    /* Chipsy pod przyciskami — wycentrowane, z tłem */
    .sklep-sortowanie-mobile .printella-sort-chips {
        width: 100%;
        margin-top: 6px;
        margin-bottom: 2px;
        justify-content: center;
        background: var(--gray-50);
        border: 1px solid var(--gray-100);
        border-radius: 12px;
        padding: 8px 12px;
    }
    /* Aktywny stan Sortuj */
    .printella-sort-toggle.is-active,
    button.printella-sort-toggle.is-active,
    .printella button.printella-sort-toggle.is-active {
        border-color: var(--color-wishlist);
        color: var(--color-wishlist);
        background: var(--color-wishlist-light);
    }
    /* Przycisk Filtry — Elementor button */
    .sklep-sortowanie-mobile .elementor-button,
    .sklep-sortowanie-mobile .elementor-widget-button .elementor-button {
        padding: 8px 30px;
        font-size: 13px;
        font-weight: 600;
        font-family: inherit;
        border-radius: 999px;
        border: 1.5px solid var(--gray-200);
        background: #fff;
        color: var(--gray-700);
        line-height: 1.3;
    }
    .sklep-sortowanie-mobile .elementor-button:hover {
        border-color: var(--gray-300);
        background: var(--gray-50);
    }
}

/* Popup filtrów — mobile drawer */
.popup-filtr-mobile {
    padding: 20px;
}
.popup-filtr-mobile .elementor-heading-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Popup: Wyczyść + Zastosuj przyciski */
.popup-filter-clear .elementor-button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    border: 1.5px solid var(--gray-200);
    background: transparent;
    color: var(--gray-500);
}
.popup-filter-clear .elementor-button:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
    background: var(--gray-50);
}
.popup-filter-apply .elementor-button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: var(--gray-800);
    color: #fff;
}
.popup-filter-apply .elementor-button:hover {
    background: var(--gray-700);
}

/* Listing card footer — 1 col when narrow cards (481-1440) */
@media (min-width: 481px) and (max-width: 1440px) {
    .elementor-917 .elementor-element.elementor-element-d35ba64 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center;
    }
}

/* Fix wishlist heart position on smaller screens */
@media (max-width: 1440px) {
    .elementor-917 .elementor-element.elementor-element-3dae3fc {
        right: 10px !important;
        top: 10px !important;
    }
}

/* Wielokolorowy — rainbow gradient */
.jet-color-image-list__input[data-label="Wielokolorowy"] ~ .jet-color-image-list__button .jet-color-image-list__color {
    background: conic-gradient(#ff3434, #fde061, #61cb5b, #24c1f4, #991ac8, #ff99fb, #ff3434) !important;
}

/* =========================
   Wishlist — grouped by category
   ========================= */
.printella-wishlist {
    max-width: 1200px;
    margin: 0 auto;
}
.printella-wishlist a {
    color: inherit;
    text-decoration: none;
}
.printella-wishlist a:hover {
    color: inherit;
}
.printella-wishlist a.prnt-card__title:hover {
    color: var(--color-wishlist, #E63E7A);
}

/* Category section */
.printella-wishlist-category {
    margin-bottom: 32px;
}
.printella-wishlist-category__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 8px;
}
.printella-wishlist-category__header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}
.printella-wishlist-category__count {
    font-size: 13px;
    color: var(--gray-400);
}

/* Product grid */
.printella-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Empty state */
.printella-wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}
.printella-wishlist-empty svg {
    margin: 0 auto 16px;
}
.printella-wishlist-empty p {
    font-size: 16px;
    margin-bottom: 16px;
}
.printella-wishlist-shop-link {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gray-800);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}
.printella-wishlist-shop-link:hover {
    background: var(--gray-700);
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .printella-wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .printella-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 480px) {
    .printella-wishlist {
        padding: 0 12px;
    }
    .printella-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}


/* === Utility === */
body.printella .color-pink { color: var(--color-wishlist); }
body.printella .leading-relaxed { line-height: 1.6; }

/* ==========================================================
   BUTTON SYSTEM v2 — prnt-btn prefix, variable-based

   Direct:    <a class="prnt-btn prnt-btn-blue-fill">Text</a>
   Elementor: Widget CSS Classes: prnt-btn prnt-btn-blue-outline prnt-btn-upload
   ========================================================== */

/* --- Base (works on direct el + Elementor inner <a>) --- */
body.printella .prnt-btn,
body.printella a.prnt-btn,
body.printella button.prnt-btn,
body.printella .prnt-btn .elementor-button,
body.printella .prnt-btn .elementor-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: var(--btn-font-size, 15px);
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--btn-radius, 8px);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
    font-family: inherit;
}

/* Elementor wrapper: fully stripped */
body.printella .elementor-widget.prnt-btn,
body.printella .elementor-widget.prnt-btn:hover {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body.printella .elementor-widget.prnt-btn .elementor-widget-container {
    display: inline-flex;
}
/* Hide Elementor's own icon when we provide CSS icon */
body.printella .elementor-widget.prnt-btn-upload .elementor-button-icon,
body.printella .elementor-widget.prnt-btn-grid .elementor-button-icon {
    display: none;
}
body.printella .prnt-btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Kill reset.css a:hover { color: #336 } bleeding into buttons */
body.printella .prnt-btn .elementor-button:hover,
body.printella .prnt-btn .elementor-button:active,
body.printella a.prnt-btn:hover,
body.printella a.prnt-btn:active {
    color: inherit;
    border-color: inherit;
}

/* --- PINK --- */
body.printella .prnt-btn-pink-fill,
body.printella .prnt-btn-pink-fill .elementor-button,
body.printella .prnt-btn-pink-fill .elementor-button:visited {
    background: var(--color-wishlist); color: #fff;
    border-color: var(--color-wishlist); font-weight: 700;
}
body.printella .prnt-btn-pink-fill:hover,
body.printella .prnt-btn-pink-fill:hover .elementor-button,
body.printella .prnt-btn-pink-fill .elementor-button:hover {
    background: var(--color-wishlist-hover); border-color: var(--color-wishlist-hover); color: #fff;
}

body.printella .prnt-btn-pink-outline,
body.printella .prnt-btn-pink-outline .elementor-button,
body.printella .prnt-btn-pink-outline .elementor-button:visited {
    background: transparent; color: var(--color-wishlist);
    border: 1px solid var(--color-wishlist-border);
}
body.printella .prnt-btn-pink-outline:hover,
body.printella .prnt-btn-pink-outline:hover .elementor-button,
body.printella .prnt-btn-pink-outline .elementor-button:hover {
    background: var(--color-wishlist); border-color: var(--color-wishlist); color: #fff;
}

body.printella .prnt-btn-pink-ghost,
body.printella .prnt-btn-pink-ghost .elementor-button,
body.printella .prnt-btn-pink-ghost .elementor-button:visited {
    background: var(--color-wishlist-light); color: var(--color-wishlist);
    border: 1px solid var(--color-wishlist-border);
}
body.printella .prnt-btn-pink-ghost:hover,
body.printella .prnt-btn-pink-ghost:hover .elementor-button,
body.printella .prnt-btn-pink-ghost .elementor-button:hover {
    background: rgba(230,62,122,0.15); border-color: var(--color-wishlist); color: var(--color-wishlist);
}

/* --- BLUE --- */
body.printella .prnt-btn-blue-fill,
body.printella .prnt-btn-blue-fill .elementor-button,
body.printella .prnt-btn-blue-fill .elementor-button:visited {
    background: var(--btn-secondary); color: #fff;
    border-color: var(--btn-secondary); font-weight: 700;
}
body.printella .prnt-btn-blue-fill:hover,
body.printella .prnt-btn-blue-fill:hover .elementor-button,
body.printella .prnt-btn-blue-fill .elementor-button:hover {
    background: var(--btn-secondary-hover); border-color: var(--btn-secondary-hover); color: #fff;
}

body.printella .prnt-btn-blue-outline,
body.printella .prnt-btn-blue-outline .elementor-button,
body.printella .prnt-btn-blue-outline .elementor-button:visited {
    background: #fff; color: var(--btn-secondary);
    border: 1px solid var(--btn-secondary);
}
body.printella .prnt-btn-blue-outline:hover,
body.printella .prnt-btn-blue-outline:hover .elementor-button,
body.printella .prnt-btn-blue-outline .elementor-button:hover {
    background: var(--btn-secondary); border-color: var(--btn-secondary); color: #fff;
}

body.printella .prnt-btn-blue-ghost,
body.printella .prnt-btn-blue-ghost .elementor-button,
body.printella .prnt-btn-blue-ghost .elementor-button:visited {
    background: var(--btn-secondary-light); color: var(--btn-secondary);
    border: 1px solid var(--btn-secondary-border);
}
body.printella .prnt-btn-blue-ghost:hover,
body.printella .prnt-btn-blue-ghost:hover .elementor-button,
body.printella .prnt-btn-blue-ghost .elementor-button:hover {
    background: rgba(59,130,246,0.12); border-color: var(--btn-secondary); color: var(--btn-secondary);
}

/* --- PLUM --- */
body.printella .prnt-btn-plum-fill,
body.printella .prnt-btn-plum-fill .elementor-button,
body.printella .prnt-btn-plum-fill .elementor-button:visited {
    background: var(--btn-primary); color: #fff;
    border-color: var(--btn-primary); font-weight: 700;
}
body.printella .prnt-btn-plum-fill:hover,
body.printella .prnt-btn-plum-fill:hover .elementor-button,
body.printella .prnt-btn-plum-fill .elementor-button:hover {
    background: var(--btn-primary-hover); border-color: var(--btn-primary-hover); color: #fff;
}

body.printella .prnt-btn-plum-outline,
body.printella .prnt-btn-plum-outline .elementor-button,
body.printella .prnt-btn-plum-outline .elementor-button:visited {
    background: transparent; color: var(--btn-primary);
    border: 1px solid var(--btn-primary);
}
body.printella .prnt-btn-plum-outline:hover,
body.printella .prnt-btn-plum-outline:hover .elementor-button,
body.printella .prnt-btn-plum-outline .elementor-button:hover {
    background: var(--btn-primary); border-color: var(--btn-primary); color: #fff;
}

body.printella .prnt-btn-plum-ghost,
body.printella .prnt-btn-plum-ghost .elementor-button,
body.printella .prnt-btn-plum-ghost .elementor-button:visited {
    background: var(--btn-primary-light); color: var(--btn-primary);
    border: 1px solid var(--btn-primary-border);
}
body.printella .prnt-btn-plum-ghost:hover,
body.printella .prnt-btn-plum-ghost:hover .elementor-button,
body.printella .prnt-btn-plum-ghost .elementor-button:hover {
    background: rgba(111,63,166,0.12); border-color: var(--btn-primary); color: var(--btn-primary);
}

/* --- Sizes --- */
body.printella .prnt-btn-sm,
body.printella .prnt-btn-sm .elementor-button { padding: 5px 12px; font-size: 11px; border-radius: 6px; }
body.printella .prnt-btn-lg,
body.printella .prnt-btn-lg .elementor-button { padding: 12px 16px; font-size: 17px; }

/* --- Icons — only on inner <a> (Elementor) or direct <a>/<button> (not on wrapper div) --- */
body.printella a.prnt-btn-grid::before,
body.printella button.prnt-btn-grid::before,
body.printella .prnt-btn-grid .elementor-button::before,
body.printella a.prnt-btn-upload::before,
body.printella button.prnt-btn-upload::before,
body.printella .prnt-btn-upload .elementor-button::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    flex-shrink: 0;
}
body.printella a.prnt-btn-grid::before,
body.printella button.prnt-btn-grid::before,
body.printella .prnt-btn-grid .elementor-button::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.printella a.prnt-btn-upload::before,
body.printella button.prnt-btn-upload::before,
body.printella .prnt-btn-upload .elementor-button::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- WEAR icon (t-shirt + arrow) --- */
body.printella a.prnt-btn-wear::before,
body.printella button.prnt-btn-wear::before,
body.printella .prnt-btn-wear .elementor-button::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    flex-shrink: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.printella a.prnt-btn-wear::after,
body.printella button.prnt-btn-wear::after,
body.printella .prnt-btn-wear .elementor-button::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: currentColor;
    flex-shrink: 0;
    margin-left: 4px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.2s ease;
}
body.printella a.prnt-btn-wear:hover::after,
body.printella button.prnt-btn-wear:hover::after,
body.printella .prnt-btn-wear:hover .elementor-button::after {
    transform: translateX(3px);
}
body.printella .elementor-widget.prnt-btn-wear .elementor-button-icon {
    display: none;
}

/* =========================
   Wishlist header + filters
   ========================= */
.printella-wishlist__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-top: 16px;
    gap: 24px;
}
.printella-wishlist__header-left { flex: 1; }
.printella-wishlist__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.printella-wishlist__heart { flex-shrink: 0; }
.printella-wishlist__title { font-size: 24px; font-weight: 600; color: var(--gray-800); margin: 0; }
.printella-wishlist__subtitle { font-size: 14px; color: var(--gray-400); margin: 0; }
.printella-wishlist__header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.printella-wishlist__share {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; font-size: 10px; font-weight: 600;
    color: var(--color-wishlist); background: var(--color-wishlist-light);
    border: 1px solid var(--color-wishlist-border); border-radius: 8px;
    cursor: pointer; white-space: nowrap; line-height: 1;
    transition: background 0.2s;
}
.printella-wishlist__share:hover { background: rgba(230,62,122,0.15); border-color: rgba(230,62,122,0.4); }

.printella-wishlist__menu-wrap { position: relative; }
.printella-wishlist__menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 8px;
    border: 1px solid var(--gray-200); background: #fff; color: var(--gray-500);
    cursor: pointer; transition: background 0.15s;
}
.printella-wishlist__menu-btn:hover { background: var(--gray-100); }
.printella-wishlist__menu-dropdown {
    position: absolute; top: calc(100% + 4px); right: 0;
    background: #fff; border: 1px solid var(--gray-200); border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 20; min-width: 180px; padding: 4px;
}
.printella-wishlist__menu-item {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 8px 12px; font-size: 13px; color: var(--color-error);
    background: none; border: none; border-radius: 6px; cursor: pointer; transition: background 0.15s;
}
.printella-wishlist__menu-item:hover { background: var(--color-error-light); }

/* Wishlist category filters */
.printella-wishlist__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
button.printella-wishlist__filter {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; font-size: 12px; font-weight: 500;
    color: var(--gray-500); background: var(--gray-100);
    border: 1px solid transparent; border-radius: 999px;
    cursor: pointer; transition: all 0.15s;
}
button.printella-wishlist__filter:hover { background: var(--gray-200); }
button.printella-wishlist__filter.is-active {
    background: var(--color-wishlist-light); color: var(--color-wishlist);
    border-color: var(--color-wishlist-border); font-weight: 600;
}
button.printella-wishlist__filter span { font-size: 11px; font-weight: 600; color: inherit; opacity: 0.6; }
button.printella-wishlist__filter.is-active span { opacity: 1; }

/* Shared wishlist mode */
.printella-wishlist--shared .prnt-card__wishlist { display: none; }

/* Wishlist category count badge */
.printella-wishlist-category__count {
    font-size: 11px; font-weight: 600; color: var(--gray-500);
    background: var(--gray-100); padding: 2px 8px; border-radius: 999px; line-height: 1.4;
}

/* "Wkrótce" badge */
body.woocommerce-account.printella .woocommerce-MyAccount-navigation li a .soon,
.printella .soon {
    position: absolute; top: -4px; right: 8px;
    font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--color-wishlist); background: var(--color-wishlist-light);
    border: 1px solid rgba(230,62,122,0.15);
    padding: 1px 6px; border-radius: 999px; line-height: 1.4;
}


/* =========================
   Side cart drawer — compact card layout
   ========================= */

/* Drawer panel */
body.printella .elementor-menu-cart__main {
    width: 540px !important;
    max-width: 90vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
body.printella .elementor-menu-cart__close-button {
    font-size: 24px;
    color: var(--gray-400);
    transition: color 0.2s;
}
body.printella .elementor-menu-cart__close-button:hover {
    color: var(--gray-800);
}

/* Ensure full height chain for sticky footer */
body.printella .elementor-menu-cart__main,
body.printella .widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Mini-cart container */
body.printella .prnt-minicart {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
body.printella .prnt-minicart__header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}
body.printella .prnt-minicart__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}
body.printella .prnt-minicart__header-count {
    font-weight: 400;
    color: var(--gray-400);
}

/* Free shipping bar */
body.printella .prnt-minicart__shipping-bar {
    margin: 0 16px 8px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray-600);
}
body.printella .prnt-minicart__shipping-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
body.printella .prnt-minicart__shipping-text svg { flex-shrink: 0; color: var(--gray-400); }
body.printella .prnt-minicart__progress {
    height: 6px;
    background: var(--gray-100);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 4px;
}
body.printella .prnt-minicart__progress-bar {
    height: 100%;
    background: var(--color-wishlist);
    border-radius: 999px;
    transition: width 0.3s;
}
body.printella .prnt-minicart__shipping-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
}
body.printella .prnt-minicart__shipping-goal { color: var(--gray-300); }

/* Product list */
body.printella .prnt-minicart__list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px;
    margin: 0;
    list-style: none;
}
body.printella .prnt-minicart__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}
body.printella .prnt-minicart__item:last-child {
    border-bottom: none;
}

/* Thumbnail */
body.printella .prnt-minicart__thumb { flex-shrink: 0; }
body.printella .prnt-minicart__thumb img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

/* Details (right of thumb) */
body.printella .prnt-minicart__details { flex: 1; min-width: 0; }

/* Row 1: name + qty control + trash */
body.printella .prnt-minicart__row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
body.printella .prnt-minicart__name { flex: 1; min-width: 0; }
body.printella .prnt-minicart__name a {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.printella .prnt-minicart__name a:hover { color: var(--color-wishlist); }
body.printella .prnt-minicart__variant {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 1px;
}

/* Row 2: prices left + line total right */
body.printella .prnt-minicart__row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body.printella .prnt-minicart__prices {
    display: flex;
    align-items: center;
    gap: 6px;
}
body.printella .prnt-minicart__price .awdr_cart_strikeout_line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
body.printella .prnt-minicart__price del {
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 400;
}
body.printella .prnt-minicart__price ins {
    text-decoration: none;
}
body.printella .prnt-minicart__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}
body.printella .prnt-minicart__line-total {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

/* Qty control */
body.printella .prnt-minicart__qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
/* Edytuj (ołówek) + Usuń w jednej linii — koszyk i mini-koszyk */
body.printella .product-remove { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
body.printella .product-remove .printella-cart-edit,
body.printella .product-remove .remove { display: inline-flex; align-items: center; padding: 0; line-height: 1; }
body.printella .printella-cart-edit { color: var(--gray-500, #6b7280); }
body.printella .printella-cart-edit:hover { color: var(--color-wishlist, #e63e7a); }
body.printella .prnt-minicart__edit { display: inline-flex; align-items: center; color: var(--gray-400, #9ca3af); }
body.printella .prnt-minicart__edit:hover { color: var(--color-wishlist, #e63e7a); }
body.printella .prnt-minicart__qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
    transition: background 0.15s;
}
body.printella .prnt-minicart__qty-btn:hover { background: var(--gray-50); }
body.printella .prnt-minicart__qty-value {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    line-height: 28px;
}

/* Remove (trash icon) */
body.printella .prnt-minicart__remove {
    font-size: 0;
    line-height: 1;
    width: 28px;
    height: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--gray-300) !important;
    background: transparent;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}
body.printella .prnt-minicart__remove:hover {
    background: var(--color-error-light);
    color: var(--color-error) !important;
    border-color: var(--color-error);
}

/* Footer — summary 3 columns + buttons */
body.printella .prnt-minicart__footer {
    border-top: 1px solid var(--gray-200);
    padding: 12px 16px 16px;
}
body.printella .prnt-minicart__summary {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}
body.printella .prnt-minicart__summary-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
body.printella .prnt-minicart__summary-label {
    font-size: 11px;
    color: var(--gray-400);
}
body.printella .prnt-minicart__summary-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}
body.printella .prnt-minicart__summary-total {
    margin-left: auto;
    text-align: right;
}
body.printella .prnt-minicart__summary-total .prnt-minicart__summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-wishlist);
}

/* Buttons — side by side */
body.printella .prnt-minicart__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
body.printella .prnt-minicart__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--color-wishlist);
    border: none;
    border-radius: var(--btn-radius, 8px);
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
    order: 2;
}
body.printella .prnt-minicart__checkout:hover {
    background: var(--color-wishlist-hover);
    color: #fff;
}
body.printella .prnt-minicart__close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--btn-radius, 8px);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    order: 1;
}
body.printella .prnt-minicart__close-btn:hover {
    background: var(--gray-50);
    color: var(--gray-700);
}
body.printella .prnt-minicart__view-cart,
body.printella a.prnt-minicart__view-cart,
body.printella a.prnt-minicart__view-cart:visited {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}
body.printella .prnt-minicart__view-cart:hover {
    color: var(--color-wishlist);
    text-decoration: underline;
}

/* Empty state */
body.printella .prnt-minicart__empty {
    padding: 48px 16px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
body.printella .prnt-minicart__empty p { margin: 0; }
/* Hide old hook-based continue link */
body.printella .prnt-minicart-continue { display: none; }


/* =====================================================
   Logowanie i odzyskiwanie hasła — karta w stylu Moje konto
   =====================================================
   Te widoki są dla NIEzalogowanego, więc nie mieszczą się w
   `.woocommerce-MyAccount-content` i nie łapały ich style konta — zostawał surowy
   WooCommerce (kanciaste pola, przycisk obok checkboksa, nagłówek odjechany w lewo).
   Zakres zawężony przez `:not(.logged-in)`, bo po zalogowaniu ten sam kontener
   `.woocommerce` trzyma nawigację i treść konta — ograniczenie mu szerokości
   rozwaliłoby tamten układ. */

body.woocommerce-account.printella:not(.logged-in) .woocommerce {
    /* Wyłączenie flexa z układu ZALOGOWANEGO konta (nawigacja | treść). Tu dzieci
       kontenera to nagłówek i formularz — jako elementy flexa ustawiały się obok
       siebie, stąd „Logowanie" odjechane w lewo i wąska karta odsunięta w prawo.
       To była właściwa przyczyna, nie sam brak stylów. */
    display: block;
    max-width: 460px;
    margin: 0 auto;
}
/* Drugi selektor na wypadek włączenia rejestracji: WooCommerce owija wtedy
   logowanie i rejestrację w `#customer_login`, więc nagłówki przestają być
   bezpośrednimi dziećmi `.woocommerce`. Panele układają się wtedy jeden pod drugim. */
body.woocommerce-account.printella:not(.logged-in) .woocommerce > h2,
body.woocommerce-account.printella:not(.logged-in) .woocommerce #customer_login h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 16px;
    text-align: center;
}
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-form-login,
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-form-register,
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-ResetPassword {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    margin: 0;
}

/* Pola — ten sam wygląd co w Adresach i Szczegółach konta */
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row {
    margin: 0 0 16px;
    padding: 0;
    /* WooCommerce daje `form-row-first` szerokość 47% i float — w karcie na jedną
       kolumnę to zostawiało pole na pół szerokości. */
    width: 100%;
    float: none;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 4px;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="text"],
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="email"],
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    color: var(--gray-800);
    transition: border-color 0.2s, box-shadow 0.2s;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input:focus {
    border-color: var(--btn-secondary, #3B82F6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Oko podglądu hasła — WooCommerce wstawia je do środka pola, więc trzeba mu
   zrobić miejsce, inaczej przykrywa koniec wpisywanego hasła. */
body.woocommerce-account.printella:not(.logged-in) .woocommerce .password-input {
    display: block;
    position: relative;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .password-input input {
    padding-right: 44px;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    cursor: pointer;
}

/* „Zapamiętaj mnie" — własny wiersz nad przyciskiem, nie doklejone obok niego */
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row label.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-700);
    cursor: pointer;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row label.woocommerce-form-login__rememberme input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--btn-secondary, #3B82F6);
}

/* Przycisk na całą szerokość — w karcie jest jedna akcja, nie ma z czym go dzielić */
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.woocommerce-button,
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.woocommerce-Button,
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.button {
    display: block;
    width: 100%;
    padding: 11px 20px;
    background: var(--btn-secondary, #3B82F6);
    border: 1.5px solid var(--btn-secondary, #3B82F6);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.woocommerce-button:hover,
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.woocommerce-Button:hover,
body.woocommerce-account.printella:not(.logged-in) .woocommerce button.button:hover {
    background: var(--btn-secondary-hover, #2563eb);
    border-color: var(--btn-secondary-hover, #2563eb);
}

/* „Nie pamiętasz hasła?" — pod przyciskiem, wyciszone; to droga awaryjna, nie akcja główna */
body.woocommerce-account.printella:not(.logged-in) .woocommerce .woocommerce-LostPassword {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .woocommerce-LostPassword a {
    color: var(--gray-600);
    text-decoration: none;
}
body.woocommerce-account.printella:not(.logged-in) .woocommerce .woocommerce-LostPassword a:hover {
    color: var(--btn-secondary, #3B82F6);
    text-decoration: underline;
}

/* Instrukcja nad polem na stronie odzyskiwania hasła */
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-ResetPassword > p:first-of-type {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--gray-600);
}

/* iOS Safari przybliża stronę przy kliknięciu w pole o foncie mniejszym niż 16px —
   przy logowaniu jest to szczególnie dokuczliwe, bo dzieje się zaraz po wejściu.
   Powiększamy TYLKO na wąskich ekranach, żeby nie ruszać proporcji na desktopie. */
@media (max-width: 768px) {
    body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="text"],
    body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="email"],
    body.woocommerce-account.printella:not(.logged-in) .woocommerce .form-row input[type="password"] {
        font-size: 16px;
    }
}

/* Gdy rejestracja jest włączona, oba panele stoją jeden pod drugim — bez odstępu
   zlewałyby się w jeden blok. */
body.woocommerce-account.printella:not(.logged-in) #customer_login > div + div {
    margin-top: 32px;
}
/* Tekst zgody/polityki prywatności pod formularzem rejestracji */
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-form-register .woocommerce-privacy-policy-text p,
body.woocommerce-account.printella:not(.logged-in) form.woocommerce-form-register p.woocommerce-form-row + p:not(.form-row) {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Przy włączonej rejestracji WooCommerce owija oba formularze w `#customer_login.col2-set`,
   a istniejąca reguła kart dla kolumn Adresów (`.col2-set .col-1/.col-2`) nadaje kartę
   samej kolumnie. Formularz dostawał wtedy drugą kartę w środku pierwszej — zdejmujemy
   mu ją, bo kolumna jest już kartą, a nagłówek („Logowanie" / „Zarejestruj się")
   ładnie działa jako jej tytuł. */
body.woocommerce-account.printella:not(.logged-in) #customer_login form.woocommerce-form-login,
body.woocommerce-account.printella:not(.logged-in) #customer_login form.woocommerce-form-register {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
}

/* =====================================================
   Plakietka licznika w nagłówku — koniec z przewijaniem w poziomie
   =====================================================
   Elementor pozycjonuje licznik przy ikonach koszyka i ulubionych jako `absolute`
   z `right: -7px`, czyli świadomie POZA obrysem ikony. Na szerokim ekranie mieści się
   w marginesie nagłówka, ale w paśmie ok. 780–880 px nagłówek jest już na tyle ciasny,
   że te 7 px wychodzi poza okno i CAŁA strona daje się przewinąć w bok o 3–5 px.
   Dotyczy każdej podstrony, bo nagłówek jest wspólny.
   Poniżej ~768 px Elementor podmienia nagłówek na mobilny i problem znika sam.

   Zerujemy wysunięcie tylko w tym paśmie: plakietka siada przy krawędzi ikony zamiast
   wystawać, czego praktycznie nie widać, a strona przestaje się przewijać.
   `!important`, bo Elementor ustawia to skrótem `inset` — zwykła specyficzność nie wystarcza. */
@media (max-width: 899px) {
    body.printella .elementor-button-icon-qty {
        right: 0 !important;
    }
}

/* Specyfikacja tkaniny na karcie — jeden blok, wiersz na parametr.
   Wiersze rozdziela znak nowej linii, bo tag pola własnego Elementora czyści HTML
   i `<br>` z niego nie przechodzi. Etykiety składa printella-core w języku wpisu. */
#tk-specyfikacja {
    white-space: pre-line;
}

/* =========================================================
   Strony prawne — pas nagłówka z tytułem
   =========================================================
   Regulamin, polityka prywatności, AGB, Datenschutzerklärung itd. Pas jest celowo
   niski (~130 px): ma oddzielić tytuł od gęstego tekstu prawnego, a nie spychać treść
   poniżej pierwszego ekranu.

   Klasę `printella-legal` dokłada `body_class` w functions.php. Bez tego zawężenia
   reguła objęłaby też koszyk i konto klienta — one używają tego samego `.page-header`.

   TŁO NA PEŁNĄ SZEROKOŚĆ: motyw ogranicza `.site-main` do 1140 px, a menu to kontener
   Elementora o szerokości 1400 px — pas kończący się na 1140 px wyglądał przez to na
   przypadkowo węższy od nagłówka strony. Rozlewamy więc samo tło, zostawiając tytuł
   w kolumnie treści.

   Technika: `box-shadow` o wielkim rozmyciu maluje kolor daleko poza elementem,
   a `clip-path` przycina go do jego wysokości. Świadomie NIE używamy popularnego
   `margin-inline: calc(50% - 50vw)` — `100vw` obejmuje szerokość paska przewijania,
   więc na Windowsie taki pas wystaje poza ekran i dokłada poziomy scroll. */

body.printella-legal .page-header {
    box-sizing: border-box;
    position: relative;
    min-height: 130px;
    display: flex;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 36px;
    background: #F8FAFC;
    box-shadow: 0 0 0 100vmax #F8FAFC;
    clip-path: inset(0 -100vmax);
}

body.printella-legal .page-header .entry-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    color: #0F172A;
}

/* Treść prawna czyta się źle w pełnej szerokości ekranu — ograniczamy długość wiersza
   i dajemy listom oddech, bo numerowane ustępy są tu główną strukturą dokumentu. */
body.printella-legal .page-content {
    max-width: 900px;
}

/* Nagłówki w dokumencie prawnym są gęste (16 paragrafów, w §2 kilkadziesiąt definicji),
   więc domyślne rozmiary z `reset.css` motywu nadrzędnego (h2 2rem, h3 1.75rem) rozbijały
   tekst na kawałki. Zmniejszone: h2 o 20 % (2 × 0,8), h3 o 25 % (1,75 × 0,75).
   h3 zostaje wyraźnie mniejszy od h2, żeby hierarchia paragraf → definicja była czytelna. */
body.printella-legal .page-content h2 {
    font-size: 1.6rem;
    margin-top: 2em;
}

body.printella-legal .page-content h3 {
    font-size: 1.3125rem;
}

body.printella-legal .page-content li {
    margin-bottom: 0.6em;
}

@media (max-width: 767px) {
    body.printella-legal .page-header {
        min-height: 96px;
        padding: 18px 0;
        margin-bottom: 24px;
    }

    body.printella-legal .page-header .entry-title {
        font-size: 1.5rem;
    }
}

/* Zgody w podsumowaniu zamówienia (printella-core: Printella_Checkout_Consents).
   Domyślny form-row WooCommerce składa je jak pola formularza — a to drobny druk
   nad przyciskiem płatności. Selektory muszą być bardziej szczegółowe niż
   ".woocommerce form .form-row label" (line-height: 2) i "label.checkbox"
   (display: inline) z woocommerce.css, inaczej nic z tego nie zadziała. */
.printella-consents {
    margin-top: 12px;
}

.woocommerce form .form-row.printella-consent {
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce form .form-row.printella-consent:last-child {
    margin-bottom: 0;
}

.woocommerce form .form-row.printella-consent label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce form .form-row.printella-consent .printella-consent__text {
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce form .form-row.printella-consent input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 3px 0 0;
}
