/* -------------------------------------------------
   5. HERO
------------------------------------------------- */
.hero{
    position:relative;
    height: calc(100dvh - 40px);
    display:flex;
    align-items:center;
    background:var(--color-dark) center/cover no-repeat;
    overflow:hidden;
}
.hero-bg{
    position:absolute; inset:0;
    width:100%; height:100vh;
    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; display: flex; justify-content: center; }
.hero-content{ max-width:640px; text-align: center;
    
}
.hero-content h1{
    font-family: var(--luxora-font-title);
    font-weight: 300;
    font-size: clamp(3.75rem, 6vw, 7rem);
    line-height: .98;
    letter-spacing: -.02em;
    color: var(--luxora-ink);
    white-space: nowrap;
 
    animation: luxora-fade-rise 1.5s var(--luxora-ease) .1s both;
}
.hero-content h2{
    font-family: var(--luxora-font-title);
    font-weight: 300;
    font-size: clamp(2.35rem, 6vw, 6rem);
    line-height: .98;
    letter-spacing: -.02em;
    color: var(--luxora-ink);
 
    animation: luxora-fade-rise 1.5s var(--luxora-ease) .1s both;
}



.hero-content p{
    margin-bottom: 28px;
    margin-top: 4px;
    max-width: 420px;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    color: color-mix(in oklab, var(--luxora-ink) 75%, transparent);
 
    animation: luxora-fade-rise 1.5s var(--luxora-ease) .45s both;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; 
    justify-content: center;
    margin: 64px 0 0;



    animation: luxora-fade-rise 1.5s var(--luxora-ease) .8s both;
}

/* -------------------------------------------------
   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);
    list-style: none;
}
.features-strip li{
    display:flex;
    align-items:center;
    gap:14px;
    padding:26px 30px;
    border-right:1px solid var(--color-white-grey);
    font-size: .75rem;
    line-height: 1.5;
    letter-spacing: .02em;
    color: color-mix(in oklab, var(--color-dark) 78%, transparent);
}
.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:20px 0; }
.section-head{
    text-align:center;
    max-width:640px;
    margin:0 auto 56px;
}
.section-head h2{ 

    margin-bottom:14px; 
    font-family: var(--luxora-font-title);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--color-dark);

}
.section-head p{ 
    color:var(--color-text-muted); 
    font-size:var(--fs-base); 
    line-height:1.7; 
    font-weight: 400; 

    font-size: .95rem;
    line-height: 1.7;
    font-weight: 300;
    color: color-mix(in oklab, var(--color-dark-soft) 68%, transparent);
}

/* -------------------------------------------------
   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;
}

/* ================= KATEGORIE ================= */

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    /* 1. rząd = pełna wysokość ekranu */
    /* 2. i 3. rząd = po 50vh */
    grid-template-rows: 90vh 90vh 90vh;

    gap: 10px;

    width: 100%;
}

/* Wszystkie kafle */
.category-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
}

/* --- Nagłówek kafelka: zdjęcie kategorii + tytuł --- */
.category-tile-head{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    width: 100%;
    height: 100%;

    padding:28px;
    color:var(--color-white);
    text-decoration:none;
}

.category-tile-head .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-tile-head .tile-overlay{
    position:absolute; inset:0; z-index:1;
}


/* ================= PIERWSZE DWA ================= */

.category-tile:nth-child(1),
.category-tile:nth-child(2) {
    grid-column: span 1;
}

/* ================= TRZECI ================= */

.category-tile:nth-child(3) {
    grid-column: 1 / -1;
}

/* ================= CZWARTY ================= */

.category-tile:nth-child(4) {
    grid-column: 1 / -1;
}

/* Produkty są ukryte, jeśli gdzieś przypadkiem pozostały */
.category-tile-products {
    display: none;
}



.category-tile-head h3,
.category-tile-head .cat-link{ position:relative; z-index:2; color: var(--color-white)}

.category-tile-head h3{
    font-size:30px;
    line-height:1.25;
    margin:0 0 12px;
}

.category-tile-head .cat-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px 8px;
    font-family: var(--luxora-font-body);
    font-size: .74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .18em;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0;
    background: var(--color-white);
    color: var(--luxora-veil-deep);
    border: 1px solid transparent;
    transition: background .5s var(--luxora-ease), color .5s var(--luxora-ease), border-color .5s var(--luxora-ease), transform .4s var(--luxora-ease);
}
.category-tile-head:hover .cat-link{  }

/* --- Produkty pod etykietą, wewnątrz tego samego kafelka --- */
.category-tile-products{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:1px;
    background:var(--color-line);
    padding:0;
    margin:0;
    list-style:none;
}

.category-tile-products li.product{
    background:var(--color-white);
    padding:10px;
    text-align:center;
}

@media (max-width: 900px){
    .category-mosaic{ grid-template-columns:1fr;   grid-template-rows: none;  height: auto; }


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

    .category-tile:nth-child(1),
    .category-tile:nth-child(2),
    .category-tile:nth-child(3),
    .category-tile:nth-child(4) {
        grid-column: 1;
        min-height: 50vh;
    }



}

@media (max-width: 480px){
    .category-tile-products{ grid-template-columns:1fr 1fr; }
    .category-tile-products li.product{ padding:6px; }
}

/* ===== Collection banner ===== */
.collection-category{ margin-bottom:56px; }

.collection-banner{
    position:relative;
    display:flex;
    align-items:flex-end;
    min-height:220px;
    border-radius:var(--radius);
    overflow:hidden;
    padding:32px;
    margin-bottom:24px;
    text-decoration:none;
    color:var(--color-white);
}

.collection-banner__bg{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    z-index:0;
    transition:transform .6s cubic-bezier(.22,.61,.36,1);
}
.collection-banner:hover .collection-banner__bg{ transform:scale(1.03); }

.collection-banner__overlay{
    position:absolute; inset:0; z-index:1;
    background:linear-gradient(180deg, rgba(10,9,7,.05) 0%, rgba(10,9,7,.55) 100%);
}

.collection-banner__content{ position:relative; z-index:2; }

.collection-banner__content h2{
    font-size:28px;
    line-height:1.2;
    margin:0 0 12px;
}

.collection-banner .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;
}
.collection-banner:hover .cat-link{ opacity:.75; }

/* ===== Products grid (2x2 -> rozwijany) ===== */
.collection-products-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:var(--gap);
}

.collection-products-grid .product-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    color:inherit;
}

.collection-products-grid .product-img{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    background:#f5f4f2;
    aspect-ratio:1 / 1;
    margin-bottom:12px;
}

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

.collection-products-grid .product-name{
    font-size:15px;
    line-height:1.4;
    margin-bottom:4px;
}

.collection-products-grid .product-price{
    font-size:14px;
    font-weight:600;
    color:var(--color-dark);
}

/* pierwsze 4 = widoczny grid 2x2 na desktopie */
.collection-products-grid .product-card.is-extra{
    display:none;
}
.collection-products-grid.is-expanded .product-card.is-extra{
    display:flex;
    animation:luxoraFadeUp .45s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes luxoraFadeUp{
    from{ opacity:0; transform:translateY(12px); }
    to{ opacity:1; transform:translateY(0); }
}

/* delikatne opóźnienie kolejnych kart przy rozwijaniu */
.collection-products-grid.is-expanded .product-card.is-extra:nth-child(4n+1){ animation-delay:.02s; }
.collection-products-grid.is-expanded .product-card.is-extra:nth-child(4n+2){ animation-delay:.06s; }
.collection-products-grid.is-expanded .product-card.is-extra:nth-child(4n+3){ animation-delay:.1s; }
.collection-products-grid.is-expanded .product-card.is-extra:nth-child(4n+4){ animation-delay:.14s; }

/* ===== Toggle button ===== */
.collection-products-toggle-wrap{
    display:flex;
    justify-content:center;
    margin-top:28px;
}

.collection-products-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 26px;
    border-radius:999px;
    border:1px solid var(--color-line);
    background:var(--color-white);
    font-size:var(--fs-sm);
    letter-spacing:.04em;
    text-transform:uppercase;
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.collection-products-toggle:hover{
    background:var(--color-dark);
    color:var(--color-white);
    border-color:var(--color-dark);
}
.collection-products-toggle .toggle-icon{
    transition:transform .3s ease;
}
.collection-products-toggle.is-expanded .toggle-icon{
    transform:rotate(180deg);
}


/* -------------------------------------------------
   10. INSPIRATION SPLIT
------------------------------------------------- */
/* ================= INSPIRACJE ================= */

.inspiration {
    position: relative;
    width: auto;
    height: 50dvh;
    overflow: hidden;

    display: flex;
    align-items: center;
    margin: 20px 40px 40px 40px;
}

/* Zdjęcie w tle */
.inspiration-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

/* Przyciemnienie zdjęcia */
.inspiration-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    z-index: 1;
}

/* Tekst na zdjęciu */
.inspiration-text {
    position: relative;
    z-index: 2;

    max-width: 650px;
    padding: 60px;

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

.inspiration-text h2 {
    margin: 0 0 20px;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05;
    color: var(--color-white);
}

.inspiration-text p {
    max-width: 520px;
    margin-bottom: 30px;

    font-size: 18px;
    line-height: 1.6;
}

/* Eyebrow */
.inspiration-text .eyebrow {
    display: block;
    margin-bottom: 15px;

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



.inspiration-text .btn:hover {
    color: var(--color-white);
    background: var(--color-dark);
}


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

@media (max-width: 768px) {

    .inspiration {
        min-height: 50vh;
    }

    .inspiration-text {
        padding: 40px 25px;
    }

    .inspiration-text h2 {
        font-size: 42px;
    }

    .inspiration-text p {
        font-size: 16px;
    }
}

/* -------------------------------------------------
   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);
}

.newsletter-ajax-message {
	margin-top: 1rem;
	min-height: 1.5em;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.newsletter-ajax-message--success,
.newsletter-ajax-message--error {
	opacity: 1;
}

.newsletter-ajax-message--success {
	color: rgba(255, 255, 255, .7);
	font-size: var(--fs-base);
	margin-bottom: 28px;
	line-height: 1.7;
	font-weight: 400;
}

.newsletter-ajax-message--error {
	color: rgba(255, 255, 255, .7);
	font-size: var(--fs-base);
	margin-bottom: 28px;
	line-height: 1.7;
	font-weight: 400;
}

.newsletter-form--success {
	display: none;
}

.newsletter-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;
}


/* -------------------------------------------------
   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; }

.products-slider .woocommerce-loop-product__title{
    font-family:var(--font-body);
    font-size:var(--fs-base);
    margin-bottom:4px;
    font-weight: 400;
}
.products-slider .price{ font-size:var(--fs-base); color:var(--color-text-muted); font-weight: 400; }

@media (max-width: 600px){
    .container{ padding:0 16px; }
    .topbar-left span:nth-child(2){ display:none; }
    .hero{ min-height:520px; text-align:left; }
    .hero-content h1{   font-size:
            clamp(
                1.5rem,
                16vw,
                3rem
            );}
     .hero-content h2{   font-size:
            clamp(
                1.5rem,
                16vw,
                3rem
            );}
       .hero-content p{   font-size: .9rem ;}       
    .why-grid{ grid-template-columns:1fr; }
    .product-grid{ grid-template-columns:1fr 1fr; }
    .footer-top{ grid-template-columns:1fr; }
}