/*
Theme Name: Luxora Lighting
Theme URI: https://luxora.pl
Author: Luxora
Author URI: https://luxora.pl
Description: Motyw sklepu internetowego z oświetleniem - Luxora Lighting.
Version: 1.0
Text Domain: luxora
*/

/* -------------------------------------------------
   0. FONTS & VARIABLES
------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');

:root{
    --color-cream:      #f7f4ee;
    --color-cream-alt:  #f1ede4;
    --color-white:      #ffffff;
    --color-white-grey: #f7f7f5;
    --color-dark:       #0b0907;
    --color-dark-soft:  #221e18;
    --color-text:       #2b271f;
    --color-text-muted: #756f62;
    --color-line:       #e4dfd3;
    --color-line-dark:  #3a352c;

    --font-body:    'Jost', Arial, sans-serif;
    --font-title: "Fraunces", serif;
    

    /* Jedyne dwie wielkosci czcionki uzywane w calym motywie (poza tytulami/naglowkami) */
    --fs-base: 14px;
    --fs-sm:   12px;


    --container: 1280px;
    --gap: 24px;
    --radius: 2px;

    /* Ujednolicone paddingi/marginesy przyciskow */
    --btn-padding:      10px 32px; /* domyslny .btn */
    --btn-padding-sm:   12px 22px; /* .btn-sm - ciasne miejsca (stopka, koszyk, karty produktow) */
    --btn-font-size:    12px;
    --btn-spacing-top:  16px; /* odstep nad przyciskiem, gdy stoi po tekscie */
}

/* -------------------------------------------------
   1. RESET
------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
    margin:0;
    font-family:var(--font-body);
    color:var(--color-text);
    background:var(--color-white);
    -webkit-font-smoothing:antialiased;
    font-weight:450;
    line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input{ font-family:inherit; }
h1,h2,h3,h4{ font-family:var(--font-body); font-weight:500; margin:0; color:var(--color-dark); }
p{ margin:0; }
.container{
    max-width:var(--container);
    margin:0 auto;
    padding:0 40px;
}
.eyebrow{
    font-size:var(--fs-sm);
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    font-weight:500;
    display:block;
    margin-bottom:14px;
}
a:focus-visible, button:focus-visible, input:focus-visible{
    
    outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
    *{ animation:none !important; transition:none !important; }
}

/* -------------------------------------------------
   2. BUTTONS
------------------------------------------------- */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:var(--btn-padding);
    font-size:var(--btn-font-size);
    letter-spacing:.05em;

    font-weight:500;
    border:1px solid transparent;
    border-radius:var(--radius);
    transition:background .25s ease, color .25s ease, border-color .25s ease, transform .1s ease-out;
}
.btn:active{ transform:scale(.97); }
/* Kompaktowy wariant przycisku - te same proporcje, mniejszy padding.
   Uzywany wszedzie tam, gdzie .btn nie miesci sie w waskiej przestrzeni
   (stopka, koszyk, karty produktow, add-to-cart). */
.btn-sm{
    padding:var(--btn-padding-sm);
    font-size:var(--btn-font-size);
}
.btn-fill-light{
    background:var(--color-white);
    color:var(--color-dark);
}
.btn-fill-light:hover{ background:var(--color-white-grey); }

.btn-outline-light{
    background:transparent;
    color:var(--color-white);
    border-color:rgba(255,255,255,.6);
}
.btn-outline-light:hover{ background:rgba(255,255,255,.12); }

.btn-outline-dark{
    background:transparent;
    color:var(--color-dark);
    border-color:var(--color-dark);
}
.btn-outline-dark:hover{ background:var(--color-dark); color:var(--color-white); }

.btn-fill-dark{
    background:var(--color-dark);
    color:var(--color-white);
}
.btn-fill-dark:hover{ background:var(--color-dark-soft); }

/* -------------------------------------------------
   3. TOP BAR
------------------------------------------------- */
.topbar{
    background:var(--color-white);
    border-bottom:1px solid var(--color-line);
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
}
.topbar .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:38px;
}
.topbar-left{ display:flex; align-items:center; gap:18px; }
.topbar-left span{ position:relative; padding-right:18px; }
.topbar-left span:not(:last-child)::after{
    content:"";
    position:absolute; right:0; top:50%;
    width:1px; height:12px;
    background:var(--color-line);
    transform:translateY(-50%);
}
.topbar-right{ display:flex; align-items:center; gap:16px; }
.topbar-right button{
    background:none; border:none; color:var(--color-text-muted);
    display:flex; align-items:center; padding:0;
    transition:transform .1s ease-out;
}
.topbar-right button:active{ transform:scale(.9); }
.topbar-right svg{ width:16px; height:16px; }

/* -------------------------------------------------
   4. SITE HEADER / NAV
------------------------------------------------- */
.site-header{
    position:sticky;
    top:0;
    z-index:80;
    background: var(--color-white);
    border-bottom:1px solid transparent;
}
.site-header .container{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding-top:22px;
    padding-bottom:18px;
}
.site-logo{ text-align:center; }
.site-logo a{ display:inline-block; }
.site-logo .logo-main{
    font-family: "EB Garamond", serif;
    font-size:32px;
    letter-spacing:.1em;
    color:var(--color-dark);
    line-height:1;
}
.site-logo .logo-sub{
    display:block;
    font-family:var(--font-body);
    font-size:9px;
    letter-spacing:.4em;
    color:var(--color-text-muted);
    margin-top:4px;
}
.main-nav{
    border-top:1px solid var(--color-line);
}
.main-nav .container{
    padding-top:0; padding-bottom:0;
    justify-content:center;
}
#primary-menu{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    padding:16px 0;
}
.main-nav a{
    font-size:var(--fs-base);
    font-weight: 400;
    letter-spacing:.03em;
    color:var(--color-text);
    display:flex;
    align-items:center;
    gap:5px;
    transition:color .2s ease;
}
@media (min-width:901px){
    .main-nav a:hover{ color:var(--color-text-muted); }
}

/* strzałka przy pozycjach posiadających podmenu (dodawana automatycznie przez WP) */
#primary-menu li.menu-item-has-children > a::after{
    content:"";
    width:6px; height:6px;
    border-right:1px solid currentColor;
    border-bottom:1px solid currentColor;
    transform:rotate(45deg);
    margin-top:-3px;
    transition:transform .2s ease;
}
/* obrót strzałki na hover dotyczy tylko desktopu - na mobile
   sterują tym wyłącznie stany .submenu-open (patrz sekcja 4c) */
@media (min-width:901px){
    #primary-menu li.menu-item-has-children:hover > a::after{
        transform:rotate(225deg);
        margin-top:3px;
    }
}

/* -------------------------------------------------
   4b. ROZWIJANE PODMENU (Lampy wewnętrzne, Marki...)
------------------------------------------------- */
#primary-menu li.menu-item-has-children{
    position:relative;
}
#primary-menu .sub-menu{
    display:block; /* zawsze jedna kolumna, niezależnie od kontekstu */
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(6px);
    min-width:220px;
    background:var(--color-white);
    border:1px solid var(--color-line);
    box-shadow:0 18px 40px rgba(23,20,15,.08);
    padding:10px 0;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index:50;
}
/* rozwijanie na hover/focus dotyczy tylko trybu desktop -
   na mobile submenu sterowane jest wyłącznie klasą .submenu-open (JS) */
@media (min-width:901px){
    #primary-menu li.menu-item-has-children:hover > .sub-menu,
    #primary-menu li.menu-item-has-children:focus-within > .sub-menu{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateX(-50%) translateY(0);
    }
}
#primary-menu .sub-menu li{ width:100%; }
#primary-menu .sub-menu a{
    display:block;
    padding:10px 22px;
    font-size:var(--fs-base);
    white-space:nowrap;
    color:var(--color-text);
}
#primary-menu .sub-menu a:hover{
    background:var(--color-cream-alt);
    color:var(--color-dark);
}
#primary-menu .sub-menu a::after{ content:none; }

/* -------------------------------------------------
   4c. NAGŁÓWEK MOBILE / HAMBURGER / OFF-CANVAS PANEL
   (< 900px - logo i przycisk menu dzielą jeden,
   kompaktowy rząd; menu wysuwa się jako panel z
   prawej strony, w duchu materiałów Apple: blur +
   przezroczystość zamiast pełnego nieprzezroczystego tła)
------------------------------------------------- */

.site-header-inner{ position:relative; }

.menu-toggle{
    display:none; /* domyślnie ukryty - desktop pokazuje pełne menu w linii */
    position:relative;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    flex-shrink:0;
    background:none;
    border:none;
    padding:0;
    -webkit-tap-highlight-color:transparent;
    transition:transform .12s ease-out;
}
.menu-toggle:active{ transform:scale(.92); }

/* trzy kreski o identycznej grubości i długości - klasyczny hamburger -> X */
.menu-toggle-bar{
    position:absolute;
    left:50%;
    top:50%;
    width:22px;
    height:1px;
    background:var(--color-dark);
    border-radius:1px;
    transform:translate(-50%,-50%) translateY(var(--ty)) rotate(0deg);
    transition:transform .32s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
}
.menu-toggle-bar:nth-child(1){ --ty:-6.5px; }
.menu-toggle-bar:nth-child(2){ --ty:0px; }
.menu-toggle-bar:nth-child(3){ --ty:6.5px; }

/* stan otwarty: górna i dolna kreska składają się w "X", środkowa znika */
body.nav-open .menu-toggle-bar:nth-child(1){ transform:translate(-50%,-50%) translateY(0) rotate(45deg); }
body.nav-open .menu-toggle-bar:nth-child(2){ opacity:0; }
body.nav-open .menu-toggle-bar:nth-child(3){ transform:translate(-50%,-50%) translateY(0) rotate(-45deg); }

.nav-scrim{
    position:fixed;
    inset:0;
    background:rgba(23,20,15,.38);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .32s ease, visibility .32s ease;
    z-index:90;
}
.nav-mobile-head,
.nav-close{ display:none; }

/* przycisk-strzałka do rozwijania podkategorii na mobile - osobny od
   nazwy kategorii, żeby sama nazwa mogła normalnie przenosić do katalogu.
   Domyślnie (desktop) ukryty - tam rozwijanie działa na hover. */
.submenu-toggle{
    display:none;
    background:none;
    border:none;
    padding:0;
}

@media (max-width:900px){

    /* --- rząd nagłówka: logo + hamburger, bez wielkiego, wyśrodkowanego bloku --- */
    .site-header .container.site-header-inner{
        justify-content:space-between;
        padding-top:7px;
        padding-bottom:7px;
    }
    .site-logo{ text-align:left; }
    .site-logo .logo-main{ font-size:22px; letter-spacing:.1em; }
    .site-logo .logo-sub{ font-size:7.5px; letter-spacing:.3em; margin-top:3px; }
    .menu-toggle{ display:inline-flex; }

    /* --- panel nawigacji jako wysuwana warstwa (off-canvas) --- */
    body.nav-open{ overflow:hidden; }

    .nav-scrim{ opacity:0; }
    body.nav-open .nav-scrim{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .main-nav{
        border-top:none;
        position:fixed;
        top:0;
        right:0;
        bottom:0;
        width:min(360px, 86vw);
        max-width:100vw;
        background:rgba(255,255,255,.92);
        backdrop-filter:blur(24px) saturate(180%);
        -webkit-backdrop-filter:blur(24px) saturate(180%);
        box-shadow:-30px 0 60px rgba(23,20,15,.16);
        transform:translateX(100%);
        transition:transform .38s cubic-bezier(.22,.61,.36,1);
        z-index:95;
        display:flex;
        flex-direction:column;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }
    body.nav-open .main-nav{ transform:translateX(0); }

    .nav-mobile-head{
        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-shrink:0;
        padding:max(18px, env(safe-area-inset-top)) 22px 16px;
        border-bottom:1px solid var(--color-line);
    }
    .nav-mobile-title{
        font-family:var(--font-body);
        font-size:var(--fs-base);
        letter-spacing:.14em;
        text-transform:uppercase;
        color:var(--color-text-muted);
    }
    .nav-close{
        display:flex;
        align-items:center;
        justify-content:center;
        width:36px;
        height:36px;
        border-radius:50%;
        background:none;
        border:none;
        color:var(--color-dark);
        transition:background .2s ease, transform .12s ease-out;
    }
    .nav-close svg{ width:16px; height:16px; }
    .nav-close:hover{ background:var(--color-cream-alt); }
    .nav-close:active{ transform:scale(.9); }

    .main-nav .container{
        padding:8px 0 40px;
        max-width:none;
    }
    /* --- lista głównych kategorii: jeden, pojedynczy wiersz na pozycję,
       identycznie jak w menu desktopowym (bez rozwiniętych podkategorii) --- */
    .main-nav ul#primary-menu{
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
        gap:0;
        padding:8px 0;
    }
    #primary-menu > li{ border-bottom:1px solid var(--color-line); }
    .main-nav a{
        padding:16px 22px;
        font-size:var(--fs-base);
    }

    /* --- podmenu: ta sama strzałka co na desktopie (::after). Na mobile
       nazwa kategorii ZAWSZE normalnie przenosi do katalogu (prawdziwy href) -
       rozwijaniem podkategorii steruje wyłącznie osobny przycisk-strzałka
       (.submenu-toggle) w prawym rogu. Kolor i kierunek strzałki zmieniają
       się dopiero po tapnięciu w nią (klasa .submenu-open), nigdy na hover --- */
    #primary-menu li.menu-item-has-children{ position:relative; }
    #primary-menu li.menu-item-has-children > a{
        justify-content:space-between; /* strzałka zawsze przy prawej krawędzi */
        padding-right:52px;            /* miejsce na przycisk-strzałkę obok */
    }
    #primary-menu li.menu-item-has-children > a::after{
        margin-top:0; /* na mobile wyrównujemy strzałkę środkowo w wierszu, nie jak na desktopie */
    }
    #primary-menu li.submenu-open > a{
        color:var(--color-text-muted);
    }
    #primary-menu li.submenu-open > a::after{
        transform:rotate(225deg);
    }
    .submenu-toggle{
        display:block;
        position:absolute;
        top:0;
        right:0;
        width:70px;
        height:52px;
        z-index:2; /* zawsze nad linkiem, żeby dotknięcie strzałki nie uruchamiało nawigacji */
        -webkit-tap-highlight-color:transparent;
    }

    #primary-menu .sub-menu{
        display:block;
        position:static;
        transform:none;
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        box-shadow:none;
        border:none;
        background:transparent; /* to samo tło co reszta panelu - bez wizualnego wyodrębniania */
        max-height:0;
        padding:0;      /* bez tego zwinięte podmenu zostawiało "widmowe" 10px 0
                            paddingu z reguły desktopowej - stąd wyższe li z dziećmi */
        overflow:hidden;
        transition:max-height .38s cubic-bezier(.22,.61,.36,1), opacity .25s ease, visibility .38s ease;
    }
    /* WAŻNE: prefiks #primary-menu jest tu konieczny - bez niego ta reguła
       (bez ID w selektorze) przegrywa specyficznością z regułą bazową
       #primary-menu .sub-menu{opacity:0;visibility:hidden;...} powyżej,
       więc lista technicznie się rozwijała (max-height rósł) ale
       pozostawała niewidoczna (opacity/visibility nadal na "ukryte") */
    #primary-menu li.submenu-open > .sub-menu{
        max-height:640px;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }
    #primary-menu .sub-menu li{ width:100%; }
    /* te same krój, rozmiar i kolor co pozycje główne - jedyna różnica to
       lekkie wcięcie z lewej, żeby było widać hierarchię */
    #primary-menu .sub-menu a{
        padding:16px 22px 16px 38px;
        font-size:var(--fs-base);
        color:var(--color-text);
    }
}

/* pełna nieprzezroczystość dla użytkowników preferujących mniej przezroczystości */
@media (max-width:900px) and (prefers-reduced-transparency: reduce){
    .main-nav{ background:var(--color-white); backdrop-filter:none; -webkit-backdrop-filter:none; }
}
/* -------------------------------------------------
   5. HERO
------------------------------------------------- */
.hero{
    position:relative;
    min-height:640px;
    display:flex;
    align-items:center;
    background:var(--color-dark) center/cover no-repeat;
    overflow:hidden;
}
.hero-bg{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    z-index:0;
}
.hero::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(15,13,10,.72) 0%, rgba(15,13,10,.35) 48%, rgba(15,13,10,.08) 100%);
    z-index:1;
}
.hero .container{ position:relative; z-index:2; }
.hero-content{ max-width:520px; }
.hero-content h1{
    font-family: var(--font-title) ;
    color:var(--color-white);
    font-size:clamp(34px, 4.5vw, 52px);
    line-height:1.12;
    letter-spacing:-0.01em;
    margin-bottom:22px;
}
.hero-content p{
    color:rgba(255,255,255,.82);
    font-size:var(--fs-base);
    font-weight: 400;
    line-height:1.7;
    max-width:400px;
    margin-bottom:34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* -------------------------------------------------
   6. FEATURES STRIP
------------------------------------------------- */
.features-strip{
    background:var(--color-white-grey);
    border-bottom:1px solid var(--color-white-grey);
}
.features-strip ul{
    display:grid;
    grid-template-columns:repeat(4,1fr);
}
.features-strip li{
    display:flex;
    align-items:center;
    gap:14px;
    padding:26px 30px;
    border-right:1px solid var(--color-white-grey);
    font-size:var(--fs-base);
    color:var(--color-text);
}
.features-strip li:last-child{ border-right:none; }
.features-strip svg{
    width:26px; height:26px;
    flex-shrink:0;
    color:var(--color-dark);
}

/* -------------------------------------------------
   7. SECTION HEADINGS (generic)
------------------------------------------------- */
.section{ padding:96px 0; }
.section-head{
    text-align:center;
    max-width:640px;
    margin:0 auto 56px;
}
.section-head h2{ font-size:clamp(28px, 3vw, 36px); letter-spacing:-0.01em; margin-bottom:14px; }
.section-head p{ color:var(--color-text-muted); font-size:var(--fs-base); line-height:1.7; font-weight: 400; }

/* -------------------------------------------------
   8. BRANDS
------------------------------------------------- */
.brands{ background:var(--color-white); }
.brands-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:32px;
    padding-top:8px;
}
.brands-row img{ max-height:26px; width:auto; opacity:.85; }
.brands-row .brand-name{
    font-family:var(--font-body);
    font-size:22px;
    letter-spacing:.02em;
    color:var(--color-dark);
    white-space:nowrap;
}

/* -------------------------------------------------
   9. CATEGORY GRID
------------------------------------------------- */
.categories{ background:var(--color-white-grey); }
.category-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:repeat(2, 260px);
    gap:var(--gap);
}
.category-card{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--color-dark) center/cover no-repeat;
    padding:34px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}
.category-card.tall{ grid-row:span 2; }
.category-card img.card-bg{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
    transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
.category-card:hover img.card-bg{ transform:scale(1.04); }
.category-card::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(10,9,7,.55) 0%, rgba(10,9,7,.15) 45%, rgba(10,9,7,.05) 100%);
    z-index:1;
}
.category-card > *{ position:relative; z-index:2; }
.category-card h3{
    color:var(--color-white);
    font-size:26px;
    line-height:1.25;
    margin-bottom:14px;
}
.category-card .cat-link{
    color:var(--color-white);
    font-size:var(--fs-sm);
    letter-spacing:.08em;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-bottom:1px solid rgba(255,255,255,.5);
    padding-bottom:4px;
    width:max-content;
    transition:opacity .2s ease;
}
.category-card .cat-link:hover{ opacity:.75; }
.category-grid-right{
    display:grid;
    height: fit-content;
    grid-template-rows:1fr 1fr;
    gap:var(--gap);
}
.category-grid-right .row-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:var(--gap);
}

/* -------------------------------------------------
   10. INSPIRATION SPLIT
------------------------------------------------- */
.inspiration{
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    align-items:stretch;
    background:var(--color-white);
}
.inspiration-text{
    background:var(--color-white-grey);
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px 70px;
}
.inspiration-text h2{ font-size:34px; line-height:1.25; letter-spacing:-0.01em; margin-bottom:18px; }
.inspiration-text p{
    color:var(--color-text-muted);
    font-size:var(--fs-base);
    line-height:1.75;
    margin-bottom:30px;
    max-width:360px;
}
.inspiration-image{ min-height:420px; overflow:hidden; }
.inspiration-image img{ width:100%; height:100%; object-fit:cover; }

/* -------------------------------------------------
   11. WHY LUXORA (dark strip)
------------------------------------------------- */
.why-luxora{
    background:var(--color-dark);
    padding:70px 0;
}
.why-luxora .eyebrow{ text-align:center; color:rgba(255,255,255,.55); margin-bottom:44px; }
.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}
.why-item{ color:var(--color-white); }
.why-item svg{
    width:26px; height:26px;
    color:var(--color-white);
    margin-bottom:16px;
}
.why-item h4{
    color:var(--color-white);
    font-family:var(--font-body);
    font-weight:500;
    font-size:15px;
    margin-bottom:10px;
}
.why-item p{
    font-size:var(--fs-base);
    font-weight: 400;
    line-height:1.7;
    color:rgba(255,255,255,.6);
}

/* -------------------------------------------------
   12. PRODUCTS
------------------------------------------------- */

.products{
    background:var(--color-white);
}

/*
 * KARUZELA PRODUKTÓW
 *
 * Jeden poziomy rząd na każdej szerokości ekranu.
 * Na desktopie widoczne jest 5 produktów.
 */

.product-grid{
    display:flex;
    flex-wrap:nowrap;

    gap:var(--gap);

    margin-bottom:48px;

    overflow-x:auto;
    overflow-y:hidden;

    /*
     * Płynne przewijanie palcem / trackpadem.
     */
    -webkit-overflow-scrolling:touch;

    /*
     * Przewijanie zatrzymuje się na początku karty.
     */
    scroll-snap-type:x mandatory;

    /*
     * Ukrywamy pasek przewijania.
     */
    scrollbar-width:none;
    -ms-overflow-style:none;

    /*
     * Pozwala na poziome przesuwanie na urządzeniach dotykowych.
     */
    touch-action:pan-x;

    /*
     * Niewielki odstęp po ostatniej karcie.
     */
    padding-bottom:4px;
}

.product-grid::-webkit-scrollbar{
    display:none;
}


/* -------------------------------------------------
   KARTA PRODUKTU
------------------------------------------------- */

.product-card{
    text-align:left;

    /*
     * Bardzo ważne:
     * karta nie może się ściskać.
     */
    flex:0 0 calc((100% - (var(--gap) * 4)) / 5);

    min-width:0;

    scroll-snap-align:start;
}

.product-card .product-img{
    background:var(--color-white-grey);
    aspect-ratio:1/1;
    overflow:hidden;
    margin-bottom:16px;
    border-radius:var(--radius);
}

.product-card .product-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s cubic-bezier(.22,.61,.36,1);
}

.product-card:hover .product-img img{
    transform:scale(1.06);
}

.product-card .product-brand{
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
    margin-bottom:2px;
}

.product-card .product-name{
    font-size:var(--fs-base);
    color:var(--color-dark);
    margin-bottom:8px;
    font-weight:500;
}

.product-card .product-price{
    font-size:var(--fs-sm);
    font-weight:400;
    color:var(--color-text-muted);
}

.products-cta{
    text-align:center;
}


/* -------------------------------------------------
   TABLET
------------------------------------------------- */

@media (max-width:1199px){

    .product-card{
        /*
         * Około 4 produkty widoczne jednocześnie.
         */
        flex-basis:calc((100% - (var(--gap) * 3)) / 4);
    }

}


/* -------------------------------------------------
   MOBILE / TABLET
------------------------------------------------- */

@media (max-width:899px){

    .product-grid{
        gap:var(--gap);
    }

    .product-card{
        /*
         * Około 2,2 produktu widoczne jednocześnie.
         * Dzięki temu użytkownik od razu widzi,
         * że lista jest przewijana poziomo.
         */
        flex-basis:calc((100% - var(--gap)) / 2.2);
    }

}


/* -------------------------------------------------
   MAŁE TELEFONY
------------------------------------------------- */

@media (max-width:480px){

    .product-grid{
        gap:16px;
    }

    .product-card{
        /*
         * Około 1,5 karty widocznej na ekranie.
         */
        flex-basis:68%;
    }

}

/* -------------------------------------------------
   13. NEWSLETTER
------------------------------------------------- */
.newsletter{
    position:relative;
    background:var(--color-dark) center/cover no-repeat;
    color:var(--color-white);
    overflow:hidden;
}
.newsletter-bg{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.newsletter::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(10,9,7,.88) 0%, rgba(10,9,7,.6) 55%, rgba(10,9,7,.25) 100%);
    z-index:1;
}
.newsletter .container{
    position:relative; z-index:2;
    padding-top:80px; padding-bottom:80px;
    max-width:520px;
}
.newsletter h2{ color:var(--color-white); font-size:30px; margin-bottom:14px; }
.newsletter p{ color:rgba(255,255,255,.7); font-size:var(--fs-base); margin-bottom:28px; line-height:1.7; font-weight: 400; }
.newsletter-form{
    display:flex;
    border-bottom:1px solid rgba(255,255,255,.4);
    max-width:400px;
    padding-bottom:12px;
}
.newsletter-form input{
    flex:1;
    background:transparent;
    border:none;
    color:var(--color-white);
    font-size:var(--fs-base);
    padding:6px 0;
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.5); }
.newsletter-form button{
    background:none;
    border:none;
    color:var(--color-white);
    display:flex;
    align-items:center;
}
.newsletter-form svg{ width:20px; height:20px; }

/* -------------------------------------------------
   14. FOOTER
------------------------------------------------- */
.site-footer{
    background:var(--color-dark);
    color:rgba(255,255,255,.65);
    padding-top:70px;
}
.footer-top{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr 1.1fr;
    gap:32px;
    padding-bottom:56px;
    border-bottom:1px solid var(--color-line-dark);
}
.footer-brand .logo-main{
    font-family:var(--font-body);
    font-size:20px;
    letter-spacing:.24em;
    color:var(--color-white);
}
.footer-brand .logo-sub{
    display:block;
    font-size:9px;
    letter-spacing:.35em;
    color:rgba(255,255,255,.45);
    margin:4px 0 16px;
}
.footer-brand p{ font-size:var(--fs-base); line-height:1.7; max-width:220px; margin-bottom:22px; font-weight: 400;}
.footer-social{ display:flex; gap:14px; }
.footer-social a{
    width:32px; height:32px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition:background .2s ease, border-color .2s ease;
}
.footer-social a:hover{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.5); }
.footer-social svg{ width:14px; height:14px; color:var(--color-white); }

.footer-col h5{
    color:var(--color-white);
    font-family:var(--font-body);
    font-weight:500;
    font-size:var(--fs-sm);
    letter-spacing:.1em;
    text-transform:uppercase;
    margin-bottom:20px;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul li a{ font-size:var(--fs-base); transition:color .2s ease; font-weight: 400;}
.footer-col ul li a:hover{ color:var(--color-white); }
.footer-col .footer-contact-item{ font-size:var(--fs-base); margin-bottom:12px; }
.footer-col .btn{ margin-top:var(--btn-spacing-top); padding:var(--btn-padding-sm); }

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:24px 0;
    font-size:var(--fs-sm);
    color:rgba(255,255,255,.4);
}

/* -------------------------------------------------
   15. RESPONSIVE
------------------------------------------------- */
@media (max-width: 1080px){
    .footer-top{ grid-template-columns:1fr 1fr 1fr; }
    .footer-brand{ grid-column:1/-1; }
}
@media (max-width: 900px){
    .features-strip ul{ grid-template-columns:repeat(2,1fr); }
    .features-strip li{ border-bottom:1px solid var(--color-line); }
    .category-grid{ grid-template-columns:1fr; grid-template-rows:none; }
    .category-card.tall{ grid-row:auto; min-height:300px; }
    .category-grid-right .row-split{ grid-template-columns:1fr; }
    .inspiration{ grid-template-columns:1fr; }
    .inspiration-image{ min-height:300px; }
    .why-grid{ grid-template-columns:1fr 1fr; row-gap:32px; }
    .product-grid{ grid-template-columns:repeat(2,1fr); }
    .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px){
    .container{ padding:0 20px; }
    .topbar-left span:nth-child(2){ display:none; }
    .hero{ min-height:520px; text-align:left; }
    .hero-content h1{ font-size:36px; }
    .why-grid{ grid-template-columns:1fr; }
    .product-grid{ grid-template-columns:1fr 1fr; }
    .footer-top{ grid-template-columns:1fr; }
}

/* =================================================
   16. SINGLE ARTICLE
================================================= */

.single-post-page {
    background: var(--color-white);
}


/* -------------------------------------------------
   ARTICLE HEADER
------------------------------------------------- */

.article-header {
    background: var(--color-white-grey);
    padding: 90px 0 80px;
    border-bottom: 1px solid var(--color-line);
}

.article-header-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-header .eyebrow {
    margin-bottom: 18px;
}

.article-title {
    font-size: 52px;
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
}

.article-meta-separator {
    color: var(--color-line-dark);
}


/* -------------------------------------------------
   FEATURED IMAGE
------------------------------------------------- */

.article-featured-image {
    padding: 56px 0 0;
}

.article-featured-image .container {
    max-width: 1200px;
}

.article-image {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: var(--radius);
}


/* -------------------------------------------------
   GALLERY ARROWS
------------------------------------------------- */
/* -------------------------------------------------
   PRODUCT GALLERY ARROWS
------------------------------------------------- */

.product-gallery {
    position: relative;
}


/*
 * WooCommerce tworzy:
 *
 * .woocommerce-product-gallery
 *     .flex-viewport
 *         .woocommerce-product-gallery__wrapper
 *
 * Strzałki są ustawiane względem głównego
 * obszaru zdjęcia.
 */

.product-gallery .woocommerce-product-gallery {
    position: relative;
}


/* -----------------------------------------------
   STRZAŁKI
------------------------------------------------ */

.product-gallery-arrow {
    position: absolute;

    top: 50%;

    z-index: 30;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: rgba(255, 255, 255, 0.92);
    color: #111;

    cursor: pointer;

    transform: translateY(-50%);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}


/* LEWA */

.product-gallery-arrow-prev {
    left: 16px;
}


/* PRAWA */

.product-gallery-arrow-next {
    right: 16px;
}


/* POKAZUJ STRZAŁKI PO NAJECHANIU */

.product-gallery:hover .product-gallery-arrow {
    opacity: 1;
    visibility: visible;
}


/* HOVER STRZAŁKI */

.product-gallery-arrow:hover {
    background: #fff;
}


/* IKONA */

.product-gallery-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}


/* -----------------------------------------------
   MOBILE
------------------------------------------------ */

@media (max-width: 767px) {

    .product-gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .product-gallery-arrow-prev {
        left: 10px;
    }

    .product-gallery-arrow-next {
        right: 10px;
    }

}


/* -------------------------------------------------
   ARTICLE CONTENT
------------------------------------------------- */

.article-content-section {
    padding: 80px 0 90px;
}

.article-layout {
    display: flex;
    justify-content: center;
}

.article-content {
    width: 100%;
    max-width: 760px;
    font-size:var(--fs-base);
    line-height: 1.85;
    color: var(--color-text);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 32px;
    line-height: 1.3;
    margin: 56px 0 20px;
}

.article-content h3 {
    font-size: 24px;
    line-height: 1.35;
    margin: 42px 0 16px;
}

.article-content h4 {
    font-size: 20px;
    margin: 32px 0 14px;
}

.article-content strong {
    font-weight: 600;
    color: var(--color-dark);
}

.article-content a {
    color: var(--color-dark);
    text-decoration: underline;
    text-decoration-color: var(--color-line-dark);
    text-underline-offset: 4px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 28px;
    padding-left: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 44px 0;
    padding: 10px 0 10px 28px;
    border-left: 2px solid var(--color-dark);
    color: var(--color-text-muted);
    font-family:var(--font-body);
    font-size: 22px;
    line-height: 1.55;
}

.article-content img {
    width: 100%;
    height: auto;
    margin: 36px 0;
}

.article-content figure {
    margin: 40px 0;
}

.article-content figcaption {
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
}


/* -------------------------------------------------
   TAGS
------------------------------------------------- */

.article-tags-section {
    border-top: 1px solid var(--color-line);
    padding: 28px 0;
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags-label {
    font-size:var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-text-muted);
    margin-right: 8px;
}

.article-tag {
    padding: 7px 12px;
    border: 1px solid var(--color-line);
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.article-tag:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}


/* -------------------------------------------------
   ARTICLE NAVIGATION
------------------------------------------------- */

.article-navigation {
    background: var(--color-white-grey);
    border-top: 1px solid var(--color-line);
    padding: 55px 0;
}

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

.article-nav-item {
    display: flex;
    flex-direction: column;
}

.article-nav-next {
    text-align: right;
    align-items: flex-end;
}

.article-nav-label {
    font-size:var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.article-nav-title {
    font-family:var(--font-body);
    font-size: 22px;
    line-height: 1.35;
    color: var(--color-dark);
    transition: opacity .2s ease;
}

.article-nav-title:hover {
    opacity: .6;
}


/* -------------------------------------------------
   RESPONSIVE
------------------------------------------------- */

@media (max-width: 900px) {

    .article-header {
        padding: 70px 0 60px;
    }

    .article-title {
        font-size: 42px;
    }

    .article-featured-image {
        padding-top: 40px;
    }

    .article-content-section {
        padding: 60px 0 70px;
    }

}


@media (max-width: 600px) {

    .article-header {
        padding: 55px 0 45px;
    }

    .article-title {
        font-size: 34px;
    }

    .article-meta {
        font-size:var(--fs-sm);
    }

    .article-featured-image {
        padding-top: 20px;
    }

    .article-content-section {
        padding: 45px 0 55px;
    }

    .article-content {
        font-size:var(--fs-base);
    }

    .article-content h2 {
        font-size: 28px;
        margin-top: 42px;
    }

    .article-content h3 {
        font-size: 22px;
    }

    .article-content blockquote {
        font-size: 19px;
        padding-left: 20px;
    }

    .article-navigation-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-nav-next {
        text-align: left;
        align-items: flex-start;
    }

}

/* =================================================
   17. SHOP / PRODUCT ARCHIVE
================================================= */


/* -------------------------------------------------
   SHOP HEADER
------------------------------------------------- */

.shop-header {
    background: var(--color-white-grey);
    border-bottom: 1px solid var(--color-line);
    padding: 72px 0 68px;
}

.shop-header-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.shop-breadcrumb{
    margin-bottom: 18px;
}

.shop-breadcrumb .woocommerce-breadcrumb{
    font-size:var(--fs-sm);
    color: var(--color-text-muted);
    letter-spacing: .02em;
}

.shop-breadcrumb .woocommerce-breadcrumb a{
    color: var(--color-text-muted);
    transition: color .2s ease;
}

.shop-breadcrumb .woocommerce-breadcrumb a:hover{
    color: var(--color-dark);
}

.shop-header .eyebrow {
    margin-bottom: 14px;
}

.shop-title {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}

.shop-header .term-description {
    max-width: 620px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    line-height: 1.75;
}


/* -------------------------------------------------
   SHOP CONTENT
------------------------------------------------- */

.shop-content {
    padding: 0 0 90px;
    position: relative;
}

.shop-toolbar-sentinel{
    height: 1px;
}


/* -------------------------------------------------
   TOOLBAR (sticky, materiał szklany - Apple §12)
------------------------------------------------- */

.shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
 
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

/* efekt krawędzi przewijania zamiast sztywnej linii - pojawia się dopiero,
   gdy treść faktycznie chowa się pod paskiem */
.shop-toolbar.is-scrolled{
    border-bottom-color: var(--color-line);
    box-shadow: 0 12px 24px -18px rgba(23,20,15,.25);
}

.shop-filter-mobile-toggle{
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-dark);
    font-size:var(--fs-sm);
    letter-spacing: .04em;
    transition: transform .1s ease-out, border-color .2s ease;
}
.shop-filter-mobile-toggle:active{ transform: scale(.96); }
.shop-filter-mobile-toggle svg{ width: 16px; height: 16px; }

.shop-results-count {
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    font-weight: 500;
}
.woocommerce-result-count {
    align-items: center;
}

.shop-ordering {
    display: flex;
    align-items: center;
}

.shop-ordering .woocommerce-ordering {
    margin: 0;
}

.shop-ordering select {
    min-width: 190px;
    padding: 10px 34px 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size:var(--fs-sm);
    transition: border-color .2s ease;
}
.shop-ordering select:hover{ border-color: var(--color-dark); }


/* -------------------------------------------------
   MAIN LAYOUT
------------------------------------------------- */

.shop-main-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 48px;
    align-items: start;
}


/* -------------------------------------------------
   SIDEBAR
------------------------------------------------- */

.shop-sidebar {
    position: sticky;
    top: 96px;
}

.shop-filter {
    border-top: 1px solid var(--color-dark);
}

.shop-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family:var(--font-body);
    font-size: 21px;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-line);
}

.shop-sidebar-close{
    display: none;
    border: 0;
    background: transparent;
    color: var(--color-dark);
    padding: 4px;
}
.shop-sidebar-close svg{ width: 18px; height: 18px; }

.shop-filter-group {
    border-bottom: 1px solid var(--color-line);
}

.shop-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border: 0;
    background: transparent;
    color: var(--color-dark);
    font-size:var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: left;
    transition: opacity .15s ease-out;
}
.shop-filter-toggle:active{ opacity: .6; }

.shop-filter-toggle-icon{
    position: relative;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}
.shop-filter-toggle-icon::before,
.shop-filter-toggle-icon::after{
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--color-dark);
    transform: translate(-50%, -50%);
}
.shop-filter-toggle-icon::before{ width: 10px; height: 1px; }
.shop-filter-toggle-icon::after{ width: 1px; height: 10px; transition: transform .2s ease; }
.shop-filter-toggle[aria-expanded="true"] .shop-filter-toggle-icon::after{ transform: translate(-50%, -50%) scaleY(0); }

.shop-filter-content {
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 0 18px;
}
.shop-filter-content.is-collapsed{ padding-bottom: 0; }

.shop-filter-note {
    color: var(--color-text-muted);
    font-size:var(--fs-sm);
    line-height: 1.6;
}


/* -------------------------------------------------
   CATEGORY FILTER
------------------------------------------------- */

.shop-category-list li {
    margin-bottom: 8px;
}

.shop-category-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    transition: color .2s ease;
    font-weight: 400;
}

.shop-category-list a:hover,
.shop-category-list a.is-active {
    color: var(--color-dark);
}

.shop-category-count {
    font-size:var(--fs-base);
    color: var(--color-text-muted);
}


/* -------------------------------------------------
   MOBILE FILTER SHEET
------------------------------------------------- */

.shop-sidebar-scrim{
    position: fixed;
    inset: 0;
    background: rgba(23,20,15,.4);
    opacity: 0;
    z-index: 39;
    transition: opacity .25s ease;
}
.shop-sidebar-scrim.is-visible{ opacity: 1; }


/* -------------------------------------------------
   PRODUCT GRID
------------------------------------------------- */

.luxora-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 24px;
}


/* -------------------------------------------------
   WOOCOMMERCE PRODUCT CARD
------------------------------------------------- */

.luxora-product-grid .product {
    position: relative;
    margin: 0 !important;
    text-align: left;
    transition: transform .25s cubic-bezier(.22,.61,.36,1);
    display: block;
}

.luxora-product-grid .product:hover{
    transform: translateY(-4px);
}

.luxora-product-grid .product a {
    color: inherit;
}

.luxora-product-grid .product a img{
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.luxora-product-grid .product:hover a img{
    transform: scale(1.05);
}

.luxora-product-grid .product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 0 16px !important;
    background: var(--color-white-grey);
    border-radius: var(--radius);
}

.luxora-product-grid .woocommerce-loop-product__title {
    padding: 0 !important;
    margin: 12px 0 6px !important;
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size:var(--fs-base) !important;
    font-weight: 500;
    line-height: 1.3;
 
}

.luxora-product-grid .price {
    display: block;
    margin: 0 !important;
    color: var(--color-text-muted) !important;
    font-family: var(--font-body);
    font-size:var(--fs-base) !important;
    font-weight: 400;
}

.luxora-product-grid .price del {
    color: var(--color-text-muted);
    opacity: .7;
    margin-right: 6px;
}

.luxora-product-grid .price ins {
    text-decoration: none;
}


/* -------------------------------------------------
   SALE BADGE
------------------------------------------------- */

.luxora-product-grid .onsale {
    min-width: auto;
    min-height: auto;
    margin: 12px !important;
    padding: 7px 10px !important;
    border-radius: var(--radius);
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size:var(--fs-sm) !important;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
}


/* -------------------------------------------------
   ADD TO CART
------------------------------------------------- */

.luxora-product-grid .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: var(--btn-spacing-top) !important;
    padding: var(--btn-padding-sm) !important;
    border: 1px solid var(--color-dark) !important;
    border-radius: var(--radius) !important;
    background: transparent !important;
    color: var(--color-dark) !important;
    font-family: var(--font-body);
    font-size: var(--btn-font-size) !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .1s ease-out;
}

.luxora-product-grid .button:hover {
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
}
.luxora-product-grid .button:active{ transform: scale(.96); }

/* -------------------------------------------------
   HIDDEN VIEW CART
------------------------------------------------- */


.added_to_cart.wc-forward {
    display: none !important;
}

/* -------------------------------------------------
   PAGINATION
------------------------------------------------- */

.woocommerce-pagination {
    margin-top: 60px;
}

.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0 !important;
}

.woocommerce-pagination ul li {
    border: 0 !important;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-line) !important;
    background: var(--color-white);
    color: var(--color-text);
    font-size:var(--fs-sm);
    transition: background .2s ease, color .2s ease, transform .1s ease-out;
}
.woocommerce-pagination a:active{ transform: scale(.92); }

.woocommerce-pagination span.current,
.woocommerce-pagination a:hover {
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    border-color: var(--color-dark) !important;
}


/* -------------------------------------------------
   NO PRODUCTS
------------------------------------------------- */

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-top-color: var(--color-dark) !important;
    background: var(--color-white-grey) !important;
    color: var(--color-text) !important;
}


/* -------------------------------------------------
   RESPONSIVE
------------------------------------------------- */

@media (max-width: 1000px) {

    .shop-main-layout {
        grid-template-columns: 190px 1fr;
        gap: 30px;
    }

    .luxora-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .shop-header {
        padding: 55px 0;
    }

    .shop-title {
        font-size: 38px;
    }

    .shop-filter-mobile-toggle{
        display: inline-flex;
    }

    .shop-main-layout {
        display: block;
    }

    .shop-sidebar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 82vh;
        overflow-y: auto;
        background: var(--color-white);
        border-radius: 16px 16px 0 0;
        padding: 8px 24px 32px;
        box-shadow: 0 -20px 50px rgba(23,20,15,.18);
        z-index: 40;
        transform: translateY(100%);
        transition: transform .32s cubic-bezier(.22,.61,.36,1);
    }
    .shop-sidebar.is-open{
        transform: translateY(0);
    }

    .shop-sidebar-close{ display: inline-flex; }

    .shop-toolbar {
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap;
    }

    .shop-ordering select {
        min-width: 150px;
    }

}


@media (max-width: 500px) {

    .luxora-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 14px;
    }

    .luxora-product-grid .woocommerce-loop-product__title {
        font-size:var(--fs-base) !important;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

}

/* =================================================
   18. SINGLE PRODUCT
================================================= */

.single-product-page{
    background: var(--color-white);
}

.product-breadcrumb-bar{
    padding: 20px 0;
   
}
.product-breadcrumb-bar .woocommerce-breadcrumb{
    font-size:var(--fs-sm);
    font-weight: 400;
    color: var(--color-text-muted);
}
.product-breadcrumb-bar .woocommerce-breadcrumb a{
    color: var(--color-text-muted);
    transition: color .2s ease;
}
.product-breadcrumb-bar .woocommerce-breadcrumb a:hover{ color: var(--color-dark); }

/* -------------------------------------------------
   HERO: GALLERY + SUMMARY
------------------------------------------------- */

.product-hero{
    padding: 0 0 0;
}

.product-layout{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: start;
}

/* galeria WooCommerce (woocommerce_show_product_images) */
.product-gallery{
    position: sticky;
    top: 96px;
}
.product-gallery .woocommerce-product-gallery{
    position: relative;
}
.product-gallery .woocommerce-product-gallery__wrapper{
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-white-grey);
}
.product-gallery .woocommerce-product-gallery__image{
    margin: 0 !important;
}
.product-gallery .woocommerce-product-gallery__image img{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: zoom-in;
}
.product-gallery .flex-control-thumbs{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.product-gallery .flex-control-thumbs li{ width: calc(25% - 9px); }
.product-gallery .flex-control-thumbs img{
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--color-line);
    opacity: .6;
    transition: opacity .2s ease, border-color .2s ease;
}
.product-gallery .flex-control-thumbs img.flex-active,
.product-gallery .flex-control-thumbs img:hover{
    opacity: 1;
    border-color: var(--color-dark);
}
.product-gallery .onsale{
    position: absolute;
    top: 16px; left: 16px;
    margin: 0 !important;
    padding: 7px 12px !important;
    border-radius: var(--radius);
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    font-size:var(--fs-sm) !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 2;
}

/* podsumowanie produktu */
.product-summary-panel{
    padding-top: 4px;
}

.summary.entry-summary > .product_title{
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.summary.entry-summary .woocommerce-product-rating{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size:var(--fs-sm);
    color: var(--color-text-muted);
}
.summary.entry-summary .star-rating{ font-size:var(--fs-base); color: var(--color-dark); }

.summary.entry-summary .price{
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}
.summary.entry-summary .price del{
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-muted);
    opacity: .7;
    margin-right: 10px;
}
.summary.entry-summary .price ins{ text-decoration: none; }

.summary.entry-summary .woocommerce-product-details__short-description{
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-line);
}

/* formularz dodania do koszyka */
.summary.entry-summary form.cart{
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.quantity{
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.quantity .qty{
    width: 48px;
    border: 0;
    text-align: center;
    padding: 13px 0;
    font-size:var(--fs-base);
    background: var(--color-white);
    -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.qty-step{
    width: 38px;
    border: 0;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-size:var(--fs-base);
    padding: 13px 0;
    transition: background .15s ease, transform .1s ease-out;
}
.qty-step:hover{ background: var(--color-white-grey); }
.qty-step:active{ transform: scale(.9); }

.single_add_to_cart_button{
    flex: 1;
    min-width: 200px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: var(--btn-padding) !important;
    border: 1px solid var(--color-dark) !important;
    border-radius: var(--radius) !important;
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size: var(--btn-font-size) !important;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: background .2s ease, transform .1s ease-out;
}
.single_add_to_cart_button:hover{ background: var(--color-dark-soft) !important; }
.single_add_to_cart_button:active{ transform: scale(.97); }

.product_meta{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-line);
    font-size:var(--fs-sm);
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product_meta a{ color: var(--color-text-muted); transition: color .2s ease; }
.product_meta a:hover{ color: var(--color-dark); }

/*stan magazynowy */
.summary.entry-summary p{
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* udostępnianie - jeśli motyw/wtyczka je dodaje */
.summary.entry-summary .social-share{ margin-top: 20px; }

/* pasek zaufania pod formularzem, w duchu paska zalet na stronie głównej */
.product-trust-list{
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.product-trust-list li{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
}
.product-trust-list svg{
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--color-dark);
}

/* -------------------------------------------------
   ZAKŁADKI / DODATKOWE INFO / OPINIE / POWIĄZANE
------------------------------------------------- */

.product-details-section{
    padding: 90px 0;
}

.woocommerce-tabs{
    max-width: 820px;
    margin: 0 auto 90px;
}
.woocommerce-tabs ul.tabs{
    display: flex;
    gap: 32px;
    padding: 0;
    margin: 0 0 36px;
    border-bottom: 1px solid var(--color-line);
    list-style: none;
}
.woocommerce-tabs ul.tabs li{
    padding: 0 0 16px;
    font-size:var(--fs-sm);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    cursor: pointer;
    transition: color .2s ease;
}
.woocommerce-tabs ul.tabs li::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--color-dark);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.woocommerce-tabs ul.tabs li.active{ color: var(--color-dark); }
.woocommerce-tabs ul.tabs li.active::after{ transform: scaleX(1); }
.woocommerce-tabs .panel{
    font-size:var(--fs-base);
    line-height: 1.85;
    color: var(--color-text);
}
.woocommerce-tabs .panel h2{
    font-size: 22px;
    margin-bottom: 18px;
}
.woocommerce-Reviews .commentlist{ list-style: none; margin: 0; padding: 0; }
.woocommerce-Reviews .comment_container{
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
}
.woocommerce-Reviews .comment-text{ flex: 1; }
.woocommerce-Reviews .star-rating{ margin-bottom: 6px; }

/* tabela dodatkowych informacji (rozmiar, materiał itd.) */
table.shop_attributes{
    width: 100%;
    border-collapse: collapse;
    font-size:var(--fs-base);
}
table.shop_attributes th,
table.shop_attributes td{
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}
table.shop_attributes th{
    width: 200px;
    color: var(--color-text-muted);
    font-weight: 500;
}
/* =================================================
   RELATED PRODUCTS / UP-SELLS
   ================================================= */

/* -------------------------------------------------
   SECTION
------------------------------------------------- */

section.related.products,
section.up-sells.upsells {
    margin-top: 90px;
}


/* -------------------------------------------------
   HEADING
------------------------------------------------- */

section.related.products > h2,
section.up-sells.upsells > h2 {
    font-family: var(--font-body);
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 0 44px;
}


/* -------------------------------------------------
   PRODUCT GRID
------------------------------------------------- */

section.related.products ul.products,
section.up-sells.upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;

    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


/* -------------------------------------------------
   PRODUCT ITEM
------------------------------------------------- */

section.related.products ul.products > li.product,
section.up-sells.upsells ul.products > li.product {
    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    text-align: left;

    transition:
        transform .25s cubic-bezier(.22,.61,.36,1);
}

section.related.products ul.products > li.product:hover,
section.up-sells.upsells ul.products > li.product:hover {
    transform: translateY(-4px);
}


/* -------------------------------------------------
   PRODUCT LINK
------------------------------------------------- */

section.related.products .woocommerce-LoopProduct-link,
section.up-sells.upsells .woocommerce-LoopProduct-link {
    display: block;
}


/* -------------------------------------------------
   PRODUCT MEDIA
------------------------------------------------- */

section.related.products .product-media,
section.up-sells.upsells .product-media {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--color-white-grey);

    margin-bottom: 14px;
}


/* -------------------------------------------------
   PRODUCT MEDIA TRACK
------------------------------------------------- */

section.related.products .product-media-track,
section.up-sells.upsells .product-media-track {
    position: relative;

    width: 100%;
    height: 100%;
}


/* -------------------------------------------------
   PRODUCT IMAGES
------------------------------------------------- */

section.related.products .product-media-img,
section.up-sells.upsells .product-media-img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    margin: 0 !important;

    transition:
        transform .5s cubic-bezier(.22,.61,.36,1);
}


/* -------------------------------------------------
   IMAGE HOVER
------------------------------------------------- */

section.related.products .product:hover .product-media-img.is-primary,
section.up-sells.upsells .product:hover .product-media-img.is-primary {
    transform: scale(1.05);
}


/* -------------------------------------------------
   PRODUCT TITLE
------------------------------------------------- */

section.related.products .woocommerce-loop-product__title,
section.up-sells.upsells .woocommerce-loop-product__title {
    font-family: var(--font-body);

    font-size: var(--fs-base);

    margin: 0 0 4px !important;
    padding: 0;

    color: var(--color-dark);
}


/* -------------------------------------------------
   PRICE
------------------------------------------------- */

section.related.products .price,
section.up-sells.upsells .price {
    display: block;

    margin: 0;

    font-size: var(--fs-base);

    color: var(--color-text-muted);
}


/* =================================================
   ADD TO CART
   ================================================= */

/* -------------------------------------------------
   ADD TO CART
------------------------------------------------- */

section.related.products .button,
section.up-sells.upsells .button {

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    margin-top: var(--btn-spacing-top) !important;

    padding: var(--btn-padding-sm) !important;

    border: 1px solid var(--color-dark) !important;

    border-radius: var(--radius) !important;

    background: transparent !important;

    color: var(--color-dark) !important;

    font-family: var(--font-body);

    font-size: var(--btn-font-size) !important;

    letter-spacing: .1em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .1s ease-out;
}


/* -------------------------------------------------
   ADD TO CART — HOVER
------------------------------------------------- */

section.related.products .button:hover,
section.up-sells.upsells .button:hover {

    background: var(--color-dark) !important;

    color: var(--color-white) !important;
}


/* -------------------------------------------------
   ADD TO CART — ACTIVE
------------------------------------------------- */

section.related.products .button:active,
section.up-sells.upsells .button:active {

    transform: scale(.96);

}


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

/* -------------------------------------------------
   TABLET
------------------------------------------------- */

@media (max-width: 1024px) {

    section.related.products ul.products,
    section.up-sells.upsells ul.products {

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    }

}


/* -------------------------------------------------
   MOBILE
------------------------------------------------- */

@media (max-width: 767px) {

    section.related.products,
    section.up-sells.upsells {

        margin-top: 64px;

    }

    section.related.products > h2,
    section.up-sells.upsells > h2 {

        margin-bottom: 28px;

    }

    section.related.products ul.products,
    section.up-sells.upsells ul.products {

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 20px !important;

    }

}


/* -------------------------------------------------
   SMALL MOBILE
------------------------------------------------- */

@media (max-width: 480px) {

    section.related.products ul.products,
    section.up-sells.upsells ul.products {

        gap: 16px !important;

    }

    section.related.products .woocommerce-loop-product__title,
    section.up-sells.upsells .woocommerce-loop-product__title {

        font-size: 14px;

    }

}

/* -------------------------------------------------
   RESPONSIVE
------------------------------------------------- */

@media (max-width: 960px){
    .product-layout{
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .product-gallery{ position: static; }
    .related.products ul.products,
    .up-sells.upsells ul.products{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px){
    .product-hero{ padding-top: 32px; }
    .product-details-section{ padding: 60px 0; }
    .woocommerce-tabs ul.tabs{ gap: 20px; overflow-x: auto; }
    .single_add_to_cart_button{ min-width: 100%; order: -1; }
    .product-sticky-bar-inner{ padding: 12px 20px; }
    .product-sticky-name{ max-width: 140px; }
}

/* ===== Announcement bar – zapętlona animacja tekstu (jak na etq-amsterdam.com) ===== */
.announcement-bar {
    background: #0080ff;
    color: #fff;
    width: 100%;
}
.announcement-bar__container {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
}
.announcement-bar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
.announcement-bar__item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family:var(--font-body);
    font-weight:400;
    font-size:var(--fs-sm);
    line-height:20px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: announcement-fade 7s infinite;
}
.announcement-bar__item strong {
    font-weight: 600;
}
/* drugi element startuje w połowie cyklu, żeby się zazębiały */
.announcement-bar__item:nth-child(2) {
    animation-delay: 3.5s;
}

@keyframes announcement-fade {
    0%   { opacity: 0; transform: translateY(10px); }
    8%   { opacity: 1; transform: translateY(0); }
    43%  { opacity: 1; transform: translateY(0); }
    50%  { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* ===== Ikony w jednym rzędzie z logo/nav ===== */
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
}
.header-action-btn svg {
    width: 22px;
    height: 22px;
}

/* -------------------------------------------------
   4d. DESKTOP: LOGO + NAV RAZEM PO LEWEJ, IKONY PRZY
   PRAWEJ KRAWĘDZI ("nav" jest teraz zagnieżdżony w
   .site-header-inner, żeby siedział w jednym rzędzie
   z logo). Dotyczy WYŁĄCZNIE desktopu - na mobile
   (<=900px) .main-nav nadal działa jako wysuwany
   panel off-canvas, bez żadnych zmian.
------------------------------------------------- */
@media (min-width:901px){
    .site-header-inner{
        justify-content:flex-start;
        gap:56px;
    }

    /* nav siedzi teraz wewnątrz .site-header-inner (który sam jest
       .container) - usuwamy jej własny border-top oraz podwójny
       container/padding, żeby menu po prostu wstawiło się w rząd */
    .site-header-inner .main-nav{
        border-top:none;
    }
    .site-header-inner .main-nav .container{
        max-width:none;
        padding:0;
        justify-content:flex-start;
    }
    .site-header-inner #primary-menu{
        justify-content:flex-start;
        padding:0;
    }

    /* ikony (konto/szukaj/koszyk) zostają dosunięte do prawej
       krawędzi, niezależnie od szerokości logo + menu po lewej */
    .site-header-actions{
        margin-left:auto;
    }
}


/* =================================================
   PRODUCT CARD IMAGE HOVER
================================================= */

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}


/* Kontener obu zdjęć */

.product-media-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* Oba zdjęcia leżą dokładnie na sobie */

.product-media-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


/* Pierwsze zdjęcie widoczne */

.product-media-img.is-primary {
    opacity: 1;
    z-index: 1;
}


/* Drugie zdjęcie początkowo niewidoczne */

.product-media-img.is-secondary {
    opacity: 0;
    z-index: 2;
}


/* Hover karty/zdjęcia */

.product-media:hover .product-media-img.is-primary {
    opacity: 0;
}


.product-media:hover .product-media-img.is-secondary {
    opacity: 1;
}

.luxora-product-new{
    display: flex;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #0c9c00;
}


/* ============================================================
   LUXORA – Filtry: kategorie, atrybuty, aktywne filtry (pigułki)
   Wskazówka: przenieś ten blok do głównego pliku CSS motywu
   i dopasuj kolory/fonty do reszty strony.
   ============================================================ */

/* Kategoria aktywna + przycisk "x" przy niej */
.shop-category-list li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.shop-category-list li a {
	flex: 1;
}

.shop-category-list li a.is-active {
	font-weight: 600;
}

.shop-category-list li.is-removing {
	animation: luxoraPillOut 0.2s ease forwards;
}

.shop-category-remove,
.shop-filter-pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	color: currentColor;
	flex-shrink: 0;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.shop-category-remove svg,
.shop-filter-pill-remove svg {
	width: 11px;
	height: 11px;
}

.shop-category-remove:hover,
.shop-filter-pill-remove:hover {
	background: rgba(0, 0, 0, 0.12);
	transform: rotate(90deg);
}

.shop-category-remove:active,
.shop-filter-pill-remove:active {
	transform: rotate(90deg) scale(0.85);
}

/* Atrybuty (moc, barwa światła, kolor) */
.shop-attribute-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.shop-attribute-option {
	display: flex;
	align-items: center;
    font-size:var(--fs-base);
     font-weight: 400;
	gap: 10px;
	padding: 4px 0;
	text-decoration: none;
	color: inherit;
}

.shop-attribute-checkbox {
	width: 16px;
	height: 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shop-attribute-option.is-active .shop-attribute-checkbox {
	background: currentColor;
	border-color: currentColor;
}

.shop-attribute-option.is-active .shop-attribute-checkbox::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.shop-attribute-name {
	flex: 1;
    color: var(--color-text-muted);
}

/* Filtry zakresu: cena, barwa światła (od–do) */
.shop-range-filter {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shop-range-inputs {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.shop-range-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.shop-range-field span {
	font-size:var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.55;
}

.shop-range-field input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-size:var(--fs-base);
	background: #fff;
	color: inherit;
	transition: border-color 0.2s ease;
	/* usuwa strzałki spinnera w input[type=number] dla spójnego wyglądu */
	appearance: textfield;
	-moz-appearance: textfield;
}

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

.shop-range-field input:focus {
	outline: none;
	border-color: currentColor;
}

.shop-range-sep {
	padding-bottom: 9px;
	opacity: 0.4;
}

.shop-range-apply {
	align-self: flex-start;
	border: 1px solid currentColor;
	background: transparent;
	padding: 7px 16px;
	border-radius: 999px;
	font-size:var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	color: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-range-apply:hover {

	color: #fff;
    background: var(--color-dark-soft) !important; 
}

/* Pasek aktywnych filtrów */
.shop-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	animation: luxoraFadeIn 0.3s ease;
}

.shop-active-filters-label {
	font-size:var(--fs-base);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.6;
	margin-right: 4px;
}

.shop-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px 6px 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	font-size:var(--fs-base);
	animation: luxoraPillIn 0.25s ease;
}

.shop-filter-pill.is-removing {
	animation: luxoraPillOut 0.22s ease forwards;
}

/* Przycisk "Wyczyść filtry" — podmień wygląd na klasę Twoich innych
   przycisków (np. dodaj obok "shop-clear-filters" swoją klasę .button) */
.shop-clear-filters {
	margin-left: auto;
	border: 1px solid currentColor;
	background: transparent;
	padding: 8px 18px;
	border-radius: 999px;
	font-size:var(--fs-base);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.shop-clear-filters:hover {
	background: currentColor;
	color: #fff;
}

@keyframes luxoraFadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

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

@keyframes luxoraPillOut {
	to { opacity: 0; transform: scale(0.6); }
}

/* ============================================================
   "Sortuj według" – customowa, rozsuwana lista zamiast domyślnego
   <select> (usuwa natywny wygląd macOS/Windows).
   JS budujący ten komponent jest w assets/js/shop.js.
   ============================================================ */

.shop-ordering {
	position: relative;
}

.shop-select {
	position: relative;
	display: inline-block;
}

.shop-select-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	background: #fff;
	font-size:var(--fs-base);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	color: inherit;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shop-select-trigger:hover {
	border-color: rgba(0, 0, 0, 0.35);
}

.shop-select.is-open .shop-select-trigger {
	border-color: currentColor;
}

.shop-select-trigger-icon {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.shop-select.is-open .shop-select-trigger-icon {
	transform: rotate(180deg);
}

.shop-select-list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	padding: 6px;
	list-style: none;
	margin: 0;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 40;
}

.shop-select.is-open .shop-select-list {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.shop-select-option {
	display: block;
	width: 100%;
	text-align: left;
	padding: 9px 12px;
	border: none;
	background: none;
	font-size:var(--fs-base);
	border-radius: 8px;
	cursor: pointer;
	color: inherit;
}

.shop-select-option:hover,
.shop-select-option.is-active {
	background: rgba(0, 0, 0, 0.06);
}

/* Ukrywa oryginalny <select> WooCommerce po tym, jak JS zbuduje
   customowy komponent (bez JS select zostaje normalnie widoczny –
   działający fallback). */
.shop-select select.is-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =====================================================
   CUSTOM SORT SELECT
   ===================================================== */

.shop-ordering {
    position: relative;
    z-index: 30;
}

.shop-ordering .woocommerce-ordering {
    margin: 0;
    padding: 0;
}


/* Ukrywamy natywny select */
.shop-ordering .orderby {
    display: none;
}


/* Główny wrapper */
.shop-ordering .custom-select {
    position: relative;
    display: inline-block;
    min-width: 190px;
}


/* =====================================================
   PRZYCISK
   ===================================================== */

.shop-ordering .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;

    padding: 8px 0;

    border: 0;
    background: transparent;

    color: #111;

    font-family: var(--font-body);
    font-size:var(--fs-base);
    font-weight: 400;
    line-height: 1.4;

    cursor: pointer;

    transition: opacity 0.2s ease;
}

.shop-ordering .custom-select-trigger:hover {
    opacity: 0.65;
}


/* =====================================================
   STRZAŁKA
   ===================================================== */

.shop-ordering .custom-select-caret {
    width: 7px;
    height: 7px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.25s ease;
}


/* Obrót po otwarciu */
.shop-ordering .custom-select.is-open .custom-select-caret {
    transform: rotate(225deg) translateY(-2px);
}


/* =====================================================
   ROZWIJANA LISTA
   ===================================================== */

.shop-ordering .custom-select-list {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    width: 230px;

    margin: 0;
    padding: 6px 0;

    list-style: none;

    background: #fff;

    border: 1px solid rgba(17, 17, 17, 0.10);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    z-index: 9999;
}


/* =====================================================
   OPCJE
   ===================================================== */

.shop-ordering .custom-select-option {
    padding: 10px 14px;

    font-family: var(--font-body);
    font-size:var(--fs-sm);
    font-weight: 400;
    line-height: 1.4;

    color: #111;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.shop-ordering .custom-select-option:hover {
    background: #f5f5f5;
}


/* Aktualnie wybrana opcja */
.shop-ordering .custom-select-option.is-selected {
    font-weight: 500;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .shop-ordering .custom-select {
        min-width: 170px;
    }

    .shop-ordering .custom-select-list {
        width: 210px;
    }

}

/* =================================================
   KOSZYK BOCZNY (CART DRAWER) — dodane
================================================= */
/* =================================================
   KOSZYK — ZNACZEK PRZY IKONIE
================================================= */
.header-cart-btn{ position:relative; }

/* liczba produktów - w tym samym miejscu co ikona, na czarnym kole;
   gdy widoczna, całkowicie zastępuje ikonę koszyka (patrz reguła
   #cartToggle:has(...) svg poniżej) */
.cart-count-badge{
    display:none;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border-radius:50%;
    background:var(--color-dark);
    color:var(--color-white);
    font-family:var(--font-body);
    font-size:var(--fs-sm);
    font-weight:600;
    line-height:1;
}
.cart-count-badge.is-visible{
    display:flex;
    animation:cart-badge-pop .35s ease;
}
 
/* ikona koszyka znika, gdy liczba jest widoczna - liczba ją zastępuje */
#cartToggle:has(.cart-count-badge.is-visible) svg{
    display:none;
}
 
@keyframes cart-badge-pop{
    0%{ transform:scale(.4); }
    60%{ transform:scale(1.15); }
    100%{ transform:scale(1); }
}
 
@media (max-width:600px){

    }
    #cartToggle svg{ width:18px; height:18px; }
    .cart-count-badge{ width:24px; height:24px; font-size:10px; }

 

/* =================================================
   OVERLAY (przyciemnione tło)
================================================= */
.cart-drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(23,20,15,.5);
    opacity:0;
    visibility:hidden;
    transition:opacity .35s ease, visibility .35s ease;
    z-index:199;
}
body.cart-drawer-open .cart-drawer-overlay{
    opacity:1;
    visibility:visible;
}
body.cart-drawer-open{ overflow:hidden; }

/* =================================================
   PANEL KOSZYKA (off-canvas)
================================================= */
.cart-drawer{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    height:100dvh;
    width:440px;
    max-width:92vw;
    background:var(--color-white);
    
    z-index:200;
    display:flex;
    flex-direction:column;
    transform:translateX(100%);
    transition:transform .45s cubic-bezier(.22,.61,.36,1);
}
body.cart-drawer-open .cart-drawer{
    transform:translateX(0);
    box-shadow:-30px 0 60px rgba(23,20,15,.16);
}
.cart-drawer.is-updating .cart-drawer-body{
    opacity:.45;
    pointer-events:none;
    transition:opacity .2s ease;
}

/* ---- nagłówek ---- */
.cart-drawer-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:26px 32px;
    border-bottom:1px solid var(--color-line);
    flex-shrink:0;
}
.cart-drawer-head h3{
    font-size:14px;
    letter-spacing:.01em;
}
.cart-drawer-count{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:400;
    color:var(--color-text-muted);
}
.cart-drawer-close{
    background:none;
    border:none;
    cursor:pointer;
    display:inline-flex;
    padding:6px;
    margin:-6px;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.cart-drawer-close:hover{ opacity:.55; }
.cart-drawer-close svg{ width:19px; height:19px; }

/* ---- lista produktów ---- */
.cart-drawer-body{
    flex:1 1 auto;
    overflow-y:auto;
    padding:8px 32px;
}
.cart-drawer-item{
    display:grid;
    grid-template-columns:76px 1fr auto;
    gap:18px;
    padding:22px 0;
    border-bottom:1px solid var(--color-line);
}
.cart-drawer-item:last-child{ border-bottom:none; }

.cart-drawer-item-img{
    display:block;
    width:76px;
    height:76px;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--color-cream);
    flex-shrink:0;
}
.cart-drawer-item-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.cart-drawer-item-info{
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
}
.cart-drawer-item-name{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:500;
    color:var(--color-dark);
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    transition:opacity .2s ease;
}
.cart-drawer-item-name:hover{ opacity:.6; }

.cart-drawer-item-meta{
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
    line-height:1.5;
}
.cart-drawer-item-meta p{ margin:0; }

.cart-drawer-item-qty{
    display:inline-flex;
    align-items:center;
    border:1px solid var(--color-line);
    border-radius:var(--radius);
    width:fit-content;
}
.qty-btn{
    width:26px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:none;
    border:none;
    font-size:var(--fs-base);
    line-height:1;
    color:var(--color-dark);
    cursor:pointer;
    transition:background .2s ease;
}
.qty-btn:hover{ background:var(--color-cream); }
.qty-value{
    min-width:26px;
    text-align:center;
    font-size:var(--fs-sm);
    font-weight:500;
    color:var(--color-dark);
}

.cart-drawer-item-side{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:space-between;
    text-align:right;
}
.cart-drawer-item-price{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:400;
    color:var(--color-dark);
    white-space:nowrap;
}
.cart-drawer-item-remove{
    background:none;
    border:none;
    cursor:pointer;
    padding:4px;
    margin:0 -4px -4px 0;
    color:var(--color-text-muted);
    transition:color .2s ease;
}
.cart-drawer-item-remove:hover{ color: var(--color-dark); }
.cart-drawer-item-remove svg{ width:16px; height:16px; }

/* ---- pusty koszyk ---- */
.cart-drawer-empty{
    height:100%;
    min-height:320px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
    text-align:center;
    padding:40px 20px;
}
.cart-drawer-empty svg{
    width:52px;
    height:52px;
    color:var(--color-line-dark);
    opacity:.5;
}
.cart-drawer-empty p{
    font-size:var(--fs-base);
    color:var(--color-text-muted);
}

/* ---- stopka / podsumowanie ---- */
.cart-drawer-footer{
    flex-shrink:0;
    padding:24px 32px 30px;
    background:var(--color-white-grey);
    border-top:1px solid var(--color-line);
}
.cart-drawer-subtotal{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    margin-bottom:6px;
}
.cart-drawer-subtotal span:first-child{
    font-family:var(--font-body);
    font-size:var(--fs-sm);
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--color-text-muted);
}
.cart-drawer-subtotal .amount{
    font-family:var(--font-body);
    font-size:20px;
    color:var(--color-dark);
}
.cart-drawer-note{
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
    margin-bottom:18px;
}
.cart-drawer-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.cart-drawer-actions .btn{ width:100%; }

/* ---- stan ładowania przycisku "Dodaj do koszyka" ---- */
.single_add_to_cart_button.is-loading,
.ajax_add_to_cart.loading{
    position:relative;
    color:transparent !important;
    pointer-events:none;
}
.single_add_to_cart_button.is-loading::after{
    content:"";
    position:absolute;
    top:50%; left:50%;
    width:16px; height:16px;
    margin:-8px 0 0 -8px;
    border:2px solid rgba(255,255,255,.4);
    border-top-color:#fff;
    border-radius:50%;
    animation:cart-btn-spin .6s linear infinite;
}
@keyframes cart-btn-spin{ to{ transform:rotate(360deg); } }

/* =================================================
   RESPONSYWNOŚĆ
================================================= */
@media (max-width:600px){
    .cart-drawer{ width:100%; max-width:100%; }
    .cart-drawer-head,
    .cart-drawer-body,
    .cart-drawer-footer{ padding-left:20px; padding-right:20px; }
    .cart-drawer-item{ grid-template-columns:64px 1fr auto; gap:14px; }
    .cart-drawer-item-img{ width:64px; height:64px; }
}


/* =================================================
   STRONA KOSZYKA (woocommerce/cart/cart.php) — dodane
================================================= */

.cart-page{ 
    background:var(--color-white); 
}

.cart-header-section{
    padding:24px 0 20px;
}
.cart-page-title{

    line-height:1.15;
    font-size:var(--fs-sm);
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    font-weight:700;
    display:block;
    margin-bottom:14px;
    font-family: var(--font-body);
}

.cart-content-section{ padding-bottom:110px; }

.cart-layout{
    display:grid;
    grid-template-columns:1fr 380px;
    gap:64px;
    align-items:start;
 
}

/* ---- lista produktów ---- */
.cart-items-panel{ border-top:1px solid var(--color-line); }

.cart-items-head{
    display:grid;
    grid-template-columns:1fr 120px 150px 130px 32px;
    gap:20px;
    padding: 18px;
    border-bottom:1px solid var(--color-line);
    font-size:var(--fs-sm);
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--color-text-muted);
}
.cart-items-head .col-price,
.cart-items-head .col-qty,
.cart-items-head .col-total{ text-align:center; }

.cart-row{
    display:grid;
    grid-template-columns:1fr 120px 150px 130px 32px;
    align-items:center;
    gap:20px;
    padding:30px 0;
    border-bottom:1px solid var(--color-line);
}

.cart-row-product{
    display:flex;
    gap:18px;
    align-items: center;


}
.cart-row-thumb{
    width:100px;
    height:100px;
    flex-shrink:0;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--color-cream);
}
.cart-row-thumb img{ width:100%; height:100%; object-fit:cover; }

.cart-row-info{
    display:flex;
    flex-direction:column;
    gap:8px;
  
}
.cart-row-name{

    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight: 400;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.cart-row-name:hover{ opacity:.6; }

.cart-row-info dl.variation{
    margin:0;
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
    display:flex;
    flex-wrap:wrap;
    gap:4px 10px;
}
.cart-row-info dl.variation dt,
.cart-row-info dl.variation dd{ display:inline; margin:0; font-weight:400; }
.cart-row-info dl.variation dt::after{ content:":"; margin-right:3px; }
.cart-row-info dl.variation p{ margin:0; }

.cart-row-price,
.cart-row-total{
    text-align:center;
    font-size:var(--fs-base);
    color:var(--color-text-muted);
    font-weight: 400;
}
.cart-row-total{ font-weight:400; color:var(--color-dark); }

.cart-row-qty{ display:flex; justify-content:center; }
.cart-row-qty .quantity{ margin:0; }
.cart-row-remove {
    text-align: center;
}

.cart-row-remove .remove {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    margin: 0;
    
    color: var(--color-text-muted) !important;
    text-decoration: none !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;

    line-height: normal !important;
    font-size: inherit !important;
    font-weight: normal !important;

    transition: color .2s ease;
}

.cart-row-remove .remove:hover {
    color: var(--color-dark) !important;
    background: none !important;
    text-decoration: none !important;
}

.woocommerce-cart .cart-row-remove a.remove {
    color: var(--color-text-muted) !important;
}

.woocommerce-cart .cart-row-remove a.remove:hover {
    color: var(--color-dark) !important;
}

.cart-items-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    padding-top:30px;
}
.cart-coupon-inline{
    display:flex;
    gap:10px;
    flex:1;
    min-width:280px;
}
.cart-coupon-inline input[type="text"]{
    flex:1;
    padding:14px 16px;
    border:1px solid var(--color-line);
    border-radius:var(--radius);
    background:var(--color-white);
    font-size:var(--fs-base);
    color:var(--color-text);
}
.cart-coupon-inline input[type="text"]:focus{
    outline:none;
    border-color:var(--color-dark);
}
.cart-coupon-inline .btn{ flex-shrink:0; padding:var(--btn-padding-sm); }
.cart-update-btn{ flex-shrink:0; }

/* ---- podsumowanie ---- */
.cart-summary-panel{ position:sticky; top:24px; }
.cart-summary-inner{
    background:var(--color);
    border-radius:var(--radius);
    padding:38px 34px;
}
.cart-summary-inner h2{
    font-size:19px;
    margin-bottom:26px;
    font-family: var(--font-body);
}
.cart-summary-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:13px 0;
    border-bottom:1px solid var(--color-line);
    font-size:var(--fs-base);
    color:var(--color-text);
}
.cart-summary-row span:first-child{ color:var(--color-text-muted); }
.cart-summary-coupon span:first-child{ color:var(--color-dark); }

.cart-summary-shipping{
    padding:16px 0;
    border-bottom:1px solid var(--color-line);
    font-size:var(--fs-base);
    color:var(--color-text-muted);
}
.cart-summary-shipping ul{ margin:0; padding:0; list-style:none; }
.shipping-calculator-form{ margin-top:14px; }
.shipping-calculator-form p{ margin-bottom:10px; }
.shipping-calculator-form .input-text,
.shipping-calculator-form select{
    width:100%;
    padding:11px 14px;
    border:1px solid var(--color-line);
    border-radius:var(--radius);
    font-size:var(--fs-base);
    background:var(--color-white);
}
.shipping-calculator-button{
    margin-top:4px;
    font-size:var(--fs-sm);
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--color-dark);
    text-decoration:underline;
    text-underline-offset:3px;
}

.cart-summary-total{ border-bottom:none; padding-top:22px; align-items:baseline; }
.cart-summary-total span:first-child{
    font-family:var(--font-body);
    font-size:var(--fs-sm);
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--color-text-muted);
}
.cart-summary-total span:last-child{
    font-family:var(--font-body);
    font-size:18px;
    color:var(--color-dark);
}

.cart-summary-checkout{ 
    margin-top:26px; 
    font-family: var(--font-body);
    gap: 10px;
}
.cart-summary-checkout .checkout-button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100%;
    padding:var(--btn-padding-sm) !important;
    background:var(--color-dark) !important;
    color:var(--color-white) !important;
    font-size:var(--btn-font-size) !important;
    background-color: var(--color-dark);
}

.cart-summary-checkout .checkout-button:hover{ background:var(--color-dark-soft) !important; }

.cart-summary-checkout .checkout-button:active{ transform:scale(.98); }

.cart-summary-checkout .cart-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    width: 100%;
    margin-top: 10px;
    text-decoration: none;
    font-size:var(--btn-font-size) !important;

}

.cart-summary-checkout .cart-continue-shopping:hover{
   color: var(--color-white);
   background:var(--color-dark-soft)
}

.cart-summary-trust{
    margin-top:30px;
    padding-top:26px;
    border-top:1px solid var(--color-line);
    display:flex;
    flex-direction:column;
    gap:15px;
}
.cart-summary-trust li{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
}
.cart-summary-trust svg{ width:20px; height:20px; flex-shrink:0; color:var(--color-dark); }

/* ---- pusty koszyk ---- */
.cart-empty-state{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:22px;
    padding:110px 20px;
}
.cart-empty-state svg{
    width:64px;
    height:64px;
    color:var(--color-line-dark);
    opacity:.5;
}
.cart-empty-state h2{ font-size:27px; }
.cart-empty-state p{
    max-width:440px;
    font-size:var(--fs-base);
    color:var(--color-text-muted);
}

/* ---- cross-sells (produkty dosprzedażowe) ---- */
.cart-cross-sells-section{
    padding-top:80px;
    margin-top:10px;
    border-top:1px solid var(--color-line);
}
.cross-sells > h2{
    font-family:var(--font-body);
    font-size:clamp(24px, 3vw, 30px);
    letter-spacing:-0.01em;
    text-align:center;
    margin-bottom:40px;
}
.cross-sells ul.products{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:24px;
    list-style:none;
    padding:0;
}
.cross-sells .product{
    text-align:left;
    transition:transform .25s cubic-bezier(.22,.61,.36,1);
}
.cross-sells .product:hover{ transform:translateY(-4px); }
.cross-sells .product img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:var(--radius);
    background:var(--color-white-grey);
    margin-bottom:14px;
    transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
.cross-sells .product:hover img{ transform:scale(1.05); }
.cross-sells .woocommerce-loop-product__title{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    margin-bottom:4px;
}
.cross-sells .price{ font-size:var(--fs-base); color:var(--color-text-muted); }

/* =================================================
   RESPONSYWNOŚĆ — STRONA KOSZYKA
================================================= */
@media (max-width:1024px){
    .cart-layout{ grid-template-columns:1fr; gap:52px; }
    .cart-summary-panel{ position:static; }
}

@media (max-width:760px){
    .cart-items-head{ display:none;padding: 0 0 18px; }

    .cart-row{
        grid-template-columns:1fr;
        gap:16px;
        padding:26px 0;
        position:relative;
    }
    .cart-row-price,
    .cart-row-qty,
    .cart-row-total{
        display:flex;
        justify-content:space-between;
        align-items:center;
        text-align:left;
        font-size:var(--fs-base);
    }
    .cart-row-price::before,
    .cart-row-total::before{
        content:attr(data-label);
        color:var(--color-text-muted);
        font-size:var(--fs-sm);
        letter-spacing:.08em;
        text-transform:uppercase;
    }
    .cart-row-qty::before{
        content:attr(data-label);
        color:var(--color-text-muted);
        font-size:var(--fs-sm);
        letter-spacing:.08em;
        text-transform:uppercase;
    }
    .cart-row-qty{ justify-content:space-between; }
    .cart-row-remove{
        position:absolute;
        top:26px;
        right:0;
        text-align:right;
    }
    .cart-items-footer{ flex-direction:column; align-items:stretch; }
    .cart-coupon-inline{ min-width:0; }
    .cross-sells ul.products{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:480px){
    .cart-row-thumb{ width:80px; height:80px; }
    .cart-summary-inner{ padding:28px 24px; }
}

.cart-cross-sells-section {
    padding: 80px 0 110px;
    margin-top: 10px;
    border-top: 1px solid var(--color-line);
}

.cart-cross-sells-section .cross-sells {
    width: 100%;
}

.cart-cross-sells-section .cross-sells > h2 {
    font-family:var(--font-body);
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 0 40px;
}

.cart-cross-sells-section .cross-sells ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-cross-sells-section .cross-sells ul.products::before,
.cart-cross-sells-section .cross-sells ul.products::after {
    display: none;
}

 
/* =================================================
   19. STRONA KASY (woocommerce/checkout/form-checkout.php)
================================================= */
 
.checkout-page{ background:var(--color-white); }
 
/* ---- lekki nagłówek: sam tytuł, bez breadcrumb/eyebrow ---- */
.checkout-simple-header{
    padding:36px 0 30px;
    border-bottom:1px solid var(--color-line);
}
.checkout-page-title{
    font-size:22px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--color-dark);
}
 
.checkout-content-section{ padding:56px 0 110px; }
 
/* ---- układ dwukolumnowy ---- */
.checkout-layout{
    display:grid;
    grid-template-columns:1fr 380px;
    gap:64px;
    align-items:start;
}
 
/* ---- sekcje z polami (dane, adres) ---- */
.checkout-fields-panel h3{
    font-size:19px;
    margin-bottom:24px;
}
.checkout-fields-panel h3:not(:first-child){ margin-top:44px; }
 
.checkout-section + .checkout-section{
    margin-top:8px;
    padding-top:8px;
}
 
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:20px 20px;
}
 
.form-row{
    width:100%;
    margin:0 0 4px;
}
.form-row-first,
.form-row-last{
    width:calc(50% - 10px);
}
.form-row-wide{ width:100%; }
 
.form-row label{
    display:block;
    font-size:12px;
    letter-spacing:.04em;
    color:var(--color-text-muted);
    margin-bottom:8px;
}
.form-row label .required{
    color:#b23b3b;
    text-decoration:none;
    margin-left:2px;
}
.form-row .optional{
    color:var(--color-text-muted);
    font-weight:400;
}
 
.form-row .woocommerce-input-wrapper{ display:block; }
 
.input-text,
.form-row select,
.form-row textarea,
.select2-container .select2-selection--single{
    width:100%;
    padding:13px 16px;
    border:1px solid var(--color-line);
    border-radius:var(--radius);
    background:var(--color-white);
    color:var(--color-text);
    font-family:var(--font-body);
    font-size:14px;
    transition:border-color .2s ease;
    height:auto;
}
.input-text:focus,
.form-row select:focus,
.form-row textarea:focus{
    outline:none;
    border-color:var(--color-dark);
}
.form-row textarea{ min-height:100px; resize:vertical; }
 
/* select2 (kraj/województwo) - podstawowe dopasowanie wysokości/ramki */
.select2-container{ width:100% !important; }
.select2-container .select2-selection--single{
    height:48px;
    display:flex;
    align-items:center;
}
.select2-container .select2-selection__rendered{ padding-left:0; line-height:normal; }
.select2-container .select2-selection__arrow{ height:46px; }
 
/* walidacja */
.woocommerce-invalid .input-text,
.woocommerce-invalid select{
    border-color:#b23b3b;
}
.woocommerce-invalid-required-field .woocommerce-input-wrapper .input-text{ border-color:#b23b3b; }
 
/* checkboxy (utwórz konto / wysyłka na inny adres / regulamin) */
.form-row.woocommerce-account-fields,
.woocommerce-account-fields,
.woocommerce-shipping-fields{ margin-top:20px; }
 
.form-row .woocommerce-form__label-for-checkbox,
.woocommerce-form-login__rememberme,
.woocommerce-terms-and-conditions-wrapper label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13px;
    color:var(--color-text);
    cursor:pointer;
}
.form-row input[type="checkbox"],
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"]{
    width:17px;
    height:17px;
    margin:1px 0 0;
    accent-color:var(--color-dark);
    flex-shrink:0;
}
 
#order_comments{ margin-top:4px; }
 
/* pole hasła z przyciskiem "pokaż" (create account) */
.woocommerce-account-fields .show-password-input{
    top:50%;
    transform:translateY(-50%);
}
 
/* -------------------------------------------------
   PODSUMOWANIE ZAMÓWIENIA (prawa kolumna)
------------------------------------------------- */
.checkout-summary-panel{ position:sticky; top:24px; }
.checkout-summary-inner{
    background:var(--color-white-grey);
    border-radius:var(--radius);
    padding:38px 34px;
}
.checkout-summary-inner h2{
    font-size:19px;
    margin-bottom:26px;
}
 
/* tabela zamówienia */
table.woocommerce-checkout-review-order-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:0;
}
table.woocommerce-checkout-review-order-table thead{ display:none; }
table.woocommerce-checkout-review-order-table td,
table.woocommerce-checkout-review-order-table th{
    padding:13px 0;
    border-bottom:1px solid var(--color-line);
    font-size:13.5px;
    color:var(--color-text);
    text-align:left;
}
table.woocommerce-checkout-review-order-table tbody tr td{
    vertical-align:top;
}
table.woocommerce-checkout-review-order-table .product-name{
    color:var(--color-text);
}
table.woocommerce-checkout-review-order-table .product-name .product-quantity{
    color:var(--color-text-muted);
    font-weight:400;
}
table.woocommerce-checkout-review-order-table .product-total{
    text-align:right;
    font-weight:600;
    color:var(--color-dark);
    white-space:nowrap;
}
table.woocommerce-checkout-review-order-table tfoot th{
    color:var(--color-text-muted);
    font-weight:400;
}
table.woocommerce-checkout-review-order-table tfoot td{
    text-align:right;
}
table.woocommerce-checkout-review-order-table tfoot .order-total th,
table.woocommerce-checkout-review-order-table tfoot .order-total td{
    border-bottom:none;
    padding-top:20px;
}
table.woocommerce-checkout-review-order-table tfoot .order-total th{
    font-family:var(--font-body);
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
table.woocommerce-checkout-review-order-table tfoot .order-total td{
    font-family:var(--font-display);
    font-size:24px;
    color:var(--color-dark);
}
table.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
table.woocommerce-checkout-review-order-table tfoot .shipping th,
table.woocommerce-checkout-review-order-table tfoot .tax-rate th{
    font-weight:400;
}
 
/* metody dostawy w podsumowaniu (radio) */
#shipping_method{ list-style:none; margin:0; padding:0; }
#shipping_method li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    padding:4px 0;
}
#shipping_method input[type="radio"]{
    accent-color:var(--color-dark);
    width:16px;
    height:16px;
}
 
/* metody płatności */
ul.wc_payment_methods.payment_methods{
    list-style:none;
    margin:26px 0 0;
    padding:0;
   background-color: var(--color-white-grey);
}
li.wc_payment_method{
    border-bottom:1px solid var(--color-line);
    padding:16px 0;
}
li.wc_payment_method > label{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13.5px;
    color:var(--color-dark);
    cursor:pointer;
}
li.wc_payment_method input[type="radio"]{
    accent-color:var(--color-dark);
    width:16px;
    height:16px;
    flex-shrink:0;
}
li.wc_payment_method img{
    height:20px;
    width:auto;
    margin-left:auto;
}
.payment_box{
    margin:14px 0 0 26px;
    padding:16px 18px;
    background:var(--color-white);
    border-radius:var(--radius);
    font-size:12.5px;
    line-height:1.7;
    color:var(--color-text-muted);
}
.payment_box p:first-child{ margin-top:0; }
.payment_box p:last-child{ margin-bottom:0; }
 
/* regulamin + przycisk złóż zamówienie */
.woocommerce-terms-and-conditions-wrapper{
    margin-top:22px;
    padding-top:22px;
    border-top:1px solid var(--color-line);
}
.woocommerce-privacy-policy-text{
    font-size:11.5px;
    color:var(--color-text-muted);
    margin-bottom:14px;
    line-height:1.6;
}
.woocommerce-terms-and-conditions-wrapper a{
    color:var(--color-dark);
    text-decoration:underline;
    text-underline-offset:3px;
}
 
.place-order{ margin-top:22px; background-color: var(--color-white-grey);}
 
#place_order{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:center;
    padding:17px 24px;
    border:1px solid var(--color-dark);
    border-radius:var(--radius);
    background:var(--color-dark);
    color:var(--color-white);
    font-family:var(--font-body);
    font-size:12px;
    letter-spacing:.15em;
    text-transform:uppercase;
    font-weight:500;
    transition:background .2s ease, transform .1s ease-out;
}
#place_order:hover{ background:var(--color-dark-soft); }
#place_order:active{ transform:scale(.98); }
#place_order:disabled{ opacity:.5; pointer-events:none; }
 
.checkout-summary-trust{ margin-top:30px; }
 
/* -------------------------------------------------
   RESPONSYWNOŚĆ — STRONA KASY
------------------------------------------------- */
@media (max-width:1024px){
    .checkout-layout{ grid-template-columns:1fr; gap:52px; }
    .checkout-summary-panel{ position:static; }
}
 
@media (max-width:600px){
    .checkout-content-section{ padding:40px 0 70px; }
    .form-row-first,
    .form-row-last{ width:100%; }
    .checkout-summary-inner{ padding:28px 24px; }
}


/* =========================================
   STEPPER ILOŚCI – KOSZYK
========================================= */

.cart-row-qty .quantity {
    display: inline-flex;
    align-items: center;
    margin: 0;
    border: none !important;
    height: 42px;
}

.cart-row-qty .quantity .qty-step {
    width: 38px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--color-dark);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: var(--fs-base);
    line-height: 1;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.cart-row-qty .quantity .qty-step:hover {
    background: #f5f5f5;
}

.cart-row-qty .quantity .qty {
    width: 42px;
    height: 40px;
    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    text-align: center;

    font-size: var(--fs-base);
    line-height: 40px;

    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-row-qty .quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

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

/* =================================================
   KLUCZOWE PARAMETRY PRODUKTU W product_meta
   (kolor, materiał, barwa światła, wymiary)
   — patrz inc/product-key-specs.php
================================================= */
.product-key-specs{
    margin-top:14px;
    padding-top:14px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.product-key-specs li{

    gap:6px;
    font-size:13px;
    line-height:1.5;
    font-weight: 400;
    display:grid;
    grid-template-columns:repeat(2,1fr);
}
.product-key-specs .spec-label{
    color:var(--color-dark);
    font-weight: 500;
    flex-shrink:0;
}
.product-key-specs .spec-value{
    color:var(--color-dark);
}
 
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in {
    display: none !important;
}


/* =================================================
   ZNACZNIKI "NOWOŚĆ" / "BESTSELLER" NA ZDJĘCIU PRODUKTU
   (content-product.php) — nachodzą na .product-media,
   po przeciwnej stronie niż etykieta promocji (.onsale)
================================================= */
.luxora-product-badges{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}
 
.luxora-badge{
    padding: 7px 10px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--fs-sm, 11px);
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}
 
.luxora-badge-new{
    background: var(--color-dark);
    color: var(--color-white);
}
 
.luxora-badge-bestseller{
    background: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
}
 
@media (max-width: 500px){
    .luxora-product-badges{
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    .luxora-badge{
        padding: 6px 9px;
        font-size: 10px;
    }
}

/* =================================================
   WYSZUKIWARKA — PŁYWAJĄCY PANEL Z MARGINESAMI
   (inc/search-module.php + assets/js/search-overlay.js)
================================================= */
 
.search-overlay-backdrop{
    position:fixed;
    inset:0;
    background:rgba(23,20,15,.5);
    opacity:0;
    visibility:hidden;
    transition:opacity .35s ease, visibility .35s ease;
    z-index:299;
}
body.search-overlay-open .search-overlay-backdrop{
    opacity:1;
    visibility:visible;
}
body.search-overlay-open{ overflow:hidden; }
 
/* panel z lekkimi marginesami z każdej strony (16px dookoła - góra tak
   samo jak boki), płynnie "wpływa" od góry przy otwarciu */
.search-overlay{
    position:fixed;
    top:16px;
    left:16px;
    right:16px;
    z-index:300;
    max-width:1000px;
    margin:0 auto;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    overflow-y:auto;
    background:var(--color-white);
    border-radius:var(--radius);
    box-shadow:0 30px 80px rgba(23,20,15,.22);
    opacity:0;
    visibility:hidden;
    transform:translateY(-36px) scale(.98);
    transition:opacity .45s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1), visibility .5s ease;
}
body.search-overlay-open .search-overlay{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}
 
.search-overlay-inner{
    position:relative;
    padding:56px 48px 48px;
}
 
.search-overlay-close{
    position:absolute;
    top:20px;
    right:22px;
    background:none;
    border:none;
    cursor:pointer;
    padding:8px;
    margin:-8px;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.search-overlay-close:hover{ opacity:.55; }
.search-overlay-close svg{ width:18px; height:18px; }
 
/* ---- pole wyszukiwania ---- */
.search-overlay-form{
    display:flex;
    align-items:center;
    gap:16px;
    border-bottom:1px solid var(--color-line);
    padding-bottom:16px;
}
.search-overlay-input{
    flex:1;
    min-width:0;
    border:none;
    outline:none;
    background:none;
    font-family:var(--font-display);
    font-size:var(--fs-base);
    color:var(--color-dark);
    caret-color:var(--color-dark);
}
.search-overlay-input::placeholder{
    color:var(--color-text-muted);
    opacity:.7;
}
.search-overlay-submit{
    flex-shrink:0;
    background:none;
    border:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.search-overlay-submit:hover{ opacity:.6; }
.search-overlay-submit svg{ width:22px; height:22px; }
 
.search-overlay-hint{
    margin-top:14px;
    font-size:13px;
    color:var(--color-text-muted);
}
 
/* WAŻNE: [hidden] musi być tu jawnie wymuszony - inaczej reguła
   "display:grid/flex" niżej (ta sama specyficzność co domyślny atrybut
   hidden przeglądarki) wygrywa i przełączanie JS-em (browse.hidden = true)
   nie ma żadnego efektu wizualnego */
.search-overlay-browse[hidden],
.search-overlay-results[hidden],
.search-overlay-viewall[hidden]{
    display:none !important;
}
 
/* ---- widok startowy: 3 kolumny (odzwierciedlenie footera) ---- */
.search-overlay-browse{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:40px;
    margin-top:36px;
    padding-top:30px;

}
.search-browse-col h4{
    font-family:var(--font-body);
    font-size:12px;
    font-weight:500;
    letter-spacing:.12em;
    text-transform:uppercase;
    color: var(--color-dark);
    margin-bottom:18px;
}
.search-browse-col ul{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.search-browse-col a{
    font-size:14px;
    color:var(--color-dark);
    transition:opacity .2s ease;
    font-weight: 400;
}
.search-browse-col a:hover{ opacity:.6; }
 
/* kolumny "wylewają się" jedna po drugiej przy otwarciu panelu */
.search-browse-col{
    opacity:0;
    transform:translateY(16px);
}
body.search-overlay-open .search-browse-col{
    animation:search-col-in .55s cubic-bezier(.22,.61,.36,1) both;
}
body.search-overlay-open .search-browse-col:nth-child(1){ animation-delay:.12s; }
body.search-overlay-open .search-browse-col:nth-child(2){ animation-delay:.2s; }
body.search-overlay-open .search-browse-col:nth-child(3){ animation-delay:.28s; }
 
@keyframes search-col-in{
    from{ opacity:0; transform:translateY(16px); }
    to{ opacity:1; transform:translateY(0); }
}
 
/* przycisk "Zobacz wszystkie wyniki" pod dwoma kolumnami wyników */
.search-overlay-viewall{
    display:flex;
    width:fit-content;
    margin:32px auto 4px;
}
 
/* ---- wyniki na żywo: 2 kolumny (Produkty / Kategorie) ---- */
.search-overlay-results{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    margin-top:36px;
    padding-top:30px;
    border-top:1px solid var(--color-line);
    transition:opacity .15s ease;
    font-weight: 400;
}
.search-overlay-results.is-loading{
    opacity:.45;
    pointer-events:none;
}
.search-results-col h4{
    font-family:var(--font-body);
    font-size:11px;
    font-weight:400;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    margin-bottom:16px;
}
.search-results-list{ display:flex; flex-direction:column; }
 
.search-overlay-empty{
    font-size:13px;
    color:var(--color-text-muted);
    padding:8px 0;
}
 
/* produkty */
.search-result-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid var(--color-line);
    transition:opacity .2s ease;
}
.search-result-item:last-child{ border-bottom:none; }
.search-result-item:hover{ opacity:.65; }
 
.search-result-thumb{
    width:50px;
    height:50px;
    flex-shrink:0;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--color-cream);
}
.search-result-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
 
.search-result-info{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}
.search-result-name{
    font-size:13.5px;
    color:var(--color-dark);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.search-result-price{
    font-size:12px;
    color:var(--color-text-muted);
}
 
/* kategorie / podkategorie */
.search-result-category{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:13px 0;
    border-bottom:1px solid var(--color-line);
    transition:opacity .2s ease;
}
.search-result-category:last-child{ border-bottom:none; }
.search-result-category:hover{ opacity:.6; }
.search-result-category-name{
    font-size:13.5px;
    color:var(--color-dark);
}
.search-result-category-count{
    font-size:11.5px;
    color:var(--color-text-muted);
    white-space:nowrap;
}
 
/* =================================================
   RESPONSYWNOŚĆ — WYSZUKIWARKA
================================================= */
@media (max-width:900px){
    .search-overlay-browse,
    .search-overlay-results{
        gap:28px;
    }
}
 
@media (max-width:700px){
    .search-overlay-inner{ padding:64px 28px 40px; }
    .search-overlay-browse{
        grid-template-columns:1fr 1fr;
        row-gap:32px;
    }
    .search-overlay-results{
        grid-template-columns:1fr;
        gap:28px;
    }
}
 
@media (max-width:480px){
    .search-overlay{ top:10px; left:10px; right:10px; }
    .search-overlay-inner{ padding:56px 20px 36px; }
    .search-overlay-close{ top:14px; right:14px; }
    .search-overlay-browse{
        grid-template-columns:1fr;
        row-gap:28px;
    }
}

/* =================================================
   KONTO — PŁYWAJĄCY PANEL Z MARGINESAMI
   (inc/account-module.php + assets/js/account-overlay.js)
================================================= */

.account-overlay-backdrop{
    position:fixed;
    inset:0;
    background:rgba(23,20,15,.5);
    opacity:0;
    visibility:hidden;
    transition:opacity .35s ease, visibility .35s ease;
    z-index:299;
}
body.account-overlay-open .account-overlay-backdrop{
    opacity:1;
    visibility:visible;
}
body.account-overlay-open{ overflow:hidden; }

/* panel z lekkimi marginesami z każdej strony (16px dookoła - góra tak
   samo jak boki), płynnie "wpływa" od góry przy otwarciu - ten sam
   wzorzec co panel wyszukiwania, węższy (konto ma mniej treści) */
.account-overlay{
    position:fixed;
    top:16px;
    left:16px;
    right:16px;
    z-index:300;
    max-width:640px;
    margin:0 auto;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    overflow-y:auto;
    background:var(--color-white);
    border-radius:var(--radius);
    box-shadow:0 30px 80px rgba(23,20,15,.22);
    opacity:0;
    visibility:hidden;
    transform:translateY(-36px) scale(.98);
    transition:opacity .45s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1), visibility .5s ease;
}
body.account-overlay-open .account-overlay{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}

.account-overlay-inner{
    position:relative;
    padding:56px 48px 48px;
}

.account-overlay-close{
    position:absolute;
    top:20px;
    right:22px;
    background:none;
    border:none;
    cursor:pointer;
    padding:8px;
    margin:-8px;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.account-overlay-close:hover{ opacity:.55; }
.account-overlay-close svg{ width:18px; height:18px; }

/* ---- nagłówek (wspólny dla obu stanów) ---- */
.account-overlay-header{
    margin-bottom:36px;
}
.account-overlay-header h2{
    font-family:var(--font-body);
    font-size:22px;
    font-weight:500;
    color:var(--color-dark);
}

/* =================================================
   STAN: NIEZALOGOWANY — logowanie + rejestracja
   (wc_get_template('myaccount/form-login.php'))
================================================= */

/* WooCommerce owija oba formularze w #customer_login.col2-set - ustawiamy
   je obok siebie na desktopie, jeden pod drugim na mobile */
.account-overlay-forms #customer_login.col2-set{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 48px;
}
.account-overlay-forms .u-column1.col-1,
.account-overlay-forms .u-column2.col-2{
    min-width:0;
}
/* separator pionowy między kolumnami */
.account-overlay-forms .u-column2.col-2{
    border-left:1px solid var(--color-line);
    padding-left:48px;
}

.account-overlay-forms h2{
    font-family:var(--font-body);
    font-size:12px;
    font-weight:500;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    margin-bottom:22px;
}

/* pola formularza (label/input) - reużywamy tej samej stylistyki co
   pola na kasie (.form-row, .input-text już zdefiniowane globalnie) */
.account-overlay-forms .form-row{
    width:100%;
    margin:0 0 16px;
}

.account-overlay-forms .woocommerce-form-login__rememberme{
    display:flex;
    align-items:center;
    gap:8px;
    margin:4px 0 22px;
    font-size:13px;
    color:var(--color-text);
    cursor:pointer;
}
.account-overlay-forms .woocommerce-form-login__rememberme input[type="checkbox"]{
    width:16px;
    height:16px;
    accent-color:var(--color-dark);
    margin:0;
}

.account-overlay-forms button[type="submit"]{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:15px 34px;
    border:1px solid var(--color-dark);
    border-radius:var(--radius);
    background:var(--color-dark);
    color:var(--color-white);
    font-family:var(--font-body);
    font-size:12px;
    letter-spacing:.15em;
    text-transform:uppercase;
    font-weight:500;
    transition:background .2s ease, transform .1s ease-out;
}
.account-overlay-forms button[type="submit"]:hover{ background:var(--color-dark-soft); }
.account-overlay-forms button[type="submit"]:active{ transform:scale(.98); }

.account-overlay-forms .woocommerce-LostPassword{
    margin-top:16px;
    font-size:12.5px;
}
.account-overlay-forms .woocommerce-LostPassword a{
    color:var(--color-text-muted);
    text-decoration:underline;
    text-underline-offset:3px;
    transition:color .2s ease;
}
.account-overlay-forms .woocommerce-LostPassword a:hover{ color:var(--color-dark); }

.account-overlay-forms .woocommerce-privacy-policy-text{
    margin-top:18px;
    font-size:11.5px;
    color:var(--color-text-muted);
    line-height:1.6;
}

/* jeżeli rejestracja jest wyłączona w ustawieniach WooCommerce, kolumna
   #customer_login staje się jednokolumnowa - dopilnowujemy węższego układu */
.account-overlay-forms #customer_login.col2-set:not(:has(.u-column2)){
    grid-template-columns:1fr;
    max-width:360px;
    margin:0 auto;
}

/* =================================================
   STAN: ZALOGOWANY — menu konta
================================================= */

.account-overlay-menu ul{
    display:flex;
    flex-direction:column;
    gap:2px;
    margin-bottom:20px;
}
.account-overlay-menu a{
    display:block;
    padding:14px 4px;
    border-bottom:1px solid var(--color-line);
    font-size:15px;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
.account-overlay-menu a:hover{ opacity:.6; }

.account-overlay-logout{
    display:inline-flex;
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    text-decoration:underline;
    text-underline-offset:3px;
    transition:color .2s ease;
}
.account-overlay-logout:hover{ color:var(--color-dark); }

/* =================================================
   RESPONSYWNOŚĆ — KONTO
================================================= */
@media (max-width:700px){
    .account-overlay-inner{ padding:64px 28px 40px; }

    .account-overlay-forms #customer_login.col2-set{
        grid-template-columns:1fr;
        gap:36px;
    }
    .account-overlay-forms .u-column2.col-2{
        border-left:none;
        padding-left:0;
        padding-top:32px;
        border-top:1px solid var(--color-line);
    }
}

@media (max-width:480px){
    .account-overlay{ top:10px; left:10px; right:10px; }
    .account-overlay-inner{ padding:56px 20px 36px; }
    .account-overlay-close{ top:14px; right:14px; }
}

/* =========================================================
   PREMIUM CONTACT PANEL
========================================================= */

.contact-panel-overlay{
    position:fixed;
    inset:0;
    background:rgba(18,18,18,.42);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
    z-index:9998;
    opacity:0;
    transition:opacity .35s ease;
}

.contact-panel-overlay.is-visible{
    opacity:1;
}

.contact-panel{
    position:fixed;
    top:0;
    right:0;
    width:min(620px, 100%);
    height:100vh;
    height:100dvh;
    background:var(--color-white);
    z-index:9999;
    transform:translateX(100%);
    transition:transform .5s cubic-bezier(.22,.61,.36,1);
    box-shadow: none;
    overflow-y:auto;
    overscroll-behavior:contain;
}

.contact-panel.is-open{
    transform:translateX(0);
     box-shadow:-20px 0 60px rgba(0,0,0,.12);
}

.contact-panel-inner{
    min-height:100%;
    padding:56px 56px 48px;
    display:flex;
    flex-direction:column;
}


/* HEADER */

.contact-panel-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:30px;
    margin-bottom:32px;
}

.contact-panel-header .eyebrow{
    display:block;
    margin-bottom:14px;
}

.contact-panel-header h2{
    margin:0;
    font-size:clamp(32px,4vw,48px);
    line-height:1.05;
    font-weight:400;
    letter-spacing:-.035em;
    color:var(--color-dark);
}

.contact-panel-close{
    flex:0 0 auto;
    width:44px;
    height:44px;
    padding:10px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:50%;
    background:transparent;
    color:var(--color-dark);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.contact-panel-close svg{
    width:100%;
    height:100%;
}

.contact-panel-close:hover{
    background:var(--color-dark);
    color:var(--color-white);
    border-color:var(--color-dark);
    transform:rotate(90deg);
}


/* INTRO */

.contact-panel-intro{
    padding:22px 0;
    margin-bottom:30px;
    border-top:1px solid rgba(0,0,0,.1);
    border-bottom:1px solid rgba(0,0,0,.1);
}

.contact-panel-intro p{
    margin:0;
    font-size:15px;
    line-height:1.7;
    color:var(--color-text-muted);
}

.contact-panel-intro p + p{
    margin-top:5px;
}


/* FORM */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.contact-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.contact-field{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.contact-field > span{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.1em;
    color:var(--color-dark);
}

.contact-field small{
    font-size:10px;
    text-transform:none;
    letter-spacing:0;
    color:var(--color-text-muted);
}

.contact-field input,
.contact-field select,
.contact-field textarea{
    width:100%;
    border:0;
    border-bottom:1px solid rgba(0,0,0,.18);
    border-radius:0;
    background:transparent;
    padding:11px 0 13px;
    font-family:inherit;
    font-size:15px;
    color:var(--color-dark);
    outline:none;
    transition:border-color .25s ease;
}

.contact-field textarea{
    min-height:130px;
    resize:vertical;
    line-height:1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder{
    color:var(--color-text-muted);
    opacity:.65;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{
    border-color:var(--color-dark);
}


/* SELECT */

.contact-field select{
    appearance:none;
    -webkit-appearance:none;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 7px) 50%,
        calc(100% - 2px) 50%;
    background-size:5px 5px;
    background-repeat:no-repeat;
    padding-right:25px;
}


/* CONSENT */

.contact-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    cursor:pointer;
}

.contact-consent input{
    flex:0 0 auto;
    width:16px;
    height:16px;
    margin:2px 0 0;
    accent-color:var(--color-dark);
}

.contact-consent span{
    font-size:11px;
    line-height:1.55;
    color:var(--color-text-muted);
}


/* SUBMIT */

.contact-submit{
    width:100%;
    min-height:58px;
    border:1px solid var(--color-dark);
    background:var(--color-dark);
    color:var(--color-white);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px 0 24px;
    cursor:pointer;
    font-family:inherit;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.1em;
    transition:
        background .3s ease,
        color .3s ease;
}

.contact-submit svg{
    width:20px;
    height:20px;
    transition:transform .3s ease;
}

.contact-submit:hover{
    background:transparent;
    color:var(--color-dark);
}

.contact-submit:hover svg{
    transform:translateX(5px);
}

.contact-submit:disabled{
    opacity:.55;
    cursor:not-allowed;
}


/* NOTE */

.contact-form-note{
    margin:0;
    text-align:center;
    font-size:11px;
    line-height:1.5;
    color:var(--color-text-muted);
}


/* DIRECT CONTACT */

.contact-panel-direct{
    margin-top:auto;
    padding-top:34px;
    margin-top:48px;
    border-top:1px solid rgba(0,0,0,.1);
    display:flex;
    flex-direction:column;
    gap:5px;
}

.contact-panel-direct-label{
    margin-bottom:7px;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--color-text-muted);
}

.contact-panel-direct a{
    width:max-content;
    font-size:14px;
    color:var(--color-dark);
    text-decoration:none;
    transition:opacity .2s ease;
}

.contact-panel-direct a:hover{
    opacity:.55;
}


/* STATUS */

.contact-panel-status{
    display:none;
    margin-bottom:24px;
    padding:16px 18px;
    font-size:13px;
    line-height:1.6;
    border-left:2px solid var(--color-dark);
    animation:luxoraContactStatus .35s ease;
}

.contact-panel-status.is-visible{
    display:block;
}

.contact-panel-status.is-success{
    background:#f3f5f2;
}

.contact-panel-status.is-error{
    background:#f8eeee;
    border-left-color:#8a4a4a;
}

@keyframes luxoraContactStatus{
    from{
        opacity:0;
        transform:translateY(-8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* BODY LOCK */

body.contact-panel-open{
    overflow:hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:700px){

    .contact-panel{
        width:100%;
    }

    .contact-panel-inner{
        padding:32px 24px 35px;
    }

    .contact-panel-header{
        margin-bottom:25px;
    }

    .contact-panel-header h2{
        font-size:36px;
    }

    .contact-panel-close{
        width:40px;
        height:40px;
    }

    .contact-form-row{
        grid-template-columns:1fr;
        gap:22px;
    }

    .contact-panel-intro{
        margin-bottom:25px;
    }

}

@media (max-width:400px){

    .contact-panel-inner{
        padding-left:20px;
        padding-right:20px;
    }

    .contact-panel-header h2{
        font-size:32px;
    }

}

.contact-honeypot{
    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:0 !important;
}

.woocommerce-message[role="alert"] {
    display: none !important;
}

.woocommerce-error{
    display: none !important;
}

/* =================================================
   PULPIT "MOJE KONTO" (woocommerce/myaccount/dashboard.php)
================================================= */

.account-dashboard-intro{
    font-size:var(--fs-base);
    color:var(--color-text-muted);
    margin-bottom:36px;
    max-width:520px;
    line-height:1.6;
}

/* ---- karty skrótów ---- */
.account-quick-links{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:var(--gap);
    margin-bottom:48px;
}

.account-quick-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:28px 24px;
    background:var(--color-cream);
    border:1px solid var(--color-line);
    border-radius:var(--radius);
    transition:transform .25s cubic-bezier(.22,.61,.36,1), border-color .2s ease, background .2s ease;
}
.account-quick-card:hover{
    transform:translateY(-4px);
    border-color:var(--color-dark);
    background:var(--color-white);
}

.account-quick-card svg{
    width:26px;
    height:26px;
    color:var(--color-dark);
    margin-bottom:4px;
}

.account-quick-card-title{
    font-family:var(--font-body);
    font-size:15px;
    font-weight:500;
    color:var(--color-dark);
}

.account-quick-card-desc{
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
    line-height:1.5;
}

/* ---- ostatnie zamówienie ---- */
.account-last-order{
    padding-top:36px;
    border-top:1px solid var(--color-line);
}
.account-last-order h2{
    font-family:var(--font-body);
    font-size:15px;
    font-weight:500;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--color-text-muted);
    margin-bottom:18px;
}

/* wiersz zamówienia - reużywany też w orders.php (lista wszystkich zamówień) */
.account-order-row{
    display:flex;
    align-items:center;
    gap:24px;
    padding:20px 24px;
    background:var(--color-white);
    border:1px solid var(--color-line);
    border-radius:var(--radius);
}

.account-order-row-info{
    display:flex;
    flex-direction:column;
    gap:4px;
    flex:1;
    min-width:0;
}

.account-order-number{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:500;
    color:var(--color-dark);
    transition:opacity .2s ease;
}
a.account-order-number:hover{ opacity:.6; }

.account-order-date{
    font-size:var(--fs-sm);
    color:var(--color-text-muted);
}

/* znaczek statusu - kolor zależny od modyfikatora status-{slug} */
.account-order-status{
    flex-shrink:0;
    padding:6px 14px;
    border-radius:999px;
    font-size:var(--fs-sm);
    font-weight:500;
    letter-spacing:.04em;
    text-transform:uppercase;
    white-space:nowrap;
    background:var(--color-white-grey);
    color:var(--color-text-muted);
}
.account-order-status.status-completed{
    background:rgba(12,156,0,.1);
    color:#0c9c00;
}
.account-order-status.status-processing{
    background:rgba(23,20,15,.08);
    color:var(--color-dark);
}
.account-order-status.status-on-hold,
.account-order-status.status-pending{
    background:rgba(180,140,20,.12);
    color:#8a6a10;
}
.account-order-status.status-cancelled,
.account-order-status.status-failed{
    background:rgba(178,59,59,.1);
    color:#b23b3b;
}
.account-order-status.status-refunded{
    background:var(--color-white-grey);
    color:var(--color-text-muted);
}

.account-order-total{
    flex-shrink:0;
    font-family:var(--font-body);
    font-size:var(--fs-base);
    font-weight:500;
    color:var(--color-dark);
    white-space:nowrap;
}

.account-order-row .btn{
    flex-shrink:0;
}

/* =================================================
   RESPONSYWNOŚĆ — PULPIT
================================================= */
@media (max-width:900px){
    .account-quick-links{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:600px){
    .account-quick-links{
        grid-template-columns:1fr;
    }
    .account-order-row{
        flex-wrap:wrap;
        row-gap:12px;
        padding:18px;
    }
    .account-order-row-info{
        flex:1 1 100%;
        order:1;
    }
    .account-order-status{
        order:2;
    }
    .account-order-total{
        order:3;
        margin-left:auto;
    }
    .account-order-row .btn{
        order:4;
        width:100%;
        margin-top:6px;
    }
}

/* =========================================================
   LUXORA – ACCOUNT PANEL SECTIONS
========================================================= */

.account-main-panel {
    position: relative;
}


/*
 * Wszystkie sekcje są domyślnie zamknięte.
 */

.account-section {
    display: none;
}


/*
 * Aktywna sekcja.
 */

.account-section.is-active {
    display: block;
}


/* =========================================================
   NAGŁÓWEK SEKCJI
========================================================= */

.account-section-header {
    margin-bottom: 32px;
}

.account-section-eyebrow {
    display: block;
    margin-bottom: 8px;

    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.55;
}

.account-section-header h2 {
    margin: 0 0 10px;
}

.account-section-header p {
    margin: 0;
    opacity: 0.65;
}


/* =========================================================
   ORDERS
========================================================= */

.account-orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.account-order-card {
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;
}


.account-order-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px;
    align-items: center;
}


.account-order-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.account-order-number {
    font-weight: 600;
}


.account-order-date {
    font-size: 13px;
    opacity: 0.55;
}


.account-order-status {
    font-size: 12px;
    white-space: nowrap;
}


.account-order-total {
    font-weight: 600;
    white-space: nowrap;
}


.account-order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid rgba(0, 0, 0, 0.07);
}


.account-order-items-count {
    font-size: 13px;
    opacity: 0.55;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.account-empty-state {
    padding: 40px 0;
    text-align: center;
    font-weight: 400;
}

.account-empty-state h3 {
    margin-bottom: 10px;
}

.account-empty-state p {
    margin-bottom: 24px;
    opacity: 0.65;
}


/* =========================================================
   ACCOUNT DETAILS
========================================================= */

.account-section[data-account-view="edit-account"]
    .woocommerce-EditAccountForm {

    max-width: 620px;
}


/* =========================================================
   ANIMACJA
========================================================= */

.account-section.is-active {
    animation: luxoraAccountSectionIn 0.25s ease both;
}


@keyframes luxoraAccountSectionIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .account-order-card-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .account-order-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }


    .account-order-total {
        order: 2;
    }

}

/* =========================================================
   LUXORA – ACCOUNT ACCORDION
========================================================= */

.account-view {
    display: none;
}

.account-view.is-active {
    display: block;
}


/* =========================================================
   PRZYCISKI NAWIGACJI
========================================================= */

.account-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0;
    border: 0;
    background: transparent;

    cursor: pointer;

    text-align: left;
    font: inherit;
    color: inherit;
}


.account-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    font-size: 20px;
    line-height: 1;

    transition:
        transform 0.25s ease;
}


.account-nav-item.is-active
.account-nav-arrow {
    transform: rotate(45deg);
}


/* =========================================================
   SEKCJA PO ROZWINIĘCIU
========================================================= */

.account-view-orders,
.account-view-edit-account {
    margin-top: 30px;
    padding-top: 30px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    animation:
        luxoraAccountReveal
        0.3s ease;
}


@keyframes luxoraAccountReveal {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   DASHBOARD – KARTY JAK PRZYCISKI
========================================================= */

.account-quick-card {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
    background: transparent;

    font: inherit;
    color: inherit;

    text-align: left;

    cursor: pointer;
}


.account-quick-card:hover {
    cursor: pointer;
}

.account-field-hint {
    font-size: var(--fs-sm);
    font-weight: 400;
}

.account-form-message {
    margin: 0 0 24px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.5;
}

.account-form-message.is-success {
    color: #0c9c00;
}

.account-form-message.is-error {
    color: #b00020;
}

/* =========================================================
   PRODUCTS SLIDER
========================================================= */

.products-slider {
    position: relative;
}


/* =========================================================
   NAVIGATION
========================================================= */

.products-slider__navigation {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 36px;
}


/* =========================================================
   BUTTONS
========================================================= */

.products-slider__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.slider-button {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid currentColor;
    background: transparent;

    color: inherit;

    cursor: pointer;

    transition:
        opacity 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.slider-button span {
    font-size: 20px;
    line-height: 1;
}

.slider-button:not(:disabled):hover {
    background: #111;
    color: #fff;
}

.slider-button:disabled {
    opacity: 0.3;
    cursor: default;
}


/* =========================================================
   PROGRESS BAR
========================================================= */

.products-slider__progress {
    position: relative;

    width: 100%;
    height: 1px;

    background: #d8d8d8;

    overflow: hidden;
}

.products-slider__progress-fill {
    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    background: #111;

    transition: width 0.3s ease;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .products-slider__navigation {
        gap: 20px;
        margin-top: 28px;
    }

    .slider-button {
        width: 42px;
        height: 42px;
    }

}


