/*
Theme Name: Toneka Theme
Theme URI: https://toneka.pl/
Author: Mariusz
Author URI: https://toneka.pl/
Description: Theme for Toneka website based on Ma design.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme
Text Domain: tonekatheme

RESPONSYWNOŚĆ - 2 BREAKPOINTY:
--------------------------------
Mobile (≤768px):
- 1 kolumna produktów
- Menu hamburger
- Hero: 2 kwadraty pionowo (tekst nad zdjęciem)
- Fonty: minimalne rozmiary z clamp()

Desktop (>768px):
- 3 kolumny produktów
- Menu normalne
- Hero: 2 kwadraty poziomo (tekst | zdjęcie)
- Fonty: maksymalne rozmiary z clamp()

FONTY RESPONSYWNE:
- Wszystkie fonty używają clamp(min, 1.0vw, max)
- Skalują się płynnie z szerokością ekranu
- Proporcje: 0.8vw-1.4vw w zależności od rozmiaru bazowego
*/

/* =====================================
   ZMIENNE CSS
   ===================================== */

:root {
    /* Kolory */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey-dark: #333333;
    --color-line-grey: #a5a5a5;
    --color-line-grey-dark: #7b7b7b;
    --color-error: #bf2b2b;
    --color-success: #2f8358;
    --color-info: #3877a1;
    
    /* Czcionki */
    --font-primary: 'Figtree', sans-serif;
    --font-size-xxs: clamp(0.55rem, 0.8vw, 0.7rem);
    --font-size-xs: clamp(0.6rem, 0.9vw, 0.8rem);
    --font-size-sm: clamp(0.65rem, 1.0vw, 0.9rem);
    --font-size-md: clamp(0.75rem, 1.1vw, 1rem);
    --font-size-base: clamp(0.8rem, 1.2vw, 1.1rem);
    --font-size-lg: clamp(1rem, 1.4vw, 1.3rem);
    --font-size-xl: clamp(1.5rem, 2.2vw, 2rem);
    --font-size-xxl: clamp(1.8rem, 2.8vw, 2.5rem);
    --font-size-hero: clamp(2rem, 3.3vw, 3rem);
    --font-size-title: clamp(1.55rem, 3.3vw, 3rem);
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s;
    --transition-medium: 0.3s;
    --transition-normal: 0.4s;
    --transition-slow: 0.6s;
    --transition-loader: 1.2s; /* Dla animacji loaderów */
    --transition-tooltip: 0.8s; /* Dla ruchu lewo/prawo (czarny prostokąt poziomo) - BARDZO WOLNY */
    --transition-tooltip-vertical: 0.8s; /* Dla ruchu góra/dół (czarny prostokąt pionowo) - BARDZO WOLNY */
    
    /* Easing functions */
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-tooltip: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* easeOutQuad - bardzo smooth dla tooltipa */
}

/* =====================================
   1. RESET I PODSTAWOWE STYLE
   ===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll dla kotwic */
html {
    scroll-behavior: smooth;
}

/* =====================================
   GLOBALNE ANIMACJE I EFEKTY ŁADOWANIA
   ===================================== */

/* Globalne transition dla płynnych animacji */
* {
    transition: opacity var(--transition-medium) ease, 
                transform var(--transition-medium) ease, 
                background-color var(--transition-medium) ease, 
                color var(--transition-medium) ease, 
                border-color var(--transition-medium) ease,
                box-shadow var(--transition-medium) ease,
                filter var(--transition-medium) ease;
}

/* Wyjątki - elementy, które nie powinny mieć transition */
*:where(
    video, 
    audio, 
    img[src*="gif"],
    .no-transition
) {
    transition: none !important;
}

/* Keyframes dla animacji */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Globalne animacje dla wszystkich elementów */
.toneka-product-card:not(.toneka-ajax-loaded),
.toneka-category-filter-item,
.woocommerce-pagination .page-numbers,
.toneka-ajax-pagination .page-numbers {
    animation: fadeIn var(--transition-medium) ease-out;
}

/* Produkty ładowane przez AJAX - bez automatycznej animacji CSS */
.toneka-product-card.toneka-ajax-loaded {
    animation: none;
}

/* Animacje dla produktów - USUNIĘTE opóźnienia (ładują się od razu) */
/* .toneka-product-card:not(.toneka-ajax-loaded):nth-child(1) { animation-delay: 0.3s; }
.toneka-product-card:not(.toneka-ajax-loaded):nth-child(2) { animation-delay: 0.3s; }
.toneka-product-card:not(.toneka-ajax-loaded):nth-child(3) { animation-delay: 0.3s; }
.toneka-product-card:not(.toneka-ajax-loaded):nth-child(4) { animation-delay: 0.3s; }
.toneka-product-card:not(.toneka-ajax-loaded):nth-child(5) { animation-delay: 0.3s; }
.toneka-product-card:not(.toneka-ajax-loaded):nth-child(6) { animation-delay: 0.3s; } */

/* Loading states - usunięte shimmer effect dla produktów (zastąpione przez lazy loading) */

/* Efekt fade dla AJAX */
.toneka-fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.toneka-fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Loading spinner */
.toneka-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toneka-loading-overlay.active {
    opacity: 1;
}

.toneka-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-line-grey);
    border-top: 2px solid var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    width: 100%;
    overflow-x: hidden;
}

html,
body {
    width: 100%;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 170%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Wymuś Figtree dla wszystkich elementów */
*,
*:before,
*:after,
body,
html,
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select,
.wp-block-group,
.wp-block-post-title,
.wp-block-post-content,
.entry-content,
.site-header,
.site-footer,
.menu,
.widget {
    font-family: var(--font-primary);
}

/* Wymuś pełną szerokość dla kontenerów WordPress */
#page,
.site,
#content,
.site-content,
.woocommerce,
.woocommerce-page,
.container,
.wp-block-group__inner-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Reset dla strony produktu */
.single-product #content,
.single-product .site-content,
.single-product main,
.single-product .woocommerce,
.single-product .product,
.single-product .entry-content,
.single-product .post-content,
.single-product article,
.single-product .hentry,
.single-product .wp-block-group,
.single-product .wp-container,
.single-product .alignwide,
.single-product .alignfull,
.single-product .wp-site-blocks,
.single-product .wp-block-post-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.single-product .toneka-hero-section,
.single-product .toneka-product-info-section,
.single-product .toneka-more-section,
.single-product .toneka-related-products {
}

del {
    color: var(--color-line-grey);
    padding-right: var(--spacing-xs);
    font-weight: 300;
    font-size: var(--font-size-md);
}

ins {
    text-decoration: none;
}

h1 {
    font-size: var(--font-size-title);
    font-weight: 300;
    text-transform: uppercase;
}

h2.wc-block-components-title.wc-block-components-checkout-step__title {
    font-size: var(--font-size-base);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-white);
}

.wc-block-components-checkout-step__description {
    font-size: var(--font-size-xs);
    font-weight: 300;
    color: var(--color-white);
}

.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt {
    font-size: var(--font-size-sm);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
    background-color: var(--color-black) !important;
    border-radius: 0!important;
    border: 1px solid var(--color-grey-dark)!important;
    padding: 12px 15px!important;
    margin: 0;
    color: var(--color-white) !important;
    transition: all 0.3s ease!important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email]:focus, .wc-block-components-form .wc-block-components-text-input input[type=number]:focus, .wc-block-components-form .wc-block-components-text-input input[type=password]:focus, .wc-block-components-form .wc-block-components-text-input input[type=tel]:focus, .wc-block-components-form .wc-block-components-text-input input[type=text]:focus, .wc-block-components-form .wc-block-components-text-input input[type=url]:focus, .wc-block-components-text-input input[type=email]:focus, .wc-block-components-text-input input[type=number]:focus, .wc-block-components-text-input input[type=password]:focus, .wc-block-components-text-input input[type=tel]:focus, .wc-block-components-text-input input[type=text]:focus, .wc-block-components-text-input input[type=url]:focus {
    outline: none!important;
    border-color: var(--color-grey-dark)!important;
    background: var(--color-line-grey) !important;
}

/* Override autofill styles - zachowaj czarne tło */
.wc-block-components-form .wc-block-components-text-input input[type=email]:-webkit-autofill, 
.wc-block-components-form .wc-block-components-text-input input[type=number]:-webkit-autofill, 
.wc-block-components-form .wc-block-components-text-input input[type=password]:-webkit-autofill, 
.wc-block-components-form .wc-block-components-text-input input[type=tel]:-webkit-autofill, 
.wc-block-components-form .wc-block-components-text-input input[type=text]:-webkit-autofill, 
.wc-block-components-form .wc-block-components-text-input input[type=url]:-webkit-autofill,
.wc-block-components-text-input input[type=email]:-webkit-autofill, 
.wc-block-components-text-input input[type=number]:-webkit-autofill, 
.wc-block-components-text-input input[type=password]:-webkit-autofill, 
.wc-block-components-text-input input[type=tel]:-webkit-autofill, 
.wc-block-components-text-input input[type=text]:-webkit-autofill, 
.wc-block-components-text-input input[type=url]:-webkit-autofill {
    background-color: var(--color-black) !important;
    -webkit-text-fill-color: var(--color-white) !important;
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
}

.wc-block-components-form .wc-block-components-text-input.has-error label, .wc-block-components-text-input.has-error label {
    color: var(--color-error) !important;
}

/* WooCommerce Blocks label styles - szare teksty, uppercase, wyżej */
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-form .wc-block-components-select label,
.wc-block-components-form .wc-block-components-textarea label,
.wc-block-components-select__label {
    color: var(--color-line-grey) !important; /* Używam jaśniejszego szarego dla lepszej czytelności */
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding: 0 15px !important;
}

/* WooCommerce Blocks section headings - białe tytuły, padding */
.wc-block-components-form h2,
.wc-block-components-form h3 {
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-base) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    padding: 0 15px !important;
}

/* WooCommerce Blocks descriptions - szare opisy, padding */
.wc-block-components-form p {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-xs) !important;
    font-weight: 300 !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
    padding: 0 15px !important;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    background: var(--color-black);
    color: var(--color-white);
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid var(--color-white);
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

ol, ul {
    margin-left: 25px;
}

/* =====================================
   2. HEADER I NAWIGACJA
   ===================================== */

.site-header {
    position: relative;
    z-index: 999;
    background: var(--color-black);
    border-bottom: 1px solid var(--color-line-grey);
}

/* Header standardowy */
.toneka-main-header {
    background: transparent;
    height: 120px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.toneka-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin: 0 auto;
    padding: 7px 7% 7px 7%;
}

.toneka-header-left {
    display: flex;
    align-items: center;
}

.toneka-header-right {
    display: flex;
    align-items: center;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-logo {
    height: 18px !important;
    width: 125px !important;
    object-fit: contain;
}

.product-page-header .custom-logo {
    height: 18px !important;
    width: 125px !important;
    object-fit: contain;
}

.toneka-default-logo a {
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
}

/* Menu główne */
.main-navigation {
    display: flex;
    align-items: center;
}

.toneka-primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toneka-primary-menu .menu-item {
    padding: 8px;
}

.toneka-primary-menu .menu-item a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-xs) !important;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.4;
    transition: opacity 0.3s ease;
    position: relative;
}

.toneka-primary-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-primary-menu .menu-item a:hover {
    opacity: 0.8;
}

.toneka-primary-menu .menu-item a:hover::after {
    width: 100%;
}

.toneka-primary-menu .menu-item.current-menu-item a,
.toneka-primary-menu .menu-item.current_page_item a {
    opacity: 1;
    position: relative;
}

.toneka-primary-menu .menu-item.current-menu-item a::after,
.toneka-primary-menu .menu-item.current_page_item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-white);
}

/* Menu toggle (hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none!important;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop - ukryj hamburger, pokaż normalne menu */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .toneka-primary-menu {
        display: flex !important;
    }
}

/* Header actions (konto, koszyk) */
.toneka-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}

.toneka-account-link,
.toneka-cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-md);
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.toneka-account-link:hover,
.toneka-cart-link:hover {
    opacity: 0.8;
}

.toneka-cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xxs);
    font-weight: 600;
}

/* Header przeźroczysty na stronie produktu */
.product-page-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: 82px;
    transition: background-color 0.3s ease;
}

/* Hero section pod headerem na stronach z przeźroczystym headerem */
/* Hero section zaczyna się normalnie pod headerem - bez negatywnego marginu */

/* Style ikonek dla wszystkich stron */
.toneka-main-header .toneka-account-link,
.toneka-main-header .toneka-cart-link {
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-md);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.toneka-main-header svg {
    fill: var(--color-white);
    stroke: var(--color-white);
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.toneka-main-header svg circle,
.toneka-main-header svg path {
    stroke: var(--color-white);
}

.toneka-main-header svg text {
    fill: var(--color-white);
    transition: fill 0.3s ease;
}

/* Transition dla SVG */
.product-page-header svg {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.product-page-header svg text {
    transition: fill 0.3s ease;
}

.product-page-header .toneka-header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    padding: 0;
}

.product-page-header .toneka-header-left {
    display: flex;
    align-items: center;
    padding-left: 14%;
}

.product-page-header .toneka-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14%;
}

.product-page-header .toneka-primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-page-header .toneka-primary-menu li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-weight: 300;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Mobile menu */
@media (max-width: 768px) {
    .product-page-header .toneka-primary-menu {
        display: none;
    }
    
    .product-page-header .toneka-header-actions {
        display: none !important; /* Ukryj koszyk i konto na mobile */
    }
    
    .product-page-header .toneka-account-link,
    .product-page-header .toneka-cart-link {
        color: var(--color-white);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: var(--font-size-md);
        text-transform: uppercase;
        transition: color 0.3s ease;
    }
}

.product-page-header .cart-count {
    background: var(--color-grey-dark);
    color: var(--color-white);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xxs);
    font-weight: 300;
}

/* =====================================
   3. STRONA PRODUKTU - LAYOUT GŁÓWNY
   ===================================== */

.toneka-product-page {
    background: var(--color-black);
    min-height: 100vh;
}

/* ==========================================================================
   Hero Slider Styles
   ========================================================================== */

.toneka-hero-slider {
    position: relative;
    width: 100%;
    height: 50vw;
    overflow: hidden;
    background: var(--color-black);
}

.toneka-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.toneka-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.toneka-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slajder używa oryginalnych stylów hero-section */
.toneka-slide.toneka-hero-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 50vw;
    background: var(--color-black);
}


.toneka-slide-subtitle {
    margin: 20px 0 30px 0;
}

.toneka-slide-subtitle p {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0;
}

/* Slider Controls */
.toneka-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: none;/* CZASOWO UKRYTE PRZEZ CSS */
}

.toneka-slider-prev,
.toneka-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent!important;
    border-radius: 50%;
    border: none!important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.toneka-slider-prev {
    left: 20px;
}

.toneka-slider-next {
    right: 20px;
}

.toneka-slider-prev:hover,
.toneka-slider-next:hover {
    background: var(--color-line-grey);
    border: none!important;
    transform: translateY(-50%) scale(1.1);
}

.toneka-slider-prev:active,
.toneka-slider-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Dots Navigation */
.toneka-slider-dots {
    position: absolute;
    bottom: 5%;
    /* right: 0; */
    left: 8.2%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}

.toneka-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: var(--color-line-grey);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    padding: 0;
    display: block;
    flex: none;
}

.toneka-slider-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

.toneka-slider-dot:hover {
    background: var(--color-line-grey);
    transform: scale(1.1);
}

/* Transition Types */
.toneka-slider-fade .toneka-slide {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.toneka-slider-slide .toneka-slide {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.toneka-slider-zoom .toneka-slide {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Scroll snap dla hero */
    html {
        scroll-snap-type: y mandatory;
    }
    
    /* Ukryj title icon na mobilnych */
    .toneka-title-icon {
        display: none !important;
    }
    
    .toneka-hero-slider {
        height: 90vh;
        min-height: 90vh;
        max-height: 90vh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        overflow: hidden;
        position: relative;
    }
    
    .toneka-slider-container {
        height: 100%;
        position: relative;
    }
    
    /* Slajdy na mobilnych - zachowaj absolute dla działania slidera */
    /* Ale zmieniamy grid na flex column */
    .toneka-slide,
    .toneka-slide.toneka-hero-section {
        position: absolute;
        height: 90vh;
        display: flex !important;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-areas: none;
    }
    
    .toneka-slide.toneka-hero-section .toneka-hero-left,
    .toneka-slide.toneka-hero-section .toneka-hero-right {
        width: 100%;
        padding: 0;
        border-right: none;
        position: relative;
    }
    
    /* Zdjęcie na górze - proporcje 1:1 z cover */
    .toneka-slide.toneka-hero-section .toneka-hero-right {
        order: 1;
        height: auto;
        width: 100vw;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
        /* border-top: 1px solid rgba(255, 255, 255, 0.4); */
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.4); */
    }
    
    /* Tekst poniżej - zajmuje resztę miejsca */
    .toneka-slide.toneka-hero-section .toneka-hero-left {
        order: 2;
        margin-bottom: 0;
        border-bottom: none;
        border-top: 1px solid var(--color-line-grey);
        height: auto;
        flex: 1 1 auto;
        aspect-ratio: auto;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    /* Wspólne style dla .toneka-hero-content na mobile */
    .toneka-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        flex: 1;
        min-height: 0;
        max-height: 100%;
        margin: 0;
        padding: 10% 5% !important;
        border-right: none !important;
        text-align: left;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    /* Specyficzne style dla slidera */
    .toneka-slide.toneka-hero-section .toneka-hero-content {
        text-align: left;
    }
    
    .toneka-slide.toneka-hero-section .toneka-hero-right img {
        object-fit: cover;
        width: 100%!important;
        height: 100%!important;
    }
    
    .toneka-slider-prev,
    .toneka-slider-next {
        width: 40px;
        height: 40px;
    }
    
    .toneka-slider-prev {
        left: 10px;
    }
    
    .toneka-slider-next {
        right: 10px;
    }
    
    .toneka-slider-dots {
        bottom: 20px;
        left: 90%!important;
        transform: translateX(-50%)!important;
    }
    
    .toneka-slide-subtitle p {
        font-size: var(--font-size-base);
    }
    
    /* Usuń dolny border z hero section na mobile */
    .toneka-hero-section {
        border-bottom: none !important;
    }
}

/* Hero Section - Idealne kwadraty 50/50 */
.toneka-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 50vw;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-hero-left {
    /* border-right: 1px solid rgba(255, 255, 255, 0.4); */
    display: flex;
    flex-direction: column;
    background: var(--color-black);
    height: 50vw;
    position: relative;
}

.toneka-hero-right {
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    height: 50vw;
    position: relative;
    overflow: hidden;
}

/* Hero Content */
.toneka-hero-content {
    flex: 1;
    padding: 82px 14% 40px 14%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    box-sizing: border-box;
    border-right: 1px solid var(--color-line-grey);
}

.toneka-text-section-image {
    margin-bottom: 3%;
}

.toneka-text-section-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ukryj kategorie produktu nad breadcrumbami */
.toneka-hero-content .product-categories,
.toneka-hero-content .woocommerce-product-categories,
.toneka-hero-content .product_cat,
.toneka-hero-content .posted_in {
    display: none !important;
}

.woocommerce-breadcrumb {
    color: var(--color-line-grey);
    font-size: var(--font-size-xs)!important;
    font-weight: 100;
    text-transform: uppercase;
}

.woocommerce-breadcrumb a {
    color: var(--color-white) !important;
    text-decoration: none;
    position: relative;
}

.woocommerce-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.woocommerce-breadcrumb a:hover::after {
    width: 100%;
}

.site-main {
    padding: 7%;
    min-height: 100vh;
    color: var(--color-white);
}

/* Wyłącz padding dla .site-main na stronach bloga (padding jest w .toneka-content-container) */
.single-post .site-main,
.blog .site-main,
.archive .site-main,
.category .site-main,
.tag .site-main,
.date .site-main,
.author .site-main {
    padding: 0;
}

/* Style dla standardowych stron WordPress */
.toneka-page-container {
    
    margin: 0 auto;
    padding: 40px 7%;
}

.toneka-page-content {
    color: var(--color-white);
}

.toneka-page-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 20px;
}

.toneka-page-title {
    font-size: var(--font-size-xl);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
}

.toneka-page-content-wrapper {
    line-height: 1.6;
}

.toneka-page-content-wrapper p {
    margin-bottom: 20px;
    color: var(--color-white);
}

.toneka-page-content-wrapper h1,
.toneka-page-content-wrapper h2,
.toneka-page-content-wrapper h3,
.toneka-page-content-wrapper h4,
.toneka-page-content-wrapper h5,
.toneka-page-content-wrapper h6 {
    color: var(--color-white);
    margin: 30px 0 15px 0;
    font-weight: 300;
}

.toneka-page-content-wrapper a {
    color: var(--color-white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.toneka-page-content-wrapper a:hover {
    opacity: 0.8;
}

.toneka-page-content-wrapper img {
    max-width: 100%;
    height: auto;
}

.toneka-page-content-wrapper ul,
.toneka-page-content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--color-white);
}

.toneka-page-content-wrapper li {
    margin-bottom: 10px;
}

/* Style dla index.php i postów */
.toneka-content-container {
    width: 100%;
    margin: 0 auto;
    padding: 7%;
}

.toneka-archive-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 20px;
}

.toneka-archive-title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
}

.toneka-post-content {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-line-grey);
    color: var(--color-white);
}

.toneka-post-content:last-child {
    border-bottom: none;
}

.toneka-post-header {
    margin-bottom: 30px;
}

.toneka-post-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.toneka-post-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-post-title a:hover {
    opacity: 0.8;
}

.toneka-post-meta {
    font-size: var(--font-size-sm);
    color: var(--color-line-grey);
    text-transform: uppercase;
    font-weight: 300;
}

.toneka-post-meta a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-post-meta a:hover {
    opacity: 0.8;
}

.toneka-post-content-wrapper {
    line-height: 1.6;
    color: var(--color-white);
}

.toneka-post-content-wrapper p {
    margin-bottom: 20px;
    color: var(--color-white);
}

.toneka-post-content-wrapper h1,
.toneka-post-content-wrapper h2,
.toneka-post-content-wrapper h3,
.toneka-post-content-wrapper h4,
.toneka-post-content-wrapper h5,
.toneka-post-content-wrapper h6 {
    color: var(--color-white);
    margin: 30px 0 15px 0;
    font-weight: 300;
}

.toneka-read-more {
    color: var(--color-white) !important;
    text-decoration: underline;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.toneka-read-more:hover {
    opacity: 0.8;
}

.toneka-no-content {
    text-align: center;
    padding: 80px 5%;
    color: var(--color-white);
}

.toneka-no-content h1 {
    font-size: var(--font-size-hero);
    margin-bottom: 20px;
    color: var(--color-white);
}

.toneka-no-content p {
    font-size: var(--font-size-base);
    color: var(--color-line-grey);
}

/* Nawigacja stron */
.posts-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-line-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.posts-navigation a {
    color: var(--color-white);
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid var(--color-line-grey);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
}

.posts-navigation a:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* =====================================
   HOMEPAGE STYLES - używa standardowych stylów z innych stron
   ===================================== */

/* Custom breadcrumb dla stron twórcy */
.toneka-breadcrumb {
    color: var(--color-line-grey);
    font-size: var(--font-size-xs);
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.toneka-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    position: relative;
}

.toneka-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-breadcrumb a:hover {
    opacity: 0.8;
}

.toneka-breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb-separator {
    color: var(--color-line-grey);
    margin: 0 8px;
}

.breadcrumb-current {
    color: var(--color-line-grey);
}

/* Kategorie produktu */
.toneka-product-categories {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 100;
    color: var(--color-line-grey);
    margin: 30px 0;
    text-transform: uppercase;
}

/* Tytuł produktu */
.toneka-product-title {
    font-size: clamp(2.2rem, 3.3vw, 3rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
}

/* Przycisk posłuchaj - podstawowe style */
.toneka-listen-button {
    background: none;
    border: none;
    color: var(--color-white);
    padding: 8px 0;
    font-size: var(--font-size-sm);
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 3%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toneka-listen-button:hover {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
}

.toneka-listen-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-listen-button:hover::before {
    width: 100%;
}

.toneka-listen-button .button-text {
    line-height: 24px;
}

.toneka-listen-button .button-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.toneka-listen-button:hover .button-arrow {
    transform: rotate(45deg);
}

.toneka-listen-button .button-arrow svg {
    fill: none;
    stroke: var(--color-white);
    width: clamp(16px, 2.5vw, 24px);
    height: clamp(16px, 2.5vw, 24px);
}

/* =====================================
   CUSTOM MINI-CART
   ===================================== */

.toneka-minicart {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--color-black);
    border-left: 1px solid var(--color-line-grey);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.toneka-minicart.is-active {
    right: 0;
}

.toneka-minicart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toneka-minicart-overlay.is-active {
    opacity: 0.65;
    visibility: visible;
}

.toneka-minicart-content {
    padding: 14%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toneka-minicart-header {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-minicart-header h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 0;
}

.toneka-minicart-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.toneka-minicart-close:hover {
    opacity: 0.7;
}

.toneka-minicart-close svg {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.toneka-minicart-close:hover svg {
    opacity: 0.7;
}

/* Przycisk zamykania widoczny tylko gdy mini koszyk jest aktywny */
.toneka-minicart:not(.is-active) .toneka-minicart-close {
    display: none;
}

.toneka-minicart.is-active .toneka-minicart-close {
    display: flex !important;
    z-index: 99999 !important;
    opacity: 0;
    animation: fadeInCloseButton var(--transition-medium) ease-in-out var(--transition-medium) forwards;
    border: none;
}

.toneka-minicart.is-active .toneka-minicart-close:hover {
    background: var(--color-grey-dark)!important;
}

@keyframes fadeInCloseButton {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.toneka-minicart-items {
    flex: 1;
    margin-bottom: 30px;
    overflow: visible;
}

.toneka-minicart-item {
    display: flex;
    gap: 5%;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line-grey);
    align-items: flex-start;
}

.toneka-minicart-item:last-child {
    border-bottom: none;
}

.toneka-minicart-item-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.toneka-minicart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toneka-minicart-item-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    min-width: 0;
}

/* Tooltip positioning for minicart - use JavaScript to position */
.toneka-minicart .toneka-attribute-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.toneka-minicart .toneka-attribute-value[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 400;
    text-transform: none;
    width: 250px;
    white-space: normal;
    border-radius: 0;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    z-index: 99999;
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.toneka-minicart .toneka-attribute-value[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: var(--color-white);
    z-index: 100000;
    pointer-events: none;
}

.toneka-minicart-item-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    /* flex-shrink: 0; */
    /* width: 80px; */
    /* min-width: 80px; */
}

.toneka-minicart-remove {
    background: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 11px!important;
    opacity: 1;
    order: 1;
    transition: opacity 0.3s ease;
    border: none!important;
}

.toneka-minicart-remove:hover {
    opacity: 1;
}

.toneka-minicart-remove svg {
    width: 20px;
    height: 20px;
}

.toneka-minicart-remove:hover svg path {
    fill-opacity: 1;
}

.toneka-minicart-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    /* border: 1px solid var(--color-line-grey); */
    border-radius: 30px;
    padding: 2px;
    order: 2;
}

.quantity-btn {
    background: none;
    border: 1px solid var(--color-white);
    border-radius: 50%!important;
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem)!important;
    padding: 20px!important;
    width: 30px!important;
    height: 30px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.quantity-btn:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.1);
}

.quantity-input {
    background: none;
    border: none;
    color: var(--color-white);
    text-align: center;
    width: 28px;
    padding: 8px 4px;
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
    text-align: center!important;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
}

.toneka-minicart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.toneka-minicart-item-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.toneka-minicart-item-variant,
.toneka-variation-attributes {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 2px 0;
}

.toneka-minicart-item-variant-wrapper {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-line-grey-dark);
    margin-bottom: 8px;
}

.toneka-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toneka-attribute-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.toneka-attribute-value {
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.toneka-attribute-value:hover {
    text-decoration: underline;
}

.toneka-attribute-value[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 400;
    text-transform: none;
    width: 250px;
    white-space: normal;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.toneka-attribute-value[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: var(--color-white);
    z-index: 100000;
    pointer-events: none;
}

.toneka-minicart-item-price {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 12px;
}

/* Sale price styling for minicart items */
.toneka-minicart-price-sale {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.toneka-minicart-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.toneka-minicart-price-regular {
    text-decoration: line-through;
    color: var(--color-line-grey);
    font-size: var(--font-size-md);
}

.toneka-minicart-price-current {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toneka-minicart-savings,
.toneka-minicart-savings * {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 500 !important;
    color: var(--color-line-grey) !important;
    text-transform: none !important;
    line-height: 1.5 !important;
    display: inline !important;
}

.toneka-minicart-savings {
    display: block !important;
}

.toneka-minicart-footer {
    border-top: 1px solid var(--color-white);
    padding-top: 20px;
}

.toneka-minicart-total-savings,
.toneka-minicart-total-savings * {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: right !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 500 !important;
    color: var(--color-line-grey) !important;
    text-transform: none !important;
    line-height: 1.5 !important;
    display: inline !important;
}

.toneka-minicart-total-savings {
    display: block !important;
}

.toneka-minicart-total {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: right;
}

.toneka-minicart-order-btn {
    width: 100%;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-line-grey);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-minicart-order-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.toneka-minicart-order-btn:active {
    transform: none;
}

.toneka-minicart-upsells {
    margin-top: 30px;
    border-top: 1px solid var(--color-line-grey);
    padding-top: 20px;
}

.toneka-minicart-upsells h4 {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.toneka-minicart-upsell-item {
    display: flex;
    gap: 5%;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line-grey);
    align-items: flex-start;
}

.toneka-minicart-upsell-item:last-child {
    border-bottom: none;
}

.toneka-minicart-upsell-item-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.toneka-minicart-upsell-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toneka-minicart-upsell-item-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: flex-start;
    min-width: 0;
}

.toneka-minicart-upsell-item-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    width: 80px;
    min-width: 80px;
}

.toneka-minicart-upsell-item-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.toneka-minicart-upsell-item-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.toneka-minicart-upsell-item-variant-wrapper {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-line-grey);
    margin-bottom: 8px;
}

.toneka-minicart-upsell-item-variant {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 0;
}

.toneka-minicart-upsell-item-price {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 12px;
}

/* Sale price styling for upsell items - matching minicart items */
.toneka-minicart-upsell-price-sale {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.toneka-minicart-upsell-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.toneka-minicart-upsell-price-regular {
    text-decoration: line-through;
    color: var(--color-line-grey);
    font-size: var(--font-size-md);
}

.toneka-minicart-upsell-price-current {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toneka-minicart-upsell-savings {
    font-size: var(--font-size-sm);
    color: var(--color-line-grey);
    font-weight: 500;
    margin-top: 3px;
}

.toneka-minicart-upsell-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    /* border: 1px solid var(--color-line-grey); */
    border-radius: 30px;
    padding: 2px;
}

.upsell-quantity-btn {
    background: none;
    border: 1px solid var(--color-white);
    border-radius: 50%!important;
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem)!important;
    padding: 20px!important;
    width: 30px!important;
    height: 30px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.upsell-quantity-btn:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.1);
}

.upsell-quantity-input {
    background: none;
    border: none;
    color: var(--color-white);
    text-align: center;
    width: 28px;
    padding: 8px 4px;
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
    text-align: center!important;
}

.upsell-quantity-input::-webkit-outer-spin-button,
.upsell-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.upsell-quantity-input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
}

.toneka-minicart-upsell-add-btn {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-white);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    margin-top: 8px;
}

.toneka-minicart-upsell-add-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-white);
}

.toneka-minicart-upsell-add-btn:active {
    transform: none;
}

.toneka-minicart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-white);
    font-family: var(--font-primary);
    text-transform: uppercase;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .toneka-minicart {
        width: 100%;
        right: -100%;
    }
    
    .toneka-minicart-content {
        padding: 5%;
    }
    
    .toneka-minicart-item {
        gap: 12px;
    }
    
    .toneka-minicart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .toneka-minicart-item-header {
        margin-bottom: 8px;
    }
    
    
    .toneka-minicart-item-variant {
        font-size: var(--font-size-xs);
    }
    
    .toneka-minicart-item-price {
        font-size: var(--font-size-md);
    }
    
    .toneka-minicart-header h3 {
        font-size: var(--font-size-md);
        color: var(--color-line-grey);
    }
}

/* =====================================
   UNIWERSALNE ANIMOWANE PRZYCISKI ZE STRZAŁKAMI
   ===================================== */

/* Klasa dla wszystkich animowanych przycisków */
.animated-arrow-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.animated-arrow-button .button-text,
.animated-arrow-button span:not(.button-arrow) {
    position: relative;
    font-size: clamp(0.8rem, 1.0vw, 0.9rem);
}

/* Animowana linia pod tekstem */
.animated-arrow-button .button-text::after,
.animated-arrow-button span:not(.button-arrow)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.animated-arrow-button:hover .button-text::after,
.animated-arrow-button:hover span:not(.button-arrow)::after {
    width: 100%;
}

/* Wyłącz podwójne podkreślenie dla przycisków hero */
.toneka-listen-button.animated-arrow-button .button-text::after,
.toneka-listen-button.animated-arrow-button span:not(.button-arrow)::after {
    display: none;
}

.toneka-listen-button.animated-arrow-button:hover .button-text::after,
.toneka-listen-button.animated-arrow-button:hover span:not(.button-arrow)::after {
    display: none;
}

/* Strzałka - domyślnie w górę */
.animated-arrow-button .button-arrow {
    position: relative;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

/* Hover - obraca strzałkę do pozycji w dół */
.animated-arrow-button:hover .button-arrow {
    transform: rotate(90deg);
}

/* Galeria produktu w hero right */
.toneka-hero-right .toneka-product-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* =====================================
   4. GALERIA PRODUKTU - SLIDESHOW
   ===================================== */

.toneka-custom-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.toneka-gallery-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.toneka-featured-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toneka-featured-image img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-dots {
    /* position: absolute; */
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-line-grey);
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot:hover,
.gallery-dot.active {
    background: var(--color-white);
}

.toneka-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-line-grey);
    font-size: var(--font-size-base);
}

/* =====================================
   5. SEKCJA INFORMACJI O PRODUKCIE
   ===================================== */

.toneka-product-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-grey);
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-product-details {
    border-right: 1px solid var(--color-line-grey);
    padding: 14%;
    display: flex;
    flex-direction: column;
    /* gap: 40px; */
    background: var(--color-black);
}

.toneka-audio-section {
    padding: 14%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Metadata produktu */

.toneka-title-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 3%;
}

.toneka-title-row h1 {
    font-size: var(--font-size-hero);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--color-white);
    margin: 0;
    flex: 1;
    padding-left: 1%;
    padding-right: 1%;
}

.toneka-duration {
    font-size: var(--font-size-xs);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-white);
    white-space: nowrap;
    padding-right: 1%;
}

.toneka-meta-row {
    display: block;
    padding-top: 0.8%;
    padding-bottom: 1.2%;
    border-bottom: 1px solid var(--color-line-grey)!important;
    line-height: 1.4;
    padding-left: 1%;
    padding-right: 1%;
}

/* Border dla pierwszego elementu metadata po opisie */
.toneka-description-row + .toneka-meta-row,
.toneka-product-metadata > .toneka-meta-row:first-of-type {
    border-top: 1px solid var(--color-line-grey)!important;
}

.toneka-meta-row:last-child {
    border-bottom: none;
}

.toneka-meta-row-split {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.toneka-meta-half {
    flex: 1;
}

.toneka-meta-half:first-child {
    margin-right: 20px;
}

.toneka-meta-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toneka-meta-label {
    font-size: clamp(0.8rem, 1.0vw, 0.95rem);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-line-grey);
    display: inline;
    line-height: 1.4;
}

.toneka-meta-value {
    font-size: clamp(0.8rem, 1.0vw, 0.95rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.4;
    /* text-transform: uppercase; */
    display: inline;
    /* margin-left: 1ch; zostawiamy bez marginesu*/
}

.toneka-role {
    color: var(--color-line-grey);
    font-weight: 300;
}

.toneka-creator-link {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-creator-link:hover {
    opacity: 0.8;
}

.toneka-category-link {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-category-link:hover {
    opacity: 0.8;
}

.toneka-meta-value a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-meta-value a:hover {
    opacity: 0.8;
}

.toneka-description-row {
    margin-top: 1%;
    font-size: clamp(0.8rem, 1.0vw, 0.95rem)!important;
    padding-left: 1%;
    padding-right: 1%;
    margin-bottom: 6%;
}

.toneka-description-row .toneka-meta-value {
    font-size: clamp(0.8rem, 1.0vw, 0.95rem)!important;
    line-height: 1.6;
}

.toneka-more-link {
    color: var(--color-line-grey);
    text-decoration: none;
    font-size: clamp(0.8rem, 1.0vw, 0.95rem)!important;
    text-transform: uppercase;
    margin-top: 10px;
    display: inline-block;
}

.toneka-more-link:hover {
    color: var(--color-white);
}

.toneka-full-description {
    margin-top: 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toneka-full-description.expanded {
    opacity: 1;
    max-height: 1000px;
    display: block !important;
}

.toneka-toggle-description {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-bottom: 10px;
}

.toneka-toggle-description:hover {
    color: var(--color-line-grey);
}

.toneka-toggle-description {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* distance between label and arrow */
    cursor: pointer;
}

.toneka-toggle-description[data-state="expanded"] .button-arrow {
    transform: rotate(90deg);
}

.toneka-toggle-description[data-state="collapsed"] .button-arrow {
    transform: rotate(0deg);
}

.toneka-toggle-description[data-state="collapsed"]:hover .button-arrow {
    transform: rotate(90deg); /* hover on container -> arrow down */
}

/* Expanded state: arrow starts down (90deg); on hover turn additional 90deg */
.toneka-toggle-description[data-state="expanded"]:hover .button-arrow {
    transform: rotate(0deg);
}

.toneka-toggle-description .button-arrow {
    transition: transform 0.3s ease;
    width: clamp(14px, 1.2vw, 16px);
    height: clamp(14px, 1.2vw, 16px);
}

/* ===== SEKCJA ZAKUPOWA ===== */

.toneka-carrier-selection-widget {
    margin-top: 14%;
    padding-left: 1%;
    padding-right: 1%;
}

.toneka-carrier-title {
    font-size: clamp(0.8rem, 1.0vw, 0.95rem);
    font-weight: 300;
    /* text-transform: uppercase; */
    color: var(--color-line-grey);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.toneka-carrier-options {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.toneka-carrier-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: clamp(0.8rem, 1.0vw, 0.95rem);
    color: var(--color-white);
    /* text-transform: uppercase; */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toneka-carrier-option input[type="radio"] {
    display: none;
}

.toneka-carrier-radio-custom {
    width: 16px;
    height: 16px;
    background-color: var(--color-white);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toneka-carrier-option input[type="radio"]:checked + .toneka-carrier-radio-custom {
    border-color: var(--color-white);
}

.toneka-carrier-option input[type="radio"]:checked + .toneka-carrier-radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-black);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeIn var(--transition-medium) ease;
}

.toneka-carrier-label {
    font-weight: 300;
}

.toneka-variation-info-container {
    margin-bottom: 30px;
    margin-top: 30px;
}

.toneka-variation-description-display {
    font-size: var(--font-size-xs);
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Opis wariantu bezpośrednio pod wybranym wariantem */
.toneka-variation-description-inline {
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
    line-height: 1;
    margin-bottom: 10px;
    padding-left: 28px; /* Wyrównanie do etykiety wariantu */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 0.5), 
                /* max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),  */
                /* transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), */
                /* margin 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
}

.toneka-variation-description-inline.active {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.toneka-variation-price-display {
    font-size: clamp(1.4rem, 1.3vw, 1.8rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
}

.toneka-cart-section {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.toneka-cart-form {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.toneka-quantity-section {
    display: flex;
    align-items: center;
}

.toneka-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
}

.toneka-quantity-minus,
.toneka-quantity-plus {
    background: none;
    border: 1px solid var(--color-white);
    border-radius: 50%!important;
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem)!important;
    padding: 20px!important;
    width: 30px!important;
    height: 30px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.toneka-quantity-minus:hover,
.toneka-quantity-plus:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.1);
}

.toneka-quantity-input {
    background: none;
    border: none;
    color: var(--color-white);
    text-align: center;
    width: 28px;
    padding: 8px 4px;
    font-size: var(--font-size-md);
    appearance: textfield;
    -moz-appearance: textfield; /* Firefox - usuń kontrolki */
    -ms-appearance: textfield; /* Internet Explorer */
    text-align: center!important;
}

/* Ukryj kontrolki systemowe w Chrome, Safari, Edge */
.toneka-quantity-input::-webkit-outer-spin-button,
.toneka-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.toneka-quantity-input:focus {
    outline: none;
}

.woocommerce form .form-row .input-text, 
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    background-color: var(--color-black) !important;
    border: 1px solid var(--color-grey-dark)!important;
    color: var(--color-white) !important;
    padding: 12px 15px!important;
    border-radius: 0!important;
    transition: all 0.3s ease!important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
}

.woocommerce form .form-row .input-text:hover,
.woocommerce form .form-row select:hover,
.woocommerce form .form-row textarea:hover {
    border-color: var(--color-grey-dark)!important;
    background: var(--color-line-grey) !important;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    outline: none!important;
    border-color: var(--color-grey-dark)!important;
    background: var(--color-line-grey) !important;
}

.woocommerce form .form-row .input-text:-webkit-autofill,
.woocommerce form .form-row select:-webkit-autofill,
.woocommerce form .form-row textarea:-webkit-autofill {
    background-color: var(--color-black) !important;
    -webkit-text-fill-color: var(--color-white) !important;
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
}

.woocommerce form .form-row label {
    color: var(--color-grey-dark) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding: 0 15px !important;
}

.woocommerce-account h2, .woocommerce-form-login h2, .woocommerce-form-register h2 {
    text-align: left!important;
    font-size: clamp(0.8rem, 1.2vw, 1.1rem)!important;
    border-bottom: 1px solid var(--color-line-grey);
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: none!important;
    padding: 0!important;
}


.toneka-add-to-cart-button {
    background: none;
    border: 1px solid var(--color-line-grey);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 25px;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-add-to-cart-button:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.01);
}

/* ===== RESPONSYWNOŚĆ SEKCJI ZAKUPOWEJ ===== */

@media (max-width: 768px) {
    .toneka-cart-section {
        gap: 15px;
        /* Zachowaj flex-direction: row - elementy w jednej linii */
    }
    
    .toneka-quantity-wrapper {
        /* Usuń justify-content: center - pozwól na naturalne układanie */
    }
    
    .toneka-add-to-cart-button {
        flex: 1; /* Przycisk zajmie pozostałą przestrzeń */
        text-align: center;
    }
    
    .toneka-carrier-selection-widget {
        margin-top: 20px;
    }
}

.toneka-tags-row {
    /* margin-top: 30px; */
}

.toneka-categories-row {
    margin-top: 30px!important;
}

.toneka-tag-link a {
    text-transform: none!important;
}

.toneka-tag-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-tag-link:hover {
    opacity: 0.7;
}


/* Selektor wariantów */
.toneka-product-variations {
    margin-top: 40px;
}

.toneka-variations-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toneka-variation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--color-line-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-variation-item:hover,
.toneka-variation-item.selected {
    border-color: var(--color-white);
    background: var(--color-line-grey);
}

.toneka-variation-label {
    font-size: var(--font-size-md);
    color: var(--color-white);
    text-transform: uppercase;
}

/* Audio player */
.toneka-audio-player {
    width: 100%;
    background: var(--color-black);
    border: 1px solid var(--color-line-grey);
    border-radius: 8px;
    padding: 20px;
}

.toneka-player-placeholder {
    text-align: center;
    color: var(--color-line-grey);
    font-size: var(--font-size-base);
    margin-bottom: 20px;
}

.toneka-player-interface {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toneka-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.toneka-control-btn {
    background: none;
    border: 1px solid var(--color-line-grey);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-control-btn:hover {
    background: var(--color-line-grey);
    color: var(--color-black);
}

.toneka-track-info {
    text-align: left;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.toneka-track-details {
    padding-left: var(--spacing-xs);
}

.toneka-track-time {
    padding-right: var(--spacing-xs);
}

.toneka-track-title {
    font-size: var(--font-size-base);
    color: var(--color-white);
    margin-bottom: 5px;
}

.toneka-track-time {
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
}

.toneka-volume-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toneka-volume-slider {
    flex: 1;
    height: 4px;
    background: var(--color-line-grey);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.toneka-volume-fill {
    height: 100%;
    background: var(--color-white);
    border-radius: 2px;
    width: 70%;
}

/* =====================================
   6. SEKCJE "WIĘCEJ"
   ===================================== */

.toneka-more-section {
    background: var(--color-black);
    /* border-top: 1px solid #ffffff; */
    border-bottom: 1px solid var(--color-line-grey);
    padding: 27px 60px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.toneka-more-content {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: clamp(1.4rem, 2.0vw, 1.8rem);
    text-transform: uppercase;
    color: var(--color-white);
}

/* =====================================
   7. PRODUKTY POWIĄZANE
   ===================================== */

.toneka-related-products {
    width: 100%;
    margin: 0;
}

/* =====================================
   PRODUKTY POWIĄZANE - FIGMA DESIGN
   ===================================== */

.toneka-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border: none;
    overflow: visible;
}

/* ===================================== 
   NOWY LAYOUT STRONY PRODUKTU
   ===================================== */

.toneka-product-layout {
    display: flex;
    min-height: 100vh;
    background: var(--color-black);
}

.toneka-product-image-container {
    position: sticky;
    top: 0;
    width: 50%;
    /* aspect-ratio: 1; - Usunięte, aby pomieścić nawigację */
    display: flex;
    align-items: start;
    /* justify-content: center; */
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

.toneka-product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-black);
    border-bottom: none;
    border-left: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    overflow: visible;
    /* padding: 14%; */
}

/* Player lazy wrapper w kontenerze produktu */
.toneka-product-image .toneka-player-lazy-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.toneka-product-image .toneka-player-lazy-wrapper .toneka-figma-player {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toneka-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Player w kontenerze zdjęcia */
.toneka-product-image .toneka-audio-player {
    width: 100%;
    height: 100%;
    background: var(--color-black);
    border: none;
    border-radius: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* Padding dla nawigacji playera na stronie produktu */
.toneka-product-image .toneka-figma-player .toneka-main-controls {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.toneka-product-content {
    width: 50%;
    padding: 7%;
    box-sizing: border-box;
    background: var(--color-black);
    border-left: 1px solid var(--color-line-grey);
}

/* Mobile - single column layout */
@media (max-width: 768px) {
    .toneka-product-layout {
        flex-direction: column;
    }
    
    .toneka-product-image-container {
        position: static;
        width: 100%;
        height: auto;
        /* aspect-ratio: 1; - usunięte, kontener dostosowuje się do playera */
        padding: 0;
    }
    
    /* Usuń sztywny aspect-ratio z kontenera produktu - niech dostosowuje się do playera */
    .toneka-product-layout .toneka-product-image {
        aspect-ratio: auto !important;
        height: auto !important;
    }
    
    /* Usuń padding z image wrapper na stronie produktu, ale zachowaj na kartach */
    .toneka-product-layout .toneka-product-image-wrapper {
        padding: 0 !important;
    }
    
    .toneka-product-content {
        width: 100%;
        padding: 5%;
        border-left: none;
    }
}

/* ===================================== 
   NOWY DESIGN KARTY PRODUKTU
   ===================================== */

/* Animacja pojawiania się - ze środka na zewnątrz */
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.toneka-product-card {
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    cursor: pointer;
    border: none;
    animation: scaleIn var(--transition-slow) var(--ease-elastic);
    animation-fill-mode: both;
    transform-origin: center center;
}

/* Staggered animation - opóźnienia dla kolejnych plakietek */
.toneka-product-card:nth-child(1) { animation-delay: 0s; }
.toneka-product-card:nth-child(2) { animation-delay: 0.1s; }
.toneka-product-card:nth-child(3) { animation-delay: 0.2s; }
.toneka-product-card:nth-child(4) { animation-delay: 0.3s; }
.toneka-product-card:nth-child(5) { animation-delay: 0.4s; }
.toneka-product-card:nth-child(6) { animation-delay: 0.5s; }
.toneka-product-card:nth-child(7) { animation-delay: 0.6s; }
.toneka-product-card:nth-child(8) { animation-delay: 0.7s; }
.toneka-product-card:nth-child(9) { animation-delay: 0.8s; }

/* Hover wyłączony */
.toneka-product-card:hover {
    /* transform: scale(1.08) translateY(-8px); */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); */
    /* z-index: 10; */
}

/* Ostatnia kolumna - przezroczysta prawa ramka dla równych szerokości */
.toneka-product-card:nth-child(3n) {
    border-right: 1px solid transparent;
}

/* Linie pionowe - między kolumnami (pierwsza i druga kolumna) */
.toneka-product-card:not(:nth-child(3n)) {
    border-right: 1px solid var(--color-line-grey);
}

/* Linie poziome - między rzędami (nie pierwszy rząd ma górną linię) */
.toneka-product-card:nth-child(n+4) {
    border-top: 1px solid var(--color-white);
}

/* Dolna linia dla ostatniego rzędu */
.toneka-products-grid .toneka-product-card:nth-last-child(-n+3) {
    /* border-bottom: 1px solid #ffffff; */
}

/* Etykieta nad zdjęciem (np. W ROLI GŁÓWNEJ: MACIEJ STUHR) */
.toneka-product-label {
    position: relative;
    background: var(--color-black);
    color: var(--color-line-grey);
    padding: 3% 4%;
    font-size: clamp(0.8rem, 1.0vw, 0.95rem);
    font-weight: 300;
    /* text-transform: uppercase; */
    font-family: var(--font-primary);
    min-height: 2.5em;
    /* display: flex; */
    display: none;
    align-items: center;
    order: 1;
}

/* Wrapper dla zdjęcia - zajmuje dostępne miejsce w karcie */
.toneka-product-image-wrapper {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--color-black);
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    aspect-ratio: 1 !important;
    min-height: 0;
    height: auto;
}

/* Nakładka kolorystyczna - kolor wyciągany z obrazu przez JavaScript */
.toneka-product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--filter-color, #78ff00);
    mix-blend-mode: multiply;
    opacity: 0; /* Wyłączone */
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition-normal) ease;
}

.toneka-product-card:hover .toneka-product-image-wrapper::before {
    opacity: 0;
}

/* Tooltip na plakietce - dwie przesunięte ramki (podąża za kursorem) */
.toneka-product-tooltip {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast) ease, 
                visibility var(--transition-fast) ease;
    z-index: 10;
    pointer-events: none;
    display: flex; /* Kontener flex w poziomie (kierunek: row) */
}

/* 
 * MECHANIZM RUCHU LEWO/PRAWO: Niewidzialny spacer
 * Poniższy element ::before jest niewidzialnym "rozpychaczem".
 * Animując jego właściwość `flex-grow`, płynnie przesuwamy treść tooltipa.
*/
.toneka-product-tooltip::before {
    content: '';
    display: block;
    flex-grow: 0; /* Stan domyślny (lewo): spacer nie zajmuje miejsca. */
    /* Prędkość animacji L/P jest kontrolowana przez --transition-tooltip */
    transition: flex-grow var(--transition-tooltip) var(--ease-tooltip);
}

/* Gdy kursor jest po prawej stronie, spacer "rośnie", wypychając treść. */
.toneka-product-tooltip.tooltip-flipped::before {
    flex-grow: 1; /* Stan odwrócony (prawo): spacer wypełnia dostępną przestrzeń. */
}

/* Wrapper na obie ramki, ustawia je w pionie (kierunek: column) */
.tooltip-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 
 * POZYCJONOWANIE RAMEK (Label i Value)
 * Używamy `transform: translate(X, Y)` do kontrolowania:
 * 1. Wzajemnego przesunięcia ramek w poziomie (offset X).
 * 2. Płynnej animacji zamiany miejsc góra/dół (offset Y).
*/

/* Pierwsza ramka - czarna z białym tekstem (label) */
.toneka-tooltip-label {
    background: var(--color-black);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    font-weight: var(--font-weight-light);
    letter-spacing: 0.05em;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-primary);
    position: relative;
    z-index: 2;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    /* Pozycja startowa: przesunięcie w lewo o 20% i brak przesunięcia w pionie */
    transform: translate(-20%, 0);
    /* Prędkość animacji G/D jest kontrolowana przez --transition-tooltip-vertical */
    transition: transform var(--transition-tooltip-vertical) var(--ease-tooltip);
}

/* Druga ramka - biała z czarnym tekstem (value) - przesunięta o 20% */
.toneka-tooltip-value {
    background: var(--color-white);
    color: var(--color-black);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.3;
    font-family: var(--font-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
    margin-top: calc(var(--spacing-xs) * -1);
    z-index: 1;
    display: inline-block;
    width: fit-content;
    text-transform: uppercase;
    white-space: nowrap;
    /* Stan TOP-LEFT (domyślny): obie ramki wyrównane do lewej (-20%) */
    transform: translate(-20%, 0);
    /* Prędkość animacji G/D jest kontrolowana przez --transition-tooltip-vertical */
    transition: transform var(--transition-tooltip-vertical) var(--ease-tooltip);
}

/* 
 * STAN "FLIPPED" (Kursor po prawej stronie)
 * Odwracamy tylko poziomy offset (X) w transformacji.
 * Ruch całego bloku jest realizowany przez spacer (flex-grow).
*/
.tooltip-flipped .toneka-tooltip-label {
    /* Stan TOP-RIGHT: obie ramki wyrównane do prawej (+20%) */
    transform: translate(310%, -100%);
}

.tooltip-flipped .toneka-tooltip-value {
    /* Stan TOP-RIGHT: obie ramki wyrównane do prawej (+20%) */
    transform: translate(-80%, 10);
}

/* 
 * STAN "BOTTOM" (Kursor na dole)
 * Zmieniamy pionowy offset (Y) w transformacji, aby ramki zamieniły się miejscami.
*/
.tooltip-bottom .toneka-tooltip-label {
    /* Przesuń w dół o 100% wysokości + mała korekta na "zakładkę" */
    transform: translate(0%, calc(80% - var(--spacing-sm)));
}

.tooltip-bottom .toneka-tooltip-value {
    /* Przesuń w górę o 100% wysokości + mała korekta na "zakładkę" */
    transform: translate(-20%, calc(60% + var(--spacing-sm)));
}

/* 
 * STAN KOMBINOWANY (Dół + Prawa strona)
 * Łączymy transformacje ze stanu "flipped" (offset X) i "bottom" (offset Y).
*/
.tooltip-bottom.tooltip-flipped .toneka-tooltip-label {
    transform: translate(10%, calc(50% - var(--spacing-sm)));
}

.tooltip-bottom.tooltip-flipped .toneka-tooltip-value {
    transform: translate(120%, calc(100% + var(--spacing-sm)));
}

.toneka-product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 0;
}

/* Placeholder dla braku zdjęcia */
.toneka-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-grey-dark);
}

/* Info pod zdjęciem - tytuł / autor w jednej linii */
.toneka-product-info {
    position: relative;
    background: var(--color-black);
    padding: 3% 4%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    order: 3;
    min-height: 88px;
    /* border-top: 1px solid var(--color-white); */
}

/* Linia z tytułem i autorem */
.toneka-product-title-line {
    width: 77%;
}

.toneka-product-title-line a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-base);
    line-height: 1.3;
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    gap: 3px;
    word-wrap: break-word;
}

.toneka-product-title-line a:hover {
    opacity: 0.8;
}

/* Nazwa produktu - semibold */
.toneka-product-name {
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
}

/* Separator między tytułem a autorem - ukryty */
.toneka-title-separator {
    display: none;
}

/* Autor - regular (zawsze renderowany, nawet jako &nbsp; gdy pusty) */
.toneka-product-author {
    font-size: var(--font-size-sm)!important;
    font-weight: var(--font-weight-light);
    display: block;
    line-height: 1.3;
}

/* Backward compatibility - ukryj stare elementy */
.toneka-product-creators {
    display: none !important;
}

.toneka-product-subtitle {
    display: none !important;
}

/* Ukryj tytuły tylko w kartach produktów, nie w sliderze */
.toneka-product-card .toneka-product-title {
    display: none !important;
}

/* Pokaż tytuły w sliderze */
.toneka-hero-slider .toneka-product-title,
.toneka-slide .toneka-product-title,
.toneka-hero-content .toneka-product-title {
    display: block !important;
}

.toneka-product-footer {
    display: none !important;
}

.toneka-product-price {
    display: none !important;
}

/* =====================================
   8. FOOTER
   ===================================== */

.toneka-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0;
    position: relative;
    z-index: 1;
}

/* .toneka-footer-main { */
    /* padding: 60px 0; */
/* } */

.toneka-footer-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto;
    gap: 80px;
    /* padding: 0 7%; */
    align-items: start;
    justify-content: start;
}

/* Pierwsza kolumna - widget area */
.toneka-footer-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Druga kolumna - widget */
.toneka-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.toneka-footer-contact {
    margin-bottom: 24px;
}

.toneka-footer-contact p {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 4px 0;
}

/* Footer widgets */
.footer-widget {
    margin-bottom: 24px;
}

.footer-widget-title {
    font-family: var(--font-primary);
    font-size: clamp(0.7rem, 1.0vw, 0.85rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

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

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(0.7rem, 1.0vw, 0.85rem);
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.footer-widget a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.footer-widget a:hover {
    opacity: 0.7;
}

.footer-widget a:hover::after {
    width: 100%;
}

/* Footer bottom */
.toneka-footer-bottom {
    background: var(--color-black);
    padding: 20px 0;
    border-top: 1px solid var(--color-line-grey);
}

.toneka-footer-bottom-content {
    margin: 0 auto;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Social media links */
.toneka-social-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.toneka-social-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: white;
    text-decoration: none;
    font-size: var(--font-size-xxs);
    font-weight: 300;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.toneka-social-link:hover {
    opacity: 0.8;
}

.toneka-social-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-social-link:hover::before {
    width: 100%;
}

.toneka-social-link .social-arrow {
    transition: transform 0.3s ease;
}

.toneka-social-link:hover .social-arrow {
    transform: rotate(45deg);
}

.social-text {
    font-family: var(--font-primary);
}

.social-arrow {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copyright */
.toneka-copyright {
    color: var(--color-line-grey);
    font-size: var(--font-size-xxs);
    font-weight: 300;
    text-transform: uppercase;
}

.toneka-copyright span {
    font-family: var(--font-primary);
}

/* Responsive footer bottom */
@media (max-width: 768px) {
    .toneka-footer-bottom-content {
        flex-direction: column;
        gap: 0;
        text-align: left;
        align-items: flex-start;
    }
    
    .toneka-social-links {
        gap: 20px;
    }
    
    .toneka-social-link {
        font-size: clamp(0.5rem, 0.7vw, 0.6rem);
    }
    
    .toneka-copyright {
        font-size: clamp(0.5rem, 0.7vw, 0.6rem);
    }
}

.toneka-back-to-top-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

/* Scrolling text section */
.toneka-scrolling-text-section {
    background: var(--color-black);
    border-top: 1px solid var(--color-line-grey);
    border-bottom: 1px solid var(--color-line-grey);
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.toneka-footer-main {
    /* border-top: 1px solid rgba(255, 255, 255, 0.4); */
    padding: 7%;
}

.toneka-scrolling-text-container {
    width: 100%;
    overflow: hidden;
}

.toneka-scrolling-text {
    display: inline-flex;
    animation: scroll-left var(--scroll-duration, 50s) linear infinite;
    will-change: transform;
}

.toneka-scrolling-text-content {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 1.9vw, 1.7rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 10px; /* Space between repetitions */
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-25%);
    }
}

/* Pause animation on hover */
.toneka-scrolling-text:hover {
    animation-play-state: paused;
}

/* =====================================
   9. MEDIA QUERIES - RESPONSIVE
   ===================================== */

/* Mobile Menu Overlay - ukryj domyślnie na desktop */
.mobile-menu-overlay {
    display: none !important;
}

.mobile-hamburger {
    display: none !important;
}

/* Tablet (769px - 1024px) */
/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Pokaż hamburger i menu na mobile */
    .mobile-hamburger {
        display: flex !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--color-black);
        z-index: 9998;
        flex-direction: column;
    }
    
    .mobile-menu-overlay.is-active {
        display: flex !important;
    }
    
    /* Ukryj minicart overlay gdy menu jest otwarte */
    .mobile-menu-overlay.is-active ~ .toneka-minicart-overlay,
    .mobile-menu-overlay.is-active ~ .toneka-minicart {
        display: none !important;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2% 5%;
        height: 70px;
    }
    
    .product-page-header .toneka-header-left {
        padding: 0!important;
    }

    .product-page-header .toneka-header-right {
        padding: 0!important;
    }

    .product-page-header .toneka-header-container {
        padding: 2% 5%!important;
    }

    .mobile-close {
        background: none;
        border: none!important;
        cursor: pointer;
        padding: 0!important;
        width: 24px!important;
        height: 24px!important;
    }
    
    .mobile-close svg {
        display: block;
    }
    
    .mobile-close svg:last-child {
        display: none;
    }
    
    .mobile-close:hover svg:first-child {
        display: none;
    }
    
    .mobile-close:hover svg:last-child {
        display: block;
    }
    
    .mobile-menu-nav {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .mobile-primary-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .mobile-primary-menu .menu-item a {
        color: var(--color-white);
        text-decoration: none;
        font-size: clamp(1rem, 4vw, 1.5rem);
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-weight: 300;
        transition: opacity 0.3s ease;
    }
    
    .mobile-primary-menu .menu-item a:hover {
        opacity: 0.8;
    }
    
    .mobile-menu-cart,
    .mobile-menu-social {
        padding: 5%;
        border-top: 1px solid var(--color-line-grey);
    }
    
    .mobile-menu-cart {
        border-bottom: 1px solid var(--color-line-grey);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-cart-link {
        color: var(--color-white);
        text-decoration: none;
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    .mobile-cart-link svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .mobile-social-link {
        color: var(--color-white);
        text-decoration: none;
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        transition: opacity 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-cart-link:hover,
    .mobile-social-link:hover {
        opacity: 0.7;
    }
    
    .mobile-menu-social {
        display: flex;
        justify-content: space-around;
    }
    
    .mobile-social-link::after {
        content: '';
        width: 8px;
        height: 8px;
        display: inline-flex;
        background: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0L8 4L4 8L0 4L4 0Z' fill='white'/%3E%3C/svg%3E") no-repeat;
    }

    /* Style .toneka-hero-content zdefiniowane w pierwszym media query (926) - nie duplikujemy */

    .toneka-text-section-image img {
        max-height: 40px;
    }

    .toneka-listen-button {
        padding: 4px 0;
    }
    
    /* Wyłącz sticky header na mobile */
    .toneka-main-header {
        position: static;
        height: 70px;
    }
    
    .product-page-header {
        position: static;
    }
    
    .footer-widget li {
        margin-bottom: 0px;
        line-height: 24px;
    }

    .toneka-footer-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        text-align: left;
    }
    
    .toneka-footer-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .toneka-product-image-wrapper {
        padding: 0 !important;
        aspect-ratio: 1 !important;
        flex: 0 0 auto;
        height: auto;
        margin-top: 22px;
    }

    .toneka-product-title-line {
        width: 100%!important;
    }
    
    .toneka-product-title-line a {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .toneka-title-separator {
        display: none;
    }
    
    .toneka-product-author {
        display: block;
    }

    .toneka-back-to-top {
        padding: 0 5%;
        justify-content: center;
    }
    
    .toneka-back-to-top-btn {
        font-size: var(--font-size-base);
    }
    
    .toneka-scrolling-text-content {
        font-size: var(--font-size-lg);
        /* padding-right: 60px; */
    }
    
    .toneka-scrolling-text-section {
        padding: 15px 0;
    }

    .toneka-header-container {
        padding: 2% 5%;
    }
    
    .menu-toggle {
        display: flex;
        width: 24px!important;
        height: 24px!important;
        padding: 0!important;
    }
    
    .toneka-primary-menu {
        display: none;
    }
    
    .toneka-header-actions {
        display: none; /* Ukryj koszyk i konto na mobile */
    }
    
    .toneka-cart-icon {
        display: none !important; /* Ukryj koszyk na mobile */
    }
    
    /* Ukryj cart-count z headera */
    .toneka-header-right .cart-count {
        display: none !important;
    }
    
    .toneka-hero-section,
    .toneka-slide.toneka-hero-section {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "hero-image"
            "hero-text";
        height: 90vh;
        min-height: 90vh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    
    .toneka-hero-left,
    .toneka-hero-right {
        border-right: none;
        width: 100vw;
    }
    
    /* Zdjęcie na górze - proporcje 1:1 z cover */
    .toneka-hero-right {
        grid-area: hero-image;
        aspect-ratio: 1 / 1;
        height: auto;
        flex-shrink: 0;
    }
    
    /* Tekst poniżej - zajmuje resztę miejsca */
    .toneka-hero-left {
        grid-area: hero-text;
        border-bottom: none;
        /* border-top: 1px solid rgba(255, 255, 255, 0.4); */
        height: auto;
        flex: 1;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Wyrównanie content do środka w pionie dla wszystkich hero */
    .toneka-hero-left .toneka-hero-content {
        align-items: flex-start;
    }
    
    .toneka-hero-right img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .toneka-hero-right .toneka-product-image {
        padding: 60px 40px;
    }
    
    .toneka-product-title {
        font-size: clamp(2.7rem, 3.9vw, 3.4rem);
    }
    
    .toneka-product-categories {
        font-size: var(--font-size-xxs);
        margin: 20px 0;
    }
    
    .toneka-product-info-section {
        grid-template-columns: 1fr;
    }
    
    .toneka-product-details {
        border-right: none;
        border-bottom: 1px solid var(--color-white);
        padding: 7%;
    }
    
    .toneka-audio-section {
        padding: 7%;
    }
    
    .toneka-products-grid {
        grid-template-columns: 1fr;
    }
    
    .toneka-product-card {
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid var(--color-white);
        border-bottom: none;
        aspect-ratio: auto; /* Karta dostosowuje się do zawartości (obrazek 1:1 + info) */
    }
    
    .toneka-product-card:first-child {
        border-top: none !important;
    }
    
    .toneka-product-card:last-child {
        border-bottom: 1px solid var(--color-white) !important;
    }
    
    /* Tooltip na mobilnych - zachowaj dwie przesunięte ramki */
    .toneka-tooltip-label {
        font-size: clamp(0.7rem, 2.2vw, 0.8rem);
        padding: 10px 16px;
    }
    
    .toneka-tooltip-value {
        font-size: clamp(0.95rem, 2.8vw, 1.1rem);
        padding: 10px 16px;
        margin-top: -6px;
        margin-left: 18%;
    }
    
    .toneka-product-image {
        /* padding: 40px; Mniejszy padding na mobile */
    }
    
    /* Mobile Menu Styles */
    .mobile-hamburger svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mobile-hamburger svg:first-child {
        display: block;
    }
    
    .mobile-hamburger svg:last-child {
        display: none;
    }
    
    .mobile-hamburger:hover svg:first-child {
        display: none;
    }
    
    .mobile-hamburger:hover svg:last-child {
        display: block;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--color-black);
        z-index: 9998;
        display: none;
        flex-direction: column;
    }
    
    .mobile-menu-overlay.is-active {
        display: flex;
    }
    
    /* Ukryj minicart overlay gdy menu jest otwarte */
    .mobile-menu-overlay.is-active ~ .toneka-minicart-overlay,
    .mobile-menu-overlay.is-active ~ .toneka-minicart {
        display: none !important;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2% 5%;
        height: 70px;
        /* border-bottom: 1px solid #7b7b7b; */
    }
    
    .product-page-header .toneka-header-left {
        padding: 0!important;
    }

    .product-page-header .toneka-header-right {
        padding: 0!important;
    }

    .product-page-header .toneka-header-container {
        padding: 2% 5%!important;
    }

    .mobile-close {
        background: none;
        border: none!important;
        cursor: pointer;
        padding: 0!important;
        width: 24px!important;
        height: 24px!important;
    }
    
    .mobile-close svg {
        display: block;
    }
    
    .mobile-close svg:last-child {
        display: none;
    }
    
    .mobile-close:hover svg:first-child {
        display: none;
    }
    
    .mobile-close:hover svg:last-child {
        display: block;
    }
    
    .mobile-menu-nav {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .mobile-primary-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .mobile-primary-menu .menu-item a {
        color: var(--color-white);
        text-decoration: none;
        font-size: clamp(1rem, 4vw, 1.5rem);
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-weight: 300;
        transition: opacity 0.3s ease;
    }
    
    .mobile-primary-menu .menu-item a:hover {
        opacity: 0.8;
    }
    
    .mobile-menu-cart,
    .mobile-menu-social {
        padding: 5%;
        border-top: 1px solid var(--color-line-grey);
    }
    
    .mobile-menu-cart {
        border-bottom: 1px solid var(--color-line-grey);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-cart-link {
        color: var(--color-white);
        text-decoration: none;
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    .mobile-cart-link svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .mobile-social-link {
        color: var(--color-white);
        text-decoration: none;
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        transition: opacity 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-cart-link:hover,
    .mobile-social-link:hover {
        opacity: 0.7;
    }
    
    .mobile-menu-social {
        display: flex;
        justify-content: space-around;
    }
    
    .mobile-social-link::after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 5px;
        background: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0L8 4L4 8L0 4L4 0Z' fill='white'/%3E%3C/svg%3E") no-repeat;
    }

    /* Style .toneka-hero-content zdefiniowane wcześniej w tym media query - nie duplikujemy */
}

/* ==========================================================================
   CATEGORY PAGE STYLES - BASED ON PRODUCT PAGE
   ========================================================================== */

/* Category and Tag hero section - reuse product hero styles */
.toneka-category-hero,
.toneka-tag-hero {
    /* Inherits all styles from .toneka-hero-section */
}

.toneka-category-title,
.toneka-tag-title {
    /* Inherits all styles from .toneka-product-title */
}

/* Nagłówki sekcji na stronie głównej */
.toneka-category-title h2 {
    font-size: clamp(1.3rem, 1.3vw, 2.3rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--color-line-grey);
    border-bottom: 1px solid var(--color-line-grey);
}

/* Nowy layout nagłówków sekcji */
.toneka-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 7%;
    border-top: 1px solid var(--color-line-grey);
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toneka-title-icon {
    width: clamp(60px, 5vw, 120px);
    opacity: 0.8;
}

.toneka-section-title h2 {
    font-size: clamp(1.3rem, 1.3vw, 2.3rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    color: var(--color-white);
    margin: 0;
    text-align: left;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
}

.toneka-section-link {
    display: flex;
    align-items: center;
}

.toneka-view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(0.8rem, 1.0vw, 0.9rem);
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
    line-height: 1;
}

.toneka-view-all-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-view-all-link:hover::after {
    width: 100%;
}

.toneka-view-all-link:hover {
    opacity: 0.8;
}

.toneka-arrow-icon {
    width: clamp(12px, 2.0vw, 18px);
    height: clamp(12px, 2.0vw, 18px);
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.toneka-view-all-link:hover .toneka-arrow-icon {
    transform: rotate(45deg);
}

.toneka-arrow-icon img {
    width: clamp(10px, 1.5vw, 16px);
    height: clamp(10px, 1.5vw, 16px);
}


/* Quote section styling */
.toneka-quote-section {
    border-bottom: 1px solid var(--color-line-grey);
    padding: 30px 0;
    text-align: center;
}

.toneka-quote-section h2 {
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    margin: 0;
    padding: 0;
}

/* Category image in hero right */
.toneka-hero-right .toneka-category-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.toneka-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero product link in category */
.toneka-hero-product-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toneka-hero-product-link:hover {
    opacity: 0.9;
}

.toneka-hero-product-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Category description */
.toneka-category-description {
    color: var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin: 20px 0;
    text-transform: uppercase;
}

/* Filter button - reuse listen button styles */
.toneka-filter-button {
    /* Inherits all styles from .toneka-listen-button */
}

/* Category products section */
.toneka-category-products-section {
    background: var(--color-black);
    min-height: 50vh;
    padding: 0;
    margin: 0;
}

/* Category Filter Section */
.toneka-category-filter-section {
    background: var(--color-black);
    border-top: 1px solid var(--color-line-grey);
    border-bottom: 1px solid var(--color-line-grey);
    min-height: 120px;
    display: flex;
    align-items: center;
    padding: 40px 7%;
}

.toneka-category-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.toneka-category-filter-item {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 300;
    text-transform: uppercase;
}

.toneka-category-filter-item a {
    color: var(--color-line-grey);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.toneka-category-filter-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.toneka-category-filter-item a:hover {
    color: var(--color-white);
}

.toneka-category-filter-item a:hover::after {
    width: 100%;
}

.toneka-category-filter-active span {
    color: var(--color-white);
    font-weight: 500;
}

.toneka-category-filter-active {
    position: relative;
}

.toneka-category-filter-active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-white);
}

/* Category filter separator */
.toneka-category-filter-separator {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

/* Loading and Error States for AJAX Filtering */
.toneka-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.toneka-loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-line-grey);
    border-top: 3px solid var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.toneka-filter-error {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--color-error);
    color: var(--color-white);
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 9999;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    animation: slideInRight var(--transition-medium) ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toneka-filter-error p {
    margin: 0;
}

/* AJAX Pagination */
.toneka-ajax-pagination {
    margin: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-white);
    padding-top: 40px;
}

.toneka-ajax-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toneka-ajax-pagination .page-numbers:hover,
.toneka-ajax-pagination .page-numbers.current {
    background: var(--color-white);
    color: var(--color-black);
}

.toneka-category-products-container {
    margin: 0;
    padding: 0;
}

/* Category products grid - reuse related products grid */
.toneka-category-products-grid {
    /* Inherits all styles from .toneka-products-grid */
    /* border-top: 1px solid rgba(255, 255, 255, 0.4); */
}

/* No products message */
.toneka-no-products {
    text-align: center;
    padding: 100px 5%;
    color: var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    text-transform: uppercase;
}

/* ===================================== 
   ARCHIWUM BLOGA - KARTY POSTÓW
   ===================================== */

/* Wrapper dla archiwum z sidebarem */
.toneka-archive-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.toneka-archive-main {
    min-width: 0; /* Zapobiega overflow w grid */
}

/* Siatka postów - trzy kolumny na desktop */
.toneka-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border: none;
    overflow: visible;
    margin-top: 40px;
}

/* Karta posta */
.toneka-post-card {
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    cursor: pointer;
    border: none;
    animation: scaleIn var(--transition-slow) var(--ease-elastic);
    animation-fill-mode: both;
    transform-origin: center center;
}

/* Staggered animation - opóźnienia dla kolejnych kart */
.toneka-post-card:nth-child(1) { animation-delay: 0s; }
.toneka-post-card:nth-child(2) { animation-delay: 0.1s; }
.toneka-post-card:nth-child(3) { animation-delay: 0.2s; }
.toneka-post-card:nth-child(4) { animation-delay: 0.3s; }
.toneka-post-card:nth-child(5) { animation-delay: 0.4s; }
.toneka-post-card:nth-child(6) { animation-delay: 0.5s; }
.toneka-post-card:nth-child(7) { animation-delay: 0.6s; }
.toneka-post-card:nth-child(8) { animation-delay: 0.7s; }
.toneka-post-card:nth-child(9) { animation-delay: 0.8s; }

/* Linie pionowe - między kolumnami */
.toneka-post-card:not(:nth-child(3n)) {
    border-right: 1px solid var(--color-line-grey);
}

/* Ostatnia kolumna - przezroczysta prawa ramka */
.toneka-post-card:nth-child(3n) {
    border-right: 1px solid transparent;
}

/* Linie poziome - między rzędami */
.toneka-post-card:nth-child(n+4) {
    border-top: 1px solid var(--color-white);
}

/* Wrapper obrazka */
.toneka-post-image-wrapper {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--color-black);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 0;
    height: auto;
}

/* Obrazek posta */
.toneka-post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 0;
}

/* Placeholder dla braku zdjęcia */
.toneka-post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-grey-dark);
}

/* Overlay z tytułem na zdjęciu */
.toneka-post-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 8% 4%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.toneka-post-title-overlay a {
    color: var(--color-white);
    text-decoration: none;
    width: 100%;
}

.toneka-post-card-title {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.toneka-post-card-title:hover {
    color: var(--color-white);
}

/* Nagłówek archiwum */
.toneka-archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-archive-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
}

/* Komunikat o braku treści */
.toneka-no-content {
    text-align: center;
    padding: 100px 5%;
    color: var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    text-transform: uppercase;
}

.toneka-no-content h1 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 20px;
    color: var(--color-white);
}

/* Nawigacja postów */
.posts-navigation {
    margin: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-white);
    padding-top: 40px;
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.posts-navigation a {
    padding: 10px 15px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.posts-navigation a:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* Responsive - jedna kolumna na mobile */
@media (max-width: 768px) {
    .toneka-archive-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }
    
    .toneka-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .toneka-post-card {
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid var(--color-white);
        border-bottom: none;
        aspect-ratio: auto;
    }
    
    .toneka-post-card:first-child {
        border-top: none !important;
    }
    
    .toneka-post-card:last-child {
        border-bottom: 1px solid var(--color-white) !important;
    }
    
    .toneka-post-image-wrapper {
        aspect-ratio: 1;
    }
    
    .toneka-post-title-overlay {
        padding: 6% 4%;
    }
    
    .toneka-post-card-title {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
    
    .toneka-archive-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .toneka-archive-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
    
    /* Wyłącz sticky na mobile dla sidebara archiwum */
    .toneka-archive-wrapper .toneka-post-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }
}

/* ===================================== 
   POJEDYNCZY POST BLOGOWY
   ===================================== */

.toneka-post-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.toneka-post-single-main {
    min-width: 0; /* Zapobiega overflow w grid */
}

.toneka-post-single {
    background: var(--color-black);
}

.toneka-post-single-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-post-single-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.toneka-post-single-meta {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-post-single-meta a {
    color: var(--color-line-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toneka-post-single-meta a:hover {
    color: var(--color-white);
}

.toneka-post-single-featured-image {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.toneka-post-featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.toneka-post-single-content {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 40px;
}

.toneka-post-single-content p {
    margin-bottom: 1.5em;
}

.toneka-post-single-content h2,
.toneka-post-single-content h3,
.toneka-post-single-content h4 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-top: 2em;
    margin-bottom: 1em;
}

.toneka-post-single-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.toneka-post-single-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.toneka-post-single-content h4 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.toneka-post-single-content a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-line-grey);
    transition: text-decoration-color 0.3s ease;
}

.toneka-post-single-content a:hover {
    text-decoration-color: var(--color-white);
}

.toneka-post-single-content ul,
.toneka-post-single-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.toneka-post-single-content li {
    margin-bottom: 0.5em;
}

.toneka-post-single-content blockquote {
    border-left: 3px solid var(--color-line-grey);
    padding-left: 2em;
    margin: 2em 0;
    font-style: italic;
    color: var(--color-line-grey);
}

.toneka-post-single-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
}

.toneka-post-single-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-line-grey);
}

.toneka-post-tags {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-tags-label {
    margin-right: 10px;
}

.toneka-tag-link {
    color: var(--color-line-grey);
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.toneka-tag-link:hover {
    color: var(--color-white);
}

/* Nawigacja między postami */
.post-navigation {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid var(--color-white);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    text-transform: uppercase;
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--color-line-grey);
}

.post-navigation .nav-subtitle {
    display: block;
    color: var(--color-line-grey);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    margin-bottom: 5px;
}

.post-navigation .nav-title {
    display: block;
    color: var(--color-white);
    font-weight: 300;
}

/* Sidebar dla postów */
.toneka-post-sidebar {
    min-width: 0; /* Zapobiega overflow w grid */
    position: sticky;
    top: 140px; /* Odległość od góry (wysokość header + margines) */
    align-self: start; /* Wyrównanie do góry w grid */
    max-height: calc(100vh - 160px); /* Maksymalna wysokość viewport minus header i marginesy */
    overflow-y: auto; /* Scroll jeśli zawartość jest za długa */
}

.toneka-post-sidebar-widget {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-post-sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.toneka-post-sidebar-title {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.toneka-post-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toneka-post-sidebar-widget li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-post-sidebar-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.toneka-post-sidebar-widget a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.toneka-post-sidebar-widget a:hover {
    color: var(--color-line-grey);
}

.toneka-post-sidebar-widget p {
    color: var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.6;
    margin-bottom: 15px;
}

.toneka-post-sidebar-widget p:last-child {
    margin-bottom: 0;
}

/* Responsive dla pojedynczego posta */
@media (max-width: 768px) {
    .toneka-post-single-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }
    
    .toneka-content-container {
        padding: 5%;
    }
    
    .toneka-post-single-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    .toneka-post-single-featured-image {
        margin-bottom: 30px;
    }
    
    .toneka-post-single-content {
        margin-bottom: 30px;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
    
    .toneka-post-sidebar-widget {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    /* Wyłącz sticky na mobile */
    .toneka-post-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }
}

/* Pagination styles */
.woocommerce-pagination {
    margin: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-white);
    padding-top: 40px;
}

.woocommerce-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid var(--color-line-grey);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers.current {
    background: var(--color-white);
    color: var(--color-black);
}

/* Responsive styles for category page */
@media (max-width: 768px) {
    .toneka-category-description {
        font-size: var(--font-size-xs);
    }
    
    .toneka-category-products-section {
        min-height: auto;
    }
    
    .toneka-category-filter-section {
        padding: 5%;
    }
    
    .toneka-category-filter-container {
        gap: 20px;
        justify-content: center;
        text-align: center;
    }
    
    .toneka-category-filter-item {
        font-size: var(--font-size-xs);
    }
    
    .toneka-category-filter-separator {
        font-size: var(--font-size-xs);
    }
    
    .toneka-filter-error {
        top: 80px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
    
    .toneka-loading-spinner .spinner {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    
    .toneka-ajax-pagination {
        margin: 20px 0;
        padding-top: 20px;
    }
    
    .toneka-ajax-pagination .page-numbers {
        padding: 8px 12px;
        margin: 0 3px;
        font-size: var(--font-size-xs);
    }
    
    .woocommerce-pagination {
        margin: 20px 0;
        padding-top: 20px;
    }
    
    .woocommerce-pagination .page-numbers {
        padding: 8px 12px;
        margin: 0 3px;
        font-size: var(--font-size-xs);
    }
}

/* ==========================================================================
   PLAYER AUDIO/VIDEO - DESIGN FIGMA
   ========================================================================== */

.toneka-figma-player {
    position: relative;
    width: 100%;
    height: auto; /* Auto aby pomieścić wszystkie elementy */
    border-radius: 0x;
    overflow: visible; /* Visible aby dolny panel był widoczny */
    background: var(--color-black);
    /* margin: 40px 0; */
}

/* Player w kontenerze produktu musi wypełniać całą przestrzeń */
.toneka-product-image .toneka-player-lazy-wrapper .toneka-figma-player {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

/* Tło playera */
.toneka-player-background {
    position: relative;
    width: 100%;
    z-index: 1;
    /* Wysokość będzie ustawiana dynamicznie przez JavaScript */
}

/* Tryb audio i galerii - obrazy mają proporcje 1:1 */
.toneka-figma-player.audio-mode .toneka-player-background,
.toneka-figma-player.gallery-mode .toneka-player-background {
    aspect-ratio: 1 / 1;
}

/* Tryb video - zachowaj oryginalne proporcje */
.toneka-figma-player.video-mode .toneka-player-background {
    aspect-ratio: auto;
}

.toneka-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Oryginalne proporcje dla wideo */
    filter: blur(1px) brightness(0.7);
    z-index: 1;
    display: block;
}

.toneka-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Cover dla obrazów */
    background-position: center;
    background-repeat: no-repeat;
    /* filter: blur(2px) brightness(0.5); */
}


/* Główne kontrolki w centrum */
.toneka-main-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 13px;
    z-index: 10;
}

button.toneka-skip-button {
    border: 1px solid var(--color-line-grey);
}

.toneka-skip-button {
    position: relative;
    width: 54px;
    height: 54px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toneka-skip-button svg {
    position: relative;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px var(--color-grey-dark));
}

.toneka-skip-button:hover {
    transform: scale(1.1);
}

.toneka-button-bg {
    display: none; /* Hide button background */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-line-grey);
    border: 1px solid var(--color-line-grey);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Skip label is now part of the SVG icon, so this style is no longer needed */
.toneka-skip-label {
    display: none;
}

.toneka-play-pause-button {
    position: relative;
    width: 81px;
    height: 81px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toneka-play-pause-button svg {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

button.toneka-skip-button.toneka-skip-backward:hover {
    background: var(--color-line-grey);
    color: var(--color-black);
}

.toneka-play-pause-button:hover {
    transform: scale(1.05);
}

.toneka-main-button-bg {
    display: none; /* Hide button background */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-line-grey);
    border: 1px solid var(--color-line-grey);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Playlista wyjeżdżająca z dołu */
div.toneka-playlist {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50%; /* Maksymalnie do połowy wysokości */
    background: var(--color-black);
    backdrop-filter: blur(10px);
    z-index: 4;
    transform: translateY(100%); /* Domyślnie ukryta - wysuwa się w dół */
    transition: transform 0.3s ease;
    opacity: 0; /* Dodatkowe ukrycie */
    pointer-events: none; /* Wyłącz interakcje gdy ukryta */
}

div.toneka-playlist[data-visible="true"] {
    transform: translateY(0); /* Wysuwa się do góry */
    opacity: 1; /* Pokazuj gdy aktywna */
    pointer-events: auto; /* Włącz interakcje gdy widoczna */
}

.toneka-playlist-items {
    max-height: calc(50vh - 140px); /* Wysokość - wysokość dolnego panelu */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar styling */
.toneka-playlist-items::-webkit-scrollbar {
    width: 6px;
}

.toneka-playlist-items::-webkit-scrollbar-track {
    background: var(--color-line-grey);
}

.toneka-playlist-items::-webkit-scrollbar-thumb {
    background: var(--color-line-grey);
    border-radius: 3px;
}

.toneka-playlist-items::-webkit-scrollbar-thumb:hover {
    background: var(--color-line-grey);
}

.toneka-playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    cursor: pointer;
    transition: background 0.3s ease;
}

.toneka-playlist-item:hover {
    background: var(--color-grey-dark);
}

.toneka-playlist-item.active {
    background: var(--color-grey-dark);
}

.toneka-playlist-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.toneka-playlist-item-description {
    font-size: clamp(0.55rem, 0.8vw, 0.75rem);
    font-weight: 300;
    color: var(--color-line-grey);
    min-width: 120px;
}

.toneka-playlist-item-name {
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    font-weight: 400;
    color: white;
}

.toneka-playlist-item-play {
    background: none!important;
    border: none!important;
    cursor: pointer;
    padding: 0!important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.toneka-playlist-item-play svg {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.toneka-playlist-item-play:hover {
    opacity: 0.7;
}

.toneka-playlist-item-time {
    font-size: var(--font-size-xxs);
    color: var(--color-line-grey);
    /* margin-left: 16px; */
    padding-right: 1%;
    min-width: 70px;
    text-align: right;
}

/* Dolny panel pod obrazem/filmem */
.toneka-bottom-panel {
    position: relative;
    background: var(--color-black);
    padding: 11px 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* Informacje o utworze */
.toneka-track-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
    padding-top: 1.2%;
}

.toneka-track-details h3.toneka-track-title {
    font-size: clamp(0.75rem, 1.1vw, 1.1rem);
    font-weight: normal;
    margin: 0;
    line-height: 1;
    color: white;
}

.toneka-track-details p.toneka-track-type,
.toneka-track-details p.toneka-track-subtitle {
    font-size: clamp(0.55rem, 0.8vw, 0.75rem);
    font-weight: 300;
    margin: 5px 0 0 0;
    color: var(--color-line-grey);
    line-height: 1;
}

.toneka-track-time {
    font-size: clamp(0.55rem, 0.8vw, 0.75rem);
    font-weight: 300;
    color: var(--color-line-grey);
    line-height: 1;
}

/* Progress bar */
.toneka-progress-container {
    position: relative;
    height: 1.4px;
    width: 100%;
    cursor: pointer;
}

.toneka-progress-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.4px;
    background: var(--color-line-grey);
    border-radius: 20px;
}

.toneka-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.4px;
    background: white;
    border-radius: 20px;
    width: 0%;
    transition: width 0.3s ease;
}

.toneka-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toneka-progress-container:hover .toneka-progress-handle {
    opacity: 1;
}

/* Kontrolki dolne */
.toneka-bottom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.toneka-left-controls,
.toneka-right-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.toneka-control-btn {
    width: 34px!important;
    height: 34px!important;
    background: none;
    border: none!important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0!important;
}

.toneka-control-btn:hover {
    background: var(--color-white) !important;
    color: var(--color-black)!important;
    transform: scale(1.1);
}

.toneka-control-btn svg {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
}

.toneka-control-btn:hover svg {
    opacity: 1;
    fill: var(--color-black) !important;
}

/* Przycisk playlisty - upewnij się, że jest widoczny */
button.toneka-playlist {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

button.toneka-playlist:hover svg rect {
    fill: var(--color-black) !important;
}

/* Tryb galerii - ukryj niepotrzebne kontrolki */
.toneka-figma-player.gallery-mode .toneka-play-pause,
.toneka-figma-player.gallery-mode .toneka-playlist,
.toneka-figma-player.gallery-mode .toneka-volume,
.toneka-figma-player.gallery-mode .toneka-progress-container,
.toneka-figma-player.gallery-mode .toneka-track-info {
    display: none !important;
}

/* Featured image (dla produktów bez sampli i galerii) */
.toneka-product-featured-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-black);
}

.toneka-product-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Miniaturki galerii */
.toneka-gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 11px 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-line-grey) transparent;
}

.toneka-gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.toneka-gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.toneka-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--color-line-grey);
    border: none;
}

.toneka-gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--color-line-grey);
}

.toneka-gallery-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.toneka-gallery-thumbnail:hover {
    opacity: 1;
    border-color: var(--color-line-grey);
}

.toneka-gallery-thumbnail.active {
    opacity: 1;
    /* border-color: var(--color-white); */
}

/* Ukryty player */
.toneka-hidden-player {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .toneka-figma-player {
        height: 100%;
        border-radius: 20px;
        margin: 20px 0;
    }
    
    /* Obrazy (audio/gallery) - wymuś proporcje 1:1 */
    .toneka-figma-player.audio-mode .toneka-player-background,
    .toneka-figma-player.gallery-mode .toneka-player-background {
        aspect-ratio: 1 / 1 !important;
        width: 100%;
    }
    
    /* Wideo - oryginalne proporcje, pełna szerokość */
    .toneka-figma-player.video-mode .toneka-player-background {
        aspect-ratio: auto !important;
        width: 100%;
    }
    
    .toneka-background-image {
        object-fit: cover !important;
    }
    
    .toneka-background-video {
        object-fit: contain !important;
    }
    
    .toneka-main-controls {
        gap: 10px;
    }
    
    .toneka-skip-button {
        width: 45px;
        height: 45px;
    }
    
    .toneka-play-pause-button {
        width: 65px;
        height: 65px;
    }
    
    .toneka-bottom-panel {
        padding: 8px 14px !important;
        gap: 8px;
    }
    
    .toneka-track-details h3.toneka-track-title {
        font-size: var(--font-size-md);
    }
    
    .toneka-track-details p.toneka-track-type,
    .toneka-track-time {
        font-size: var(--font-size-xxs);
    }
    
}

/* Stare style playlisty usunięte - używamy nowej playlisty wyjeżdżającej z dołu */

/* Fullscreen styles */
.toneka-figma-player.toneka-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    border-radius: 0;
}

.toneka-figma-player.toneka-fullscreen .toneka-main-controls {
    gap: 20px;
}

.toneka-figma-player.toneka-fullscreen .toneka-skip-button {
    width: 70px;
    height: 70px;
}

.toneka-figma-player.toneka-fullscreen .toneka-play-pause-button {
    width: 100px;
    height: 100px;
}

.toneka-figma-player.toneka-fullscreen .toneka-bottom-panel {
    padding: 20px 40px;
}

.toneka-figma-player.toneka-fullscreen .toneka-track-details h3.toneka-track-title {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.toneka-figma-player.toneka-fullscreen .toneka-track-details p.toneka-track-type,
.toneka-figma-player.toneka-fullscreen .toneka-track-time {
    font-size: var(--font-size-md);
}

/* Stany playera */

.toneka-figma-player.loading .toneka-main-controls {
    opacity: 0.5;
    pointer-events: none;
}

/* Tryby playera - dynamiczne przełączanie video/audio */
.toneka-figma-player.video-mode .toneka-background-video {
    display: block !important;
}

.toneka-figma-player.video-mode .toneka-background-image {
    display: none !important;
}

.toneka-figma-player.audio-mode .toneka-background-video {
    display: none !important;
}

.toneka-figma-player.audio-mode .toneka-background-image {
    display: block !important;
}

/* Auto-hide kontrolek w trybie video */
.toneka-figma-player .toneka-main-controls,
.toneka-figma-player .toneka-bottom-panel {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    opacity: 1;
    visibility: visible;
}

/* DISABLED: Nawigacja jest teraz poza obrazem, nie ukrywamy jej */
/* .toneka-figma-player.controls-hidden.video-mode .toneka-main-controls,
.toneka-figma-player.controls-hidden.video-mode .toneka-bottom-panel {
    opacity: 0;
    visibility: hidden;
}

.toneka-figma-player.controls-visible .toneka-main-controls,
.toneka-figma-player.controls-visible .toneka-bottom-panel {
    opacity: 1;
    visibility: visible;
} */

/* W trybie audio kontrolki zawsze widoczne */
.toneka-figma-player.audio-mode .toneka-main-controls,
.toneka-figma-player.audio-mode .toneka-bottom-panel {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Cursor w trybie video */
/* DISABLED: Nawigacja jest teraz poza obrazem, nie ukrywamy jej */
/* .toneka-figma-player.video-mode.controls-hidden {
    cursor: none;
}

.toneka-figma-player.video-mode.controls-visible,
.toneka-figma-player.audio-mode {
    cursor: default;
} */

/* Dynamiczne proporcje playera */
.toneka-figma-player {
    transition: height 0.3s ease-in-out;
    min-height: 200px;
    max-height: 100%;
}

/* Specjalne style dla różnych proporcji */
.toneka-figma-player.aspect-wide {
    /* Ultra-wide (21:9, 32:9) */
}

.toneka-figma-player.aspect-16-9 {
    /* Standard widescreen */
}

.toneka-figma-player.aspect-4-3 {
    /* Classic TV/monitor */
}

.toneka-figma-player.aspect-1-1 {
    /* Square */
}

.toneka-figma-player.aspect-tall {
    /* Portrait/vertical */
}

/* Responsywne dostosowanie dla różnych ekranów */
@media (max-width: 768px) {
    .toneka-figma-player {
        min-height: 180px;
        max-height: 600px;
    }
}

/* =====================================
   STRONA TWÓRCY (CREATOR) STYLES
   ===================================== */

/* Hero Section dla twórcy */
.toneka-creator-hero {
    /* Dziedziczy style z .toneka-hero-section */
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT STYLES
   ========================================================================== */

/* Cart Page */
.toneka-cart-page {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 0 50px 0;
}

.toneka-cart-container {
    margin: 0 auto;
    padding: 0 5%;
}

.toneka-cart-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.toneka-cart-items {
    margin-bottom: 40px;
}

.toneka-cart-item {
    display: flex;
    gap: 5%;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line-grey);
    align-items: flex-start;
}

.toneka-cart-item:last-child {
    border-bottom: none;
}

.toneka-cart-item-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.toneka-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.toneka-cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.toneka-cart-item-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.toneka-cart-remove {
    background: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 11px!important;
    opacity: 1;
    order: 1;
    transition: opacity 0.3s ease;
    border: none!important;
    text-decoration: none;
}

.toneka-cart-remove:hover {
    opacity: 1;
}

.toneka-cart-remove svg {
    width: 20px;
    height: 20px;
}

.toneka-cart-remove:hover svg path {
    fill-opacity: 1;
}

.toneka-cart-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 30px;
    padding: 2px;
    order: 2;
}

.toneka-cart-quantity .quantity-btn {
    background: none;
    border: 1px solid var(--color-white);
    border-radius: 50%!important;
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem)!important;
    padding: 20px!important;
    width: 30px!important;
    height: 30px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.toneka-cart-quantity .quantity-btn:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.1);
}

.toneka-cart-quantity .quantity-input {
    background: none;
    border: none;
    color: var(--color-white);
    text-align: center;
    width: 28px;
    padding: 8px 4px;
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
    text-align: center!important;
}

.toneka-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toneka-cart-item-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.toneka-cart-item-name a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-cart-item-name a:hover {
    opacity: 0.7;
}

.toneka-cart-item-variant,
.toneka-variation-attributes {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 2px 0;
}

.toneka-cart-item-variant-wrapper {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-line-grey);
    margin-bottom: 8px;
}

.toneka-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toneka-attribute-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.toneka-attribute-value {
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.toneka-attribute-value:hover {
    text-decoration: underline;
}

.toneka-attribute-value[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 400;
    text-transform: none;
    width: 250px;
    white-space: normal;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.toneka-attribute-value[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: var(--color-white);
    z-index: 100000;
    pointer-events: none;
}

.toneka-cart-item-price {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    margin-top: 5px;
}

/* Sale price styling for cart items */
.toneka-cart-price-sale {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.toneka-cart-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.toneka-cart-price-regular {
    text-decoration: line-through;
    color: var(--color-line-grey);
    font-size: var(--font-size-md);
}

.toneka-cart-price-current {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toneka-cart-savings {
    font-size: var(--font-size-sm);
    color: var(--color-line-grey);
    font-weight: 500;
}

/* Cart totals */
.toneka-cart-totals {
    border-top: 1px solid var(--color-white);
    padding-top: 30px;
    margin-left: auto;
}

.toneka-cart-total-savings {
    margin-bottom: 15px;
    padding: 12px 16px;
    border: 1px solid var(--color-line-grey);
    text-align: center;
}

.toneka-cart-total-savings span {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-cart-total {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 20px;
}

.toneka-checkout-button {
    display: block;
    width: 100%;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-white);
    padding: 15px 30px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-checkout-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Cart actions */
.toneka-cart-actions {
    text-align: center;
    margin-bottom: 30px;
}

.toneka-cart-actions .button {
    background: none;
    color: var(--color-white);
    border: 1px solid var(--color-line-grey);
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-cart-actions .button:hover {
    background: var(--color-line-grey);
}

/* Responsive cart styles */
@media (max-width: 768px) {
    .toneka-cart-container {
        padding: 0 15px;
    }
    
    .toneka-cart-title {
        font-size: var(--font-size-xl);
        margin-bottom: 30px;
    }
    
    .toneka-cart-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .toneka-cart-item-image {
        width: 150px;
        height: 150px;
        align-self: center;
    }
    
    .toneka-cart-item-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .toneka-cart-quantity {
        justify-content: center;
    }
    
    .toneka-cart-totals {
        margin-left: 0;
    }
}

/* Checkout Page */
.toneka-checkout-page {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 0 50px 0;
}

.toneka-checkout-container {
    margin: 0 auto;
    padding: 0 7%;
}

.toneka-checkout-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.toneka-checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.toneka-checkout-billing h2,
.toneka-checkout-order h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    /* margin-bottom: 30px; */
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
}

/* Checkout form fields */
.toneka-checkout-fields .form-row {
    margin-bottom: 20px;
}

.toneka-checkout-fields label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-white) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: block !important;
    padding: 0 !important;
}

.toneka-checkout-fields input[type="text"],
.toneka-checkout-fields input[type="email"],
.toneka-checkout-fields input[type="tel"],
.toneka-checkout-fields input[type="password"],
.toneka-checkout-fields input[type="number"],
.toneka-checkout-fields select,
.toneka-checkout-fields textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-line-grey);
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    border-radius: 0!important;
    transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
    -webkit-transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
}

.toneka-checkout-fields input[type="text"]:hover,
.toneka-checkout-fields input[type="email"]:hover,
.toneka-checkout-fields input[type="tel"]:hover,
.toneka-checkout-fields select:hover,
.toneka-checkout-fields textarea:hover {
    border-bottom-color: var(--color-white);
    background: transparent;
}

.toneka-checkout-fields input[type="text"]:focus,
.toneka-checkout-fields input[type="email"]:focus,
.toneka-checkout-fields input[type="tel"]:focus,
.toneka-checkout-fields select:focus,
.toneka-checkout-fields textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
    background: transparent;
}

/* Placeholder styles for toneka-checkout-fields */
.toneka-checkout-fields input::placeholder,
.toneka-checkout-fields textarea::placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.toneka-checkout-fields input::-webkit-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
}

.toneka-checkout-fields input::-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.toneka-checkout-fields input:-ms-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
}

.toneka-checkout-fields input:-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

/* Override autofill styles - transparentne tło dla checkout - bez zmiany koloru */
.toneka-checkout-fields input[type="text"]:-webkit-autofill,
.toneka-checkout-fields input[type="email"]:-webkit-autofill,
.toneka-checkout-fields input[type="tel"]:-webkit-autofill,
.toneka-checkout-fields input[type="password"]:-webkit-autofill,
.toneka-checkout-fields input[type="number"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="text"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="email"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="tel"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="password"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="number"]:-webkit-autofill,
.toneka-checkout-billing input[type="text"]:-webkit-autofill,
.toneka-checkout-billing input[type="email"]:-webkit-autofill,
.toneka-checkout-billing input[type="tel"]:-webkit-autofill,
.toneka-checkout-billing input[type="password"]:-webkit-autofill,
.toneka-checkout-billing input[type="number"]:-webkit-autofill,
.woocommerce-checkout input[type="text"]:-webkit-autofill,
.woocommerce-checkout input[type="email"]:-webkit-autofill,
.woocommerce-checkout input[type="tel"]:-webkit-autofill,
.woocommerce-checkout input[type="password"]:-webkit-autofill,
.woocommerce-checkout input[type="number"]:-webkit-autofill {
    background-color: transparent !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
    -webkit-box-shadow: 0 0 0 10000px transparent inset !important;
    box-shadow: 0 0 0 10000px transparent inset !important;
    transition: background-color 50000s ease-in-out 0s !important;
    -webkit-transition: background-color 50000s ease-in-out 0s !important;
}

.toneka-checkout-fields input:focus,
.toneka-checkout-fields select:focus,
.toneka-checkout-fields textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
}

/* Checkout items */
.toneka-checkout-items {
    /* margin-bottom: 30px; */
}

.toneka-checkout-item {
    display: flex;
    gap: 5%;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line-grey);
    align-items: flex-start;
}

.toneka-checkout-item:last-child {
    border-bottom: none;
}

.toneka-checkout-item-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.toneka-checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toneka-checkout-item-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.toneka-checkout-item-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.toneka-checkout-remove {
    background: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 11px!important;
    opacity: 1;
    order: 1;
    transition: opacity 0.3s ease;
    border: none!important;
    text-decoration: none;
}

.toneka-checkout-remove:hover {
    opacity: 1;
}

.toneka-checkout-remove svg {
    width: 20px;
    height: 20px;
}

.toneka-checkout-remove:hover svg path {
    fill-opacity: 1;
}

.toneka-checkout-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 30px;
    padding: 2px;
    order: 2;
}

.toneka-checkout-quantity .quantity-btn {
    background: none;
    border: 1px solid var(--color-white);
    border-radius: 50%!important;
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem)!important;
    padding: 20px!important;
    width: 30px!important;
    height: 30px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.toneka-checkout-quantity .quantity-btn:hover {
    background-color: var(--color-line-grey);
    transform: scale(1.1);
}

.toneka-checkout-quantity .quantity-input {
    background: none;
    border: none;
    color: var(--color-white);
    text-align: center;
    width: 28px;
    padding: 8px 4px;
    font-size: var(--font-size-md);
    font-family: var(--font-primary);
    appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
    text-align: center!important;
}

.toneka-checkout-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toneka-checkout-item-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.toneka-checkout-item-variant,
.toneka-variation-attributes {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 2px 0;
}

.toneka-checkout-item-variant-wrapper {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-line-grey);
    margin-bottom: 8px;
}

.toneka-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toneka-attribute-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.toneka-attribute-value {
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.toneka-attribute-value:hover {
    text-decoration: underline;
}

.toneka-attribute-value[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 400;
    text-transform: none;
    width: 250px;
    white-space: normal;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.toneka-attribute-value[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: var(--color-white);
    z-index: 100000;
    pointer-events: none;
}

.toneka-checkout-item-price {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-white);
    margin-top: 5px;
}

.toneka-checkout-price-sale {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.toneka-checkout-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.toneka-checkout-price-regular {
    text-decoration: line-through;
    color: var(--color-line-grey);
    font-size: var(--font-size-md);
}

.toneka-checkout-price-current {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toneka-checkout-savings {
    font-size: var(--font-size-sm);
    color: var(--color-line-grey);
    font-weight: 500;
}

/* Checkout totals */
.toneka-checkout-totals {
    border-top: 1px solid var(--color-white);
    padding-top: 20px;
}

.toneka-checkout-total-savings {
    margin-bottom: 15px;
    padding: 10px 12px;
    border: 1px solid var(--color-line-grey);
    text-align: center;
}

.toneka-checkout-total-savings span {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-checkout-total {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 30px;
}

/* Payment methods */
.toneka-payment-methods {
    margin-bottom: 30px;
}

.toneka-payment-methods h3 {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.toneka-place-order-button {
    width: 100%;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-white);
    padding: 15px 30px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toneka-place-order-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Responsive checkout */
@media (max-width: 768px) {
    .toneka-checkout-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .toneka-checkout-container {
        padding: 0 15px;
    }
    
    .toneka-checkout-title {
        font-size: var(--font-size-xl);
        margin-bottom: 30px;
    }
}

/* Thank You Page */
.toneka-thankyou-page {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 0 50px 0;
}

.toneka-thankyou-container {
    margin: 0 auto;
    padding: 0 5%;
    max-width: 800px;
}

.toneka-thankyou-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xxl);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.woocommerce-notice {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-notice--success {
    color: var(--color-white);
}

.woocommerce-notice--error {
    color: var(--color-line-grey);
}

.toneka-order-details {
    margin: 40px 0;
    padding: 30px;
    border: 1px solid var(--color-line-grey);
}

.toneka-order-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toneka-order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-order-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.toneka-order-info-label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-order-info-value {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-white);
}

.toneka-thankyou-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.toneka-my-account-button,
.toneka-continue-shopping-button,
.toneka-retry-payment-button {
    background: none;
    border: 1px solid var(--color-line-grey);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.toneka-my-account-button:hover,
.toneka-continue-shopping-button:hover,
.toneka-retry-payment-button:hover {
    background: var(--color-line-grey);
    color: var(--color-white);
}

.toneka-continue-shopping-button {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.toneka-continue-shopping-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .toneka-thankyou-container {
        padding: 0 15px;
    }
    
    .toneka-thankyou-title {
        font-size: var(--font-size-xl);
    }
    
    .toneka-thankyou-actions {
        flex-direction: column;
    }
    
    .toneka-my-account-button,
    .toneka-continue-shopping-button,
    .toneka-retry-payment-button {
        width: 100%;
        text-align: center;
    }
    
    .toneka-order-details {
        padding: 20px;
    }
}

/* Cart page improvements */
.toneka-cart-collaterals {
    margin-top: 40px;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout .button {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-white);
    padding: 15px 30px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
}

.wc-proceed-to-checkout .button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Checkout form fields wrapper */
.toneka-checkout-billing {
    padding: 0;
}

.toneka-checkout-billing .woocommerce-billing-fields,
.toneka-checkout-billing .woocommerce-additional-fields {
    margin: 0;
}

.toneka-checkout-billing .form-row {
    margin-bottom: 20px;
    position: relative;
}

/* Hide labels visually but keep for screen readers and accessibility */
.toneka-checkout-billing label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

.toneka-checkout-billing input[type="text"],
.toneka-checkout-billing input[type="email"],
.toneka-checkout-billing input[type="tel"],
.toneka-checkout-billing input[type="password"],
.toneka-checkout-billing input[type="number"],
.toneka-checkout-billing select,
.toneka-checkout-billing textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-grey-dark);
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    border-radius: 0 !important;
    transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
    -webkit-transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
    position: relative;
    z-index: 2;
}

.toneka-checkout-billing input[type="text"]:hover,
.toneka-checkout-billing input[type="email"]:hover,
.toneka-checkout-billing input[type="tel"]:hover,
.toneka-checkout-billing select:hover,
.toneka-checkout-billing textarea:hover {
    border-bottom-color: var(--color-white);
    background: transparent;
}

.toneka-checkout-billing input[type="text"]:focus,
.toneka-checkout-billing input[type="email"]:focus,
.toneka-checkout-billing input[type="tel"]:focus,
.toneka-checkout-billing select:focus,
.toneka-checkout-billing textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
    background: transparent;
}

/* Placeholder styles for checkout billing fields - labels are now placeholders */
.toneka-checkout-billing input::placeholder,
.toneka-checkout-billing textarea::placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.toneka-checkout-billing input::-webkit-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: none !important;
}

.toneka-checkout-billing input::-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.toneka-checkout-billing input:-ms-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: none !important;
}

.toneka-checkout-billing input:-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

/* Account Pages */
.woocommerce-account .woocommerce,
.woocommerce-login-form,
.woocommerce-register-form {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 5% 50px 5%;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-form-login,
.woocommerce-form-register {
    margin: 0 auto;
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg);
}

.woocommerce-form.woocommerce-form-login.login {
    color: var(--color-white);
}

/* MyAccount form fields - zastosuj style produktów */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="number"],
.woocommerce-account .woocommerce-MyAccount-content input[type="url"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
    background-color: var(--color-black) !important;
    border: 1px solid var(--color-grey-dark) !important;
    color: var(--color-white) !important;
    padding: 12px 15px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="email"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="password"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="number"]:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="url"]:hover,
.woocommerce-account .woocommerce-MyAccount-content select:hover,
.woocommerce-account .woocommerce-MyAccount-content textarea:hover {
    border-color: var(--color-grey-dark) !important;
    background: var(--color-line-grey) !important;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="number"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="url"]:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
    outline: none !important;
    border-color: var(--color-grey-dark) !important;
    background: var(--color-line-grey) !important;
}

.woocommerce-account .woocommerce-MyAccount-content label {
    color: var(--color-grey-dark) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding: 0 15px !important;
}

.woocommerce-notices-wrapper {
    margin-top: var(--spacing-xxl) !important;
    padding: var(--spacing-xl) !important;
}

/* Checkbox styles - zgodne ze stylem radio */
input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    background: var(--color-white) !important;
    border-radius: 0 !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    position: relative !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

input[type="checkbox"]:checked {
    background: var(--color-white) !important;
    border-color: var(--color-white) !important;
}

input[type="checkbox"]:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: var(--color-black) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    font-family: var(--font-primary) !important;
}

input[type="checkbox"]:focus {
    outline: none !important;
    border-color: var(--color-white) !important;
    box-shadow: 0 0 0 2px var(--color-line-grey) !important;
}

input[type="checkbox"]:hover {
    border-color: var(--color-white) !important;
}

/* WooCommerce checkout button styles - subtelne */
.woocommerce-checkout .woocommerce-form button[type="submit"],
.woocommerce-checkout .woocommerce-form .button,
.woocommerce-checkout .woocommerce-form input[type="submit"] {
    background: var(--color-white) !important;
    border: 1px solid var(--color-white) !important;
    color: var(--color-black) !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    min-width: 200px !important;
}

.woocommerce-checkout .woocommerce-form button[type="submit"]:hover,
.woocommerce-checkout .woocommerce-form .button:hover,
.woocommerce-checkout .woocommerce-form input[type="submit"]:hover {
    background: var(--color-white) !important;
    border-color: var(--color-white) !important;
    color: var(--color-black) !important;
}

.woocommerce-checkout .woocommerce-form button[type="submit"]:focus,
.woocommerce-checkout .woocommerce-form .button:focus,
.woocommerce-checkout .woocommerce-form input[type="submit"]:focus {
    outline: none !important;
    border-color: var(--color-white) !important;
    background: var(--color-line-grey) !important;
    color: var(--color-black) !important;
}

/* WooCommerce Blocks checkout button styles - biały z zaokrąglonymi rogami jak w mini koszyku */
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained,
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    background: var(--color-white) !important;
    border: 1px solid var(--color-white) !important;
    color: var(--color-black) !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    min-width: 200px !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:hover,
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
    background: var(--color-white) !important;
    border-color: var(--color-white) !important;
    color: var(--color-black) !important;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus,
.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:focus,
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus,
.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus {
    outline: none !important;
    border-color: var(--color-white) !important;
    background: var(--color-line-grey) !important;
    color: var(--color-black) !important;
}

/* Secondary button styles (like "Wróć do koszyka") - subtelne */
.woocommerce-checkout .woocommerce-form .button.alt,
.woocommerce-checkout .woocommerce-form a.button {
    background: transparent !important;
    border: 1px solid var(--color-line-grey) !important;
    color: var(--color-white) !important;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-checkout .woocommerce-form .button.alt:hover,
.woocommerce-checkout .woocommerce-form a.button:hover {
    background: var(--color-line-grey) !important;
    border-color: var(--color-line-grey) !important;
}

.woocommerce-checkout .woocommerce-form .button.alt:focus,
.woocommerce-checkout .woocommerce-form a.button:focus {
    outline: none !important;
    border-color: var(--color-white) !important;
    background: var(--color-line-grey) !important;
}

/* Select dropdown styles - wymuś custom styling we wszystkich przeglądarkach */
.woocommerce-checkout .form-row select,
.woocommerce-checkout .toneka-checkout-fields select,
.woocommerce-checkout .toneka-checkout-billing select {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--color-line-grey) !important;
    padding: 12px 0 !important;
}

.form-row select,
.wc-block-components-select select,
.toneka-checkout-fields select,
.woocommerce-account .woocommerce-MyAccount-content select,
.widget_layered_nav_filters select,
select {
    background: var(--color-black) !important;
    border: 1px solid var(--color-grey-dark) !important;
    color: var(--color-white) !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    cursor: pointer !important;
    width: 100%; /* Ensure select takes full width of parent */
}

/* Hover and Focus States for checkout select */
.woocommerce-checkout .form-row select:hover,
.woocommerce-checkout .toneka-checkout-fields select:hover,
.woocommerce-checkout .toneka-checkout-billing select:hover {
    border-bottom-color: var(--color-white) !important;
    background: transparent !important;
}

.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .toneka-checkout-fields select:focus,
.woocommerce-checkout .toneka-checkout-billing select:focus {
    outline: none !important;
    border-bottom-color: var(--color-white) !important;
    background: transparent !important;
}

/* Hover and Focus States */
.form-row select:hover,
.wc-block-components-select select:hover,
.toneka-checkout-fields select:hover,
.woocommerce-account .woocommerce-MyAccount-content select:hover,
.widget_layered_nav_filters select:hover,
select:hover {
    border-color: var(--color-grey-dark) !important;
    background-color: var(--color-line-grey) !important;
}

.form-row select:focus,
.wc-block-components-select select:focus,
.toneka-checkout-fields select:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.widget_layered_nav_filters select:focus,
select:focus {
    outline: none !important;
    border-color: var(--color-grey-dark) !important;
    background-color: var(--color-line-grey) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

/* Style for dropdown options */
select option {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    padding: 12px 15px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    border: none !important;
}

select option:hover,
select option:focus,
select option:checked {
    background: var(--color-line-grey) !important;
    color: var(--color-white) !important;
}

/* Firefox - special styles for option */
@-moz-document url-prefix() {
    select option {
        background-color: var(--color-black);
        color: var(--color-white);
    }
    select option:hover,
    select option:focus {
        background-color: var(--color-line-grey);
    }
}

/* Label styles for checkout forms */
.woocommerce-checkout .woocommerce-form label {
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: block !important;
    padding: 0 !important;
}

/* Description text styles - szare opisy */
.woocommerce-checkout .woocommerce-form p {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-xs) !important;
    font-weight: 300 !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

/* Section headings - białe tytuły */
.woocommerce-checkout .woocommerce-form h2,
.woocommerce-checkout .woocommerce-form h3 {
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-base) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
}

/* Form field wrapper styles */
.woocommerce-checkout .woocommerce-form .form-row {
    margin-bottom: 20px !important;
    position: relative;
}

/* Hide labels visually but keep for screen readers */
.woocommerce-checkout .woocommerce-form .form-row label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Radio button label styles for checkout - override hidden state */
.woocommerce-checkout .woocommerce-form .form-row input[type="radio"] + label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 15px 0 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border-width: initial !important;
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

/* Radio button input styles for checkout */
.woocommerce-checkout .woocommerce-form .form-row input[type="radio"] {
    width: auto !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Checkbox label styles - keep visible */
.woocommerce-checkout .woocommerce-form .form-row input[type="checkbox"] + label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border-width: initial !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    cursor: pointer !important;
    font-size: var(--font-size-md) !important;
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-weight: 300 !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

/* WooCommerce Blocks checkbox label */
.wc-block-components-checkbox__label {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
    font-size: var(--font-size-md) !important;
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-weight: 300 !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

/* Textarea styles for order notes - subtelne */
textarea {
    background: var(--color-black) !important;
    border: 1px solid var(--color-grey-dark) !important;
    color: var(--color-white) !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    transition: all 0.3s ease !important;
    resize: vertical !important;
    min-height: 100px !important;
    width: 100% !important;
}

textarea:focus {
    outline: none !important;
    border-color: var(--color-grey-dark) !important;
    background: var(--color-line-grey) !important;
}

textarea::placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
}

/* WooCommerce Blocks checkout button - biały z zaokrąglonymi rogami jak w mini koszyku */
.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained,
.wc-block-checkout__actions button.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained {
    background: var(--color-white) !important;
    border: 1px solid var(--color-white) !important;
    color: var(--color-black) !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    min-width: 200px !important;
}

.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:hover,
.wc-block-checkout__actions button.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:hover {
    background: var(--color-white) !important;
    border-color: var(--color-white) !important;
    color: var(--color-black) !important;
}

.wc-block-checkout__actions .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus,
.wc-block-checkout__actions button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:focus,
.wc-block-checkout__actions button.wc-block-components-checkout-place-order-button.wc-block-components-button.wp-element-button.contained:focus {
    outline: none !important;
    border-color: var(--color-white) !important;
    background: var(--color-line-grey) !important;
    color: var(--color-black) !important;
}

.woocommerce-account h2,
.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-form-row label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-white) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: block !important;
    padding: 0 !important;
}

.woocommerce-checkout .woocommerce-form-row input[type="text"],
.woocommerce-checkout .woocommerce-form-row input[type="email"],
.woocommerce-checkout .woocommerce-form-row input[type="password"],
.woocommerce-checkout .woocommerce-form-row input[type="tel"],
.woocommerce-checkout .woocommerce-form-row input[type="number"],
.woocommerce-checkout .woocommerce-form-row input[type="url"],
.woocommerce-checkout .woocommerce-form-row select,
.woocommerce-checkout .woocommerce-form-row textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-line-grey);
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    border-radius: 0!important;
    transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
    -webkit-transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s;
}

.woocommerce-checkout .woocommerce-form-row input[type="text"]:hover,
.woocommerce-checkout .woocommerce-form-row input[type="email"]:hover,
.woocommerce-checkout .woocommerce-form-row input[type="password"]:hover,
.woocommerce-checkout .woocommerce-form-row input[type="tel"]:hover,
.woocommerce-checkout .woocommerce-form-row input[type="number"]:hover,
.woocommerce-checkout .woocommerce-form-row input[type="url"]:hover,
.woocommerce-checkout .woocommerce-form-row select:hover,
.woocommerce-checkout .woocommerce-form-row textarea:hover {
    border-bottom-color: var(--color-white);
    background: transparent;
}

.woocommerce-checkout .woocommerce-form-row input[type="text"]:focus,
.woocommerce-checkout .woocommerce-form-row input[type="email"]:focus,
.woocommerce-checkout .woocommerce-form-row input[type="password"]:focus,
.woocommerce-checkout .woocommerce-form-row input[type="tel"]:focus,
.woocommerce-checkout .woocommerce-form-row input[type="number"]:focus,
.woocommerce-checkout .woocommerce-form-row input[type="url"]:focus,
.woocommerce-checkout .woocommerce-form-row select:focus,
.woocommerce-checkout .woocommerce-form-row textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
    background: transparent;
}

/* Placeholder styles for WooCommerce checkout form fields - labels are now placeholders */
.woocommerce-checkout .woocommerce-form-row input::placeholder,
.woocommerce-checkout .woocommerce-form-row textarea::placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.woocommerce-checkout .woocommerce-form-row input::-webkit-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: none !important;
}

.woocommerce-checkout .woocommerce-form-row input::-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.woocommerce-checkout .woocommerce-form-row input:-ms-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    text-transform: none !important;
}

.woocommerce-checkout .woocommerce-form-row input:-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

/* Override autofill styles dla checkout - transparentne tło */
.woocommerce-checkout .woocommerce-form-row input[type="text"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="email"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="password"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="tel"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="number"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-row input[type="url"]:-webkit-autofill {
    background-color: transparent !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
    -webkit-box-shadow: 0 0 0 10000px transparent inset !important;
    box-shadow: 0 0 0 10000px transparent inset !important;
    transition: background-color 50000s ease-in-out 0s !important;
    -webkit-transition: background-color 50000s ease-in-out 0s !important;
}

/* Autofill dla innych formularzy WooCommerce (nie checkout) */
.woocommerce-form-row input[type="text"]:-webkit-autofill,
.woocommerce-form-row input[type="email"]:-webkit-autofill,
.woocommerce-form-row input[type="password"]:-webkit-autofill,
.woocommerce-form-row input[type="tel"]:-webkit-autofill,
.woocommerce-form-row input[type="number"]:-webkit-autofill,
.woocommerce-form-row input[type="url"]:-webkit-autofill,
.woocommerce-form-row select:-webkit-autofill,
.woocommerce-form-row textarea:-webkit-autofill {
    background-color: var(--color-black) !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    outline: none;
    border-color: var(--color-grey-dark);
}

.woocommerce-Button {
    width: 100%;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-white);
    padding: 15px 30px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.woocommerce-Button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Responsive checkout and account styles */
@media (max-width: 768px) {
    .toneka-checkout-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .toneka-checkout-title {
        font-size: var(--font-size-xl);
    }
    
    .toneka-checkout-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .toneka-checkout-item-image {
        width: 150px;
        height: 150px;
    }
    
    .toneka-checkout-item-price {
        text-align: left;
        width: 100%;
    }
}

/* ==========================================================================
   CREATORS ARCHIVE PAGE STYLES
   ========================================================================== */

/* Hero section for creators archive */
.toneka-creators-archive-hero {
    /* Inherits all styles from .toneka-hero-section */
}

/* Hero image styling */
.toneka-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero placeholder when no image */
.toneka-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-grey-dark);
}

.toneka-placeholder-content {
    text-align: center;
}

.toneka-placeholder-text {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 3.3vw, 3rem);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
}

.toneka-creators-archive-title {
    /* Inherits all styles from .toneka-product-title */
}

.toneka-creators-archive-description {
    margin: 30px 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-line-grey);
}

/* Creators list styles */
.toneka-creators-archive-content {
    /* border-top: 1px solid #ffffff; */
    padding: 80px 0;
    background-color: var(--color-black);
}

.toneka-creators-list {
    padding: 0 35%;
    margin: 0 auto;
}

.toneka-creator-item {
    border-bottom: 1px solid var(--color-line-grey);
    padding: 40px 0;
    transition: all 0.3s ease;
}

.toneka-creator-item:last-child {
    border-bottom: none;
}

.toneka-creator-content {
}

.toneka-creator-header {
    margin-bottom: 20px;
}

.toneka-creator-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
}

.toneka-creator-name a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toneka-creator-name a:hover {
    opacity: 0.7;
}

.toneka-creator-function {
    color: var(--color-line-grey);
    font-size: var(--font-size-xs);
    font-weight: 300;
    margin-left: 20px;
}

.toneka-creator-excerpt {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--color-line-grey);
}

.toneka-creator-excerpt p {
    margin: 0 0 15px 0;
}

.toneka-creator-excerpt p:last-child {
    margin-bottom: 0;
}

/* Loading and end states */
.toneka-creators-loading {
    text-align: center;
    padding: 40px 0;
}

.toneka-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-primary);
    color: var(--color-line-grey);
}

.toneka-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-line-grey);
    border-top: 2px solid var(--color-line-grey);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.toneka-creators-end {
    text-align: center;
    padding: 40px 0;
    font-family: var(--font-primary);
    background: var(--color-line-grey);
    font-style: italic;
}

.toneka-no-creators {
    text-align: center;
    padding: 80px 0;
    font-family: var(--font-primary);
    color: var(--color-line-grey);
}

/* Responsive styles for creators archive */
@media (max-width: 768px) {
    .toneka-creators-archive-description {
        font-size: var(--font-size-sm);
        margin: 20px 0;
    }
    
    .toneka-creators-archive-content {
        border-top: 1px solid var(--color-white);
        padding: 40px 15px;
    }
    
    .toneka-creator-item {
        padding: 25px 0;
    }
    
    .toneka-creator-name {
        font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    }
    
    .toneka-creator-function {
        font-size: var(--font-size-xs);
        margin-left: 10px;
        display: block;
        margin-top: 5px;
        margin-left: 0;
    }
    
    .toneka-creator-excerpt {
        font-size: var(--font-size-md);
    }
}

.toneka-creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.toneka-creator-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toneka-creator-role {
    margin: 20px 0;
}

.toneka-creator-role-text {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
    margin: 0;
}

/* Creator Title Styles */
.toneka-creator-title-addon {
    font-weight: 300;
    font-size: 0.6em;
    color: var(--color-line-grey);
    margin-left: 40px;
    display: inline-block;
}

.toneka-creator-title-right {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 300;
    color: var(--color-line-grey);
    text-transform: uppercase;
}

/* Creator Portfolio Section - prawa kolumna jak audio-section */
.toneka-creator-portfolio-section {
    padding: 14%;
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.toneka-creator-description {
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.7;
    margin-top: 40px;
}

.toneka-creator-description p {
    margin: 0 0 20px 0;
}

.toneka-creator-description p:last-child {
    margin-bottom: 0;
}

/* Portfolio Grid - siatka okładek */

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

.toneka-portfolio-item {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    border-radius: 0!important;
    transition: box-shadow 0.3s ease;
}

.toneka-portfolio-item:hover {
    box-shadow: 0 8px 24px var(--color-line-grey);
}

.toneka-portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.toneka-portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.toneka-portfolio-item:hover .toneka-portfolio-image {
    opacity: 1;
}

.toneka-portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 300;
    color: var(--color-white);
    text-align: center;
    padding: 20px;
}

.toneka-no-portfolio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.toneka-no-portfolio p {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 300;
    color: var(--color-line-grey);
    margin: 0;
}

/* Responsywność dla strony twórcy - identyczna z produktem */
@media (max-width: 768px) {
    /* Creator używa tej samej struktury co produkt */
    .toneka-creator-portfolio-section {
        padding: 7%;
    }
    
    .toneka-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .toneka-creator-title-addon {
        display: block;
        margin-left: 0;
        margin-top: 10px;
        font-size: 0.5em;
    }
}

/* Homepage specific styles - domyślnie 3 produkty w rzędzie (desktop duży) */
.toneka-homepage-audio-grid,
.toneka-homepage-merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto 0 auto;
    padding: 0;
    gap: 0;
}

/* Suggested products sections on single product page */
.toneka-suggested-section {
    margin:  0;
    padding: 0;
}

.toneka-suggested-merch-grid,
.toneka-suggested-audio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 30px; */
    margin: 0 auto;
}

/* Grid zawsze 3 kolumny - bez dynamicznego dostosowania */

/* Responsive adjustments for homepage grids */
@media (max-width: 768px) {
    .toneka-homepage-audio-grid,
    .toneka-homepage-merch-grid,
    .toneka-suggested-merch-grid,
    .toneka-suggested-audio-grid,
    .toneka-category-products-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Force deployment Thu Sep 25 13:36:32 CEST 2025 */

/* =====================================
   GLOBAL BUTTON STYLE (excluding arrow buttons)
   Applies a consistent pill shape, font sizing, and weights
   Note: Arrow buttons keep their own visuals (.animated-arrow-button, .toneka-more-link, etc.)
   ===================================== */

button:not(.animated-arrow-button):not(.toneka-slider-dot),
input[type="submit"]:not(.animated-arrow-button),
input[type="button"]:not(.animated-arrow-button),
a.button:not(.animated-arrow-button):not(.toneka-more-link),
.toneka-button,
.woocommerce a.button:not(.animated-arrow-button),
.woocommerce button.button:not(.animated-arrow-button),
.woocommerce input.button:not(.animated-arrow-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid var(--color-white);
    border-radius: 9999px;
    background: var(--color-black);
    color: var(--color-white);
    font-weight: 400;
    font-size: clamp(0.875rem, 1.0vw, 0.95rem);
    line-height: 1;
    width: auto;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

button:not(.animated-arrow-button):not(.toneka-slider-dot):hover,
input[type="submit"]:not(.animated-arrow-button):hover,
input[type="button"]:not(.animated-arrow-button):hover,
a.button:not(.animated-arrow-button):not(.toneka-more-link):hover,
.toneka-button:hover,
.woocommerce a.button:not(.animated-arrow-button):hover,
.woocommerce button.button:not(.animated-arrow-button):hover,
.woocommerce input.button:not(.animated-arrow-button):hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* ===================================== 
   LAZY LOADING LOADER
   ===================================== */

.toneka-lazy-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 10;
}

.toneka-lazy-loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-line-grey);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: toneka-loader-pulse var(--transition-loader) cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes toneka-loader-pulse {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* Wrapper dla obrazów z lazy loading */
.toneka-lazy-wrapper {
    position: relative;
    background: var(--color-black);
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.toneka-lazy-wrapper img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toneka-lazy-wrapper img.toneka-loaded {
    opacity: 1;
}

.toneka-lazy-wrapper.toneka-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-line-grey);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: toneka-loader-pulse var(--transition-loader) cubic-bezier(0.5, 0, 0.5, 1) infinite;
    z-index: 10;
}

/* Wrapper dla playerów z lazy loading */
.toneka-player-lazy-wrapper {
    position: relative;
    background: var(--color-black);
    width: 100%;
    height: 100%;
}

.toneka-player-lazy-wrapper.toneka-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-line-grey);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: toneka-loader-pulse var(--transition-loader) cubic-bezier(0.5, 0, 0.5, 1) infinite;
    z-index: 10;
}

.toneka-player-lazy-wrapper.toneka-loaded .toneka-figma-player {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toneka-player-lazy-wrapper.toneka-loaded .toneka-figma-player.toneka-player-visible {
    opacity: 1;
}

/* Custom Select Dropdown Styles */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    background: var(--color-black);
    border: 1px solid var(--color-grey-dark);
    color: var(--color-white);
    border-radius: 0;
    padding: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    position: relative;
    padding-right: 40px;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.custom-select-container:hover .custom-select-trigger {
    border-color: var(--color-grey-dark);
    background: var(--color-grey-dark);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-black);
    border: 1px solid var(--color-grey-dark);
    border-top: none;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.custom-select-option {
    padding: var(--spacing-md);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-select-option:hover,
.custom-select-option.selected {
    background-color: var(--color-grey-dark);
}

select.custom-select-hidden {
    display: none !important;
}

/* Cleanup old select styles */
select {
   /* appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important; */
}
select option,
select option:hover,
select option:focus,
select option:checked {
    /* Remove old option styles as they are not needed anymore */
}

/* Firefox - special styles for option */
@-moz-document url-prefix() {
    select option,
    select option:hover,
    select option:focus {
        /* Remove old option styles as they are not needed anymore */
    }
}

/* -- START: Wyłączenie pływających etykiet i styl dla placeholderów -- */
/* Wymuszenie statycznej pozycji dla etykiet, które normalnie "pływają" */
.wc-block-components-text-input--floating .wc-block-components-text-input__label {
    position: static !important;
    transform: none !important;
    padding: 0 15px !important;
    margin-bottom: 12px !important;
    font-size: var(--font-size-md) !important;
}

/* Dostosowanie paddingu pól, które miały pływające etykiety */
.wc-block-components-text-input--floating input {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Globalne style dla placeholderów w formularzach blokowych */
.wc-block-components-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: var(--color-line-grey);
  text-transform: uppercase;
  font-weight: 300;
}
.wc-block-components-form ::-moz-placeholder { /* Firefox 19+ */
  color: var(--color-grey-dark);
  text-transform: uppercase;
  font-weight: 300;
  opacity: 1;
}
.wc-block-components-form :-ms-input-placeholder { /* IE 10+ */
  color: var(--color-line-grey);
  text-transform: uppercase;
  font-weight: 300;
}
.wc-block-components-form :-moz-placeholder { /* Firefox 18- */
  color: var(--color-line-grey);
  text-transform: uppercase;
  font-weight: 300;
  opacity: 1;
}
/* -- END: Wyłączenie pływających etykiet i styl dla placeholderów -- */

/* WooCommerce Blocks section headings - białe tytuły, padding */
.wc-block-components-form h2,
.wc-block-components-form h3 {
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-base) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    padding: 0 15px !important;
}

/* ==========================================================================
   MY ACCOUNT & LOGIN/REGISTER PAGES
   ========================================================================== */

/* My Account Page Container */
.toneka-myaccount-page {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 0 50px 0;
}

.toneka-myaccount-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Login/Register Grid */
.toneka-login-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.toneka-login-single {
    max-width: 500px;
    margin: 0 auto;
}

/* Section Titles */
.toneka-section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    /* margin-bottom: 30px; */
    /* border-bottom: 1px solid var(--color-line-grey); */
    /* padding-bottom: 15px; */
}

/* My Account Form Styles */
.toneka-myaccount-form .form-row {
    margin-bottom: 20px;
}

.toneka-myaccount-form label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-grey-dark) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding: 0 15px !important;
}

.toneka-myaccount-form input[type="text"],
.toneka-myaccount-form input[type="email"],
.toneka-myaccount-form input[type="password"],
.toneka-myaccount-form select,
.toneka-myaccount-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-grey-dark);
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.toneka-myaccount-form input[type="text"]:hover,
.toneka-myaccount-form input[type="email"]:hover,
.toneka-myaccount-form input[type="password"]:hover,
.toneka-myaccount-form select:hover,
.toneka-myaccount-form textarea:hover {
    border-color: var(--color-grey-dark);
    background: var(--color-line-grey);
}

.toneka-myaccount-form input[type="text"]:focus,
.toneka-myaccount-form input[type="email"]:focus,
.toneka-myaccount-form input[type="password"]:focus,
.toneka-myaccount-form select:focus,
.toneka-myaccount-form textarea:focus {
    outline: none;
    border-color: var(--color-grey-dark);
    background: var(--color-line-grey);
}

/* Autofill styles */
.toneka-myaccount-form input[type="text"]:-webkit-autofill,
.toneka-myaccount-form input[type="email"]:-webkit-autofill,
.toneka-myaccount-form input[type="password"]:-webkit-autofill {
    background-color: var(--color-black) !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

/* Checkbox styles */
.toneka-myaccount-form .form-row-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.toneka-myaccount-form .form-row-checkbox label {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    color: var(--color-white) !important;
}

.toneka-myaccount-form .form-row-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Button styles */
.toneka-button {
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid var(--color-white);
    background: none;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.toneka-button:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.toneka-button-primary {
    width: 100%;
    margin-top: 10px;
}

/* Lost password link */
.toneka-myaccount-form .lost_password {
    text-align: center;
    margin-top: 15px;
}

.toneka-myaccount-form .lost_password a {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: var(--color-grey-dark);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.toneka-myaccount-form .lost_password a:hover {
    color: var(--color-white);
}

/* WooCommerce Account Dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: transparent;
    border: 1px solid var(--color-line-grey);
}

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

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--color-line-grey);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 20px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-white);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--color-line-grey);
    color: var(--color-white);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: transparent;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    font-family: var(--font-primary);
    color: var(--color-white);
}

/* WooCommerce Notices on My Account pages */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info {
    font-family: var(--font-primary);
    color: var(--color-white);
    border-color: var(--color-line-grey);
    background: var(--color-line-grey);
}

/* Address & Order tables */
.woocommerce-account table.my_account_orders,
.woocommerce-account table.woocommerce-table--order-details {
    border: 1px solid var(--color-line-grey);
}

.woocommerce-account table.my_account_orders th,
.woocommerce-account table.my_account_orders td,
.woocommerce-account table.woocommerce-table--order-details th,
.woocommerce-account table.woocommerce-table--order-details td {
    font-family: var(--font-primary);
    color: var(--color-white);
    border-color: var(--color-line-grey);
}

.woocommerce-account table.my_account_orders thead th,
.woocommerce-account table.woocommerce-table--order-details thead th {
    background: var(--color-line-grey);
    text-transform: uppercase;
    font-weight: 400;
}

/* Addresses */
.woocommerce-Address address {
    font-family: var(--font-primary);
    color: var(--color-white);
    font-style: normal;
}

.woocommerce-Address-title h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .toneka-login-register-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .toneka-myaccount-page {
        padding: 80px 0 30px 0;
    }
    
    .toneka-myaccount-container {
        padding: 0 15px;
    }
}

/* ==========================================================================
   THANK YOU PAGE ENHANCEMENTS
   ========================================================================== */

/* Thank You Page Container */
.toneka-thankyou-page {
    background: var(--color-black);
    min-height: 100vh;
    padding: 100px 0 50px 0;
}

.toneka-thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

/* Thank You Title */
.toneka-thankyou-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

/* Order Details */
.toneka-order-details {
    background: transparent;
    border: 1px solid var(--color-line-grey);
    padding: 30px;
    margin: 40px 0;
}

.toneka-order-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toneka-order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line-grey);
}

.toneka-order-info-row:last-child {
    border-bottom: none;
}

.toneka-order-info-label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-grey-dark);
    text-transform: uppercase;
}

.toneka-order-info-value {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-white);
    font-weight: 400;
}

/* Thank You Actions */
.toneka-thankyou-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.toneka-my-account-button,
.toneka-continue-shopping-button,
.toneka-retry-payment-button {
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid var(--color-white);
    background: none;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.toneka-my-account-button:hover,
.toneka-continue-shopping-button:hover,
.toneka-retry-payment-button:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* WooCommerce Notices on Thank You page */
.toneka-thankyou-page .woocommerce-notice {
    font-family: var(--font-primary);
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-line-grey);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.toneka-thankyou-page .woocommerce-notice--success {
    border-color: var(--color-white);
}

.toneka-thankyou-page .woocommerce-notice--error {
    border-color: #ff4444;
    color: #ff4444;
}

/* Responsive */
@media (max-width: 768px) {
    .toneka-thankyou-actions {
        flex-direction: column;
    }
    
    .toneka-my-account-button,
    .toneka-continue-shopping-button,
    .toneka-retry-payment-button {
        width: 100%;
    }
    
    .toneka-order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ==========================================================================
   UNIFIED HEADINGS & FORM STYLES
   ========================================================================== */

/* Global WooCommerce Page Titles */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
}

.woocommerce h1 {
    /* font-size: clamp(1.5rem, 2.5vw, 2rem); */
    /* margin-bottom: 30px; */
}

.woocommerce h2 {
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    /* border-bottom: 1px solid var(--color-line-grey); */
    /* padding-bottom: 15px; */
    /* margin-bottom: 30px; */
}

.woocommerce h3 {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-bottom: 20px;
}

/* Global WooCommerce Forms */
.woocommerce form .form-row,
.woocommerce-form .form-row {
    margin-bottom: 20px;
}

.woocommerce form label,
.woocommerce-form label {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-grey-dark);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

/* Global WooCommerce Buttons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce .button {
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid var(--color-white);
    background: none;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 0;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce .button:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* Global WooCommerce Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    font-family: var(--font-primary);
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-line-grey);
    padding: 15px 20px;
    margin: 20px 0;
}

.woocommerce-message {
    border-color: var(--color-white);
}

.woocommerce-error,
.woocommerce-error a {
    border: none!important;
    color: var(--color-white);
    background: var(--color-error);
}

.woocommerce-info {
    border-color: var(--color-info);
    background: var(--color-info);
    color: var(--color-white);
}

/* Lost Password Page */
.woocommerce-lost-password h2,
.woocommerce-ResetPassword h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Edit Account / Edit Address Forms */
.woocommerce-EditAccountForm,
.woocommerce-Address-edit {
    background: transparent;
}

.woocommerce-EditAccountForm h3,
.woocommerce-Address-edit h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* View Order Page */
.woocommerce-order-details h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.woocommerce-order-details table {
    border: 1px solid var(--color-line-grey);
}

.woocommerce-order-details table th,
.woocommerce-order-details table td {
    font-family: var(--font-primary);
    color: var(--color-white);
    border-color: var(--color-line-grey);
}

.woocommerce-order-details table thead th {
    background: var(--color-line-grey);
    text-transform: uppercase;
    font-weight: 400;
}

/* Customer Details */
.woocommerce-customer-details h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.woocommerce-customer-details address {
    font-family: var(--font-primary);
    color: var(--color-white);
    font-style: normal;
}

/* Downloads Page */
.woocommerce-Downloads h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Payment Methods Page */
.woocommerce-PaymentMethods h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-line-grey);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* ==========================================================================
   CHECKOUT PAGE - LOGIN FORM FIXES (wysoką specyficzność)
   ========================================================================== */

/* Formularz logowania powracającego klienta na stronie kasy */
.woocommerce-checkout .woocommerce-form-login input[type="text"],
.woocommerce-checkout .woocommerce-form-login input[type="password"],
.woocommerce-checkout .woocommerce-form-login input[type="email"],
.woocommerce-checkout form.login input[type="text"],
.woocommerce-checkout form.login input[type="password"],
.woocommerce-checkout form.login input[type="email"],
.woocommerce-checkout form.checkout_coupon input[type="text"] {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--color-line-grey) !important;
    color: var(--color-white) !important;
    padding: 12px 0 !important;
    border-radius: 0 !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s !important;
    -webkit-transition: border-bottom-color 0.3s ease, background-color 50000s ease-in-out 0s !important;
}

.woocommerce-checkout .woocommerce-form-login input[type="text"]:focus,
.woocommerce-checkout .woocommerce-form-login input[type="password"]:focus,
.woocommerce-checkout .woocommerce-form-login input[type="email"]:focus,
.woocommerce-checkout form.login input:focus,
.woocommerce-checkout form.checkout_coupon input:focus {
    outline: none !important;
    border-bottom-color: var(--color-white) !important;
    background: transparent !important;
}

/* Autofill styles dla formularzy logowania i kuponów w checkout */
.woocommerce-checkout .woocommerce-form-login input[type="text"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-login input[type="password"]:-webkit-autofill,
.woocommerce-checkout .woocommerce-form-login input[type="email"]:-webkit-autofill,
.woocommerce-checkout form.login input[type="text"]:-webkit-autofill,
.woocommerce-checkout form.login input[type="password"]:-webkit-autofill,
.woocommerce-checkout form.login input[type="email"]:-webkit-autofill,
.woocommerce-checkout form.checkout_coupon input[type="text"]:-webkit-autofill {
    background-color: transparent !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
    -webkit-box-shadow: 0 0 0 10000px transparent inset !important;
    box-shadow: 0 0 0 10000px transparent inset !important;
    transition: background-color 50000s ease-in-out 0s !important;
    -webkit-transition: background-color 50000s ease-in-out 0s !important;
}

/* Placeholder styles for checkout login and coupon forms */
.woocommerce-checkout .woocommerce-form-login input::placeholder,
.woocommerce-checkout form.login input::placeholder,
.woocommerce-checkout form.checkout_coupon input::placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.woocommerce-checkout .woocommerce-form-login input::-webkit-input-placeholder,
.woocommerce-checkout form.login input::-webkit-input-placeholder,
.woocommerce-checkout form.checkout_coupon input::-webkit-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
}

.woocommerce-checkout .woocommerce-form-login input::-moz-placeholder,
.woocommerce-checkout form.login input::-moz-placeholder,
.woocommerce-checkout form.checkout_coupon input::-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.woocommerce-checkout .woocommerce-form-login input:-ms-input-placeholder,
.woocommerce-checkout form.login input:-ms-input-placeholder,
.woocommerce-checkout form.checkout_coupon input:-ms-input-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
}

.woocommerce-checkout .woocommerce-form-login input:-moz-placeholder,
.woocommerce-checkout form.login input:-moz-placeholder,
.woocommerce-checkout form.checkout_coupon input:-moz-placeholder {
    color: var(--color-line-grey) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.woocommerce-checkout .woocommerce-form-login label,
.woocommerce-checkout form.login label,
.woocommerce-checkout form.checkout_coupon label {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    color: var(--color-white) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: block !important;
    padding: 0 !important;
}

/* Przyciski w formularzach logowania i kuponów */
.woocommerce-checkout .woocommerce-form-login button,
.woocommerce-checkout form.login button,
.woocommerce-checkout form.checkout_coupon button {
    padding: 12px 30px !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-md) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    border: 1px solid var(--color-white) !important;
    background: none !important;
    color: var(--color-white) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.woocommerce-checkout .woocommerce-form-login button:hover,
.woocommerce-checkout form.login button:hover,
.woocommerce-checkout form.checkout_coupon button:hover {
    background: var(--color-white) !important;
    color: var(--color-black) !important;
}

/* Linki w sekcji powracającego klienta */
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .showlogin,
.woocommerce-checkout .showcoupon {
    color: var(--color-white) !important;
    text-decoration: underline !important;
}

.woocommerce-error::before,
.woocommerce-info::before, 
.woocommerce-message::before {
    left: 97%;
    color: var(--color-white);
}

.woocommerce-checkout .woocommerce-info a:hover {
    color: var(--color-grey-dark) !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: none;
    color: var(--color-white) !important;
}