/*
Theme Name: Carpenter 
Author: AI.Pomoc-365.pl
Version: 1.0
*/

html {
    scroll-behavior: smooth;
}

section {
	margin: 8px;
    scroll-margin-top: 100px; /* Zapobiega chowaniu nagłówków pod menu */
}

.hero { margin: 0px; }

:root{
    --bg:#0f0f0f;
    --bg2:#171717;
    --card:#1d1d1d;
    --gold:#c9a66b;
    --gold-light:#e4c58f;
    --text:#f4f4f4;
    --muted:#b7b7b7;
    --radius:26px;
    --container:1280px;
}

* { font-family: 'Montserrat', sans-serif; }

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:
    linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.75)),
    url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?q=80&w=1632&auto=format&fit=crop&');
    background-size:cover;
    background-position:center;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
}

.hero h1{
    font-size:clamp(3rem,7vw,6rem);
    line-height:1.05;
    margin-bottom:25px;
	color: #fff;
}

footer h4 { color :#fff; }
.hero p{
    font-size:1.15rem;
    color:#ddd;
    max-width:650px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    transition: .35s;
    font-weight: 600;
}
.btn-outline {
    border: 1px solid rgba(255, 255, 255, .15);
    color: white;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #111;
}

/* ===========================
HEADER
=========================== */

.header{

    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(1450px,95%);
    z-index:999;

}

.nav{

    display:grid;
    grid-template-columns:300px 1fr 320px;

    align-items:center;

    padding:18px 30px;

    background:rgba(18,18,18,.72);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:26px;

}

/* LOGO */

.logo{

    display:flex;
    align-items:center;
    gap:15px;
	background: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
    text-decoration:none;

}

.logo img{

    height:50px;

}

.logo span{

    color:white;

    font-size:24px;

    font-family:"Playfair Display",serif;

    letter-spacing:2px;

}

/* MENU */

.nav-center{

    display:flex;

    justify-content:center;

}

.nav-center nav{

    display:flex;

    gap:42px;

}

.nav-center nav a{

    color:#d0d0d0;

    text-decoration:none;

    font-size:15px;

    font-weight:500;

    position:relative;

    transition:.35s;

}

.nav-center nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#b98b4d;

    transition:.35s;

}

.nav-center nav a:hover{

    color:white;

}

.nav-center nav a:hover::after{

    width:100%;

}

/* RIGHT */

.nav-right{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:12px;

}

/* LOCATION */

.location{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    border-radius:50px;

    background:#1d1d1d;

    color:#ddd;

    transition:.35s;

}

.location:hover{

    background:#b98b4d;

    color:white;

}

/* ICONS */

.nav-right>a{

    width:46px;

    height:46px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#1d1d1d;

    color:#d8d8d8;

    text-decoration:none;

    transition:.35s;

}

.nav-right>a:hover{

    background:#b98b4d;

    color:white;

    transform:translateY(-4px);

}

/* SCROLL */

.header.scrolled .nav{

    background:rgba(12,12,12,.92);

    box-shadow:0 20px 50px rgba(0,0,0,.35);

}

.nav{

    display:grid;

    grid-template-columns:
        320px
        1fr
        320px;

    align-items:center;

    gap:40px;

    padding:18px 30px;

}


.nav-left{

display:flex;
align-items:center;

}

.logo{

display:flex;
align-items:center;
gap:16px;

text-decoration:none;

}

.logo img{

height:52px;

}

.logo span{

font-size:26px;
font-weight:700;
color:white;

}


.nav-center{

display:flex;
justify-content:center;

}

nav{

display:flex;
gap:38px;
flex-wrap:nowrap;

}

nav a{

white-space:nowrap;

}


.nav-right{

display:flex;

justify-content:flex-end;

align-items:center;

gap:12px;

}

.hero-title{

font-family:"Playfair Display",serif;

font-size:70px;

line-height:1.08;

font-weight:700;

color:#d9d9d9;

}

.hero-title span{

display:block;

margin-top:8px;

background:linear-gradient(
90deg,
#9f6b2d,
#d8b26a,
#f1ddab,
#c28c49
);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

}


.section-heading{

    max-width:100%;
    margin:30px auto 0px;
    text-align:center;

}

.section-subtitle{

    display:inline-block;

    font-size:13px;

    letter-spacing:5px;

    text-transform:uppercase;

    color:#b98b4d;

    font-weight:600;

    margin-bottom:18px;

    position:relative;

}

.section-subtitle::before,
.section-subtitle::after{

    content:"";

    position:absolute;

    top:50%;

    width:55px;
    height:1px;

    background:#b98b4d;

}

.section-subtitle::before{

    right:calc(100% + 18px);

}

.section-subtitle::after{

    left:calc(100% + 18px);

}

.section-title{

    font-family:"Playfair Display",serif;
    font-size:clamp(42px,5vw,68px);
    font-weight:700;
    line-height:1.1;

    background:linear-gradient(
        180deg,
        #f0f0f0 0%,
        #9a9a9a 5%,
        #555555 100%
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
	margin: 10px;
}

.section-title span{

    background:linear-gradient(
        135deg,
        #8b5a2b 0%,
        #b88446 35%,
        #e3c88c 70%,
        #a46f33 100%
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

.section-heading p{

    color:#8d8d8d;

    font-size:18px;

    line-height:1.9;

    max-width:560px;

    margin:auto;

}


.select-wrapper{

    position:relative;

}

.select-wrapper::after{

    content:"\f107";

    font-family:"Font Awesome 6 Free";
    font-weight:900;

    position:absolute;

    right:22px;
    top:50%;

    transform:translateY(-50%);

    color:#b98b4d;

    pointer-events:none;

    font-size:15px;

}

.contact-form select{

    width:100%;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding:20px 55px 20px 22px;

    border-radius:18px;

    background:#181818;

    color:#757575;
	
	margin-bottom: 25px;

    border:1px solid rgba(255,255,255,.08);

    font-size:16px;

    transition:.35s;

    cursor:pointer;

}

.contact-form select:hover{

    border-color:#b98b4d;

}

.contact-form select:focus{

    outline:none;

    border-color:#b98b4d;

    box-shadow:0 0 0 4px rgba(185,139,77,.12);

}

.col-footer { padding: 0px 20px; }
.contact-section{

padding:0px 0;

}

.contact-form{

margin:20px auto 0px auto;

max-width:900px;

}

.row{

display:grid;

grid-template-columns:1fr 1fr;

gap:22px;

margin-bottom:22px;

}

.contact-form input,
.contact-form textarea{

width:100%;

background:#181818;

border:1px solid rgba(255,255,255,.08);

border-radius:20px;

padding:22px;

font-size:16px;

color:white;

transition:.3s;

}

.contact-form textarea{

height:220px;

resize:none;

margin-bottom:25px;

}

.contact-form input:focus,
.contact-form textarea:focus{

outline:none;

border-color:#b98b4d;

box-shadow:0 0 0 4px rgba(185,139,77,.15);

}

.contact-form button{

background:linear-gradient(135deg,#b98b4d,#b98b4d);

border:none;


color: #fff!important;

padding:20px 45px;

border-radius:60px;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:.35s;

}

.contact-form button:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(185,139,77,.35);

}


*,
*::before,
*::after{
    box-sizing:border-box;
}

.contact-form{

    max-width:900px;
    margin: 20px auto 0px auto;

}

.row{

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    margin-bottom:24px;

}

.contact-form input,
.contact-form textarea{

    width:100%;
    display:block;

    padding:20px 24px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    background:#181818;

    color:#fff;

    font-size:16px;

    outline:none;

}

.contact-form textarea{

    min-height:220px;
    margin-bottom:24px;
}


/* FOOTER */

footer{

margin-top: 50px;
padding:90px 0 30px;

border-top:1px solid rgba(255,255,255,.08);

background:#1e1e1e;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:60px;

}

.footer-logo{

height:60px;

margin-bottom:25px;

}

footer p{

color:#9f9f9f;

line-height:1.8;

}

footer h4{

margin-bottom:22px;

font-size:18px;

}

footer a{

display:block;

margin-bottom:14px;

text-decoration:none;

color:#bfbfbf;

transition:.3s;

}

footer a:hover{

color:#b98b4d;

}

.socials{

display:flex;

gap:15px;

}

.socials a{

width:46px;

height:46px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

background:#1a1a1a;

font-size:18px;

}

.socials a:hover{

background:#b98b4d;

color:white;

transform:translateY(-4px);

}

.copyright{

margin-top:70px;

padding-top:30px;

border-top:1px solid rgba(255,255,255,.06);

text-align:center;

color:#777;

}

body{
margin: 0px;
background:#fff;
font-family:Inter,sans-serif;
color:#767676;
line-height: 25px;
}


.process{

    padding:50px 0;

}

.process-box{

    max-width:920px;

    margin:auto;

    text-align:center;

    padding:80px 70px;

    border-radius:42px;

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.04),
        rgba(255,255,255,.015)
    );

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.35);

}


/* subtelna złota poświata */

.process-box::before{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:radial-gradient(
        rgba(184,132,70,.18),
        transparent 70%
    );

    top:-180px;
    right:-150px;

}


.process-box::after{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    border-radius:50%;

    background:radial-gradient(
        rgba(255,255,255,.03),
        transparent 70%
    );

    bottom:-140px;
    left:-120px;

}

.process-subtitle{

    display:inline-block;

    margin-bottom:18px;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#b98b4d;

    font-size:13px;

    font-weight:600;

}

.process h2{

    font-family:"Playfair Display",serif;

    font-size:clamp(42px,5vw,66px);

    line-height:1.1;

    margin-bottom:28px;

    color:#d4d4d4;

}

.process h2 span{

    display:block;

    margin-top:6px;

    background:linear-gradient(
        135deg,
        #8d6030,
        #c59653,
        #ecd8ad
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

.process p{

    max-width:700px;

    margin:auto;

    color:#9f9f9f;

    line-height:2;

    font-size:18px;

}

.container{

margin:auto;

}

.about-premium{

padding:50px 0;

}

.about-grid{

display:grid;
grid-template-columns:1.1fr .9fr;
gap:80px;
align-items:center;

}

.about-image{

position:relative;

}

.about-image img{

width:100%;
height:700px;
object-fit:cover;

border-radius:40px;

display:block;

}

.floating-card{

position:absolute;

bottom:35px;
left:35px;

background:white;

padding:24px 28px;

border-radius:24px;

color:#111;

box-shadow:0 30px 80px rgba(0,0,0,.3);

}

.floating-card span{

font-size:42px;
font-weight:700;

display:block;

color:#b88446;

}

.subtitle{

letter-spacing:3px;

font-size:14px;

color:#b88446;

text-transform:uppercase;

}

.about-content h2{

font-size:56px;

line-height:1.15;

margin:20px 0 35px;

font-family:"Playfair Display",serif;

}

.about-content p{

font-size:18px;

line-height:1.9;

color:#bfbfbf;

margin-bottom:25px;

}

.features{

display:grid;

grid-template-columns:1fr 1fr;

gap:20px;

margin-top:40px;

}

.features div{

background:#191919;

padding:22px;

border-radius:20px;

transition:.35s;

}

.features div:hover{

background:#b88446;

color:white;

transform:translateY(-8px);

}

/* -------- GALLERY ---------- */

.gallery-section{

padding:50px 0;

}

.section-title{


}

.section-title span{

text-transform:uppercase;

letter-spacing:2px;

color:#b88446;

}

.section-title h2{

font-size:54px;

margin-top:15px;

font-family:"Playfair Display",serif;

}


.gallery-grid{

display:grid;

grid-template-columns:2fr 1fr;

grid-template-rows:320px 320px;

gap:20px;

margin: 30px 0px 0px 0px;

}

.gallery-grid .big{

grid-row:1/3;

}

.gallery-grid img{

width:100%;

height:100%;

object-fit:cover;

border-radius:30px;

transition:.6s;

display:block;

cursor:pointer;

}

.gallery-grid div{

overflow:hidden;

border-radius:30px;

position:relative;

}

.gallery-grid div::after{

content:"";

position:absolute;

inset:0;

background:linear-gradient(to top,rgba(0,0,0,.45),transparent);

opacity:0;

transition:.4s;

}

.gallery-grid div:hover::after{

opacity:1;

}

.gallery-grid div:hover img{

transform:scale(1.08);

}

@media(max-width:992px){

.about-grid{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

grid-template-rows:auto;

}

.gallery-grid .big{

grid-row:auto;

}

.about-image img{

height:450px;

}

.about-content h2{

font-size:38px;

}

}

.about-content h2 { color: #101828; }
.about-content p { color: #4a5565; }


/* GRID */


/* CIEMNY OVERLAY */
.gallery-item2::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.2));
    z-index: 1;
    pointer-events: none;
}

/* TEKST */
.overlay2{
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

/* TYTUŁ */
.overlay2 h3{
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

/* OPIS (UKRYTY DOMYŚLNIE) */
.overlay2 p{
    margin: 8px auto 0 auto;
    font-size: 14px;
    line-height: 1.4;

    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

/* HOVER EFEKT */
.gallery-item2:hover img{
    transform: scale(1.08);
}

.gallery-item2:hover .overlay2 p{
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px){
    .gallery-grid2{
        grid-template-columns: 1fr;
    }

    .gallery-item2.big2{
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }

    .overlay2 p{
        opacity: 1;
        transform: none;
    }
}


/* GRID */
.gallery-grid2{

display:grid;
grid-template-columns:2fr 1fr;
grid-template-rows:320px 320px;
gap:20px;
margin:30px 0 0 0;

}

/* DUŻY KAFEL */
.gallery-grid2 .big2{
grid-row:1/3;
}

/* KAFELKI */
.gallery-item2{
overflow:hidden;
border-radius:30px;
position:relative;
display:block;
text-decoration:none;
}

/* OBRAZ */
.gallery-item2 img{
width:100%;
height:100%;
object-fit:cover;
transition:.6s;
display:block;
cursor:pointer;
}

/* GRADIENT */
.gallery-item2::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(0,0,0,.55),transparent);
opacity:0;
transition:.4s;
}

/* HOVER GRADIENT */
.gallery-item2:hover::after{
opacity:1;
}

/* ZOOM */
.gallery-item2:hover img{
transform:scale(1.08);
}

/* ===== TEKST ===== */

.overlay2{
position:absolute;
left:20px;
right:20px;
bottom:20px;
z-index:2;
color:#fff;
}

/* TYTUŁ */
.overlay2 h3{
margin:0;
font-size:29px;
font-weight:700;
}

/* OPIS (UKRYTY) */
.overlay2 p{
margin: 8px auto 0 auto;
font-size:18px;
line-height:1.4;
color: #fff;
opacity:0;
transform:translateY(10px);
transition:.35s;
}

/* SHOW ON HOVER */
.gallery-item2:hover .overlay2 p{
opacity:1;
transform:translateY(0);
}

/* MOBILE */
@media(max-width:992px){

.gallery-grid2{
grid-template-columns:1fr;
grid-template-rows:auto;
}

.gallery-grid2 .big2{
grid-row:auto;
}

}




/* Woo */


/* Kontener i styl główny pola select */
select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-color: #ffffff; /* Białe tło */
    color: #222222; /* Głęboka czerń tekstu */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    
    padding: 10px 40px 10px 15px !important; /* Wymuszenie bezpiecznego odstępu z prawej */
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;

    /* Niezawodna strzałka wygenerowana czystym CSS (kolor szary #8a8a8a) */
    background-image: 
        linear-gradient(45deg, transparent 50%, #8a8a8a 50%),
        linear-gradient(135deg, #8a8a8a 50%, transparent 50%);
    background-position: 
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size: 
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
}

/* Efekt po najechaniu myszką */
select.orderby:hover {
    border-color: #c5a059 !important; /* Ramka zmienia kolor na matowy złoty */
}

/* Efekt aktywnego kliknięcia / skupienia (Focus) */
select.orderby:focus {
    border-color: #c5a059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15) !important;
}

/* Styl dla rozwijanych opcji */
select.orderby option {
    background-color: #ffffff;
    color: #222222;
    padding: 10px;
}



/* Kontener główny okruszków */
.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    background-color: #ffffff; /* Czyste białe tło */
    color: #8a8a8a; /* Szary kolor dla ukośników separators */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.3px;
	gap: 2px;
	padding: 12px 0px!important;
}

/* Styl dla linków (np. Strona główna) */
.woocommerce-breadcrumb a {
    color: #222222; /* Głęboka czerń dla tekstu */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-weight: 500;
}

/* Efekt po najechaniu myszką na link - brak czerwieni */
.woocommerce-breadcrumb a:hover {
    color: #c5a059; /* Subtelny, matowy złoty */
}

/* Styl dla bieżącej strony na końcu (tekst "Szafy") */
.woocommerce-breadcrumb :last-child {
    color: #c5a059; /* Złoty kolor dla aktualnej pozycji */
    font-weight: 600;
}


/* 1. Naprawa nakładania się na header i ustawienie kontenera 1200px */
#primary.content-area {
   width: min(1450px, 95%); 
    
    /* Pierwsza wartość (150px) odsuwa od góry, 'auto' centruje element na ekranie */
    margin: 150px auto 40px auto; 
    
    padding: 0 20px;   
    box-sizing: border-box;
    clear: both;       
}

/* 2. Stylizacja Breadcrumbs (Okruszków) */
.woocommerce-breadcrumb {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    color: #777777;
    margin-bottom: 30px; /* Odstęp od tytułu lub produktów */
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea; /* Delikatna linia oddzielająca */
}

/* Linki w okruszkach */
.woocommerce-breadcrumb a {
    color: #5d4037; /* Stolarski brąz dla linków */
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Efekt najechania na linki */
.woocommerce-breadcrumb a:hover {
    color: #d84315; /* Rdzawy pomarańcz po najechaniu */
    text-decoration: underline;
}

/* Bieżąca podstrona (ostatni element, nieklikalny) */
.woocommerce-breadcrumb span, 
.woocommerce-breadcrumb last {
    color: #333333;
    font-weight: 500;
}


/* 1. Tytuł strony (Page Title) */
body.tax-product_cat.term-szafy .page-title {
    color: #1a1a1a; /* Głęboka czerń zamiast brązu */
    text-align: center;
    text-transform: uppercase;
    font-size: 2.2rem; /* Większy, bardziej wyrazisty tytuł */
    font-weight: 700;
    letter-spacing: 3px; /* Większy odstęp między literami */
    margin-bottom: 50px;
}

/* 3. Wygląd siatki produktów i pojedynczej karty produktu */
body.tax-product_cat .products .product {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px; /* Większe, nowoczesne zaokrąglenie */
    padding: 24px; /* Więcej przestrzeni wewnątrz karty */
    text-align: center; /* Wyśrodkowanie całej zawartości karty */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Efekt najechania myszką (Hover) na produkt */
body.tax-product_cat .products .product:hover {
    transform: translateY(-8px); /* Wyraźniejsze uniesienie karty */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* Miękki, nowoczesny, szary cień */
    border-color: #c5a059; /* Zmiana ramki na matowe złoto */
}

/* Wyśrodkowanie obrazka w karcie */
body.tax-product_cat .products .product img {
    margin: 0 auto 15px auto !important;
    border-radius: 8px; /* Zaokrąglone rogi samego zdjęcia produktu */
}

/* 4. Tytuły produktów na liście */
body.tax-product_cat .products .product .woocommerce-loop-product__title {
    font-size: 1.3rem; /* Większa czcionka tytułu */
    color: #1a1a1a; /* Elegancka czerń */
    font-weight: 600;
    margin: 20px 0 10px 0;
    line-height: 1.4;
}

/* 5. Cena produktu */
body.tax-product_cat .products .product .price {
    color: #c5a059; /* Złoty kolor ceny zamiast rdzawego */
    font-size: 1.4rem; /* Większa, dobrze widoczna cena */
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

/* 6. Przycisk "Dodaj do koszyka" / "Zobacz produkt" */
body.tax-product_cat .products .product .button {
    background-color: #1a1a1a; /* Czarny przycisk bazowy */
    color: #ffffff !important;
    border-radius: 8px; /* Większe zaokrąglenie pasujące do karty */
    padding: 14px 28px; /* Wyraźnie większy, masywniejszy przycisk */
    text-transform: uppercase;
    font-size: 0.95rem; /* Większy napis na przycisku */
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%; /* Przycisk rozciąga się na pełną szerokość karty */
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Efekt hover dla przycisku - zmiana na złoty bez czerwieni */
body.tax-product_cat .products .product .button:hover {
    background-color: #c5a059; /* Eleganckie złoto po najechaniu */
    color: #ffffff !important;
}

/* 7. Plakietka "Promocja" (Sale) */
body.tax-product_cat .products .product .onsale {
    background-color: #1a1a1a; /* Czarna plakietka */
    color: #c5a059; /* Złoty tekst na plakietce */
    border: 1px solid #c5a059;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px; /* Całkowicie zaokrąglona pigułka */
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    font-size: 1.3em;
	color: #1a1a1a;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price, .woocommerce ul.products li.product .price {  font-size: 1.8em;    background: #8b5a2b;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; }
body.tax-product_cat .products .product .button { padding: 20px; }

/* Kontener formularza dodawania do koszyka */
form.cart {
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Ukrycie etykiety dla czytników ekranu */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Pole wyboru ilości (input) */
form.cart .quantity {
    display: inline-block;
}

form.cart input.qty {
    width: 70px;
    height: 48px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
}

/* Usunięcie domyślnych strzałek w Chrome/Safari/Edge dla input number */
form.cart input.qty::-webkit-outer-spin-button,
form.cart input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

form.cart input.qty:focus {
    outline: none;
    border-color: #d4af37; /* Złota ramka przy aktywacji pola */
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Przycisk "Dodaj do koszyka" - NOWOCZESNE ZŁOTO */
form.cart .single_add_to_cart_button {
    height: 48px;
    padding: 0 30px;
    border: none;
    border-radius: 8px;
    /* Elegancki, matowy odcień złota z delikatnym przejściem */
    background: linear-gradient(135deg, #c5a059 0%, #b38f43 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 143, 67, 0.2);
}

/* Efekt najechania myszką na przycisk */
form.cart .single_add_to_cart_button:hover {
    /* Rozjaśnienie i ocieplenie złota */
    background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 143, 67, 0.35);
}

/* Efekt kliknięcia przycisku */
form.cart .single_add_to_cart_button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(179, 143, 67, 0.2);
}

/* Responsywność na małych ekranach (smartfony) */
@media (max-width: 480px) {
    form.cart {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    form.cart input.qty {
        width: 100%;
    }
    
    form.cart .single_add_to_cart_button {
        width: 100%;
    }
}

.posted_in a { color: #c5a059; }

.woocommerce-notices-wrapper:focus,
.woocommerce-notices-wrapper *:focus {
    outline: none !important;
}

/* OPCJONALNIE: Jeśli chcesz zamiast tego dodać nowoczesne, delikatne złote podświetlenie całego komunikatu, użyj tego: */
.woocommerce-message {
    border-top-color: #b38f43 !important; /* Zmiana domyślnego paska WooCommerce na złoty */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtelny cień zamiast ramki */
}


/* --- POWIĘKSZENIE I MODERNIZACJA ELEMENTÓW KOSZYKA --- */

/* 1. Powiększenie zdjęcia produktu */
.wc-block-cart-items__row .wc-block-cart-item__image img {
    width: 120px !important;   /* Zwiększone z 80px */
    height: 120px !important;  /* Zwiększone z 80px */
    object-fit: cover;
    border-radius: 8px;        /* Eleganckie zaokrąglenie rogów zdjęcia */
}

/* 2. Powiększenie nazwy produktu */
.wc-block-cart-items__row .wc-block-components-product-name {
    font-size: 20px !important; /* Większa, wyraźniejsza nazwa */
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none;
}

/* 3. Powiększenie ceny jednostkowej i opisu */
.wc-block-cart-items__row .wc-block-cart-item__prices {
    font-size: 16px !important;
    font-weight: 500;
    margin-top: 5px;
}

.wc-block-cart-items__row .wc-block-components-product-metadata__description p {
    font-size: 14px !important; /* Delikatnie większy opis szafy */
    color: #666;
    line-height: 1.5;
}

/* 4. Powiększenie selektora ilości (Input + Przyciski plus/minus) */
.wc-block-cart-items__row .wc-block-components-quantity-selector {
    transform: scale(1.15); /* Proporcjonalne powiększenie całego kontrolera o 15% */
    transform-origin: left center;
    margin: 15px 0;
}

/* Dostosowanie przycisków plus/minus do złotego stylu */
.wc-block-cart-items__row .wc-block-components-quantity-selector__button {
    border-color: #e0e0e0 !important;
    transition: all 0.2s ease;
}
.wc-block-cart-items__row .wc-block-components-quantity-selector__button:hover {
    background-color: #f5f5f5 !important;
    color: #b38f43 !important; /* Subtelny złoty akcent na hoverze */
}

/* 5. Powiększenie ceny łącznej (Total) po prawej stronie */
.wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 22px !important; /* Duża, czytelna cena końcowa */
    font-weight: 700 !important;
    color: #b38f43 !important; /* Kolor złoty pasujący do przycisku */
}

/* 6. Powiększenie i ostrość ikony kosza (usuwanie produktu) */
.wc-block-cart-items__row .wc-block-cart-item__remove-link {
    transform: scale(1.1);
    color: #888 !important;
    transition: color 0.2s ease;
}
.wc-block-cart-items__row .wc-block-cart-item__remove-link:hover {
    color: #cc0000 !important; /* Czerwony kolor po najechaniu na kosz */
}

/* Dodatkowy odstęp między wierszami produktów */
.wc-block-cart-items__row {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid #eee !important;
}
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link { margin-left: 10px; }

.wc-block-components-totals-item, .wc-block-components-panel__button, .wp-block-woocommerce-checkout-order-summary-block h3 { font-size: 16px!important; }
.wc-block-components-checkout-order-summary__content p { font-size: 14px!important; }
.woocommerce-table__product-name a { color: #a1a1a1; }


/* Ukrycie sekcji Nowe w sklepie na stronie pustego koszyka */

.page-id-8 .wp-block-woocommerce-product-new {
    display: none !important;
}

.wc-block-cart h2:nth-of-type(2),
.wc-block-cart h2:nth-of-type(2) + .wp-block-woocommerce-product-newest,
.wc-block-cart h2:nth-of-type(2) + .wp-block-product-template,
.wc-block-cart h2:nth-of-type(2) + .wp-block-query {
    display: none !important;
}

/* MOBILE */

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

@media (max-width:768px){

.container{
    width:92%;
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

.header{
    padding:15px 0;
}

.nav{
    display:flex;
    flex-direction:column;
    gap:20px;
    align-items:center;
}

.nav-left,
.nav-center,
.nav-right{
    width:100%;
    display:flex;
    justify-content:center;
    text-align:center;
}

.nav nav{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.nav nav a{
    font-size:17px;
}

.nav-right{
    gap:20px;
    flex-wrap:wrap;
}

.location{
    width:100%;
    justify-content:center;
}

/* ===========================
   HERO
=========================== */

.hero{
    padding:120px 0 70px;
}

.hero-content{
    text-align:center;
}

.hero h1{
    font-size:38px;
    line-height:1.2;
}

.hero p{
    font-size:17px;
    line-height:1.7;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:35px;
}

.hero-buttons .btn{
    width:100%;
}

/* ===========================
   TYTUŁY
=========================== */

.section-heading{
    padding:0 20px;
    text-align:center;
}

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

.section-heading p{
    font-size:16px;
}

/* ===========================
   O NAS
=========================== */

.about-grid{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.about-image img{
    width:100%;
}

.floating-card{
    position:relative;
    bottom:auto;
    right:auto;
    margin-top:20px;
}

.about-content{
    text-align:center;
}

.about-content h2{
    font-size:32px;
}

.features{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
    text-align:left;
}

/* ===========================
   REALIZACJE
=========================== */

.gallery-grid2{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.gallery-item2,
.gallery-item2.big2{
    height:260px;
}

/* ===========================
   ETAPY
=========================== */

.process-box{
    padding:50px 25px;
    text-align:center;
}

.process-box h2{
    font-size:32px;
}

/* ===========================
   GALERIA
=========================== */

.gallery-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
}

.gallery-grid .big{
    grid-column:auto;
    grid-row:auto;
}

.gallery-grid img{
    height:250px;
    width:100%;
    object-fit:cover;
}

/* ===========================
   FORMULARZ
=========================== */

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

.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form button{
    width:100%;
}

textarea{
    min-height:180px;
}

/* ===========================
   FOOTER
=========================== */

.footer-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
}

.footer-grid a{
    display:block;
    margin:10px 0;
}

.socials{
    justify-content:center;
}

/* ===========================
   ODSTĘPY
=========================== */

section{
    padding:70px 0;
}

}


/* ==========================
   NAV - DESKTOP
========================== */

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

.nav-left{
    width:auto;
}

.nav-center{
    display:block;
}

.nav-center nav{
    display:flex;
    gap:35px;
    align-items:center;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.location{
    display:flex;
    align-items:center;
    gap:8px;
}

/* hamburger ukryty */

.hamburger{
    display:none;
}


.mobile-icons{
    display:none;
}

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

@media (max-width:768px){
 .nav{
        min-height:80px;
    }

    .nav-left{
        margin-right:auto;
    }

    .mobile-icons{
        display:flex;
        align-items:center;
        gap:18px;

        position:absolute;
        right:70px; /* przed hamburgerem */
        top:50%;
        transform:translateY(-50%);
    }

    .mobile-icons a{
        color:#fff;
        font-size:20px;
    }

    .hamburger{
        right:20px;
    }
    .nav{
        min-height:80px;
    }

    /* ikony chowamy */

    .nav-right{
        display:none;
    }

    .location{
        display:none;
    }

    /* hamburger */

    .hamburger{
        display:flex;
        position:absolute;
        top:50%;
        right:20px;
        transform:translateY(-50%);

        width:45px;
        height:45px;

        flex-direction:column;
        justify-content:center;
        align-items:center;

        border:none;
        background:none;
        cursor:pointer;

        padding:0;
        z-index:1003;
    }

    .hamburger span{
        display:block;
        width:28px;
        height:3px;
        background:#fff;
        border-radius:20px;
        margin:4px 0;
        transition:.35s;
    }

    /* animacja X */

    .hamburger.active span:nth-child(1){
        transform:translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2){
        opacity:0;
    }

    .hamburger.active span:nth-child(3){
        transform:translateY(-7px) rotate(-45deg);
    }

    /* menu */

    .nav-center{
        position:absolute;
        top:100%;
        left:0;

        width:100%;

        display:none;

        background:#111;

        padding:30px;

        border-radius:20px 20px 20px 20px;

        z-index:1002;
    }

    .nav-center.active{
        display:block;
        animation:menu .35s ease;
    }

    .nav-center nav{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .nav-center nav a{
        display:block;
        padding:12px;
        text-align:center;
        color:#fff;
        border-bottom:1px solid rgba(255,255,255,.1);
        font-size:18px;
    }

}


/* ==========================
   TELEFONY
========================== */

@media (max-width:480px){

    .hero h1{
        font-size:30px;
    }

    .section-title{
        font-size:28px;
    }

    .about-content h2,
    .process-box h2{
        font-size:28px;
    }

    .hero p,
    .section-heading p,
    .about-content p{
        font-size:15px;
    }

    .gallery-item2,
    .gallery-grid img{
        height:220px;
    }

}


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

@keyframes menu{

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

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

}

/* Globalny przycisk Dodaj do koszyka - duży font, normalne litery, delikatny hover */
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce #respond input#submit.alt, 
.woocommerce #content input.button.alt, 
.woocommerce-page a.button.alt, 
.woocommerce-page button.button.alt, 
.woocommerce-page input.button.alt, 
.woocommerce-page #respond input#submit.alt, 
.woocommerce-page #content input.button.alt,
.woocommerce a.button.product_type_simple,
.woocommerce-page a.button.product_type_simple {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: linear-gradient(135deg, #B98E2F 0%, #B98E2F 100%) !important;
    color: #fff !important; /* Ciemnozłoty tekst */
    font-size: 18px !important; /* Większy font zgodnie z prośbą */
    font-weight: 700 !important; 
    text-transform: none !important; /* Wyłączenie dużych liter (CAPS LOCKA) */
    border: none !important;
    border-radius: 4px !important;
    padding: 18px 30px !important; 
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 8px rgba(179, 135, 40, 0.15) !important; /* Subtelny cień początkowy */
}

/* Delikatny efekt po najechaniu myszką (Hover) */
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover, 
.woocommerce-page a.button.alt:hover, 
.woocommerce-page button.button.alt:hover, 
.woocommerce-page input.button.alt:hover,
.woocommerce a.button.product_type_simple:hover,
.woocommerce-page a.button.product_type_simple:hover {
    background: linear-gradient(135deg, #B98E2F 0%, #B98E2F 100%) !important; /* Tylko minimalne rozjaśnienie złota */
    color: #fff !important; /* Kolor tekstu pozostaje bez zmian */
    box-shadow: 0 6px 15px rgba(179, 135, 40, 0.3) !important; /* Głównie dodajemy lekki, ładny cień */
    transform: none !important; /* Usunięto podskakiwanie przycisku */
}

/* Zaokrąglenie zdjęć na liście produktów (Sklep, Kategorie, Wyniki wyszukiwania) */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    border-radius: 8px !important; /* Delikatne zaokrąglenie */
    overflow: hidden !important;
}

/* Zaokrąglenie głównego zdjęcia na stronie pojedynczego produktu */
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    border-radius: 8px !important;
}

/* Zaokrąglenie małych miniatur galerii pod głównym zdjęciem produktu */
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 6px !important; /* Ciut mniejsze zaokrąglenie dla bardzo małych fotek */
}

/* Kontener całego menu - centruje i dodaje odstępy */
.wc-category-horizontal-menu-wrapper {
    width: 100%;
    margin: 20px 0 35px 0;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Pozioma lista bez domyślnych kropek i marginesów */
.wc-category-horizontal-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: nowrap; /* Trzyma wszystko w jednej linii */
    overflow-x: auto;  /* Włącza przewijanie w bok na telefonach */
    justify-content: center; /* Centruje elementy na komputerze */
    -webkit-overflow-scrolling: touch; /* Płynne przewijanie na iPhone/Safari */
}

/* Ukrycie paska przewijania (scrollbara) */
.wc-category-horizontal-menu::-webkit-scrollbar {
    display: none;
}

/* Pojedyncza zakładka menu */
.wc-category-horizontal-menu li {
    margin: 0 8px !important;
    padding: 0 !important;
    white-space: nowrap; /* Blokuje łamanie tekstu w nazwie kategorii */
}

/* Styl linku/przycisku w menu */
.wc-category-horizontal-menu li a {
    display: block;
    padding: 10px 20px;
    color: #5C4008; /* Ciemnozłoty kolor tekstu z Twojego przycisku */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out;
    border-radius: 4px; /* Dopasowane do zaokrąglenia przycisku koszyka */
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
}

/* Efekt najechania (Hover) oraz aktywna kategoria (Aktualnie przeglądana) */
.wc-category-horizontal-menu li a:hover,
.wc-category-horizontal-menu li.current-cat-item a {
    background: linear-gradient(135deg, #B38728 0%, #B38728 100%) !important; /* Twój złoty gradient */
    color: #fff !important; /* Ciemnozłoty tekst na gradientowym tle */
    border-color: #B38728 !important;
    box-shadow: 0 4px 10px rgba(179, 135, 40, 0.15);
}

/* Optymalizacja dla urządzeń mobilnych (telefonów) */
@media (max-width: 768px) {
    .wc-category-horizontal-menu {
        justify-content: flex-start; /* Na telefonach wyrównaj do lewej, by można było przewijać */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

#main .single_add_to_cart_button   {
    padding: 15px 30px !important;
}

.privacy input[type="checkbox"] { float: left; width: 20px;  position: relative; top: 2px; }
.privacy  label { float: left; width: 90%; margin-bottom: 20px; }

/* 1. Wymuszenie łapki i poprawne pozycjonowanie dla Twojej klasy */
.moj-lightbox {
    cursor: pointer !important;
    display: inline-block !important; /* Pozwala linkowi prawidłowo otoczyć obrazek */
    position: relative !important;
    z-index: 10 !important; /* Wynosi link ponad inne elementy, które mogą go zasłaniać */
}

/* 2. Upewnienie się, że sam obrazek przepuszcza kliknięcia i ma kursor pointer */
.moj-lightbox img {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* 3. Kontrola kontenerów - ochrona przed niewidzialnymi warstwami */
.gallery-grid .big.show {
    position: relative !important;
    pointer-events: auto !important; /* Włącza reakcję na myszkę */
}

/* Kontener centrujący przycisk */
.btn-products-container {
    text-align: center;
    margin: 40px 0;
    width: 100%;
}

/* Podstawowy styl przycisku (Czerń, biel, złoty akcent) */
.btn-see-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #111111; /* Głęboka czerń jako baza */
    color: #FFFFFF !important; /* Biały tekst */
    font-size: 16px;
    font-weight: 600;
    text-transform: none; /* Normalne litery, bez wymuszonego CAPS LOCKA */
    text-decoration: none !important;
    padding: 16px 36px;
    border-radius: 4px; /* Spójne zaokrąglenie z resztą sklepu */
    border: 1px solid #222222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Subtelny, ciemny cień */
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
}

/* Strzałka wewnątrz przycisku */
.btn-see-products .btn-arrow {
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    color: #B38728; /* Złoty akcent na strzałce */
}

/* Nowoczesny efekt po najechaniu myszką (Hover) */
.btn-see-products:hover {
    background-color: #1a1a1a; /* Bardzo delikatne rozjaśnienie czerni do ciemnoszarego */
    border-color: #B38728; /* Ramka zmienia się na szlachetne złoto */
    box-shadow: 0 6px 20px rgba(179, 135, 40, 0.25); /* Cieplejszy, złoto-czarny cień */
    color: #FFFFFF !important;
}

/* Ruch strzałki po najechaniu myszką */
.btn-see-products:hover .btn-arrow {
    transform: translateX(6px); /* Strzałka delikatnie wysuwa się w prawo, zachęcając do kliknięcia */
}

/* Efekt kliknięcia (Active) */
.btn-see-products:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
